/* JOGOS XP GROUP — estilos da plataforma */
:root {
  --void: #03060D;
  --deep: #061024;
  --panel: rgba(9, 19, 40, .78);
  --panel-solid: #0A1530;
  --blue: #1E6BFF;
  --cyan: #22E3FF;
  --white: #F2F7FF;
  --silver: #A9B6C8;
  --muted: #7D8BA3;
  --line: rgba(169, 182, 200, .16);
  --line-strong: rgba(169, 182, 200, .32);
  --danger: #FF5470;
  --ok: #3BE3A1;
  --warn: #FFC24B;
  --glow: 0 0 0 1px rgba(34, 227, 255, .5), 0 0 24px rgba(34, 227, 255, .28), 0 0 60px rgba(30, 107, 255, .22);
  --radius-l: 20px;
  --radius-m: 14px;
  --radius-s: 10px;
  --top: 68px;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(30, 107, 255, .20), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(34, 227, 255, .08), transparent 60%),
    var(--void);
  color: var(--white);
  font: 400 16px/1.6 var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: #001; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

#particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }

/* ---------------------------------------------------------------- topo */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--top);
  display: flex; align-items: center; gap: 28px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(3, 6, 13, .92), rgba(3, 6, 13, .72));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; animation: fadeIn .9s var(--ease) both; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(34, 227, 255, .55)); }
