/* ==========================================================================
   L2BRAZUCA — LINEAGE II INTERLUDE 25X
   Dark Medieval Fantasy Design System & Atmospheric Motion Stylesheet
   ========================================================================== */

:root {
  /* Core Palette (Derived from Official L2Brazuca Emblem & Castle Video) */
  --bg-void: #060506;
  --bg-obsidian: #0b090a;
  --bg-stone: #120f11;
  --bg-iron: #1a1618;
  --bg-iron-elevated: #231d20;

  --text-primary: #ece4d8;
  --text-secondary: #bab0a2;
  --text-muted: #8b8175;

  --gold-100: #fceab8;
  --gold-200: #e7c272;
  --gold-300: #c89b46;
  --gold-400: #936b28;
  --gold-500: #5c4014;

  --crimson-bright: #e03434;
  --crimson-mid: #9e161d;
  --crimson-deep: #59090e;
  --crimson-void: #280407;

  --silver-bright: #ddd6cc;
  --silver-mid: #8e867e;
  --silver-dark: #433d3a;

  --ember-hot: #ff9c3b;
  --ember-mid: #e6511c;

  /* Typography */
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-editorial: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1180px;
  --section-pad: clamp(4.75rem, 8.5vw, 7.75rem);
  --header-height: 70px;

  /* Motion Curves */
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-metallic: cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Radii */
  --radius-sm: 3px;
  --radius-md: 6px;
}

/* ==========================================================================
   Reset & Base Foundation
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100svh;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--bg-iron-elevated);
  border: 1px solid var(--gold-300);
  color: var(--gold-100);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold-100);
  outline-offset: 2px;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   Forged Floating Navigation Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(6, 5, 6, 0.76) 0%, rgba(6, 5, 6, 0) 100%);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.45s var(--ease-cinematic),
    border-color 0.45s var(--ease-cinematic),
    backdrop-filter 0.45s var(--ease-cinematic);
}

.site-header.is-scrolled {
  background: rgba(9, 7, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(200, 155, 70, 0.22);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-cinematic), transform 0.4s var(--ease-cinematic);
}

.site-header.is-scrolled .site-header__brand {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header__logo {
  width: auto;
  height: 36px;
  aspect-ratio: 3 / 1;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2.25rem);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-200), transparent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.3s var(--ease-cinematic), opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav__link:hover {
    color: var(--gold-100);
  }
  .site-nav__link:hover::after {
    transform: scaleX(1);
    opacity: 1;
  }
}

.site-nav__link:focus-visible {
  color: var(--gold-100);
}

.site-nav__link--accent {
  color: var(--gold-200);
}

.site-nav__link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 155, 70, 0.3);
  background: rgba(15, 11, 13, 0.62);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-bright);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.motion-toggle__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember-hot);
  box-shadow: 0 0 8px rgba(255, 156, 59, 0.85);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.motion-toggle[aria-pressed='true'] {
  border-color: rgba(142, 134, 126, 0.35);
  color: var(--text-muted);
}

.motion-toggle[aria-pressed='true'] .motion-toggle__dot {
  background: var(--silver-dark);
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .motion-toggle:hover {
    border-color: var(--gold-200);
    background: rgba(34, 24, 26, 0.85);
    color: var(--gold-100);
  }
}

/* ==========================================================================
   ACT I — HERO SECTION (100vw / 100svh)
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--bg-void);
  isolation: isolate;
}

/* Background Media Stage (Poster & Video Share Exact Geometry & Object Position) */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #070506;
}

.hero__poster-fallback,
.hero__poster-img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero__poster-img {
  z-index: 1;
}

.hero__video {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.hero.is-video-fallback .hero__video {
  opacity: 0;
  pointer-events: none;
}

/* Cinematic Darkness & Focus Vignette */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Central focal shadow bed behind logo and launch typography */
    radial-gradient(
      ellipse 56% 48% at 50% 50%,
      rgba(6, 4, 5, 0.66) 0%,
      rgba(8, 6, 7, 0.42) 48%,
      rgba(6, 5, 6, 0.24) 76%,
      rgba(5, 4, 5, 0.68) 100%
    ),
    /* Top and bottom cinema fade into obsidian */
    linear-gradient(
      180deg,
      rgba(6, 5, 6, 0.62) 0%,
      rgba(6, 5, 6, 0.16) 24%,
      rgba(6, 5, 6, 0.26) 66%,
      rgba(6, 5, 6, 0.88) 91%,
      var(--bg-void) 100%
    );
}

