/* ========================================
   CRITICAL.CSS — Inline headissa
   Reset, CSS-muuttujat, @property-animaatiot,
   header, footer, hero (hengittävä organismi)
   ======================================== */

/* ---------- @PROPERTY-ANIMAATIOT ---------- */
@property --gold-hue {
  syntax: "<number>";
  inherits: true;
  initial-value: 38;
}

@property --teal-hue {
  syntax: "<number>";
  inherits: true;
  initial-value: 170;
}

@property --glow-opacity {
  syntax: "<number>";
  inherits: true;
  initial-value: 0.3;
}

/* Taustakuvion @property-animaatiot */
@property --pattern-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 30%;
}

@property --pattern-y {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 60%;
}

@property --pattern-hue {
  syntax: "<number>";
  inherits: true;
  initial-value: 38;
}

@property --pattern-scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Taustat — lämmin tumma, häivähdys purppuraa */
  --bg-deep: #0d0a0f;
  --bg-body: #120e16;
  --bg-card: #1a1520;
  --bg-elevated: #221c2a;
  /* Uusi paletti — elävä, hengittävä */
  --gold: #d4a843;
  --gold-hover: #e0b85a;
  --gold-dim: rgba(212, 168, 67, 0.3);
  --gold-dim-2: rgba(212, 168, 67, 0.15);
  --teal: #1a8a7a;
  --teal-hover: #22a88f;
  --teal-dim: rgba(26, 138, 122, 0.3);
  --teal-dim-2: rgba(26, 138, 122, 0.15);
  --magenta-soft: #b44a8a;
  --magenta-dim: rgba(180, 74, 138, 0.2);

  /* Tekstivärit */
  --text-primary: #f0e8f0;
  --text-secondary: #b0a8b8;
  --text-muted: #8a8090;

  /* Typografia */
  --ff-oxanium: 'Oxanium', cursive;
  --ff-inter: 'Inter', sans-serif;
  --ff-space-mono: 'Space Mono', monospace;

  /* Fonttikoot (clamp — sujuva skaalaus) */
  --fs-hero: clamp(3.6rem, 10vw, 9rem);
  --fs-h1: clamp(2.8rem, 6vw, 5rem);
  --fs-h2: clamp(2.2rem, 4vw, 3.6rem);
  --fs-h3: clamp(1.6rem, 3vw, 2.4rem);
  --fs-body: clamp(1.4rem, 2vw, 1.6rem);
  --fs-small: clamp(1.2rem, 1.5vw, 1.4rem);
  --fs-tiny: clamp(1rem, 1.2vw, 1.2rem);

  /* Painot */
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  /* Muut */
  --section-padding: 80px;
  --section-padding-mobile: 40px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
  --cubic-breathe: cubic-bezier(0.45, 0, 0.55, 1);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(212, 168, 67, 0.15);
  --max-width: 1200px;
}

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

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a, img, time, input, button, ion-icon { display: block; }

/* .span on tarkoituksellisesti block — kaksiriviset otsikot
   (esim. "Tietoa / meistä", "Vampire Savior / Tournament").
   Tekstin sisäiset korostukset (.highlight-year, .highlight-word,
   .card-title-gold) ovat inline — ne elävät lauseen sisällä. */
.span { display: block; }

img {
  max-width: 100%;
  height: auto;
}

input, button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }
button { cursor: pointer; }
ion-icon { pointer-events: none; }
address { font-style: normal; }

