/* =========================================================
   ELDRYN — Uma noite em Eldryn (v3)
   Cinematic journey: dusk → night. Official Hytale art.
   Signature pieces: crossfade hero, live player heads,
   horizontal film-strip, shooting stars.
   ========================================================= */

:root {
  --abyss:     #030409;
  --night:     #060a14;
  --dusk-1:    #0b1226;
  --panel:     rgba(13, 18, 32, 0.6);
  --line:      rgba(246, 197, 69, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);

  --gold:      #f6c545;
  --gold-2:    #ffe3a1;
  --gold-3:    #ffd76e;
  --gold-deep: #b8861f;
  --text:      #f4f6fc;
  --muted:     #9aa3bb;
  --faint:     #5d6579;
  --green:     #3ad07f;
  --red:       #ff5b5b;
  --discord:   #5865f2;

  --f-display: 'Cinzel', Georgia, serif;
  --f-lore:    'Cormorant Garamond', Georgia, serif;
  --f-body:    'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --scrollp: 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--abyss);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--gold); color: #140d02; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-deep), var(--gold)); border-radius: 8px; border: 2px solid var(--abyss); }

/* ========================= SKY ========================= */
.sky { position: fixed; inset: 0; z-index: -5; pointer-events: none; }
.sky-dusk, .sky-night { position: absolute; inset: 0; }
.sky-dusk {
  background:
    radial-gradient(90% 70% at 50% 10%, #2b2150 0%, transparent 60%),
    radial-gradient(70% 55% at 18% 30%, rgba(246, 158, 69, 0.14), transparent 60%),
    linear-gradient(180deg, #131a38 0%, #0c1024 45%, var(--abyss) 100%);
  opacity: calc(1 - var(--scrollp));
}
.sky-night {
  background:
    radial-gradient(80% 60% at 70% 0%, #101a3a 0%, transparent 55%),
    radial-gradient(50% 40% at 20% 15%, rgba(88, 101, 242, 0.10), transparent 60%),
    linear-gradient(180deg, #05070f 0%, var(--abyss) 70%);
  opacity: var(--scrollp);
}
#stars { position: fixed; inset: 0; z-index: -4; pointer-events: none; opacity: calc(var(--scrollp) * 0.9 + 0.1); }

.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(4) infinite;
}

#cursor-glow {
  position: fixed; width: 340px; height: 340px; border-radius: 50%;
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(246, 197, 69, 0.10) 0%, transparent 65%);
  transform: translate(-50%, -50%); left: -400px; top: -400px;
}
@media (pointer: coarse) { #cursor-glow { display: none; } }

/* ========================= LOADER ========================= */
#loader {
  position: fixed; inset: 0; z-index: 300; background: var(--abyss);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-coin { width: 84px; height: 84px; animation: coin-pulse 2s ease-in-out infinite; }
.loader-coin img { width: 100%; filter: drop-shadow(0 0 24px rgba(246, 197, 69, 0.55)); }
.loader-word {
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.9em; text-indent: 0.9em; color: var(--gold-2); text-transform: uppercase;
  animation: word-in 1.6s var(--ease) both;
}
.loader-bar { width: 180px; height: 1px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--gold); animation: bar-run 1.1s var(--ease) infinite; }

/* ========================= NAV ========================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 44px; transition: 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 11px 44px;
  background: rgba(4, 6, 12, 0.75);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line-soft);
}
.nav-logo img { height: 32px; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.7)); transition: 0.3s; }
.nav-logo:hover img { filter: drop-shadow(0 0 14px rgba(246,197,69,0.5)); }
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-links a::before {
  content: '◆'; position: absolute; left: 50%; top: -8px; transform: translateX(-50%) scale(0);
  font-size: 0.5rem; color: var(--gold); transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--gold-2); }
.nav-links a:hover::before { transform: translateX(-50%) scale(1); }
.nav-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  padding: 8px 16px; border-radius: 30px;
  border: 1px solid var(--line-soft); background: rgba(0,0,0,0.3); backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); animation: pulse 2.2s infinite; }
.dot.off { background: var(--red); box-shadow: 0 0 9px var(--red); animation: none; }
.nav-status b { color: var(--gold); font-weight: 800; }
.nav-loja {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #191104; padding: 10px 20px; border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 8px 22px rgba(246, 197, 69, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, filter 0.25s;
}
.nav-loja:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(246, 197, 69, 0.45); filter: brightness(1.08); }
.drawer-loja { color: var(--gold) !important; }
.drawer-loja i { margin-right: 6px; }
.nav-burger { display: none; font-size: 1.35rem; color: var(--text); }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 330px); z-index: 260;
  background: linear-gradient(200deg, var(--dusk-1), var(--abyss));
  border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.5s var(--ease);
  padding: 96px 34px 34px; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer a {
  padding: 16px 2px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line-soft); transition: color 0.25s, padding-left 0.25s;
}
.drawer a:hover { color: var(--gold); padding-left: 10px; }
.drawer-close { position: absolute; top: 26px; right: 28px; font-size: 1.5rem; }
.scrim { position: fixed; inset: 0; z-index: 250; background: rgba(2,3,6,0.6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: 0.35s; }
.scrim.show { opacity: 1; visibility: visible; }

/* ========================= HERO ========================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 22px 100px; overflow: hidden;
}
.hero-scene { position: absolute; inset: -4%; z-index: -3; will-change: transform; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: slow-zoom 30s ease-in-out infinite alternate;
}
@keyframes slow-zoom { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  background-position: center 45%; background-size: cover; background-repeat: no-repeat;
  transition: opacity 3s ease;
}
.hero-slide.on { opacity: 1; }
.hero-slide:nth-child(odd).on  { animation: kb-a 16s ease-in-out both; }
.hero-slide:nth-child(even).on { animation: kb-b 16s ease-in-out both; }

.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(75% 55% at 50% 42%, transparent 20%, rgba(3, 4, 9, 0.55) 78%),
    linear-gradient(180deg, rgba(3,4,9,0.66) 0%, rgba(3,4,9,0.14) 30%, rgba(3,4,9,0.2) 58%, rgba(3,4,9,0.88) 88%, var(--abyss) 100%);
}
.rays {
  position: absolute; inset: -20% -10%; z-index: -2; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 42%, rgba(246, 197, 69, 0.045) 46%, transparent 52%),
    linear-gradient(112deg, transparent 60%, rgba(246, 197, 69, 0.05) 65%, transparent 72%),
    linear-gradient(118deg, transparent 24%, rgba(255, 227, 161, 0.035) 28%, transparent 34%);
  animation: rays-pulse 9s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.fog { position: absolute; left: -60%; width: 220%; height: 34%; z-index: -2; pointer-events: none; filter: blur(2px); opacity: 0.5; }
.fog-1 { bottom: 4%; background: radial-gradient(45% 90% at 30% 50%, rgba(148, 163, 216, 0.10), transparent 70%), radial-gradient(35% 80% at 70% 60%, rgba(148, 163, 216, 0.07), transparent 70%); animation: fog-drift 46s linear infinite; }
.fog-2 { bottom: 16%; background: radial-gradient(40% 80% at 60% 50%, rgba(148, 163, 216, 0.07), transparent 70%); animation: fog-drift 70s linear infinite reverse; }
#embers { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.hero-inner { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; }

.hero-kicker {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.55em; text-indent: 0.55em;
  text-transform: uppercase; color: var(--gold-2); opacity: 0.85; margin-bottom: 26px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}
.hero-logo-wrap { position: relative; margin-bottom: 8px; animation: floaty 8s ease-in-out infinite; }
.hero-logo { width: min(600px, 84vw); display: block; filter: drop-shadow(0 18px 46px rgba(0, 0, 0, 0.75)); }
/* light sweep clipped to the wordmark's own pixels (masked by the logo image) */
.hero-logo-wrap .shine {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: url("../img/wordmark.png");
  mask-image: url("../img/wordmark.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.hero-logo-wrap .shine::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(70deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: sweep 6.5s var(--ease) 1.6s infinite;
}
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.hero-tag {
  font-family: var(--f-lore); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.8vw, 1.9rem); color: #e8dcc2;
  letter-spacing: 0.02em; margin-bottom: 34px;
  text-shadow: 0 2px 22px rgba(0,0,0,0.9);
}
.hero-tag .g { color: var(--gold-3); }

.ip-relic {
  position: relative; display: inline-flex; align-items: center; gap: 20px;
  padding: 16px 20px 16px 28px; margin-bottom: 26px; cursor: pointer;
  background: linear-gradient(180deg, rgba(10, 13, 24, 0.72), rgba(6, 8, 16, 0.82));
  border: 1px solid rgba(246, 197, 69, 0.5); border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 0 44px rgba(246, 197, 69, 0.16), inset 0 0 24px rgba(246, 197, 69, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.ip-relic:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 0 70px rgba(246, 197, 69, 0.3), inset 0 0 24px rgba(246,197,69,0.08); }
.ip-relic::before, .ip-relic::after, .ip-relic .tick-a, .ip-relic .tick-b {
  content: ''; position: absolute; width: 12px; height: 12px; border-color: var(--gold); border-style: solid;
}
.ip-relic::before { top: -5px; left: -5px; border-width: 2px 0 0 2px; }
.ip-relic::after { top: -5px; right: -5px; border-width: 2px 2px 0 0; }
.ip-relic .tick-a { bottom: -5px; left: -5px; border-width: 0 0 2px 2px; }
.ip-relic .tick-b { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; }
.ip-relic .lbl { display: block; font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ip-relic .ip { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 3.4vw, 1.75rem); line-height: 1.05; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ip-relic .copy-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-deep));
  color: #191104; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 3px; transition: filter 0.25s;
}
.ip-relic:hover .copy-chip { filter: brightness(1.12); }

/* Live player heads */
.hero-online {
  display: none; align-items: center; gap: 14px; margin-bottom: 30px;
  padding: 10px 20px; border-radius: 40px;
  background: rgba(4, 6, 12, 0.55); border: 1px solid var(--line-soft); backdrop-filter: blur(10px);
}
.hero-online.has { display: inline-flex; }
.hero-online .who { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.heads { display: flex; align-items: center; }
.heads canvas, .heads img, .heads .more {
  width: 34px; height: 34px; border-radius: 8px; margin-left: -8px;
  border: 2px solid rgba(246, 197, 69, 0.55); background: var(--night);
  box-shadow: 0 4px 12px rgba(0,0,0,0.55);
  image-rendering: pixelated; object-fit: cover; transition: transform 0.25s var(--ease);
}
.heads canvas:first-child, .heads img:first-child { margin-left: 0; }
.heads canvas:hover, .heads img:hover { transform: translateY(-4px) scale(1.12); z-index: 2; position: relative; }
.heads .more {
  display: grid; place-items: center; font-size: 0.66rem; font-weight: 800; color: var(--gold);
  border-style: dashed;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 16px 34px; border-radius: 3px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s, color 0.3s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #191104; box-shadow: 0 12px 34px rgba(246, 197, 69, 0.26);
}
.btn-gold:hover { box-shadow: 0 18px 48px rgba(246, 197, 69, 0.42); }
.btn-ghost {
  color: var(--text); border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 12px 34px rgba(88, 101, 242, 0.3); }
.btn-discord:hover { box-shadow: 0 18px 48px rgba(88, 101, 242, 0.46); }

.hero-socials { display: flex; gap: 10px; margin-top: 26px; }
.hero-socials a {
  width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.05rem;
  color: var(--muted); border-radius: 50%;
  background: rgba(4, 6, 12, 0.5); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px); transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.hero-socials a:hover { color: var(--gold-2); border-color: var(--gold); transform: translateY(-3px); background: rgba(246, 197, 69, 0.08); }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--faint); font-size: 0.64rem; letter-spacing: 0.4em; text-indent: 0.4em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue-drop 2s var(--ease) infinite; }