.brand-word { font: 800 19px/1 var(--font-display); letter-spacing: .01em; white-space: nowrap; }
.brand-a { color: var(--white); }
.brand-b { background: linear-gradient(90deg, var(--cyan), #8FB3FF 60%, var(--silver)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--silver); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--white); background: rgba(169, 182, 200, .08); }
.nav a[aria-current="page"] { color: var(--white); background: rgba(34, 227, 255, .12); box-shadow: inset 0 0 0 1px rgba(34, 227, 255, .35); }
.search { margin-left: auto; position: relative; display: flex; align-items: center; width: min(320px, 32vw); }
.search svg { position: absolute; left: 12px; width: 18px; height: 18px; fill: none; stroke: var(--silver); stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; height: 40px; padding: 0 40px 0 38px;
  background: rgba(10, 21, 48, .8); border: 1px solid var(--line-strong); border-radius: 999px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 227, 255, .18); }
.search-key { position: absolute; right: 12px; font: 600 12px var(--font-body); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 6px; }
.menu-btn { display: none; margin-left: 4px; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: fixed; top: var(--top); left: 0; right: 0; z-index: 29; background: rgba(3, 6, 13, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; display: grid; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { text-decoration: none; padding: 14px 6px; font: 600 18px var(--font-display); border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- base de página */
main { position: relative; z-index: 1; outline: none; min-height: calc(100vh - var(--top) - 160px); }
.page { padding: 28px clamp(16px, 4vw, 48px) 64px; max-width: 1440px; margin: 0 auto; }
.page.is-leaving, .page-host.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease; }
.page.is-entering { animation: pageIn .38s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; }
.section { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.link { color: var(--cyan); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- botões */
.btn {
  --bg: rgba(169, 182, 200, .1);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--bg); color: var(--white);
  font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { border-color: var(--silver); background: rgba(169, 182, 200, .16); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-play {
  border: 0; color: #001229; font-weight: 800; font-family: var(--font-display); letter-spacing: .02em;
  background: linear-gradient(135deg, var(--cyan), #5AA9FF 55%, var(--blue));
  box-shadow: 0 8px 28px rgba(30, 107, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-play:hover { background: linear-gradient(135deg, #6CF0FF, #7DBBFF 55%, #3C80FF); box-shadow: var(--glow); }
.btn-play svg { fill: currentColor; stroke: none; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 44px; padding: 0; }
.icon-btn.is-on { color: var(--cyan); border-color: rgba(34, 227, 255, .6); background: rgba(34, 227, 255, .12); }
.icon-btn.is-on svg { fill: currentColor; }

/* ---------------------------------------------------------------- hero (banner em tela cheia) */
.home.is-entering { animation: pageIn .38s var(--ease) both; }
.hero { --accent: #22E3FF; position: relative; isolation: isolate; min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(16px, 4vw, 48px) 26px; margin-top: calc(-1 * var(--top)); padding-top: calc(var(--top) + 40px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--deep); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; animation: kenburns 14s ease-in-out infinite alternate; }
.hero-bg img.is-hidden { opacity: 0; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 6, 13, .94) 0%, rgba(3, 6, 13, .72) 34%, rgba(3, 6, 13, .1) 68%, rgba(3, 6, 13, .35) 100%),
    linear-gradient(180deg, rgba(3, 6, 13, .55) 0%, transparent 22%, transparent 55%, rgba(3, 6, 13, .96) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; transition: background .6s; }
.hero-inner { max-width: 1440px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 60px); align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); padding: 7px 14px; border-radius: 999px; background: rgba(3, 6, 13, .55); border: 1px solid rgba(242, 247, 255, .2); backdrop-filter: blur(8px); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero-copy h1 {
  margin-top: 16px; font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; font-style: italic; letter-spacing: -.015em; line-height: .94;
  text-transform: uppercase; max-width: 12ch;
  background: linear-gradient(180deg, #FFFFFF 15%, #D7E6FA 60%, #9DB2CF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .55));
}
.hero-copy p { color: #D2DCEB; max-width: 48ch; font-size: clamp(16px, 1.4vw, 19px); margin: 18px 0 26px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass { background: rgba(242, 247, 255, .12); border-color: rgba(242, 247, 255, .3); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(242, 247, 255, .2); }
.hero-feature { justify-self: end; width: min(420px, 100%); padding: 20px 22px; border-radius: var(--radius-l); background: rgba(6, 12, 26, .62); border: 1px solid rgba(242, 247, 255, .16); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); position: relative; overflow: hidden; }
.hero-feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); box-shadow: 0 0 24px var(--accent); transition: background .6s; }
.hero-feature.is-in { animation: featIn .5s var(--ease) both; }
@keyframes featIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.feature-label { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--accent); transition: color .6s; }
.hero-feature h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; margin: 6px 0 6px; }
.hero-feature p { margin: 0 0 12px; color: var(--silver); font-size: 15px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ftag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(242, 247, 255, .1); color: var(--white); }
.ftag-new { background: var(--ok); color: #00210f; font-weight: 800; letter-spacing: .06em; }
.launcher-tabs { max-width: 1440px; width: 100%; margin: 26px auto 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.launcher-tabs::-webkit-scrollbar { display: none; }
.launcher-tab { position: relative; flex: 1 0 150px; display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px; border-radius: 12px; border: 1px solid rgba(242, 247, 255, .14); background: rgba(6, 12, 26, .55); backdrop-filter: blur(10px); cursor: pointer; color: var(--silver); transition: border-color .2s, background .2s, color .2s, transform .2s; overflow: hidden; }
.launcher-tab:hover { transform: translateY(-2px); color: var(--white); }
.launcher-tab img { width: 64px; height: 38px; object-fit: cover; border-radius: 7px; flex: none; }
.launcher-tab span { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.launcher-tab[aria-selected="true"] { color: var(--white); border-color: rgba(242, 247, 255, .5); background: rgba(242, 247, 255, .12); }
.tab-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.hero.is-auto .launcher-tab[aria-selected="true"] .tab-bar { animation: tabbar 7s linear both; }
@keyframes tabbar { to { width: 100%; } }

/* ---------------------------------------------------------------- vantagens, categorias, fileiras */
.home-page { padding-top: 22px; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.perk { padding: 14px 16px; border-radius: var(--radius-m); background: linear-gradient(180deg, rgba(14, 28, 58, .7), rgba(6, 13, 30, .7)); border: 1px solid var(--line); }
.perk b { display: block; font: 700 16px var(--font-display); }
.perk span { color: var(--muted); font-size: 13px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-tile { --accent: #22E3FF; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 112px; padding: 14px; border-radius: var(--radius-m); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.1) brightness(.75); transition: transform .5s var(--ease); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 45%, transparent), rgba(3, 6, 13, .92) 75%); }
.cat-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 26px color-mix(in srgb, var(--accent) 35%, transparent); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-emoji { position: absolute; top: 10px; right: 12px; font-size: 30px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.cat-tile b { font: 800 19px var(--font-display); }
.cat-tile small { color: var(--silver); font-size: 13px; }
.rail { position: relative; }
.rail-btn { position: absolute; top: 0; bottom: 18px; z-index: 5; width: 52px; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--white); opacity: 0; transition: opacity .25s; }
.rail-btn svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); }
.rail-prev { left: -8px; background: linear-gradient(90deg, rgba(3, 6, 13, .92), transparent); border-radius: var(--radius-m) 0 0 var(--radius-m); }
.rail-next { right: -8px; background: linear-gradient(270deg, rgba(3, 6, 13, .92), transparent); border-radius: 0 var(--radius-m) var(--radius-m) 0; }
.rail-next svg { transform: scaleX(-1); }
.rail:hover .rail-btn { opacity: 1; }
.rail.at-start .rail-prev, .rail.at-end .rail-next { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .rail-btn { display: none; } }
.ranked { position: relative; display: flex; align-items: flex-end; padding-left: 46px; }
.ranked .card { flex: 1; min-width: 0; }
.rank { position: absolute; left: -4px; bottom: 50px; z-index: 0; font: 800 italic 124px/1 var(--font-display); color: transparent; -webkit-text-stroke: 3px rgba(169, 182, 200, .55); letter-spacing: -.06em; pointer-events: none; }
.rail-ranked .row { grid-auto-columns: minmax(240px, 286px); }
.cta { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: radial-gradient(600px 300px at 90% 0%, rgba(34, 227, 255, .22), transparent 70%), linear-gradient(135deg, rgba(30, 107, 255, .3), rgba(10, 21, 48, .9)); border: 1px solid rgba(34, 227, 255, .3); }
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { margin: 6px 0 0; color: var(--silver); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 20px; overflow-x: auto; padding: 6px 4px 18px; margin: -6px -4px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.row > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-m); background: linear-gradient(180deg, rgba(14, 28, 58, .9), rgba(6, 13, 30, .95)); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; isolation: isolate; }
.card:hover, .card:focus-within { transform: translateY(-6px); border-color: rgba(34, 227, 255, .45); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(34, 227, 255, .16); }
.card-cover { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--radius-m) - 1px) calc(var(--radius-m) - 1px) 0 0; background: var(--deep); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.card:hover .card-cover img { transform: scale(1.06); }
.card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 6, 13, .85)); }
.card-body { padding: 12px 14px 14px; display: grid; gap: 10px; flex: 1; }
.card-title { font: 700 18px/1.2 var(--font-display); text-decoration: none; }
.card-title::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; } /* card inteiro clicável */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; color: var(--silver); padding: 2px 8px; border-radius: 999px; background: rgba(169, 182, 200, .1); }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; position: relative; z-index: 1; }
.card-foot .btn { min-height: 38px; padding: 0 14px; font-size: 14px; flex: 1; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(242, 247, 255, .25); background: rgba(3, 6, 13, .6); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; color: var(--white); transition: transform .15s, color .2s, background .2s; }
.card-fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.card-fav:hover { transform: scale(1.08); }
.card-fav.is-on { color: var(--cyan); background: rgba(3, 20, 40, .8); }
.card-fav.is-on svg { fill: currentColor; }
.status { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(3, 6, 13, .72); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); }
.status-preparando { color: var(--warn); border-color: rgba(255, 194, 75, .5); }
.status-em-breve { color: var(--silver); }
.status-disponivel { color: var(--ok); border-color: rgba(59, 227, 161, .45); }
.card-progress { font-size: 12px; color: var(--muted); }
.status-novo { color: #00210f; background: var(--ok); border-color: transparent; letter-spacing: .08em; font-weight: 800; box-shadow: 0 4px 14px rgba(59, 227, 161, .4); }
.status-hot { color: #fff; background: linear-gradient(90deg, #ff5a2a, #ff9a1a); border-color: transparent; }
.card-desc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 30px 12px 10px; font-size: 13px; line-height: 1.4; color: #E6EEF9; background: linear-gradient(180deg, transparent, rgba(3, 6, 13, .92) 40%); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-desc { opacity: 1; transform: none; }
@media (hover: none) { .card-desc { display: none; } }
.card { --accent: #22E3FF; }
.card:hover, .card:focus-within { border-color: color-mix(in srgb, var(--accent) 70%, white 10%); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent); }

/* ---------------------------------------------------------------- filtros */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(10, 21, 48, .6); color: var(--silver); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--white); border-color: var(--silver); }
.chip[aria-pressed="true"] { color: #001229; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(34, 227, 255, .35); }
.select { height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(10, 21, 48, .8); padding: 0 10px; }
.result-note { color: var(--muted); font-size: 14px; margin: -6px 0 16px; }

.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius-m); padding: 34px 24px; text-align: center; color: var(--silver); }
.empty h3 { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.empty .btn { margin-top: 14px; }

/* ---------------------------------------------------------------- página do jogo */
.game-page { padding-top: 16px; }
.game-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.game-bar h1 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; margin-right: auto; }
.game-bar .sub { display: block; font: 500 14px var(--font-body); color: var(--muted); margin-top: 2px; }
.stage-wrap { position: relative; display: flex; justify-content: center; }
.stage {
  position: relative; width: 100%;
  height: min(calc(100dvh - var(--top) - 120px), 900px); min-height: 420px;
  border-radius: var(--radius-l); overflow: hidden;
  background: #000; border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(30, 107, 255, .14);
}
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.stage-poster { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.stage-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(1.1); }
.stage-poster-in { position: relative; display: grid; gap: 14px; justify-items: center; max-width: 560px; }
.stage-poster h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.stage-poster p { margin: 0; color: var(--silver); }
.stage-overlay { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(3, 6, 13, .9); }
.stage-overlay[hidden] { display: none; }
.loader { display: grid; gap: 16px; justify-items: center; }
.loader-ring, .boot-ring { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(34, 227, 255, .15); border-top-color: var(--cyan); border-right-color: var(--blue); animation: spin .9s linear infinite; box-shadow: 0 0 30px rgba(34, 227, 255, .25); }
@keyframes spin { to { transform: rotate(360deg); } }
.loader p { margin: 0; color: var(--silver); }
.loader small { color: var(--muted); }
.error-box { max-width: 560px; display: grid; gap: 12px; justify-items: center; }
.error-box h2 { font-size: 24px; color: var(--white); }
.error-box p { margin: 0; color: var(--silver); }
.error-box code { font-size: 13px; color: var(--cyan); background: rgba(34, 227, 255, .08); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* tela cheia: nativa ou modo imersivo (iPhone) */
.stage:fullscreen { border-radius: 0; border: 0; height: 100%; }
.stage:-webkit-full-screen { border-radius: 0; border: 0; height: 100%; width: 100%; }
body.immersive { overflow: hidden; }
body.immersive .stage { position: fixed; inset: 0; z-index: 60; height: 100dvh; min-height: 0; border-radius: 0; border: 0; }
.exit-immersive { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 61; }
.exit-immersive[hidden] { display: none; }

.game-info { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 22px; backdrop-filter: blur(8px); }
.panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.panel h3 { font: 600 15px var(--font-body); color: var(--cyan); margin: 14px 0 6px; }
.panel p { margin: 0 0 10px; color: var(--silver); max-width: 70ch; }
.panel ul { margin: 0; padding-left: 18px; color: var(--silver); }
.panel li { margin: 4px 0; }
.note { border-left: 3px solid var(--warn); padding: 10px 14px; background: rgba(255, 194, 75, .07); border-radius: 0 10px 10px 0; color: var(--white); font-size: 14px; margin-top: 12px; }
.shortcuts { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13px; margin-top: 12px; }
kbd { font: 600 12px var(--font-body); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--white); background: rgba(169, 182, 200, .08); }

/* ---------------------------------------------------------------- páginas de texto */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 18px; }
.prose p { color: var(--silver); font-size: 17px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 26px 0; }
.fact { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px; background: rgba(10, 21, 48, .5); }
.fact strong { display: block; font: 800 30px var(--font-display); color: var(--cyan); }
.fact span { color: var(--silver); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(10, 21, 48, .8); padding: 12px 14px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 227, 255, .18); }
.field textarea { min-height: 140px; resize: vertical; }
.field-error { color: var(--danger); font-size: 13px; min-height: 1em; }
.honey { position: absolute; left: -9999px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; text-decoration: none; padding: 16px; border-radius: var(--radius-m); border: 1px solid var(--line); background: rgba(10, 21, 48, .55); transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: rgba(34, 227, 255, .5); transform: translateY(-2px); }
.contact-card svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; }
.contact-card strong { display: block; }
.contact-card span { color: var(--silver); font-size: 14px; }