html {
  font-family: var(--ff-inter);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
  background-color: var(--bg-body);
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- HENGITTÄVÄ HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-deep);
  animation: hueShift 20s ease-in-out infinite, heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0%   { background-color: #0d0a0f; }
  50%  { background-color: #100c14; }
  100% { background-color: #0d0a0f; }
}

/* Lonkerot — orgaaniset muodot jotka kurottavat ja vetäytyvät */
.hero-tentacles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-tentacles-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* SVG-lonkerot — kaartuvat polut, kukin kurottaa kohti keskustaa */
.tentacle {
  transform-box: fill-box;
  transform-origin: center;
  animation: tentacleFloat 12s var(--cubic-breathe) infinite alternate;
}

.tentacle:nth-of-type(1) {
  filter: blur(4px);
  animation-duration: 14s;
}

.tentacle:nth-of-type(2) {
  filter: blur(4px);
  animation-duration: 18s;
  animation-delay: -3s;
}

.tentacle:nth-of-type(3) {
  filter: blur(4px);
  animation-duration: 16s;
  animation-delay: -6s;
}

.tentacle:nth-of-type(4) {
  filter: blur(4px);
  animation-duration: 20s;
  animation-delay: -9s;
}

@keyframes tentacleFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.5;
  }
  33% {
    transform: translate(4%, -5%) scale(1.15) rotate(8deg);
    opacity: 0.9;
  }
  66% {
    transform: translate(-3%, 4%) scale(0.93) rotate(-6deg);
    opacity: 0.7;
  }
  100% {
    transform: translate(5%, 2%) scale(1.08) rotate(4deg);
    opacity: 0.85;
  }
}

/* Hero-taustasolut — pieniä valopisteitä jotka hengittävät */
.hero-star {
  position: absolute;
  width: var(--star-size, 3px);
  height: var(--star-size, 3px);
  left: var(--star-x, 50%);
  top: var(--star-y, 50%);
  border-radius: 50%;
  background: var(--star-color, var(--gold));
  box-shadow: 0 0 calc(var(--star-size, 3px) * 4) var(--star-dim, var(--gold-dim)), 0 0 calc(var(--star-size, 3px) * 10) var(--star-dim-2, rgba(212, 168, 67, 0.15)), 0 0 calc(var(--star-size, 3px) * 20) var(--star-dim-3, rgba(212, 168, 67, 0.05));
  pointer-events: none;
  z-index: 0;
  animation: starPulse 6s ease-in-out infinite alternate, starColorShift 12s ease-in-out infinite alternate;
  animation-delay: var(--star-delay, 0s), calc(var(--star-delay, 0s) + 0s);
}

.hero-star.star-teal {
  --star-color: var(--teal);
  --star-dim: var(--teal-dim);
  --star-dim-2: rgba(26, 138, 122, 0.15);
  --star-dim-3: rgba(26, 138, 122, 0.05);
}

.hero-star.star-magenta {
  --star-color: var(--magenta-soft);
  --star-dim: var(--magenta-dim);
  --star-dim-2: rgba(180, 74, 138, 0.15);
  --star-dim-3: rgba(180, 74, 138, 0.05);
}

.hero-star.star-amber {
  --star-color: #c97b4a;
  --star-dim: rgba(201, 123, 74, 0.5);
  --star-dim-2: rgba(201, 123, 74, 0.15);
  --star-dim-3: rgba(201, 123, 74, 0.05);
}

@keyframes starPulse {
  0%   { opacity: 0.1; transform: scale(0.5); }
  50%  { opacity: 0.7; transform: scale(1.4); }
  100% { opacity: 0.25; transform: scale(0.8); }
}

/* Tähtien hidas värin liuku — goldit vihertyvät, tealit sinertyvät, magentat lämpenevät */
@keyframes starColorShift {
  0%   { filter: hue-rotate(-5deg) saturate(0.9); }
  50%  { filter: hue-rotate(8deg) saturate(1.2); }
  100% { filter: hue-rotate(-3deg) saturate(0.95); }
}

/* Kursoriefektin värin liuku — hidas kierto kullan, tealin ja magentan välillä */
@keyframes cursorHueShift {
  0%   { filter: hue-rotate(-10deg); }
  33%  { filter: hue-rotate(20deg); }
  66%  { filter: hue-rotate(40deg); }
  100% { filter: hue-rotate(-10deg); }
}

/* Värien liuku — laajempi spektri, hitaampi hengitys */
@keyframes hueShift {
  0%   { --gold-hue: 38; --teal-hue: 170; --glow-opacity: 0.3; }
  15%  { --gold-hue: 48; --teal-hue: 180; --glow-opacity: 0.5; }
  30%  { --gold-hue: 30; --teal-hue: 160; --glow-opacity: 0.35; }
  45%  { --gold-hue: 42; --teal-hue: 175; --glow-opacity: 0.5; }
  60%  { --gold-hue: 35; --teal-hue: 165; --glow-opacity: 0.3; }
  75%  { --gold-hue: 50; --teal-hue: 185; --glow-opacity: 0.45; }
  90%  { --gold-hue: 28; --teal-hue: 155; --glow-opacity: 0.35; }
  100% { --gold-hue: 38; --teal-hue: 170; --glow-opacity: 0.3; }
}

