/* Yggdra: gerado de _prototipo/v6-aprovada (tools/theme/build_theme.py). Ajustes do FluxCP ficam em site.css. */
/* v5: base v4 (motion + mapa real) com UI refinada. Tokens primeiro. */
:root {
  --bg: #FBF7F0; --surface: #FFFFFF; --ink: #1F1830; --ink2: #625A75; --ink3: #8E86A0; --line: #1F18301A; --line2: #1F18300F;
  --orange: #FF6B2C; --orange2: #FF9A3D; --pink: #FF4F87; --sky: #4BA9FF; --gold: #FFC23D; --green: #22B573; --lilac: #7C5CFF; --night: #1C1430;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --sh-1: 0 1px 2px #1F18300F, 0 1px 1px #1F18300A;
  --sh-2: 0 1px 2px #1F183010, 0 12px 32px -14px #1F183040;
  --sh-3: 0 2px 4px #1F183012, 0 30px 60px -24px #1F183059;
  --spring: cubic-bezier(.2,.8,.2,1); --ease: cubic-bezier(.4,0,.2,1);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 16px/1.55 'Nunito', system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
.city, .show, .hero, .parade, .mobs, .marquee, .tabs, .track, .podium { -webkit-user-select: none; user-select: none; }
::selection { background: #FF6B2C33; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
h1, h2, h3 { font-family: 'Lilita One', sans-serif; font-weight: 400; margin: 0; letter-spacing: .005em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 'Nunito'; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--orange)); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; margin-top: 14px; }
.lead { color: var(--ink2); font-size: 18px; max-width: 620px; margin: 14px 0 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
section { padding: 120px 0; position: relative; scroll-margin-top: 40px; }

/* botões */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid var(--line);
       font: 800 16px 'Nunito'; color: var(--ink); background: var(--surface); text-decoration: none; box-shadow: var(--sh-1); cursor: pointer;
       transition: transform .2s var(--spring), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(1px); box-shadow: var(--sh-1); }