/* ==========================================================================
   Volumetric Multi-Depth Fog & Smoke Layers (GPU Transform-Only CSS)
   ========================================================================== */
.fog-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fog-stage--back {
  z-index: 3;
}

.fog-stage--front {
  z-index: 7;
  /* Radial center opening ensures foreground smoke drifts over scenery & lower edges
     without ever obscuring the central L2Brazuca emblem or launch text */
  -webkit-mask-image: radial-gradient(
    ellipse 46% 36% at 50% 48%,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.55) 56%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: radial-gradient(
    ellipse 46% 36% at 50% 48%,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.55) 56%,
    rgba(0, 0, 0, 1) 100%
  );
}

.fog-track {
  position: absolute;
  left: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Horizon distant moonlight mist behind the castle spires & logo */
.fog-track--horizon {
  top: 6%;
  height: 58%;
  background-image: url('../images/fog-horizon.webp');
  opacity: 0.44;
  mix-blend-mode: screen;
  animation: fog-drift-right 76s linear infinite;
}

/* Midground battle smoke drifting opposite across courtyard & crossed swords */
.fog-track--mid {
  bottom: 10%;
  height: 62%;
  background-image: url('../images/fog-mid.webp');
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: fog-drift-left 54s linear infinite;
}

/* Foreground dense rolling ground fog sweeping across the lower ramparts */
.fog-track--front-primary {
  bottom: -4%;
  height: 54%;
  background-image: url('../images/fog-front.webp');
  opacity: 0.58;
  mix-blend-mode: screen;
  animation: fog-drift-right 38s linear infinite;
}

/* Secondary counter-drifting foreground smoke band for 3D volumetric depth */
.fog-track--front-secondary {
  bottom: -8%;
  height: 44%;
  background-image: url('../images/fog-mid.webp');
  opacity: 0.34;
  mix-blend-mode: screen;
  animation: fog-drift-left 64s linear infinite;
}

@keyframes fog-drift-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0%, 0, 0);
  }
}

@keyframes fog-drift-left {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Ambient Torchlight & Embers Canvas */
.hero__ambient-light {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 32% at 50% 78%, rgba(230, 81, 28, 0.2) 0%, transparent 72%),
    radial-gradient(ellipse 38% 26% at 50% 45%, rgba(223, 180, 89, 0.12) 0%, transparent 74%);
  animation: ambient-fire-breathe 7.2s ease-in-out infinite alternate;
}

@keyframes ambient-fire-breathe {
  0% {
    opacity: 0.55;
  }
  100% {
    opacity: 0.95;
  }
}

.embers-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.embers-canvas--subtle {
  opacity: 0.72;
}

/* ==========================================================================
   Centered Official Logo & Launch Typography
   ========================================================================== */
.hero__content {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 960px;
  padding: calc(var(--header-height) * 0.6) clamp(1.1rem, 4vw, 2.5rem) 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo-stage {
  position: relative;
  width: clamp(275px, 50vw, 660px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hero-logo-enter 1.15s var(--ease-cinematic) both;
}

.hero__logo-aura {
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 58% 52% at 50% 54%,
      rgba(231, 194, 114, 0.26) 0%,
      rgba(158, 22, 29, 0.16) 44%,
      transparent 74%
    );
  animation: logo-aura-pulse 6.4s ease-in-out infinite alternate;
}

@keyframes logo-aura-pulse {
  0% {
    opacity: 0.52;
    transform: scale(0.97);
  }
  100% {
    opacity: 0.92;
    transform: scale(1.03);
  }
}

@keyframes hero-logo-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.965);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero__logo-picture {
  display: block;
  width: 100%;
}

.hero__logo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 24px rgba(223, 180, 89, 0.22));
  user-select: none;
  -webkit-user-drag: none;
}