/* ========================= SHARED ========================= */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: 82px 0; }
.section-head.center { text-align: center; }
.section-head { margin-bottom: 44px; }

.divider { display: flex; align-items: center; justify-content: center; gap: 18px; opacity: 0.85; }
.divider::before, .divider::after { content: ''; height: 1px; width: min(180px, 24vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider i { color: var(--gold); font-size: 0.6rem; }

.eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5em; text-indent: 0.5em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px; text-align: center;
}
.title-xl {
  font-family: var(--f-display); font-weight: 800; text-align: center;
  font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.12; letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.title-xl .g { background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { text-align: center; color: var(--muted); font-size: 1.06rem; max-width: 640px; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ========================= ADVENTURERS ONLINE ========================= */
.adventurers { display: none; padding: 70px 0 0; }
.adventurers.has { display: block; }
.adv-panel {
  border-radius: 10px; padding: 22px 26px;
  background: linear-gradient(180deg, rgba(16, 21, 38, 0.72), rgba(8, 11, 20, 0.82));
  border: 1px solid var(--line-soft); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.adv-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.adv-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.adv-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
  padding: 6px 13px; border-radius: 30px;
  background: rgba(58, 208, 127, 0.08); border: 1px solid rgba(58, 208, 127, 0.3);
}
.adv-badge b { color: var(--green); }
.adv-list { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.adv-player {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  transition: color 0.2s;
}
.adv-player:hover { color: var(--gold-2); }
.adv-player .pa { width: 30px; height: 30px; }
.adv-more { color: var(--faint); font-size: 0.9rem; font-style: italic; }

/* shared player avatar (hyvatar img or generated canvas fallback) */
.pa {
  border-radius: 7px; background: var(--night); object-fit: cover;
  image-rendering: pixelated; flex-shrink: 0;
  border: 1.5px solid rgba(246, 197, 69, 0.4);
}

@media (max-width: 620px) {
  .adv-panel { padding: 18px 18px; }
  .adv-list { gap: 10px 14px; }
  .adv-player { font-size: 0.88rem; }
}

/* ========================= MODES (grid) ========================= */
.modes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 900px) { .modes-grid { grid-template-columns: repeat(3, 1fr); } }
.mode {
  position: relative; min-height: 340px; border-radius: 10px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  background-size: cover; background-position: center;
  border: 1px solid var(--line-soft); box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.4s;
}
.mode::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, transparent 22%, rgba(3, 4, 9, 0.5) 60%, rgba(3, 4, 9, 0.93) 100%),
    linear-gradient(18deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%);
}
.mode:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6), 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.mode > * { position: relative; z-index: 1; }
.mode-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: auto;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  padding: 7px 12px; border-radius: 30px;
  background: rgba(3, 4, 9, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
}
.mode-tag i { color: var(--accent); }
.mode-body h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; line-height: 1.05; margin-bottom: 8px; }
.mode-body p { color: #d3dae8; font-size: 0.94rem; line-height: 1.55; max-width: 30ch; }
/* coming-soon mode */
.mode-soon { cursor: default; filter: grayscale(0.35); }
.mode-soon:hover { filter: grayscale(0); transform: translateY(-6px); }
.mode-soon .mode-tag { color: #cfe2ff; }

/* ========================= COMO ENTRAR ========================= */
.enter-cta { text-align: center; margin-top: 48px; }
.enter-ip-box {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 12px 12px 12px 20px; border-radius: 10px;
  background: rgba(4, 6, 12, 0.6); border: 1.5px solid var(--gold);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.enter-ip-box:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(246, 197, 69, 0.25); }
.enter-ip-box .eip-lbl { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.enter-ip-box .eip { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--gold); }
.enter-ip-box .eip-btn {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase;
  color: #191104; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); padding: 10px 16px; border-radius: 7px;
}

/* ========================= VIP BAND / LOJA ========================= */
.vip-section { padding: 82px 0 40px; }
.vip-band {
  position: relative; overflow: hidden; border-radius: 16px; margin-top: 8px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; gap: 40px;
  padding: 40px 44px;
  border: 1px solid rgba(246, 197, 69, 0.6);
  background:
    radial-gradient(50% 140% at 0% 50%, rgba(246, 197, 69, 0.16), transparent 60%),
    linear-gradient(120deg, rgba(26, 21, 8, 0.7), rgba(12, 14, 24, 0.94));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(246, 197, 69, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.vip-band-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.07) 50%, transparent 60%);
  transform: translateX(-120%); animation: sweep 7s var(--ease) 2s infinite;
}
.vip-band-left { position: relative; display: flex; align-items: center; gap: 20px; }
.vip-band-crown {
  width: 66px; height: 66px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; color: #191104;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 26px rgba(246, 197, 69, 0.4);
}
.vip-price-box { display: flex; flex-direction: column; }
.vip-price-lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.vip-price { font-family: var(--f-display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--gold); }
.vip-price .vc { font-size: 1.1rem; vertical-align: super; margin-right: 2px; }
.vip-price .vd { font-size: 1.4rem; }
.vip-price-sub { font-size: 0.74rem; color: var(--faint); }
.vip-band-main { position: relative; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding-left: 40px; }
.vip-band-main h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; margin-bottom: 10px; }
.vip-band-main p { color: var(--muted); font-size: 0.94rem; max-width: 520px; margin-bottom: 16px; }
.vip-band-main p strong { color: var(--gold-2); }
.vip-perks-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.vip-perks-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: #d5dbe8; }
.vip-perks-row i { color: var(--gold); font-size: 0.78rem; }
.vip-buy-box {
  position: relative; display: flex; flex-direction: column; gap: 12px; justify-content: center;
  flex-shrink: 0; min-width: 230px; padding: 22px; border-radius: 12px;
  background: rgba(4, 6, 12, 0.5); border: 1px solid var(--line);
}
.vip-buy-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.vip-steps-v { display: flex; flex-direction: column; gap: 10px; }
.vip-step { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.vip-step b { font-family: var(--f-display); color: var(--gold); font-size: 1.05rem; margin-left: 4px; }
.vip-step .vs-n {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.74rem; font-weight: 800; color: #191104;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
}
.vip-buy-foot { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--faint); }
.vip-buy-foot i { color: var(--gold); }
@media (max-width: 980px) {
  .vip-band { grid-template-columns: 1fr; gap: 26px; padding: 32px 28px; }
  .vip-band-main { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .vip-buy-box { min-width: 0; }
}

/* ========================= PLAQUE ========================= */
.plaque-band { padding: 30px 0 82px; }
.plaque {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 21, 38, 0.7), rgba(8, 11, 20, 0.85));
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.plaque::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 130% at 50% 0%, rgba(246, 197, 69, 0.07), transparent 70%);
}
.plaque > div { padding: 44px 20px; text-align: center; position: relative; }
.plaque > div + div::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-soft); }
.plaque .val { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plaque .lab { margin-top: 12px; color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }

/* ========================= STORE ========================= */
.store-grid {
  display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 30px;
  margin-top: 60px; align-items: start;
}

/* VIP card */
.vip-card {
  position: relative; border-radius: 8px; padding: 38px 32px 30px; overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(246, 197, 69, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(20, 25, 44, 0.9), rgba(9, 12, 22, 0.95));
  border: 1px solid var(--gold);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(246, 197, 69, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.vip-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(246, 197, 69, 0.25);
}
.vip-ribbon {
  position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #191104; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 42px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.vip-crown {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.6rem; color: var(--gold); margin-bottom: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(246, 197, 69, 0.2), transparent 70%);
  border: 1px solid var(--line); box-shadow: 0 0 30px rgba(246, 197, 69, 0.2);
}
.vip-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; margin-bottom: 4px; }
.vip-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.vip-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 26px; color: var(--gold); }
.vip-price .cur { font-size: 1.1rem; font-weight: 700; align-self: flex-start; margin-top: 8px; }
.vip-price .amt { font-family: var(--f-display); font-weight: 800; font-size: 3.4rem; line-height: 1; }
.vip-price .cents { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.vip-price .per { color: var(--faint); font-size: 0.82rem; font-weight: 600; margin-left: 8px; align-self: center; }
.vip-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.vip-perks li { display: flex; align-items: flex-start; gap: 12px; color: #d5dbe8; font-size: 0.92rem; }
.vip-perks li i { color: var(--gold); font-size: 0.85rem; margin-top: 4px; }
.vip-perks strong { color: var(--gold-2); }
.vip-buy { width: 100%; }
.vip-foot { display: block; text-align: center; color: var(--faint); font-size: 0.76rem; margin-top: 14px; letter-spacing: 0.04em; }

/* Cash */
.cash-col { display: flex; flex-direction: column; }
.cash-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.cash-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--gold); background: rgba(246, 197, 69, 0.08);
  border: 1px solid var(--line);
}
.cash-head h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; margin-bottom: 2px; }
.cash-head p { color: var(--muted); font-size: 0.9rem; }
.cash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cash-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 30px 18px 24px; border-radius: 8px; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, rgba(16, 21, 38, 0.7), rgba(8, 11, 20, 0.85));
  border: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.cash-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 34px rgba(246, 197, 69, 0.14); }
