/* ===== Zevarion Games — Sci-Fi / Cyberpunk Theme ===== */
:root {
  --bg-deep: #06060c;
  --bg-panel: #0c0c16;
  --bg-card: #12121f;
  --cyan: #00e5ff;
  --magenta: #ff2d95;
  --purple: #a855f7;
  --text: #e8e8f0;
  --text-dim: #8a8aa0;
  --border: rgba(0, 229, 255, 0.15);
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.35);
  --glow-magenta: 0 0 20px rgba(255, 45, 149, 0.35);
  --sidebar-width: 80px;
  --sidebar-expanded: 240px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, #0a0a14 0%, #080810 100%);
  border-right: 1px solid var(--border);
  z-index: 1000;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sidebar:hover,
.sidebar.expanded {
  width: var(--sidebar-expanded);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 0;
}

.sidebar-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.sidebar-logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  transition: width 0.35s, height 0.35s;
}

.sidebar:hover .sidebar-logo img,
.sidebar.expanded .sidebar-logo img {
  width: 120px;
  height: auto;
  max-height: 120px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 0.75rem;
  flex: 1;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

.nav-btn:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
}

.nav-btn.active {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  box-shadow: inset 3px 0 0 var(--cyan);
}

.nav-icon {
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-label {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sidebar:hover .nav-label,
.sidebar.expanded .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-footer {
  padding: 1.5rem 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  text-align: center;
}

.sidebar-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar:hover .sidebar-tagline,
.sidebar.expanded .sidebar-tagline {
  opacity: 1;
}

/* ===== Main Content ===== */
.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.section {
  display: none;
  min-height: 100vh;
  animation: fadeIn 0.5s ease;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 12, 0.55) 0%,
    rgba(6, 6, 12, 0.75) 50%,
    rgba(6, 6, 12, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-studio {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  text-shadow: var(--glow-cyan);
}

.hero-logo {
  max-width: 100%;
  width: 680px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.4));
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  color: #06060c;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--glow-cyan);
}

/* ===== Section Layout ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-text p {
  margin-bottom: 1.1rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.content-text strong {
  color: var(--cyan);
}

.content-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.media-caption {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Studio ===== */
.studio-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
}

.studio-logo-wrap img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.studio-text p {
  margin-bottom: 1.1rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.studio-text em {
  color: var(--cyan);
  font-style: normal;
}

/* ===== Support ===== */
.support-content .lead {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
}

.support-card.highlight {
  border-color: rgba(255, 45, 149, 0.4);
  box-shadow: var(--glow-magenta);
}

.support-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.support-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.support-card .btn {
  margin-top: 0.5rem;
}

.support-card .note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  opacity: 0.7;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-inner p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-sub {
  margin-top: 0.4rem;
  font-size: 0.8rem !important;
  opacity: 0.7;
}

/* ===== Mobile Toggle ===== */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  transition: all 0.3s;
}

/* ===== Contact ===== */
.contact-content {
  max-width: 640px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
}

.contact-value {
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-value {
  color: var(--cyan);
}

a.contact-value:hover {
  color: #fff;
  text-shadow: var(--glow-cyan);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-email {
  margin-top: 0.75rem;
}

.footer-email a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-email a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .content-grid,
  .studio-content {
    grid-template-columns: 1fr;
  }

  .studio-logo-wrap {
    max-width: 180px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-expanded);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .section-inner {
    padding: 3.5rem 1.5rem;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }
}