/* Launch Text Block Below Logo */
.hero__launch {
  margin-top: clamp(0.85rem, 2.2vh, 1.65rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-text-enter 1.25s var(--ease-cinematic) 0.25s both;
}

@keyframes hero-text-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.6rem, 1.5vw, 1rem);
  margin-bottom: clamp(0.7rem, 1.5vh, 1.05rem);
}

.launch-badge__wing {
  display: block;
  width: clamp(32px, 7vw, 88px);
  height: 1px;
}

.launch-badge__wing--left {
  background: linear-gradient(90deg, transparent 0%, rgba(200, 155, 70, 0.85) 100%);
}

.launch-badge__wing--right {
  background: linear-gradient(90deg, rgba(200, 155, 70, 0.85) 0%, transparent 100%);
}

.launch-badge__gem {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #ff5f47, var(--crimson-mid));
  border: 1px solid var(--gold-200);
  box-shadow: 0 0 10px rgba(224, 52, 52, 0.7);
}

.launch-badge__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff3cc 0%, #e7c272 48%, #9f7328 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 16px rgba(223, 180, 89, 0.32));
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.35vw, 1.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.32;
  color: #f4ece0;
  text-transform: uppercase;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(0, 0, 0, 0.8);
  max-width: 28ch;
}

.hero__subcopy {
  margin-top: 0.65rem;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 400;
  color: #d6cdc0;
  max-width: 48ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.hero__chronicle-seal {
  margin-top: clamp(1rem, 2.2vh, 1.5rem);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 0.85rem;
  padding: 0.48rem 1.2rem;
  border-top: 1px solid rgba(200, 155, 70, 0.28);
  border-bottom: 1px solid rgba(200, 155, 70, 0.28);
  background: linear-gradient(90deg, transparent, rgba(12, 9, 10, 0.62) 22%, rgba(12, 9, 10, 0.62) 78%, transparent);
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 0.95vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-200);
}

.seal-sep {
  color: var(--crimson-bright);
  font-size: 0.65em;
}

/* Scroll Cue at Bottom of Hero */
.scroll-cue {
  position: absolute;
  bottom: clamp(1rem, 2.6vh, 1.85rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.scroll-cue__label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.scroll-cue__ornament {
  animation: scroll-cue-bob 2.6s ease-in-out infinite;
}

@keyframes scroll-cue-bob {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 5px, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .scroll-cue:hover {
    color: var(--gold-100);
  }
}

/* ==========================================================================
   Shared Medieval Section Architecture & Dividers
   ========================================================================== */
.section {
  position: relative;
  padding-block: var(--section-pad);
  scroll-margin-top: var(--header-height);
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}

.section-fog-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.medieval-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  transform: translateY(-50%);
  pointer-events: none;
}

.medieval-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(142, 134, 126, 0.32) 25%,
    rgba(200, 155, 70, 0.65) 100%
  );
}

.medieval-divider__line:last-child {
  background: linear-gradient(
    90deg,
    rgba(200, 155, 70, 0.65) 0%,
    rgba(142, 134, 126, 0.32) 75%,
    transparent 100%
  );
}

.medieval-divider__crest {
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(158, 22, 29, 0.45));
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.8rem, 5.5vw, 4.2rem);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(180deg, #faf1de 0%, #dcd1c2 62%, #a6998a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85));
}

.section-lead {
  margin-top: 1.05rem;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   ACT II — APRESENTAÇÃO DO SERVIDOR (THREE PILLARS + OATH PLAQUE)
   ========================================================================== */
.section-pillars .medieval-divider {
  top: 0.5rem;
  transform: none;
}

.section-pillars {
  padding-top: calc(var(--section-pad) + 1.25rem);
  background:
    radial-gradient(ellipse 75% 42% at 50% 0%, rgba(158, 22, 29, 0.12) 0%, transparent 64%),
    radial-gradient(ellipse 60% 40% at 50% 92%, rgba(200, 155, 70, 0.08) 0%, transparent 66%),
    url('../images/stone-grain.webp') repeat,
    var(--bg-obsidian);
  background-blend-mode: normal, normal, soft-light, normal;
  border-top: 1px solid rgba(200, 155, 70, 0.14);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  align-items: stretch;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.1rem, 3.2vw, 2.9rem) clamp(1.5rem, 2.4vw, 2.15rem);
  background:
    linear-gradient(180deg, rgba(31, 25, 28, 0.94) 0%, rgba(15, 12, 14, 0.98) 100%);
  border: 1px solid rgba(200, 155, 70, 0.24);
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 1px 0 rgba(252, 234, 184, 0.1),
    inset 0 -24px 48px rgba(0, 0, 0, 0.45),
    0 20px 44px rgba(0, 0, 0, 0.52);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-cinematic),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(223, 180, 89, 0.13) 0%, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.pillar-card--featured {
  border-color: rgba(200, 155, 70, 0.42);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(158, 22, 29, 0.2) 0%, transparent 65%),
    linear-gradient(180deg, rgba(35, 26, 29, 0.96) 0%, rgba(15, 11, 13, 0.99) 100%);
}