.cash-card.popular { border-color: rgba(246, 197, 69, 0.5); }
.cash-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: #191104; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  padding: 4px 12px; border-radius: 20px; white-space: nowrap;
}
.cash-amt { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--gold); }
.cash-label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 4px 0 16px; }
.cash-price {
  font-weight: 800; font-size: 1.05rem; color: var(--text);
  padding: 9px 0; width: 100%; border-radius: 5px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft);
  transition: background 0.3s, color 0.3s;
}
.cash-card:hover .cash-price { background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-deep)); color: #191104; }
.cash-note { margin-top: 18px; color: var(--faint); font-size: 0.78rem; }
.cash-note code { color: var(--muted); background: rgba(255,255,255,0.05); padding: 2px 7px; border-radius: 4px; font-size: 0.9em; }

@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; gap: 40px; }
  .vip-card { max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .cash-grid { grid-template-columns: 1fr; }
}

/* ========================= CINEMA CAROUSEL ========================= */
.cinema-head { text-align: center; margin-bottom: 48px; }
.cine-carousel {
  position: relative; border-radius: 6px;
  background: #0a0d18; border: 1px solid var(--line-soft);
  padding: 18px 18px 16px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
/* film sprockets */
.cine-carousel::before, .cine-carousel::after {
  content: ''; position: absolute; left: 18px; right: 18px; height: 6px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.16) 2px, transparent 2.6px);
  background-size: 22px 6px; background-repeat: repeat-x;
}
.cine-carousel::before { top: 6px; }
.cine-carousel::after { bottom: 7px; }