/* ---------------------------------------------------------------- rodapé, toast, boot */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(3, 6, 13, .4), rgba(3, 6, 13, .95)); padding: 36px clamp(16px, 4vw, 48px) 22px; }
.footer-in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-brand strong { font: 800 18px var(--font-display); }
.footer-brand p { color: var(--muted); max-width: 40ch; margin: 8px 0 0; font-size: 14px; }
.footer-links, .footer-contact { display: grid; gap: 8px; align-content: start; }
.footer a { color: var(--silver); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--cyan); }
.footer-copy { color: var(--muted); font-size: 13px; }
body.playing .footer { display: none; }

.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; z-index: 90; background: var(--panel-solid); border: 1px solid rgba(34, 227, 255, .45); box-shadow: var(--glow); padding: 12px 18px; border-radius: 12px; font-weight: 600; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.boot { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--silver); }
.noscript { text-align: center; padding: 40px; }

/* revelação ao rolar (uma vez por seção) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .search { width: auto; flex: 1; max-width: 420px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-feature { justify-self: stretch; width: 100%; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-info, .contact-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --top: 60px; }
  .topbar { gap: 10px; }
  .brand-word { font-size: 16px; }
  .brand-b { display: none; }
  .search-key { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .row { grid-auto-columns: 46%; gap: 12px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 15px; }
  .card-foot .btn { font-size: 13px; padding: 0 8px; }
  .stage { height: calc(100dvh - var(--top) - 160px); min-height: 320px; border-radius: 14px; }
  .game-bar h1 { order: -1; flex-basis: 100%; margin-right: 0; }
  .game-bar .btn span { display: none; }
  .game-bar .btn { width: 44px; padding: 0; }
  .game-bar .btn:first-of-type { margin-right: auto; }
  .hero { min-height: 0; padding-top: calc(var(--top) + 26px); padding-bottom: 18px; }
  .hero-shade { background: linear-gradient(180deg, rgba(3, 6, 13, .62) 0%, rgba(3, 6, 13, .58) 35%, rgba(3, 6, 13, .92) 70%, rgba(3, 6, 13, 1) 100%); }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 15px; margin: 12px 0 18px; }
  .hero-actions .btn-lg { flex: 1 1 auto; }
  .hero-feature { padding: 14px 16px; }
  .hero-feature p { display: none; }
  .feature-tags { margin-bottom: 12px; }
  .launcher-tab { flex: 0 0 auto; padding: 6px 10px 6px 6px; }
  .launcher-tab img { width: 44px; height: 30px; }
  .rank { font-size: 92px; bottom: 60px; }
  .ranked { padding-left: 32px; }
  .rail-ranked .row { grid-auto-columns: 62%; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { min-height: 92px; }
  .perk { padding: 10px 12px; }
  .perk b { font-size: 14px; }
}
@media (max-width: 380px) {
  .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- topo transparente sobre o banner */