@media (hover: hover) and (pointer: fine) {
  .pillar-card:hover {
    transform: translate3d(0, -5px, 0);
    border-color: rgba(231, 194, 114, 0.62);
    box-shadow:
      inset 0 1px 0 rgba(252, 234, 184, 0.22),
      0 26px 54px rgba(0, 0, 0, 0.7),
      0 0 28px rgba(158, 22, 29, 0.2);
  }
  .pillar-card:hover::before {
    opacity: 1;
  }
  .pillar-card:hover .pillar-card__emblem {
    transform: translate3d(0, -2px, 0) scale(1.04);
    filter: drop-shadow(0 0 18px rgba(223, 180, 89, 0.36));
  }
}

/* Engraved Medieval Corner Brackets */
.corner-ornament {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(200, 155, 70, 0.55);
  border-style: solid;
  pointer-events: none;
}

.corner-ornament--tl {
  top: 8px;
  left: 8px;
  border-width: 1.5px 0 0 1.5px;
}

.corner-ornament--tr {
  top: 8px;
  right: 8px;
  border-width: 1.5px 1.5px 0 0;
}

.corner-ornament--bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 1.5px 1.5px;
}

.corner-ornament--br {
  bottom: 8px;
  right: 8px;
  border-width: 0 1.5px 1.5px 0;
}

.pillar-card__emblem {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.75));
  transition: transform 0.35s var(--ease-cinematic), filter 0.35s ease;
}

.pillar-card__numeral {
  position: absolute;
  top: 1rem;
  right: 1.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(200, 155, 70, 0.35);
}

.pillar-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 1.8vw, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fceab8 0%, #dfb459 58%, #9f7328 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar-card__rule {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 1px;
  margin: 1rem auto 1.15rem;
  background: linear-gradient(90deg, transparent, var(--crimson-bright), var(--gold-200), var(--crimson-bright), transparent);
}

.pillar-card__text {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 30ch;
}

/* Classic L2Brazuca Gameplay Highlights Showcase */
.highlights-block {
  margin-top: clamp(3.2rem, 6vw, 4.75rem);
}

.highlights-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 3.8vw, 2.75rem);
}

.highlights-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.35vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.28;
  text-transform: uppercase;
  color: #efe6d8;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}

.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.highlight-card {
  position: relative;
  flex: 0 1 calc((100% - 3rem) / 3);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.45rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(158, 22, 29, 0.14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(26, 21, 24, 0.92) 0%, rgba(13, 10, 12, 0.98) 100%);
  border: 1px solid rgba(200, 155, 70, 0.22);
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 1px 0 rgba(252, 234, 184, 0.08),
    0 14px 32px rgba(0, 0, 0, 0.48);
  transition:
    transform 0.3s var(--ease-cinematic),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .highlight-card:hover {
    transform: translate3d(0, -4px, 0);
    border-color: rgba(231, 194, 114, 0.56);
    box-shadow:
      inset 0 1px 0 rgba(252, 234, 184, 0.2),
      0 20px 42px rgba(0, 0, 0, 0.65),
      0 0 22px rgba(158, 22, 29, 0.22);
  }
  .highlight-card:hover .highlight-card__icon {
    transform: translate3d(0, -2px, 0) scale(1.06);
    filter: drop-shadow(0 0 14px rgba(231, 194, 114, 0.38));
  }
}