.cine-stage {
  position: relative; aspect-ratio: 16 / 8.4; border-radius: 3px; overflow: hidden;
  background: var(--night); touch-action: pan-y;
}
.cine-slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6.5s ease-out;
  pointer-events: none;
}
.cine-slide.on { opacity: 1; transform: scale(1); }
.cine-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 4, 9, 0.45));
}
.cine-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.05rem;
  color: var(--gold); background: rgba(3, 4, 9, 0.72);
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.cine-arrow.prev { left: 18px; }
.cine-arrow.next { right: 18px; }
.cine-arrow:hover { background: var(--gold); color: #191104; transform: translateY(-50%) scale(1.08); }

.cine-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 15px; padding: 0 6px;
}
.cine-meta .scene {
  font-family: var(--f-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); white-space: nowrap;
}
.cine-meta .cap { font-family: var(--f-lore); font-style: italic; font-size: 1.05rem; color: var(--muted); flex: 1; min-width: 160px; }
.cine-dots { display: inline-flex; gap: 9px; margin-left: auto; }
.cine-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); transition: 0.3s var(--ease);
}
.cine-dots button.on { background: var(--gold); transform: scale(1.35); box-shadow: 0 0 10px rgba(246, 197, 69, 0.5); }
.cine-dots button:hover { background: var(--gold-2); }