.topbar { transition: background .3s, border-color .3s, backdrop-filter .3s; }
body.on-home:not(.scrolled) .topbar { background: linear-gradient(180deg, rgba(3, 6, 13, .75), rgba(3, 6, 13, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.badge-new { display: inline-block; vertical-align: middle; font: 800 12px var(--font-body); letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; background: var(--ok); color: #00210f; margin-left: 6px; position: relative; top: -3px; }
.game-perks { list-style: none; padding: 0 !important; margin: 14px 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.game-perks li { color: var(--ok) !important; font-size: 14px; font-weight: 600; margin: 0 !important; }

/* ---------------------------------------------------------------- rodapé novo */
.footer { padding-top: 48px; background: radial-gradient(900px 300px at 15% 0%, rgba(30, 107, 255, .14), transparent 70%), linear-gradient(180deg, rgba(3, 6, 13, .5), rgba(3, 6, 13, .98)); }
.footer-in { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font: 700 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer-brand .brand { margin-bottom: 12px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(169, 182, 200, .06); transition: border-color .2s, transform .2s, background .2s; }
.socials a:hover { border-color: var(--cyan); transform: translateY(-2px); background: rgba(34, 227, 255, .1); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; }
.footer-bottom { max-width: 1440px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-in { gap: 22px; } }

/* ---------------------------------------------------------------- logo e redes */
.brand-logo { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(30, 107, 255, .45)); }
.brand-word .brand-a { font-size: 17px; letter-spacing: .14em; padding-left: 10px; border-left: 1px solid var(--line-strong); }
.footer-logo img { width: min(220px, 70%); height: auto; filter: drop-shadow(0 0 18px rgba(30, 107, 255, .35)); margin-bottom: 8px; }
.about-logo { width: min(320px, 80%); height: auto; margin: 0 0 18px; filter: drop-shadow(0 0 26px rgba(30, 107, 255, .4)); }
.follow { margin-top: 26px; display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-l); border: 1px solid var(--line); background: radial-gradient(500px 260px at 15% 50%, rgba(30, 107, 255, .25), transparent 70%), rgba(6, 13, 30, .7); }
.follow img { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(30, 107, 255, .45)); }
.follow h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.follow p { color: var(--silver); margin: 6px 0 16px; }
.follow-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ig { border: 0; background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.btn-tt { border: 0; background: #000; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.btn-ig:hover { filter: brightness(1.1); background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.btn-tt:hover { background: #111; }
@media (max-width: 600px) { .follow { grid-template-columns: 1fr; text-align: center; } .follow img { width: 200px; margin: 0 auto; } .follow-actions { justify-content: center; } .brand-logo { height: 34px; } }
@media (max-width: 600px) { .brand-word { display: none !important; } }