.highlight-card__icon {
  width: 66px;
  height: 66px;
  margin-bottom: 1.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(44, 33, 36, 0.95), rgba(14, 10, 12, 0.98) 72%);
  border: 1px solid rgba(200, 155, 70, 0.32);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7), 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease-cinematic), filter 0.3s ease;
}

.highlight-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-200);
  margin-bottom: 0.65rem;
}

.highlight-card__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 32ch;
}

@media (max-width: 960px) {
  .highlight-card {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 640px) {
  .highlight-card {
    flex: 1 1 100%;
    max-width: 560px;
  }
}

/* Monumental Oath Plaque */
.oath-plaque {
  margin-top: clamp(3rem, 6vw, 4.75rem);
}

.oath-plaque__frame {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(2.4rem, 4.5vw, 3.6rem) clamp(1.5rem, 4.5vw, 3.8rem);
  text-align: center;
  background:
    radial-gradient(ellipse 72% 72% at 50% 50%, rgba(148, 18, 25, 0.22) 0%, rgba(18, 12, 14, 0.94) 68%),
    linear-gradient(180deg, rgba(24, 18, 20, 0.96), rgba(11, 8, 9, 0.98));
  border: 1px solid rgba(200, 155, 70, 0.38);
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 0 0 5px rgba(8, 6, 7, 0.8),
    inset 0 0 0 6px rgba(200, 155, 70, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.65);
}

.oath-plaque__top-gem {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 0.75rem;
  background: var(--bg-obsidian);
  filter: drop-shadow(0 0 12px rgba(224, 52, 52, 0.45));
}

.oath-plaque__quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.48rem, 3.1vw, 2.45rem);
  line-height: 1.38;
  color: #f6ede0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.85);
}

.oath-plaque__caption {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-200);
  text-transform: uppercase;
}

/* ==========================================================================
   ACT III — COMPATIBILIDADE E PLATAFORMAS
   ========================================================================== */
.section-platforms {
  background:
    radial-gradient(ellipse 68% 44% at 50% 100%, rgba(158, 22, 29, 0.14) 0%, transparent 66%),
    radial-gradient(ellipse 80% 35% at 50% 0%, rgba(142, 134, 126, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #090809 0%, #0e0b0d 52%, #080607 100%);
  border-top: 1px solid rgba(142, 134, 126, 0.16);
}

.section-fog-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 360px;
  z-index: 1;
  background: url('../images/fog-horizon.webp') repeat-x;
  background-size: 50% 100%;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: fog-drift-left 88s linear infinite;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.4rem, 2.3vw, 2rem);
  /* Forged Metallic Plate Surface */
  background:
    linear-gradient(
      145deg,
      rgba(45, 40, 42, 0.82) 0%,
      rgba(22, 19, 21, 0.96) 36%,
      rgba(14, 12, 13, 0.99) 70%,
      rgba(34, 28, 30, 0.88) 100%
    );
  border: 1px solid rgba(174, 164, 152, 0.24);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8),
    inset 0 0 28px rgba(0, 0, 0, 0.48),
    0 18px 40px rgba(0, 0, 0, 0.56);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-metallic),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Metallic Corner Rivets */
.platform-card__rivets::before,
.platform-card__rivets::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-100), var(--gold-400) 65%, #24190c);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.platform-card__rivets::before {
  left: 12px;
}

.platform-card__rivets::after {
  right: 12px;
}

/* Animated Metallic Light Sheen on Hover */
.platform-card__sheen {
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(252, 234, 184, 0.11) 49%,
    rgba(255, 255, 255, 0.16) 51%,
    transparent 62%
  );
  transform: translate3d(-65%, 0, 0);
  pointer-events: none;
  transition: transform 0.85s var(--ease-cinematic);
}

@media (hover: hover) and (pointer: fine) {
  .platform-card:hover {
    transform: translate3d(0, -6px, 0);
    border-color: rgba(223, 180, 89, 0.65);
    box-shadow:
      inset 0 1px 0 rgba(252, 234, 184, 0.28),
      0 26px 52px rgba(0, 0, 0, 0.72),
      0 0 26px rgba(200, 155, 70, 0.18);
  }
  .platform-card:hover .platform-card__sheen {
    transform: translate3d(65%, 0, 0);
  }
  .platform-card:hover .platform-card__icon {
    transform: translate3d(0, -3px, 0) scale(1.05);
    filter: drop-shadow(0 0 18px rgba(231, 194, 114, 0.38));
  }
}