/* ========================= MAP ========================= */
.map-frame {
  position: relative; margin-top: 64px; border-radius: 8px;
  background: var(--abyss); padding: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.65), 0 0 90px rgba(246, 197, 69, 0.07);
}
.map-frame .brace { position: absolute; width: 34px; height: 34px; border-style: solid; border-color: var(--gold); z-index: 5; }
.map-frame .brace.tl { top: -3px; left: -3px; border-width: 2.5px 0 0 2.5px; }
.map-frame .brace.tr { top: -3px; right: -3px; border-width: 2.5px 2.5px 0 0; }
.map-frame .brace.bl { bottom: -3px; left: -3px; border-width: 0 0 2.5px 2.5px; }
.map-frame .brace.br { bottom: -3px; right: -3px; border-width: 0 2.5px 2.5px 0; }

.map-view { position: relative; border-radius: 5px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--night); }
.map-view iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-view .inner-shadow { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.55); }

.map-fallback {
  position: absolute; inset: 0; z-index: 4; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 30px;
  background: linear-gradient(rgba(3, 4, 9, 0.78), rgba(3, 4, 9, 0.88)), url("../img/hero-forest.jpg") center / cover;
}
.map-fallback.show { display: flex; }
.map-fallback i { font-size: 2.4rem; color: var(--gold); }
.map-fallback h3 { font-family: var(--f-display); font-size: 1.4rem; }
.map-fallback p { color: var(--muted); max-width: 430px; font-size: 0.94rem; }

