@font-face { font-family: Inter; src: url('/assets/inter.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Cinzel; src: url('/assets/cinzel.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --noite: #06070f;
  --pedra: #15111f;
  --pedra-2: #1c1729;
  --osso: #efe9f8;
  --nevoa: #a39cb6;
  --sombra: #7d7690;
  --vitral: #b48cff;
  --vitral-forte: #8b5cf6;
  --linha: rgb(214 196 255 / .12);
  --vantagem: #4ade80;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 72px);
  --titulo: Cinzel, 'Trajan Pro', Georgia, serif;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--noite); color: var(--osso); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
::selection { background: var(--vitral-forte); color: #fff; }
:focus-visible { outline: 2px solid var(--vitral); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(88px, 12vw, 160px); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 30; transform: translateY(-200%); padding: 10px 18px; background: var(--osso); color: var(--noite); border-radius: 6px; font-weight: 600; }
.skip-link:focus { transform: none; }

h1, h2 { font-family: var(--titulo); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
p { text-wrap: pretty; }

/* Botões */
.button { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 10px; background: linear-gradient(180deg, #a57bff, #7c4ce8); color: #fff; font-weight: 650; font-size: 1rem; box-shadow: 0 0 0 1px rgb(255 255 255 / .14) inset, 0 12px 40px -12px rgb(139 92 246 / .8); transition: transform .15s, box-shadow .2s, filter .2s; }
.button:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px rgb(255 255 255 / .2) inset, 0 16px 48px -10px rgb(139 92 246 / .95); }
.button:active { transform: translateY(1px); }
.button-large { padding: 19px 32px; font-size: 1.0625rem; }
.quiet-link { color: var(--osso); font-weight: 550; padding-block: 10px; border-bottom: 1px solid rgb(180 140 255 / .45); transition: border-color .2s, color .2s; }
.quiet-link:hover { color: #fff; border-color: var(--vitral); }
.download-meta { margin-top: 16px; font-size: .875rem; color: var(--sombra); }

/* Topo */
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; padding-inline: var(--gutter); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgb(6 7 15 / .86); backdrop-filter: blur(18px) saturate(1.2); border-color: var(--linha); }
.brand { width: 132px; flex: none; }
.brand img { width: 100%; mix-blend-mode: screen; }
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a { font-size: .9375rem; color: var(--nevoa); padding-block: 8px; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--osso); }
.desktop-nav a[aria-current] { box-shadow: 0 1px 0 var(--vitral); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-download { padding: 9px 18px; border-radius: 8px; font-size: .9375rem; font-weight: 600; background: rgb(180 140 255 / .12); border: 1px solid rgb(180 140 255 / .35); transition: background .2s, border-color .2s; }
.header-download:hover { background: rgb(180 140 255 / .22); border-color: var(--vitral); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--osso); margin: 6px 0; transition: transform .2s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 24px; background: rgb(12 10 21 / .98); border-bottom: 1px solid var(--linha); }
.mobile-nav a { display: block; padding: 15px 0; font-size: 1.125rem; border-bottom: 1px solid var(--linha); }
.mobile-nav a:last-child { border: 0; color: var(--vitral); font-weight: 600; }

/* Abertura */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: center; padding-block: 120px 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-film { opacity: 0; transition: opacity 1.2s; }
.hero-film.is-playing { opacity: 1; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgb(6 7 15 / .94) 0%, rgb(6 7 15 / .78) 38%, rgb(6 7 15 / .35) 70%, rgb(6 7 15 / .55) 100%),
  linear-gradient(180deg, rgb(6 7 15 / .5) 0%, transparent 30%, transparent 62%, var(--noite) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-copy { max-width: 600px; }
.lede { margin-top: 28px; max-width: 34em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: #cfc8de; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }

/* Cartão gravado: o vídeo tem o fundo da página e as bordas somem num degradê */
.card-stage { position: relative; aspect-ratio: 552 / 574; width: 100%; }
.fx-video { width: 100%; height: 100%; object-fit: cover; background: var(--noite);
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 44%, #000 62%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 98%);
  -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 72% 70% at 50% 44%, #000 62%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 98%); mask-composite: intersect; }
.hero-card { position: relative; justify-self: end; width: min(100%, 540px); }
.hero-card::before { content: ''; position: absolute; inset: -18% -22% -10%; z-index: -1; background: radial-gradient(closest-side, var(--noite) 58%, rgb(6 7 15 / .75) 76%, transparent); }
.hero-card .fx-video { background: transparent; }
figcaption { font-size: .8125rem; color: var(--sombra); }
.hero-card figcaption, .fx-stage figcaption { text-align: center; margin-top: -8px; }

/* Efeitos */
.fx-section { position: relative; }
.fx-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.fx-intro > p { margin-top: 24px; color: var(--nevoa); max-width: 34em; }
.fx-picker { margin-top: 40px; border-top: 1px solid var(--linha); }
.fx-picker button { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; width: 100%; text-align: left; padding: 16px 4px 16px 18px; border-bottom: 1px solid var(--linha); position: relative; transition: background .2s; }
.fx-picker button::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--vitral); transform: scaleY(0); transition: transform .25s; }
.fx-picker button:hover { background: rgb(180 140 255 / .04); }
.fx-picker button[aria-checked=true]::before { transform: scaleY(1); }
.fx-name { font-family: var(--titulo); font-weight: 600; font-size: 1.25rem; color: var(--nevoa); transition: color .2s; }
.fx-picker button:hover .fx-name, .fx-picker button[aria-checked=true] .fx-name { color: var(--osso); }
.fx-desc { grid-column: 1 / -1; font-size: .9375rem; color: var(--nevoa); display: none; max-width: 36em; }
.fx-picker button[aria-checked=true] .fx-desc { display: block; }
.rarity { font-size: .8125rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: .9; }
.rarity-epico { color: #c69cff; }
.rarity-mitico { color: #ff7a8e; }
.rarity-beyond { color: #f4e7b0; background: linear-gradient(90deg, rgb(244 231 176 / .12), rgb(180 140 255 / .14)); }
.fx-stage { position: sticky; top: 100px; }
.fx-stage .card-stage { transition: opacity .25s; }
.fx-stage.is-switching .card-stage { opacity: .15; }
.fx-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--linha); color: var(--nevoa); font-size: 1rem; }
.fx-extras strong { color: var(--osso); font-weight: 650; }

/* Tela */
.screen-section { background: linear-gradient(180deg, transparent, rgb(139 92 246 / .05) 40%, transparent); }
.screen-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.screen-copy p { margin-top: 22px; color: var(--nevoa); max-width: 34em; }
.fps-meter { display: grid; gap: 28px; padding: clamp(24px, 3.4vw, 40px); border-radius: 18px; background: var(--pedra); border: 1px solid var(--linha); }
.fps-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; color: var(--nevoa); }
.fps-label b { font-family: var(--titulo); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--sombra); font-variant-numeric: tabular-nums; }
.is-now .fps-label b { color: var(--osso); }
.fps-bar { display: grid; grid-template-columns: repeat(60, 1fr); gap: 3px; height: 44px; }
.fps-bar i { border-radius: 2px; background: rgb(255 255 255 / .06); transition: background .05s; }
.fps-bar i.on { background: #6b6480; }
.is-now .fps-bar i.on { background: linear-gradient(180deg, #cdb4ff, var(--vitral-forte)); box-shadow: 0 0 10px -2px rgb(180 140 255 / .7); }
.fps-meter figcaption { line-height: 1.5; }

/* League */
.league-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.league-copy > p { margin-top: 22px; color: var(--nevoa); max-width: 34em; }
kbd { display: inline-block; font-family: Inter, system-ui, sans-serif; font-size: .62em; font-weight: 650; letter-spacing: 0; line-height: 1; padding: .34em .6em .42em; margin-inline: .06em; vertical-align: .14em; border-radius: .28em; color: var(--osso); background: linear-gradient(180deg, #2a2438, #1a1526); border: 1px solid rgb(214 196 255 / .22); box-shadow: 0 .14em 0 #0c0a14, 0 .18em 0 rgb(214 196 255 / .14); }
.facts { margin-top: 28px; display: grid; gap: 14px; }
.facts li { position: relative; padding-left: 26px; color: #cfc8de; }
.facts li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); border: 1.5px solid var(--vantagem); }
.league-shot { position: relative; }
.league-shot img { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgb(0 0 0 / .6)); }
.league-shot::before { content: ''; position: absolute; inset: 10% 5%; z-index: -1; background: radial-gradient(closest-side, rgb(74 222 128 / .12), transparent); }
.league-shot figcaption { margin-top: 16px; text-align: center; }

/* Recursos */
.features-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.features-head p { color: var(--nevoa); max-width: 26em; }
.app-shot { margin-top: 48px; border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); box-shadow: 0 40px 100px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(0 0 0 / .4); }
.app-shot img { width: 100%; }
.feature-index { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.feature-index li { display: flex; gap: 18px; padding-block: 22px; border-top: 1px solid var(--linha); }
.feature-index .icon { color: var(--vitral); margin-top: 1px; }
.feature-index p { margin-top: 4px; font-size: .9688rem; color: var(--nevoa); }

/* Final */
.final-section { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(120px, 16vw, 200px); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -1; background: url('/assets/scene.webp') 50% 70% / cover no-repeat; opacity: .5; }
.final-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--noite) 0%, rgb(6 7 15 / .55) 45%, rgb(6 7 15 / .7) 70%, var(--noite) 100%); }
.final-inner h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.final-inner > p:not(.download-meta) { margin: 22px auto 40px; max-width: 30em; color: #cfc8de; font-size: 1.125rem; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--linha); padding-block: 48px 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; }
.footer-logo { width: 120px; mix-blend-mode: screen; grid-row: span 2; }
.footer-inner p { color: var(--nevoa); font-size: .9375rem; }
.footer-link { color: var(--osso); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(180 140 255 / .5); white-space: nowrap; }
.footer-link:hover { text-decoration-color: var(--vitral); }
.footer-legal { font-size: .8125rem !important; color: var(--sombra) !important; }

/* Telas menores */
@media (max-width: 960px) {
  .hero-inner, .fx-layout, .screen-layout, .league-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 108px; min-height: auto; }
  .hero-copy { max-width: none; }
  .hero-card { justify-self: center; width: min(100%, 460px); margin-top: 8px; }
  .fx-layout { gap: 0; }
  .fx-intro { display: contents; }
  .fx-intro > p { order: 1; }
  .fx-stage { order: 2; position: relative; top: 0; width: min(100%, 460px); justify-self: center; margin-top: 24px; }
  .fx-picker { order: 3; margin-top: 24px; }
  .fx-extras, .feature-index { grid-template-columns: 1fr; }
  .league-shot { order: 2; }
}
@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-download { display: none; }
  .site-header { height: 64px; }
  .brand { width: 112px; }
  .hero-bg::after { background: linear-gradient(180deg, rgb(6 7 15 / .7) 0%, rgb(6 7 15 / .6) 40%, var(--noite) 100%); }
  .fps-bar { gap: 2px; height: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