.platform-card__icon {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  margin-bottom: 1.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(48, 38, 40, 0.92), rgba(14, 11, 12, 0.98) 72%);
  border: 1px solid rgba(200, 155, 70, 0.34);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.75),
    0 8px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease-cinematic), filter 0.35s ease;
}

.platform-card__tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-300);
  margin-bottom: 0.55rem;
}

.platform-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.38;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.platform-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 30ch;
}

.unified-banner {
  margin-top: clamp(2.1rem, 4vw, 3rem);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  border-top: 1px solid rgba(200, 155, 70, 0.2);
  border-bottom: 1px solid rgba(200, 155, 70, 0.2);
  background: linear-gradient(90deg, transparent, rgba(24, 17, 19, 0.75) 20%, rgba(24, 17, 19, 0.75) 80%, transparent);
}

.unified-banner__gem {
  color: var(--gold-200);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.unified-banner__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.unified-banner__text strong {
  color: var(--gold-100);
  font-weight: 600;
}

/* ==========================================================================
   ACT IV — MANIFESTO FINALE & FOOTER
   ========================================================================== */
.section-finale {
  padding-block: clamp(5.5rem, 10vw, 8.75rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(168, 28, 22, 0.28) 0%, rgba(40, 8, 10, 0.14) 44%, transparent 72%),
    linear-gradient(180deg, #070506 0%, #0d0809 55%, #060405 100%);
  border-top: 1px solid rgba(200, 155, 70, 0.2);
}

.finale__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 48% 36% at 50% 55%, rgba(223, 180, 89, 0.1) 0%, transparent 72%);
  animation: ambient-fire-breathe 8s ease-in-out infinite alternate;
}

.fog-stage--finale {
  z-index: 2;
}

.fog-track--finale {
  bottom: -6%;
  height: 58%;
  background-image: url('../images/fog-front.webp');
  opacity: 0.36;
  mix-blend-mode: screen;
  animation: fog-drift-right 58s linear infinite;
}

.finale__inner {
  text-align: center;
  max-width: 820px;
}

.finale__brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  background: linear-gradient(180deg, #fff5d4 0%, #dfb459 54%, #8d6321 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.9));
}

.finale__meta {
  margin-top: 0.65rem;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 1.15vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--silver-bright);
}

.finale__headline {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.28;
  color: #f6efe4;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.finale__manifesto {
  margin-top: 1.05rem;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.35vw, 1.06rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.65;
  color: var(--text-secondary);
}

.finale__promise {
  margin-top: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-200);
  text-shadow: 0 0 22px rgba(223, 180, 89, 0.28);
}

.finale__status {
  margin-top: clamp(1.9rem, 3.6vw, 2.75rem);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.85rem;
  border: 1px solid rgba(200, 155, 70, 0.45);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(105, 13, 18, 0.45), rgba(18, 10, 11, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(252, 234, 184, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.65);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  padding-left: calc(1.85rem + 0.34em);
  color: var(--gold-100);
}

.finale__status-gem {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--crimson-bright);
  box-shadow: 0 0 8px rgba(224, 52, 52, 0.85);
  flex-shrink: 0;
}

/* ==========================================================================
   Forged Medieval Email Launch Registry Altar (#novidades)
   ========================================================================== */
.dispatch-card {
  position: relative;
  max-width: 680px;
  margin: clamp(2.4rem, 4.5vw, 3.4rem) auto 0;
  padding: clamp(2rem, 4vw, 2.9rem) clamp(1.35rem, 3.8vw, 2.75rem);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(158, 22, 29, 0.22) 0%, transparent 64%),
    linear-gradient(180deg, rgba(25, 18, 21, 0.94) 0%, rgba(11, 8, 9, 0.98) 100%);
  border: 1px solid rgba(200, 155, 70, 0.36);
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 1px 0 rgba(252, 234, 184, 0.16),
    inset 0 -24px 48px rgba(0, 0, 0, 0.52),
    0 24px 56px rgba(0, 0, 0, 0.72);
}