.map-open {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); padding: 10px 18px; border-radius: 30px;
  background: rgba(3, 4, 9, 0.8); border: 1px solid var(--gold);
  transition: 0.3s; white-space: nowrap;
}
.map-open:hover { background: var(--gold); color: #191104; }
.map-caption {
  margin-top: 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; color: var(--faint); font-size: 0.8rem; letter-spacing: 0.06em;
}
.map-caption b { color: var(--muted); font-weight: 600; }

/* ========================= RITUAL ========================= */
#jogar { overflow: hidden; }
#jogar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url("../img/hytale/ritual-portal.jpg") center 30% / cover no-repeat;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; position: relative; }
.rite { position: relative; padding: 20px 34px 0; text-align: center; }
.rite + .rite::before { content: ''; position: absolute; left: 0; top: 30px; bottom: 10px; width: 1px; background: var(--line-soft); }
.rite .glyph {
  width: 74px; height: 74px; margin: 0 auto 24px; position: relative;
  display: grid; place-items: center; font-size: 1.5rem; color: var(--gold);
  border: 1px solid var(--line); border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(246,197,69,0.1), transparent 70%), rgba(3,4,9,0.6);
  box-shadow: 0 0 34px rgba(246, 197, 69, 0.1);
}
.rite .glyph::after {
  content: attr(data-n); position: absolute; top: -9px; right: -9px;
  width: 26px; height: 26px; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 0.72rem; font-weight: 800; color: #191104;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); border-radius: 50%;
}
.rite h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; }
.rite p { color: var(--muted); font-size: 0.92rem; max-width: 300px; margin: 0 auto; }
.rite .code { color: var(--gold-3); font-weight: 700; cursor: pointer; border-bottom: 1px dashed var(--line); }
.rite .code:hover { color: var(--gold-2); }
/* ========================= SUPPORT (like + favorite) ========================= */
.support { padding-top: 30px; }
.support-card {
  position: relative; overflow: hidden; border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 46px 48px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(20, 25, 44, 0.9), rgba(9, 12, 22, 0.94));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}