.btn:focus-visible, .tab:focus-visible, .chip-btn:focus-visible { outline: 3px solid #FF6B2C66; outline-offset: 3px; }
.btn.primary { color: #fff; border-color: transparent; background: linear-gradient(180deg, #FF8243, var(--orange)); box-shadow: 0 1px 0 #ffffff55 inset, 0 10px 24px -10px #FF6B2Cbb; }
.btn.primary:hover { box-shadow: 0 1px 0 #ffffff55 inset, 0 16px 32px -12px #FF6B2Cdd; }
.btn.dark { color: #fff; background: var(--ink); border-color: transparent; }
.btn.sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 14px; height: 14px; }
.arrow { transition: transform .2s var(--spring); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; text-decoration: none; color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 800 11px/1.4 'Nunito'; letter-spacing: .03em; background: var(--b, #F1ECFF); color: var(--c, var(--lilac)); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 #22B57388; animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px #22B57300; } 100% { box-shadow: 0 0 0 0 #22B57300; } }
.card { background: var(--surface); border: 1px solid var(--line2); border-radius: var(--r-lg); box-shadow: var(--sh-2); }

/* NAV · pílula flutuante (M1) */
.nav { position: fixed; z-index: 60; left: 50%; top: 16px; translate: -50% 0; width: min(1200px, calc(100% - 32px)); height: 64px; padding: 0 10px 0 22px;
       display: flex; align-items: center; gap: 24px; border-radius: 999px; background: #FFFFFFB8; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
       border: 1px solid #FFFFFF; box-shadow: var(--sh-2); transition: height .25s var(--ease), top .25s var(--ease), background .25s; }
.nav.small { top: 10px; height: 56px; background: #FFFFFFE6; }
.logo { white-space: nowrap; display: flex; align-items: center; gap: 8px; font: 26px 'Lilita One'; text-decoration: none; color: var(--ink); }
.logo img { height: 30px; }
.nav nav { display: flex; gap: 4px; margin-left: 12px; }
.nav nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; color: var(--ink2); transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--ink); background: #1F18300A; }
.nav nav a.on { color: var(--ink); background: #1F18300D; }
.nav .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav .online { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink2); padding: 0 12px; }

/* HERO */
.hero { position: relative; height: 940px; overflow: hidden; padding: 0; }
.hero .sky { position: absolute; inset: -60px -20px 0; background: url(../img/assets/281.webp) center/cover; animation: bob 6s ease-in-out infinite; will-change: transform; }
.hero .veil { position: absolute; inset: 0; background: radial-gradient(70% 90% at 18% 42%, #F6FAFFF5 0%, #F6FAFFDD 45%, #F6FAFF00 75%); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.heroes { position: absolute; top: 0; bottom: 0; left: 50%; width: 1248px; margin-left: -624px; pointer-events: none; }
.heroes img { position: absolute; bottom: 120px; opacity: 0; animation: enter .7s var(--spring) forwards, breathe 4s ease-in-out 1.2s infinite; }
.heroes img:nth-child(1) { left: 640px; height: 480px; animation-delay: .2s, 1.2s; }
.heroes img:nth-child(2) { left: 1010px; height: 520px; animation-delay: .44s, 1.6s; }
.heroes img:nth-child(3) { left: 790px; height: 600px; animation-delay: .32s, 1.4s; }
@keyframes enter { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.hero .copy { position: absolute; z-index: 4; left: max(24px, calc(50% - 600px)); top: 150px; width: 660px; }
.title { font-size: clamp(44px, 5.4vw, 76px); line-height: .98; margin: 22px 0 22px; }
.title .w { display: inline-block; opacity: 0; transform: translateY(14px); animation: word .45s var(--spring) forwards; }
.title .hl { color: var(--orange); position: relative; }
.title .hl::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: 4%; height: 10px; border-radius: 10px; background: #FF6B2C33; z-index: -1; transform: scaleX(0); transform-origin: left; animation: under .6s var(--ease) 1.2s forwards; }
@keyframes word { to { opacity: 1; transform: none; } }
@keyframes under { to { transform: scaleX(1); } }
.pill-live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #FFFFFFCC; border: 1px solid #fff; box-shadow: var(--sh-1); font-weight: 800; font-size: 14px; }
.pill-live b { color: var(--green); }
.sub { color: var(--ink2); font-size: 19px; line-height: 1.6; max-width: 540px; margin: 0 0 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ctas .btn.primary { position: relative; }
.ctas .btn.primary::after { content: ''; position: absolute; inset: -2px; border-radius: 999px; animation: glow 4s ease-out infinite; }
@keyframes glow { 0%, 70% { box-shadow: 0 0 0 0 #FF6B2C88; } 85% { box-shadow: 0 0 0 14px #FF6B2C00; } 100% { box-shadow: 0 0 0 0 #FF6B2C00; } }
.trust { display: flex; gap: 18px; margin-top: 22px; color: var(--ink2); font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--green); }
.field { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 230px; background: url(../img/assets/field_render.webp) center 40% / cover;
         -webkit-mask-image: linear-gradient(transparent 0, #000 90px); mask-image: linear-gradient(transparent 0, #000 90px); }
.field::after { content: ''; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(#FBF7F000, var(--bg)); }
.parade { position: absolute; left: 0; right: 0; bottom: 6px; height: 420px; pointer-events: none; overflow: hidden; z-index: 3; }
.parade img { position: absolute; left: 0; scale: .5; transform-origin: bottom center; animation: var(--a, marchR) var(--d) linear infinite; animation-delay: var(--dl); }
.parade .back { bottom: 98px; scale: .426; filter: brightness(.95); }
.parade .front { bottom: 58px; }
@keyframes marchR { from { translate: -120px 0; } to { translate: calc(100vw + 60px) 0; } }
@keyframes marchL { from { translate: calc(100vw + 60px) 0; } to { translate: -120px 0; } }
/* M7 · números dentro do hero, vidro sobre o campo */
.stats { position: relative; z-index: 6; margin: -36px auto 0; width: min(1152px, calc(100% - 48px)); display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr;
         padding: 18px 8px; border-radius: 24px; background: #FFFFFFD6; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid #fff; box-shadow: var(--sh-3); }
.stat { display: flex; align-items: center; gap: 12px; padding: 0 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat img { height: 46px; }
.stat b { font: 34px/1 'Lilita One'; display: block; font-variant-numeric: tabular-nums; }
.stat small { font-weight: 800; color: var(--ink3); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.srv small { display: block; margin-bottom: 8px; }
.srv .badge { --b: #E3F7EE; --c: var(--green); margin-right: 4px; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 150px; translate: -50% 0; display: none; }

/* revelar ao rolar (M9) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* CLASSES · seletor com vitrine e caminho de evolução */
.classes { background: linear-gradient(var(--bg), #EEF5FF 60%, var(--bg)); }
.picker { display: grid; gap: 22px; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: #FFFFFFB3; border: 1px solid #fff; box-shadow: var(--sh-1); width: fit-content; margin: 0 auto; }
.tab { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font: 800 15px 'Nunito'; color: var(--ink2); position: relative; overflow: hidden; transition: background .25s, color .25s, box-shadow .25s; }
.tab .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--tc); display: grid; place-items: center; overflow: hidden; }
.tab .ico img { height: 34px; translate: 0 4px; }
.tab:hover { color: var(--ink); background: #1F18300A; }
.tab.on { color: #fff; background: var(--tc2); box-shadow: 0 8px 18px -8px var(--tc2); }
.tab.on .ico { background: #ffffff33; }
.show { position: relative; height: 620px; border-radius: 36px; overflow: hidden; background: var(--sc); box-shadow: var(--sh-3); transition: background .6s var(--ease); isolation: isolate; color: #fff; }
.show::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 75% at 66% 45%, #ffffff55, #fff0 70%), radial-gradient(30% 40% at 90% 90%, #0000001f, #0000 70%), repeating-linear-gradient(135deg, #ffffff0d 0 2px, #fff0 2px 16px); }
.show .glow { position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; translate: -10% -50%; border-radius: 50%; background: radial-gradient(#ffffff40, #fff0 65%); z-index: -1; animation: halo 6s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.08); opacity: .8; } }
.show .art { position: absolute; left: 50%; bottom: 118px; height: 470px; translate: -30% 0; transition: opacity .35s var(--ease), transform .5s var(--spring); filter: drop-shadow(0 24px 30px #0000003a); }
.show .art.out { opacity: 0; transform: translateY(16px) scale(.97); }
.show .info { position: absolute; left: 48px; top: 48px; width: 360px; }
.show .tier { font: 800 12px 'Nunito'; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.show h3 { font-size: 60px; line-height: .95; margin: 10px 0 14px; }
.show p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; opacity: .95; }
.attrs { display: grid; gap: 11px; }
.attr { display: grid; grid-template-columns: 84px 1fr 30px; align-items: center; gap: 10px; font: 800 12px 'Nunito'; letter-spacing: .06em; text-transform: uppercase; }
.attr i { height: 8px; border-radius: 8px; background: #ffffff38; overflow: hidden; }
.attr i::after { content: ''; display: block; height: 100%; width: var(--v); background: #fff; border-radius: 8px; transition: width .7s var(--spring); }
.attr em { font-style: normal; text-align: right; opacity: .85; }
.ingame { position: absolute; right: 44px; top: 48px; width: 170px; padding: 14px; border-radius: 22px; background: #ffffff26; border: 1px solid #ffffff4d; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: center; }
.ingame small { display: block; font: 800 11px 'Nunito'; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.ingame .stage { height: 120px; display: grid; place-items: end center; margin: 6px 0 4px; }
.ingame .stage img { max-height: 112px; max-width: 150px; height: auto; }
.ingame b { font: 18px 'Lilita One'; }
.track { position: absolute; left: 32px; right: 32px; bottom: 24px; height: 82px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 8px; border-radius: 24px; background: #0000001f; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.evo { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 6px; border-radius: 18px; border: 0; background: transparent; color: #fff; cursor: pointer; text-align: left; font: inherit; overflow: hidden; transition: background .25s; }
.evo .th { width: 52px; height: 52px; flex: none; border-radius: 14px; background: #ffffff2b; overflow: hidden; display: grid; place-items: start center; }
.evo .th img { width: 100%; height: auto; translate: 0 2px; }
.evo b { display: block; font: 16px 'Lilita One'; line-height: 1.1; }
.evo small { font: 800 11px 'Nunito'; opacity: .85; letter-spacing: .04em; }
.evo:hover { background: #ffffff1f; }
.evo.on { background: #fff; color: var(--ink); box-shadow: var(--sh-2); }
.evo.on .th { background: var(--tc0); }
.evo .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--tc2); }
.evo.on .prog { animation: fill var(--t, 2.6s) linear forwards; }
.picker.paused .evo.on .prog { animation: none; }
@keyframes fill { to { width: 100%; } }

/* COMO FUNCIONA · linha do tempo */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.timeline::before { content: ''; position: absolute; top: 31px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.timeline::after { content: ''; position: absolute; top: 31px; left: 16%; height: 2px; width: calc(68% * var(--p, 0)); background: var(--orange); transition: width 1.2s var(--ease); }
.step { position: relative; text-align: center; }
.step .n { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font: 28px 'Lilita One'; color: var(--orange);
           background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); transition: background .4s, color .4s; }
.step.in .n { background: var(--orange); color: #fff; transition-delay: calc(var(--i) * 300ms + .4s); }
.step .pic { height: 220px; border-radius: var(--r-lg); background: var(--c); position: relative; overflow: hidden; margin-bottom: 20px; }
.step .pic img { position: absolute; left: 50%; bottom: 0; height: 210px; translate: -50% 6px; transition: transform .4s var(--spring); }
.step:hover .pic img { transform: translateY(-6px); }
.step h3 { font-size: 24px; }
.step p { color: var(--ink2); margin: 8px auto 0; max-width: 320px; }

/* MUNDO · bento */
.world { background: var(--night); color: #fff; }
.world .lead { color: #C7BEDF; }
.world .eyebrow { --c: var(--gold); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { border-radius: var(--r-lg); background: #2A2142; border: 1px solid #FFFFFF14; padding: 22px; position: relative; overflow: hidden; transition: transform .25s var(--spring), border-color .25s, background .25s; }
.tile:hover { transform: translateY(-3px); border-color: #FFFFFF2E; background: #30264C; }
.tile img.ic { height: 44px; margin-bottom: 12px; }
.tile b { display: block; font: 20px 'Lilita One'; }
.tile small { display: block; color: #C7BEDF; font-weight: 700; font-size: 14px; margin-top: 4px; }
.tile .badge { position: absolute; right: 16px; top: 16px; --b: #4BA9FF22; --c: #8CC8FF; }
.city { grid-column: 1 / -1; position: relative; aspect-ratio: 1152 / 620; border-radius: 32px; overflow: hidden; border: 1px solid #FFFFFF24; box-shadow: var(--sh-3); container-type: inline-size; }
.city .map { position: absolute; left: 0; top: 0; width: 720px; height: 500px; transform-origin: 0 0; transform: scale(calc(100cqw / 720px)) translateY(-12px); background: url(../img/assets/prontera_city.webp) 0 0 / 100% 100%; }
.city::after { content: ''; position: absolute; z-index: 3; inset: 60% 0 0; background: linear-gradient(#1C143000, #1C1430E6); pointer-events: none; }
#npcs { position: absolute; inset: 0; z-index: 1; }
.npc { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.npc img { position: absolute; display: block; max-width: none; }
.npc .sh { position: absolute; left: -8px; top: -4px; width: 16px; height: 7px; border-radius: 50%; background: #0005; }
.npc .say { position: absolute; left: 50%; bottom: 52px; translate: -50% 0; white-space: nowrap; background: #fff; color: var(--ink); border-radius: 8px; padding: 2px 7px; font-size: 9px; font-weight: 800; box-shadow: var(--sh-2); opacity: 0; transition: opacity .25s; }
.npc .say.on { opacity: 1; }
.kafra { position: absolute; right: 3%; bottom: 0; height: 52%; z-index: 4; transform-origin: bottom; animation: sway 3s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(2deg) translateY(-3px); } }
.city .label { position: absolute; left: 32px; top: 28px; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 8px 14px 8px 18px; border-radius: 999px; background: #1C1430B3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 22px 'Lilita One'; }
.city .label .badge { --b: #E3F7EE; --c: var(--green); font-size: 12px; }
.city .src { position: absolute; right: 18px; top: 18px; z-index: 5; --b: #1C1430B3; --c: #fff; backdrop-filter: blur(6px); }
.chatwin { position: absolute; z-index: 5; left: 28px; bottom: 26px; width: min(440px, 46%); border-radius: 20px; background: #1C1430C7; border: 1px solid #FFFFFF1F; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 14px 16px 10px; }
.chatwin header { display: flex; align-items: center; gap: 8px; font: 800 12px 'Nunito'; letter-spacing: .1em; text-transform: uppercase; color: #C7BEDF; margin-bottom: 6px; }
.chatwin header em { font-style: normal; margin-left: auto; letter-spacing: 0; text-transform: none; font-weight: 700; opacity: .8; }
.feed ul { list-style: none; margin: 0; padding: 0; height: 112px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); }
.feed li { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; color: #EDE8F7; animation: feed 18s linear infinite; }
.feed li img { height: 26px; width: 26px; object-fit: contain; }
.feed li em { font-style: normal; color: #A99FC4; margin-left: auto; font-size: 12px; }
@keyframes feed { to { transform: translateY(-50%); } }

/* BESTIÁRIO · carrossel */
.best { overflow: hidden; }
.marquee { display: flex; gap: 16px; width: max-content; animation: slide 46s linear infinite; padding: 10px 0 24px; }
.marquee:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.mob { width: 210px; flex: none; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line2); box-shadow: var(--sh-2); padding: 18px; transition: transform .3s var(--spring), box-shadow .3s; }
.mob:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--sh-3); }
.mob .stage { height: 150px; border-radius: 18px; background: var(--c); display: grid; place-items: end center; padding-bottom: 8px; margin-bottom: 14px; }
.mob .stage img { max-height: 132px; max-width: 150px; transform-origin: bottom; animation: squash 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.21s); }
.mob:hover .stage img { animation: jump .6s var(--spring); }
@keyframes squash { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.08, .9); } 55% { transform: scale(.95, 1.06) translateY(-8px); } 80% { transform: scale(1.03, .97); } }
@keyframes jump { 40% { transform: translateY(-26px) scale(.95, 1.06); } }
.mob b { font: 20px 'Lilita One'; display: block; }
.mob .meta { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mob .boss { --b: #FFF3D1; --c: #B07A00; }

/* RANKING · pódio */
.rank-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; }
.rank { padding: 28px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #1F18300A; gap: 2px; }
.chip-btn { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 800 14px 'Nunito'; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.chip-btn.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 12px; margin: 30px 0 18px; }
.pod { text-align: center; }
.pod img { height: 92px; margin: 0 auto 8px; filter: drop-shadow(0 4px 2px #0002); }
.pod .base { border-radius: 18px 18px 8px 8px; padding: 14px 8px; color: #fff; background: var(--c); }
.pod .base b { display: block; font: 30px/1 'Lilita One'; }
.pod .base span { font-weight: 800; font-size: 14px; }
.pod .base small { display: block; font-size: 12px; opacity: .9; }
.pod.p1 .base { height: 150px; } .pod.p2 .base { height: 112px; } .pod.p3 .base { height: 92px; }
.pod.p1 .base { position: relative; overflow: hidden; }
.pod.p1 .base::after { content: ''; position: absolute; inset: -20px; background: linear-gradient(110deg, #fff0 40%, #ffffff88 50%, #fff0 60%); transform: translateX(-100%); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 75% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 34px 42px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 14px; transition: background .2s; }
.row:hover { background: #1F18300A; }
.row .pos { font: 18px 'Lilita One'; color: var(--ink3); text-align: center; }
.row img { height: 40px; justify-self: center; }
.row b { font-weight: 900; } .row small { display: block; color: var(--ink3); font-weight: 700; font-size: 13px; }
.row .lvl { font: 20px 'Lilita One'; }
.rates { padding: 28px; position: relative; overflow: hidden; }
.rates h3 { font-size: 24px; margin-bottom: 18px; }
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate { border-radius: 16px; padding: 16px; background: var(--c); }
.rate b { font: 36px/1 'Lilita One'; display: block; }
.rate small { font-weight: 800; color: var(--ink2); font-size: 13px; }
.rates p { color: var(--ink2); max-width: 190px; font-size: 14px; margin: 18px 0 0; }
.rates .k { position: absolute; right: 16px; bottom: 0; height: 150px; animation: sway 3s ease-in-out infinite; transform-origin: bottom; }

/* NOTÍCIAS · editorial */
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.news-grid .side { display: grid; gap: 20px; }
.ncard { display: block; text-decoration: none; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line2); box-shadow: var(--sh-2); transition: transform .3s var(--spring), box-shadow .3s; }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.ncard .pic { position: relative; overflow: hidden; }
.ncard .pic .bg { position: absolute; inset: 0; background: var(--bg-img) center/cover; transition: transform .7s var(--ease); }
.ncard:hover .bg { transform: scale(1.05); }
.ncard .pic img { position: absolute; right: 16px; bottom: 0; transition: transform .4s var(--spring); }
.ncard:hover .pic img { transform: translateY(-6px); }
.ncard .pic .badge { position: absolute; left: 16px; top: 16px; --b: #FFFFFFE6; --c: var(--ink); }
.ncard .txt { padding: 22px 24px 24px; }
.ncard time { color: var(--ink3); font-weight: 800; font-size: 13px; }
.ncard h3 { line-height: 1.15; margin: 6px 0 10px; }
.ncard p { color: var(--ink2); margin: 0 0 14px; font-size: 15px; }
.big .pic { height: 300px; } .big .pic img { height: 230px; } .big h3 { font-size: 30px; }
.ncard.compact { display: grid; grid-template-columns: 200px 1fr; } .compact .pic { height: 100%; min-height: 180px; } .compact .pic img { height: 140px; right: 6px; } .compact h3 { font-size: 21px; } .compact .txt { padding: 20px; }

/* CTA FINAL */
.final { padding: 40px 0 120px; }
.finalbox { position: relative; overflow: hidden; border-radius: 36px; padding: 72px 64px; color: #fff; background: radial-gradient(80% 120% at 85% 10%, #FF9A3D 0%, #FF6B2C 40%, #FF4F87 100%); box-shadow: var(--sh-3); min-height: 440px; }
.finalbox h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; max-width: 520px; }
.finalbox p { font-size: 19px; max-width: 460px; color: #FFF1E8; margin: 18px 0 30px; }
.finalbox .btn { --h: 54px; }
.gang img { position: absolute; animation: float var(--d) ease-in-out infinite; animation-delay: var(--dl); filter: drop-shadow(0 12px 16px #0000002a); }
@keyframes float { 50% { transform: translateY(-10px) rotate(var(--r, 1deg)); } }
.spark { position: absolute; width: 14px; height: 14px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.4s ease-in-out infinite; animation-delay: var(--dl); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }

/* RODAPÉ */
footer { background: var(--night); color: #A99FC4; padding: 72px 0 36px; }
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer .logo { color: #fff; }
footer p { margin: 14px 0 0; max-width: 320px; }
footer b { display: block; color: #fff; font-weight: 900; margin-bottom: 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
footer a { display: block; color: #CFC7E4; text-decoration: none; font-weight: 700; line-height: 2.1; transition: color .2s; }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid #FFFFFF14; padding-top: 22px; font-size: 13px; color: #8C82A8; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }




/* movimento reduzido (M16) */
@media (prefers-reduced-motion: reduce) { html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after { animation: none !important; transition: opacity .2s !important; }
  html:not(.motion-on) .w, html:not(.motion-on) .heroes img, html:not(.motion-on) .reveal { opacity: 1 !important; transform: none !important; } }
html.reduced *, html.reduced *::before, html.reduced *::after { animation: none !important; transition: opacity .2s !important; }
html.reduced .w, html.reduced .heroes img, html.reduced .reveal { opacity: 1 !important; transform: none !important; }

@media (max-width: 1180px) {
  .nav nav, .nav .online { display: none; } .heroes { left: 0; margin: 0; width: 100%; } .heroes img { opacity: .28 !important; }
  .hero .copy { width: auto; right: 24px; top: 130px; } .stats { grid-template-columns: repeat(2, 1fr); gap: 14px 0; bottom: 16px; } .stat:nth-child(3) { border-left: 0; } .srv { grid-column: span 2; padding: 0 22px; }
  .hero { height: 1000px; } .picker, .rank-grid, .news-grid { grid-template-columns: 1fr; } .tabs { flex-direction: row; overflow-x: auto; }
  .show .art { opacity: .35; translate: -20% 0; } .ingame { display: none; }
  .timeline { grid-template-columns: 1fr; } .timeline::before, .timeline::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; } .hero .copy { z-index: 6; }
  .gang { opacity: .35; } footer .wrap { grid-template-columns: 1fr 1fr; } .ncard.compact { grid-template-columns: 1fr; } .compact .pic { min-height: 160px; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .hero .veil { background: linear-gradient(#F4F9FFF2, #F4F9FFE0 55%, #F4F9FF55); }
  .hero { height: auto; padding: 120px 0 0; }
  .hero .copy { position: relative; left: auto; right: auto; top: auto; width: auto; padding: 0 20px; }
  .field { height: 200px; } .parade { bottom: 0; }
  .stats { margin: -20px auto 0; grid-template-columns: 1fr 1fr; } .hero { padding-bottom: 200px; }
  .stat { padding: 0 14px; } .stat img { height: 36px; } .stat b { font-size: 28px; }
  .kafra { height: 45%; } .parade { height: 210px; }
  .bento { grid-template-columns: 1fr; } .city { aspect-ratio: 720 / 560; } .chatwin { display: none; } .city .label { font-size: 17px; left: 14px; top: 14px; } .city .src { display: none; }
  .show { height: 660px; } .show .info { left: 24px; right: 24px; top: 28px; width: auto; } .track { grid-template-columns: repeat(5, 52px); justify-content: center; left: 12px; right: 12px; } .evo span:not(.th) { display: none; } .evo { padding: 0; } .tabs { border-radius: 24px; }
  .show { min-height: 0; } .show .info { min-height: 520px; padding: 28px; } .show h3 { font-size: 42px; }
  .finalbox { padding: 44px 26px; } .podium { gap: 6px; } .pod .base span { font-size: 12px; }
  
}

/* ===== Identidade Yggdra (v6) ===== */
:root {
  --bg: #F5EBD6; --surface: #FFFDF8; --ink: #1A1433; --ink2: #5A5270; --ink3: #8C82A8; --line: #1A143322; --line2: #1A143314;
  --night: #120D2B; --indigo: #2A2366; --indigo2: #3B318C; --gold: #E8B04B; --gold2: #F7D78A; --gold3: #B27420; --gem: #3FD3FF; --gem2: #1E8FE0;
  --orange: #E8B04B; --orange2: #F7D78A; --pink: #FF7AA6; --green: #3DBE7A; --lilac: #7C6CE0; --sky: #3FD3FF;
  --forge: linear-gradient(180deg, #F7D78A 0%, #E8B04B 55%, #C98A2C 100%);
  --aurora: linear-gradient(120deg, #3FD3FF 0%, #3B318C 50%, #120D2B 100%);
  --dusk: linear-gradient(135deg, #FFB86B 0%, #E86A8A 50%, #3A2D7A 100%);
  --f-dec: 'Cinzel Decorative', serif; --f-tit: 'Cinzel', serif; --f-ser: 'Cormorant Garamond', serif; --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}
body { font-family: var(--f-body); font-weight: 500; background: #F8F2E6; color: var(--ink); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url(../img/brand/tex_pergaminho.webp) 0 0 / 640px; opacity: .45; pointer-events: none; }
h1, h2, h3, .title, .h2 { font-family: var(--f-tit); font-weight: 700; letter-spacing: .01em; }
.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.eyebrow { font-family: var(--f-tit); font-weight: 700; letter-spacing: .18em; color: var(--c, var(--gold3)); }
.lead, .sub { font-family: var(--f-body); }
.logo { font-family: var(--f-dec); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--ink); }
.logo img { height: 36px; filter: drop-shadow(0 2px 3px #0003); }
footer .logo { color: var(--gold2); }
footer .tag { font-family: var(--f-ser); font-style: italic; font-size: 22px; color: #fff; margin: 14px 0 4px; }
/* botões: Ouro Forjado */
.btn { font-family: var(--f-body); font-weight: 700; border-color: #B2742055; background: var(--surface); }
.btn.primary { color: var(--ink); background: var(--forge); border: 1px solid #C98A2C; box-shadow: 0 1px 0 #ffffff88 inset, 0 10px 26px -10px #E8B04Bcc; }
.btn.primary:hover { box-shadow: 0 1px 0 #ffffff88 inset, 0 16px 34px -12px #E8B04Bee; }
.ctas .btn.primary::after { animation-name: glowGold; }
@keyframes glowGold { 0%, 70% { box-shadow: 0 0 0 0 #E8B04B99; } 85% { box-shadow: 0 0 0 14px #E8B04B00; } 100% { box-shadow: 0 0 0 0 #E8B04B00; } }
.btn.dark { background: var(--night); color: var(--gold2); border-color: #E8B04B55; }
/* nav */
.nav { background: #FFFDF8C7; border-color: #E8B04B40; }
.nav nav a { font-family: var(--f-tit); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
/* hero: key art */
.hero .sky { background: url(../img/brand/keyart.webp) 70% 30% / cover; }
.hero .veil { background: radial-gradient(70% 95% at 16% 42%, #120D2BF2 0%, #120D2BCC 42%, #120D2B00 74%), linear-gradient(180deg, #120D2B66, #120D2B00 30%); }
.hero .copy { color: #fff; }
.hero .title { color: #fff; font-size: clamp(44px, 5.2vw, 78px); line-height: 1.02; text-shadow: 0 2px 20px #120D2B88; }
.title .hl { color: var(--gold2); font-family: var(--f-ser); font-style: italic; font-weight: 600; letter-spacing: 0; font-size: 1.12em; }
.title .hl::after { background: #E8B04B40; }
.hero .sub { color: #DCD5F0; }
.trust { color: #C9C0E6; } .trust svg { color: var(--gold2); }
.pill-live { background: #120D2B99; border-color: #E8B04B55; color: #fff; }
.pill-live b { color: #7FE3B0; }
.field::after { background: linear-gradient(#F8F2E600, #F8F2E6); }
.stats { background: #FFFDF8E6; border-color: #E8B04B55; }
.stat b { font-family: var(--f-tit); font-weight: 800; }
/* classes */
.classes { background: transparent; }
.tabs { background: #FFFDF8CC; border-color: #E8B04B40; }
.tab { font-family: var(--f-tit); font-weight: 700; letter-spacing: .02em; }
.show { box-shadow: 0 2px 4px #1A143320, 0 30px 70px -26px #1A143380; outline: 1px solid #E8B04B55; outline-offset: -1px; }
.show::after { content: ''; position: absolute; inset: 0; background: url(../img/brand/tex_filigrana.webp) 0 0 / 320px; opacity: .07; mix-blend-mode: soft-light; pointer-events: none; z-index: -1; }
.show h3 { font-family: var(--f-tit); }
.evo b { font-family: var(--f-tit); }
.ingame b { font-family: var(--f-tit); font-size: 15px; line-height: 1.2; display: block; }
/* passos */
.step .n { font-family: var(--f-dec); color: var(--gold3); border-color: #E8B04B66; background: var(--surface); }
.step.in .n { background: var(--forge); color: var(--ink); }
.timeline::after { background: var(--gold); }
.step .pic { box-shadow: inset 0 0 0 1px #1A143312; }
/* mundo: céu rúnico */
.world { background: linear-gradient(#120D2BD9, #120D2BE6), url(../img/brand/tex_noite.webp) 0 0 / 720px, var(--night); }
.world .eyebrow { --c: var(--gold2); }
.tile { background: #1E1745E6; border-color: #E8B04B26; }
.tile:hover { background: #251C55; border-color: #E8B04B55; }
.tile img.ic { height: 72px; margin: -6px 0 6px -6px; filter: drop-shadow(0 6px 10px #0006); }
.tile b { font-family: var(--f-tit); font-weight: 700; color: var(--gold2); }
.city { border-color: #E8B04B55; }
.city .label { font-family: var(--f-tit); }
.chatwin header { font-family: var(--f-tit); }
/* bestiário, ranking, notícias */
.mob { background: var(--surface); border-color: #E8B04B33; }
.mob b, .pod .base b, .row .lvl, .rate b, .rates h3, .ncard h3 { font-family: var(--f-tit); font-weight: 700; }
.pod.p1 .base { background: var(--forge) !important; color: var(--ink); }
.card, .ncard { background: var(--surface); border-color: #E8B04B33; }
.chip-btn { font-family: var(--f-body); }
.chip-btn.on { color: var(--ink); }
/* CTA final: Crepúsculo + filigrana */
.finalbox { background: var(--dusk); }
.finalbox::before { content: ''; position: absolute; inset: 0; background: url(../img/brand/tex_filigrana.webp) 0 0 / 300px; opacity: .1; pointer-events: none; }
.finalbox h2 { font-family: var(--f-tit); }
.finalbox .btn.primary { background: var(--forge); color: var(--ink); border-color: #C98A2C; }
/* rodapé */
footer { background: linear-gradient(#120D2BE0, #120D2BE0), url(../img/brand/tex_noite.webp) 0 0 / 720px, var(--night); }
footer b { font-family: var(--f-tit); color: var(--gold2); }


@media (max-width: 640px) {
  .nav .actions .btn:not(.primary) { display: none; }
  .logo span { font-size: 18px; }
  .hero .veil { background: linear-gradient(#120D2BE6, #120D2BCC 60%, #120D2B66); }
}

/* ===== v6b: hero coeso ===== */
.hero .sky { background: url(../img/brand/keyart.webp) 78% 34% / cover; filter: saturate(.92); }
.hero .sky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #120D2B00 55%, #120D2BAA 100%); }
.hero .veil { background:
  linear-gradient(90deg, #120D2BF5 0%, #120D2BE0 30%, #120D2B80 52%, #120D2B26 72%, #120D2B4D 100%),
  radial-gradient(45% 60% at 74% 48%, #3FD3FF1f, #3FD3FF00 70%); }
.title .hl::after { display: none; }
.title .hl { text-shadow: 0 0 34px #E8B04B55; }
.heroes img { filter: drop-shadow(0 24px 40px #0008); }
/* campo integrado à luz da cena: escurece e esfria, transição longa */
.field { height: 250px; filter: brightness(.72) saturate(.85) hue-rotate(-8deg);
  -webkit-mask-image: linear-gradient(transparent 0, #000 150px); mask-image: linear-gradient(transparent 0, #000 150px); }
.field::after { height: 120px; background: linear-gradient(#F8F2E600, #F8F2E6); }
.field::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#2A236655, #2A236600 70%); }
.parade img { filter: drop-shadow(0 3px 2px #0006); }
.parade .back { filter: brightness(.85) drop-shadow(0 3px 2px #0006); }

/* ===== v6b: CTA final ===== */
.final { padding: 60px 0 130px; }
.finalbox { position: relative; overflow: hidden; border-radius: 36px; min-height: 480px; padding: 0; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  background: var(--night); color: #fff; box-shadow: 0 2px 4px #1A143320, 0 40px 80px -30px #120D2Bcc; outline: 1px solid #E8B04B55; outline-offset: -1px; isolation: isolate; }
.finalbox::before { content: ''; position: absolute; inset: 0; background: url(../img/brand/tex_filigrana.webp) 0 0 / 280px; opacity: .06; z-index: -1; }
.fb-art { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, #120D2B 0%, #120D2BEE 38%, #120D2B99 62%, #120D2B66 100%),
  url(../img/brand/keyart.webp) 85% 40% / cover; }
.fb-copy { padding: 64px 0 64px 64px; position: relative; }
.fb-emblem { width: 96px; margin-bottom: 18px; filter: drop-shadow(0 10px 24px #3FD3FF55); animation: float 5s ease-in-out infinite; }
.finalbox h2 { font-family: var(--f-tit); font-size: clamp(34px, 3.6vw, 50px); line-height: 1.08; max-width: 520px; margin: 14px 0 0; }
.finalbox h2 em { font-family: var(--f-ser); font-style: italic; font-weight: 600; color: var(--gold2); font-size: 1.1em; letter-spacing: 0; }
.finalbox p { color: #C9C0E6; font-size: 18px; max-width: 460px; margin: 16px 0 28px; }
.btn.ghost { background: #FFFFFF12; color: #fff; border: 1px solid #FFFFFF40; box-shadow: none; }
.btn.ghost:hover { background: #FFFFFF22; }
.fb-proof { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: #A99FC4; }
.fb-proof b { color: #fff; }
.fb-party { position: relative; height: 480px; }
.fb-party::before { content: ''; position: absolute; left: 50%; bottom: 40px; width: 420px; height: 420px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(#E8B04B40, #E8B04B00 65%); }
.fb-party img { position: absolute; bottom: 30px; filter: drop-shadow(0 18px 24px #0007); animation: float var(--d) ease-in-out infinite; }
.fb-party .c1 { left: 6%; height: 250px; --d: 4.2s; }
.fb-party .c2 { left: 30%; height: 330px; bottom: 60px; z-index: 2; --d: 5s; animation-delay: -1s; }
.fb-party .c3 { right: 4%; height: 260px; --d: 4.6s; animation-delay: -2s; }
@media (max-width: 1180px) { .finalbox { grid-template-columns: 1fr; } .fb-party { height: 300px; } .fb-party .c2 { height: 240px; } .fb-party .c1, .fb-party .c3 { height: 190px; } }
@media (max-width: 640px) { .fb-copy { padding: 40px 26px 10px; } .fb-party .c1 { left: 0; } .fb-party .c3 { right: 0; } }