.dispatch-card__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.38rem 1.05rem;
  border-top: 1px solid rgba(200, 155, 70, 0.28);
  border-bottom: 1px solid rgba(200, 155, 70, 0.28);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold-200);
}

.dispatch-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.3vw, 1.62rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: #f6efe4;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.dispatch-card__desc {
  margin: 0.7rem auto 0;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.dispatch-form {
  margin-top: 1.65rem;
}

.dispatch-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dispatch-form__controls {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.dispatch-form__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0.8rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #f4ece0;
  background: rgba(8, 6, 7, 0.92);
  border: 1px solid rgba(174, 164, 152, 0.34);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.75);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.dispatch-form__input::placeholder {
  color: #8f8579;
}

.dispatch-form__input:focus {
  outline: none;
  border-color: var(--gold-200);
  background: rgba(12, 9, 10, 0.98);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.75),
    0 0 0 3px rgba(223, 180, 89, 0.18);
}

.dispatch-form__input[aria-invalid='true'] {
  border-color: var(--crimson-bright);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.75),
    0 0 0 3px rgba(224, 52, 52, 0.2);
}

.dispatch-form__submit {
  position: relative;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231, 194, 114, 0.62);
  background:
    linear-gradient(180deg, #98161d 0%, #6b0d12 52%, #4a070b 100%);
  box-shadow:
    inset 0 1px 0 rgba(252, 234, 184, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.7),
    0 10px 24px rgba(0, 0, 0, 0.55);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-100);
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease-cinematic),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.dispatch-form__submit-sheen {
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(252, 234, 184, 0.22) 50%,
    transparent 62%
  );
  transform: translate3d(-75%, 0, 0);
  pointer-events: none;
  transition: transform 0.75s var(--ease-cinematic);
}

.dispatch-form__submit-text {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .dispatch-form__submit:not(:disabled):hover {
    transform: translate3d(0, -2px, 0);
    border-color: var(--gold-100);
    box-shadow:
      inset 0 1px 0 rgba(252, 234, 184, 0.45),
      0 14px 28px rgba(0, 0, 0, 0.7),
      0 0 22px rgba(224, 52, 52, 0.34);
  }
  .dispatch-form__submit:not(:disabled):hover .dispatch-form__submit-sheen {
    transform: translate3d(75%, 0, 0);
  }
}

.dispatch-form__submit:active:not(:disabled) {
  transform: translate3d(0, 0, 0);
}

.dispatch-form__submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.dispatch-form__feedback {
  min-height: 1.35rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  border-radius: var(--radius-sm);
}

.dispatch-form__feedback:empty {
  display: none;
}

.dispatch-form__feedback.is-success {
  padding: 0.72rem 1rem;
  background: rgba(34, 54, 34, 0.32);
  border: 1px solid rgba(200, 155, 70, 0.48);
  color: #f4e4bc;
}

.dispatch-form__feedback.is-info {
  padding: 0.72rem 1rem;
  background: rgba(66, 46, 18, 0.32);
  border: 1px solid rgba(200, 155, 70, 0.42);
  color: #eed69c;
}

.dispatch-form__feedback.is-error {
  padding: 0.72rem 1rem;
  background: rgba(110, 16, 22, 0.38);
  border: 1px solid rgba(224, 52, 52, 0.58);
  color: #ffd4d0;
}

.dispatch-form__hint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 155, 70, 0.26);
  background: rgba(16, 13, 15, 0.9);
  font-size: 0.86rem;
  color: var(--text-primary);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-cinematic), box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-facebook:hover {
    border-color: rgba(24, 119, 242, 0.72);
    color: #ffffff;
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 0 18px rgba(24, 119, 242, 0.3);
  }
}

@media (max-width: 600px) {
  .dispatch-form__controls {
    flex-direction: column;
  }

  .dispatch-form__submit {
    width: 100%;
  }
}

/* Footer */
.site-footer {
  background: #040304;
  border-top: 1px solid rgba(200, 155, 70, 0.16);
  padding-block: 2.8rem 2.4rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__logo {
  width: 170px;
  height: auto;
  aspect-ratio: 3 / 1;
  opacity: 0.88;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.85));
  transition: opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__logo-link:hover .site-footer__logo {
    opacity: 1;
  }
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.85rem;
}