.support-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 120% at 12% 50%, rgba(255, 91, 122, 0.14), transparent 60%),
    radial-gradient(50% 120% at 90% 40%, rgba(246, 197, 69, 0.14), transparent 60%);
}
.support-main { position: relative; max-width: 560px; }
.support-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.support-card h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: 12px; }
.support-card p { color: var(--muted); font-size: 0.98rem; }
.support-actions { position: relative; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.support-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px; border-radius: 10px; min-width: 220px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.support-chip:hover { transform: translateY(-3px); }
.support-chip i { font-size: 1.5rem; }
.support-chip span { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.82rem; color: var(--muted); }
.support-chip b { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.support-chip.like i { color: #ff5b7a; filter: drop-shadow(0 0 10px rgba(255, 91, 122, 0.5)); animation: heartbeat 1.9s ease-in-out infinite; }
.support-chip.like:hover { border-color: rgba(255, 91, 122, 0.5); }
.support-chip.fav i { color: var(--gold); filter: drop-shadow(0 0 10px rgba(246, 197, 69, 0.5)); }
.support-chip.fav:hover { border-color: rgba(246, 197, 69, 0.5); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.2); } 24% { transform: scale(1); } 36% { transform: scale(1.12); } 48% { transform: scale(1); } }

/* ========================= PARTNERS ========================= */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.partner {
  display: flex; align-items: flex-start; gap: 20px; padding: 28px;
  border-radius: 10px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(16, 21, 38, 0.6), rgba(8, 11, 20, 0.8));
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.partner:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45); }
.partner-mark {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.partner-mark img { width: 100%; height: 100%; object-fit: cover; }
.partner-role { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.partner-info h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; margin: 4px 0 8px; }
.partner-info p { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.partner-links { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  padding: 7px 13px; border-radius: 30px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft);
  transition: color 0.25s, border-color 0.25s;
}
.partner-links a:hover { color: var(--gold-2); border-color: var(--gold); }

@media (max-width: 720px) {
  .support-card { flex-direction: column; align-items: flex-start; gap: 26px; padding: 32px 26px; }
  .support-actions { width: 100%; }
  .support-chip { min-width: 0; width: 100%; }
}

/* ========================= GATHERING ========================= */
.gathering { padding: 20px 0 92px; }
.bonfire {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 12px; padding: 84px 30px;
  border: 1px solid rgba(88, 101, 242, 0.3);
  background-color: #080a16;
  background-image:
    radial-gradient(60% 130% at 50% -10%, rgba(88, 101, 242, 0.28), transparent 62%),
    radial-gradient(50% 120% at 50% 120%, rgba(246, 197, 69, 0.10), transparent 60%),
    linear-gradient(180deg, #0b0e1e, #06070f);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(88, 101, 242, 0.12);
}
#bonfire-embers { position: absolute; inset: 0; pointer-events: none; }
.bonfire > * { position: relative; }
.bonfire .disc { font-size: 2.7rem; color: #7d88ff; margin-bottom: 20px; filter: drop-shadow(0 0 24px rgba(88, 101, 242, 0.6)); }
.bonfire h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; text-shadow: 0 2px 22px rgba(0,0,0,0.9); }
.bonfire p { color: #c9cfdf; max-width: 540px; margin: 0 auto 34px; text-shadow: 0 2px 14px rgba(0,0,0,0.9); }

/* ========================= FOOTER ========================= */
.footer { border-top: 1px solid var(--line-soft); background: #020308; padding: 70px 0 30px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 46px; justify-content: space-between; margin-bottom: 52px; }
.footer-brand { max-width: 330px; }
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--f-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--gold-2); padding-left: 6px; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: 26px; color: var(--faint); font-size: 0.8rem;
}
.footer-socials { display: flex; gap: 18px; font-size: 1.1rem; }
.footer-socials a { color: var(--muted); transition: color 0.25s, transform 0.25s; }
.footer-socials a:hover { color: var(--gold); transform: translateY(-3px); }

/* ========================= TOAST ========================= */
.toast {
  position: fixed; bottom: 30px; left: 50%; z-index: 280;
  transform: translateX(-50%) translateY(160%);
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-deep));
  color: #191104; font-weight: 800; font-size: 0.9rem;
  padding: 15px 28px; border-radius: 3px;
  box-shadow: 0 16px 50px rgba(246, 197, 69, 0.45);
  transition: transform 0.5s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ========================= KEYFRAMES ========================= */
@keyframes kb-a { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.16) translate(-1.6%, -1.2%); } }
@keyframes kb-b { from { transform: scale(1.16) translate(1.4%, 0); } to { transform: scale(1.06) translate(0, -1%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes sweep { 0% { transform: translateX(-120%); } 34%, 100% { transform: translateX(120%); } }
@keyframes rays-pulse { from { opacity: 0.55; } to { opacity: 1; } }
@keyframes fog-drift { from { transform: translateX(0); } to { transform: translateX(28%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 208, 127, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(58, 208, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 208, 127, 0); } }
@keyframes cue-drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes grain-shift { 0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 3%); } 50% { transform: translate(3%, -2%); } 75% { transform: translate(-3%, -3%); } 100% { transform: translate(2%, 2%); } }
@keyframes coin-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes word-in { from { opacity: 0; letter-spacing: 1.4em; } to { opacity: 1; letter-spacing: 0.9em; } }
@keyframes bar-run { from { transform: translateX(-120%); } to { transform: translateX(320%); } }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .chapter { grid-template-columns: 1fr; gap: 34px; padding: 70px 0; }
  .chapter .num { position: static; transform: none; margin: 0 auto 8px; }
  .chapter:nth-child(even) .chapter-copy { order: 1; }
  .chapter:nth-child(even) .chapter-vista { order: 2; }
  .chapter-copy { text-align: center; padding: 0 24px; }
  .chapter-tag { justify-content: center; }
  .chapter-tag::before { display: none; }
  .chapter-copy .desc { margin-left: auto; margin-right: auto; }
  .chapter-chips { justify-content: center; }
  .spine { display: none; }
}
@media (max-width: 820px) {
  .plaque { grid-template-columns: 1fr 1fr; }
  .plaque > div:nth-child(3)::before { display: none; }
  .plaque > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .ritual-grid { grid-template-columns: 1fr; gap: 44px; }
  .rite + .rite::before { display: none; }
  .map-view { aspect-ratio: 4 / 3.4; }
  .cine-stage { aspect-ratio: 16 / 10; }
  .cine-arrow { width: 42px; height: 42px; }
  .cine-arrow.prev { left: 10px; }
  .cine-arrow.next { right: 10px; }
}
@media (max-width: 620px) {
  .nav, .nav.scrolled { padding-left: 20px; padding-right: 20px; }
  .nav-status .lbl-players { display: none; }
  .nav-loja { display: none; }
  .section { padding: 96px 0; }
  .hero { justify-content: flex-start; padding-top: 104px; padding-bottom: 110px; }
  .hero-kicker { margin-bottom: 18px; font-size: 0.62rem; }
  .hero-tag { margin-bottom: 28px; }
  .lore p br { display: none; }
  .ip-relic { flex-direction: column; gap: 12px; padding: 20px 26px; text-align: center; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-ctas .btn { width: 100%; }
  .hero-online { flex-wrap: wrap; justify-content: center; }
  .map-frame { padding: 7px; }
  .map-caption { justify-content: center; text-align: center; }
  .footer-cols { gap: 40px; }
  .bonfire { padding: 80px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #cursor-glow, .grain { display: none; }
  .hero-slide { opacity: 0; }
  .hero-slide.on { opacity: 1; }
  .cine-slide { opacity: 0; }
  .cine-slide.on { opacity: 1; }
}