/* Hero-sisältö */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero-logo {
  font-family: var(--ff-oxanium);
  font-size: var(--fs-hero);
  font-weight: var(--fw-800);
  color: var(--text-primary);
  line-height: 1;
  margin-block-end: 16px;
}

.hero-logo .gold {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 calc(25px * var(--glow-opacity, 0.3)) rgba(212, 168, 67, calc(var(--glow-opacity, 0.3) * 0.7));
  transition: text-shadow 0.3s ease;
}

.hero-logo .teal {
  display: block;
  color: var(--teal);
  text-shadow: 0 0 calc(30px * var(--glow-opacity, 0.3)) rgba(26, 138, 122, calc(var(--glow-opacity, 0.3) * 0.8));
  transition: text-shadow 0.3s ease;
}

.hero-tagline {
  font-size: var(--fs-h3);
  color: #d4c4dc;
  margin-block-end: 32px;
  font-weight: var(--fw-500);
  transition: color var(--transition-slow), text-shadow var(--transition-slow);
  animation: taglineBreathe 6s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(212, 196, 220, 0.04);
}

@keyframes taglineBreathe {
  0%, 100% { text-shadow: 0 0 15px rgba(212, 196, 220, 0.04); }
  50%      { text-shadow: 0 0 25px rgba(212, 196, 220, 0.08), 0 0 50px rgba(212, 196, 220, 0.04); }
}

.hero-tagline:hover {
  color: #d4c4dc;
  text-shadow:
    0 0 30px rgba(212, 196, 220, 0.15),
    0 0 60px rgba(212, 196, 220, 0.08),
    0 0 100px rgba(212, 196, 220, 0.04);
  animation: none;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- BUTTON ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--ff-oxanium);
  font-size: var(--fs-small);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #e0b85a);
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 168, 67, 0.4);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(180deg, rgba(13, 10, 15, 0.95) 0%, rgba(13, 10, 15, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(13, 10, 15, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- KIELIVALITSIN ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}
.lang-switch:hover {
  opacity: 0.7;
}
.lang-switch .fi {
  font-size: 1.6rem;
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .lang-switch .fi {
    font-size: 1.3rem;
  }
}

.logo {
  font-family: var(--ff-oxanium);
  font-size: 2.8rem;
  font-weight: var(--fw-800);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.logo:hover {
  color: var(--gold);
}

.logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: logoSpin 20s linear infinite;
  box-shadow: 0 0 10px rgba(212, 168, 67, 0.15);
  transition: box-shadow var(--transition), filter var(--transition);
}

.logo:hover .logo-icon {
  animation-duration: 20s;
  box-shadow: 0 0 25px rgba(212, 168, 67, 0.4), 0 0 50px rgba(212, 168, 67, 0.15);
  filter: brightness(1.2);
}

@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Navigaatio — olennon selkäranka */
.navbar {
  display: flex;
  align-items: center;
}

.navbar-list {
  display: flex;
  gap: 4px;
}

.navbar-item {
  list-style: none;
  position: relative;
}

/* Dropdown — desktop (hover) */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: var(--ff-oxanium);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-600);
  color: var(--text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.dropdown-link:hover,
.dropdown-link:focus {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.08);
}

.navbar-item {
  list-style: none;
}

.navbar-link {
  font-family: var(--ff-oxanium);
  font-size: var(--fs-small);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #c8b8c2; /* lämmin vaalea — selkäranka lepää, mutta ei ole harmaa */
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  text-shadow: 0 0 0 transparent;
}

/* Nikama-efekti — hoverissa "herää" */
.navbar-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.navbar-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at center, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.navbar-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
  text-shadow: 0 0 15px rgba(212, 168, 67, 0.3), 0 0 30px rgba(212, 168, 67, 0.1);
}

.navbar-link:hover::before {
  width: 80%;
}