.site-footer__nav a {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-block: 0.35rem;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__nav a:hover {
    color: var(--gold-200);
  }
}

.site-footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ==========================================================================
   Scroll Reveal Progressive Enhancement (Visible by Default Without JS)
   ========================================================================== */
.js-enhanced .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.52s var(--ease-cinematic),
    transform 0.52s var(--ease-cinematic);
}

.js-enhanced .reveal[data-delay='1'] {
  transition-delay: 0.07s;
}

.js-enhanced .reveal[data-delay='2'] {
  transition-delay: 0.14s;
}

.js-enhanced .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Responsive Adaptations (Tablets, Android & iPhone Portrait/Landscape)
   ========================================================================== */
@media (max-width: 960px) {
  .pillars-grid,
  .platforms-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .oath-br {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .site-nav__list {
    gap: 0.85rem;
  }

  .site-nav__link {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .motion-toggle__label {
    display: none;
  }

  .motion-toggle {
    padding: 0.45rem;
    min-width: 36px;
    justify-content: center;
  }

  /* Frame castle gate, moon glow & crossed swords cleanly on vertical phones */
  .hero__poster-img,
  .hero__video {
    object-position: 50% 38%;
  }

  .hero__vignette {
    background:
      radial-gradient(
        ellipse 82% 52% at 50% 50%,
        rgba(6, 4, 5, 0.7) 0%,
        rgba(6, 5, 6, 0.45) 56%,
        rgba(5, 4, 5, 0.72) 100%
      ),
      linear-gradient(
        180deg,
        rgba(6, 5, 6, 0.68) 0%,
        rgba(6, 5, 6, 0.18) 25%,
        rgba(6, 5, 6, 0.34) 68%,
        var(--bg-void) 100%
      );
  }

  /* Mobile fog optimization: fewer composited layers for smoother 60fps & lower battery draw */
  .fog-track--front-secondary,
  .section-fog-accent {
    display: none;
  }

  .fog-track--horizon {
    opacity: 0.34;
    animation-duration: 84s;
  }

  .fog-track--mid {
    opacity: 0.38;
    animation-duration: 60s;
  }

  .fog-track--front-primary {
    opacity: 0.46;
    height: 46%;
    animation-duration: 44s;
  }

  .hero__logo-stage {
    width: min(88vw, 440px);
  }

  .hero__content {
    padding-bottom: 4.75rem;
  }

  .hero__chronicle-seal {
    letter-spacing: 0.14em;
    padding: 0.45rem 0.75rem;
  }

  .unified-banner__gem {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    padding-inline: 0.75rem;
    gap: 0.45rem;
  }

  .site-header__logo {
    height: 22px;
  }

  .site-nav__list {
    gap: 0.55rem;
  }

  .site-nav__link {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .motion-toggle {
    min-width: 32px;
    min-height: 32px;
    padding: 0.35rem;
  }

  .launch-badge__text {
    letter-spacing: 0.3em;
    padding-left: 0.3em;
  }

  .launch-badge__wing {
    width: 24px;
  }

  .hero__headline {
    font-size: 1.05rem;
    letter-spacing: 0.09em;
  }

  .hero__subcopy {
    font-size: 0.92rem;
  }

  .hero__chronicle-seal {
    font-size: 0.58rem;
    letter-spacing: 0.09em;
    gap: 0.3rem 0.45rem;
    padding: 0.42rem 0.55rem;
  }

  .scroll-cue__label {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }
}

/* Short Landscape Viewports (e.g. Mobile Landscape) */
@media (max-height: 600px) {
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 4.5rem;
  }

  .hero__logo-stage {
    width: min(54vw, 380px);
  }
}

/* ==========================================================================
   User-Paused Atmosphere State & Prefers-Reduced-Motion Safety Gate
   ========================================================================== */
html.motion-paused .fog-track,
html.motion-paused .section-fog-accent,
html.motion-paused .hero__ambient-light,
html.motion-paused .hero__logo-aura,
html.motion-paused .finale__glow,
html.motion-paused .scroll-cue__ornament {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fog-track,
  .section-fog-accent,
  .embers-canvas {
    display: none;
  }

  .js-enhanced .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