.navbar-link:hover::after {
  opacity: 1;
}

.navbar-link.active {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(212, 168, 67, 0.3), 0 0 30px rgba(212, 168, 67, 0.1);
}

.navbar-link.active::before {
  width: 80%;
}

/* Mobiili toggle */
.nav-toggle-btn {
  display: none;
  color: var(--text-primary);
  font-size: 32px;
  padding: 6px;
  border: 1px solid var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-toggle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-dim-2);
}

.nav-toggle-btn.active .menu,
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn .menu,
.nav-toggle-btn.active .close {
  display: block;
}

/* ---------- RESPONSIIVISUUS (kriittinen) ---------- */
@media (max-width: 768px) {
  .nav-toggle-btn {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(13, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: 0.35s var(--cubic-out), opacity 0.25s ease, visibility 0s linear 0.35s;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: 0.35s var(--cubic-out), opacity 0.25s ease, visibility 0s linear;
  }

  /* Olennon suu — kultainen yläreuna, tulee nyt ylhäältä */
  .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    box-shadow: 0 0 15px var(--gold-dim);
  }

  .navbar.active::before {
    opacity: 1;
    animation: mobileNavPulse 3s ease-in-out infinite;
  }

  @keyframes mobileNavPulse {
    0%, 100% { box-shadow: 0 0 15px var(--gold-dim); opacity: 0.7; }
    50%      { box-shadow: 0 0 30px var(--gold), 0 0 60px var(--gold-dim); opacity: 1; }
  }

  /* Sulje-painike mobiilivalikossa — iso X oikeassa ylänurkassa */
  .nav-close-btn {
    display: none;
  }
  .navbar.active .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    width: 64px;
    height: 64px;
    cursor: pointer;
    z-index: 100;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
  }
  .nav-close-btn:active {
    transform: scale(0.95);
  }

  .navbar-list {
    flex-direction: column;
    padding: 16px;
    gap: 0;
  }

  /* Stagger-animaatio — linkit heräävät yksi kerrallaan */
  .navbar-link {
    padding: 12px 16px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition), background var(--transition);
  }

  .navbar.active .navbar-link {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active .navbar-link:nth-child(1) { transition-delay: 0.05s; }
  .navbar.active .navbar-link:nth-child(2) { transition-delay: 0.1s; }
  .navbar.active .navbar-link:nth-child(3) { transition-delay: 0.15s; }
  .navbar.active .navbar-link:nth-child(4) { transition-delay: 0.2s; }
  .navbar.active .navbar-link:nth-child(5) { transition-delay: 0.25s; }
  .navbar.active .navbar-link:nth-child(6) { transition-delay: 0.3s; }
  .navbar.active .navbar-link:nth-child(7) { transition-delay: 0.35s; }
  .navbar.active .navbar-link:nth-child(8) { transition-delay: 0.4s; }
  .navbar.active .navbar-link:nth-child(9) { transition-delay: 0.45s; }

  /* Dropdown mobiilissa — aina auki, sisennetty */
  .dropdown-menu {
    all: unset;
    display: block;
    list-style: none;
    padding-left: 16px;
    margin: 0 0 4px 0;
  }
  .dropdown-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--ff-oxanium);
    font-size: var(--fs-tiny);
    font-weight: var(--fw-600);
    color: var(--text-primary);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition);
  }
  .navbar.active .dropdown-link {
    opacity: 1;
    transform: translateY(0);
  }
  .navbar.active .dropdown-link:nth-child(1) { transition-delay: 0.1s; }
  .navbar.active .dropdown-link:nth-child(2) { transition-delay: 0.15s; }
  .dropdown-link:hover {
    color: var(--gold);
    background: rgba(212, 168, 67, 0.06);
  }

  .navbar-link::before {
    display: none;
  }

  .navbar-link:hover {
    background: var(--bg-elevated);
  }

  .navbar-link.active {
    background: rgba(212, 168, 67, 0.06);
  }

  .page-hero {
    min-height: 40vh;
    padding-block: 100px 40px;
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .character-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: var(--section-padding-mobile);
  }
}
@media (max-width: 576px) {
  .hero-logo {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-tagline {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }

  .btn {
    width: 100%;
  }
}
