/* Site oficial do Escape From Chibikov — mesma linguagem do jogo: azul profundo com bolinhas,
   vidro escuro, botões com lábio 3D, amarelo/verde/ciano/rosa, fonte display pesada. */
:root {
  --bg: #0a1422; --bg2: #0d1b2e; --navy: #16304f; --navy-l: #21436b; --glass: #0b1828d9; --line: #9fd8ff2e;
  --text: #f3f8fc; --dim: #a2b9cc; --muted: #6f87a0; --ink: #0c1626;
  --cyan: #3ec8ec; --blue: #3a86ff; --yellow: #ffcb3d; --green: #5ed35c; --red: #ff5468; --pink: #ff5fa8; --purple: #8f72ff; --orange: #ff9a3d;
  --font: "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Black", "Segoe UI", Roboto, "Arial Black", sans-serif;
  --wrap: 1180px; --gutter: 24px; --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 600 16px/1.55 var(--font); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(circle at 15% 0, #1d3a78 0, transparent 45%), radial-gradient(circle at 100% 60%, #12305c 0, transparent 40%), var(--bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(#ffffff0c 1.7px, transparent 1.8px) 0 0/28px 28px; pointer-events: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.dim { color: var(--dim); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }

/* ---------------------------------------------------------------- logo */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; text-decoration: none; }
.logo-tag { background: var(--pink); color: #fff; font: 900 11px var(--display); padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.logo-name { font: 900 30px/1 var(--display); color: var(--yellow); -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; margin-top: -1px; text-shadow: 0 3px 0 #0007; letter-spacing: .01em; }
.logo.big .logo-tag { font-size: clamp(13px, 1.6vw, 18px); padding: 6px 14px; }
.logo.big .logo-name { font-size: clamp(56px, 9vw, 112px); -webkit-text-stroke-width: clamp(9px, 1.3vw, 16px); text-shadow: 0 7px 0 #0008; margin-top: -4px; }

/* ---------------------------------------------------------------- botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 18px; padding: 12px 20px; font: 900 15px var(--font);
  color: var(--text); background: #ffffff14; cursor: pointer; text-decoration: none; border-bottom: 5px solid #00000066; transition: transform .14s, filter .14s, box-shadow .14s; user-select: none; }
.btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.btn:active { transform: translateY(2px) scale(.98); border-bottom-width: 2px; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-bottom-color: #b98a12; }
.btn-green { background: var(--green); color: #0c2a10; border-bottom-color: #2f8f33; }
.btn-cyan { background: var(--cyan); color: var(--ink); border-bottom-color: #1f86a3; }
.btn-glass { background: #ffffff14; }
.btn-xl { padding: 18px 30px; font-size: 22px; border-radius: 22px; border-bottom-width: 7px; }
.btn-xl small { display: block; font: 700 13px var(--font); opacity: .8; }
.download-main { box-shadow: 0 14px 40px #5ed35c40; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 14px 54px #5ed35c70; } }
@media (prefers-reduced-motion: reduce) { .download-main { animation: none; } html { scroll-behavior: auto; } }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 900 12px var(--font); letter-spacing: .03em; color: var(--ink); background: var(--cyan); }
.chip-glass { background: #ffffff1a; color: var(--text); }
.chip-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip-green { background: var(--green); } .chip-yellow { background: var(--yellow); } .chip-pink { background: var(--pink); color: #fff; } .chip-red { background: var(--red); color: #fff; }

/* ---------------------------------------------------------------- topo */
.top { position: sticky; top: 0; z-index: 50; background: #0a1422cc; backdrop-filter: blur(12px); border-bottom: 2px solid #ffffff0d; }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 800; padding: 8px 14px; border-radius: 14px; }
.nav a:hover, .nav a[aria-current="page"] { background: #ffffff14; }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.menu-toggle { display: none; margin-left: auto; background: #ffffff14; border: 0; color: var(--text); border-radius: 14px; width: 46px; height: 46px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.banner { background: var(--yellow); color: var(--ink); text-align: center; font-weight: 900; padding: 8px 16px; }

/* ---------------------------------------------------------------- capa */
.hero { position: relative; overflow: hidden; min-height: min(760px, 92vh); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #0a1422 url("../img/arena.webp") center/cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, #0a1422f2 0%, #0a1422cc 38%, #0a142266 70%, #0a142299 100%), linear-gradient(0deg, var(--bg) 0, transparent 28%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px; padding: 56px 0 72px; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(26px, 3.2vw, 40px); color: #fff; text-shadow: 0 3px 0 #0007; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: #dbe8f3; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 30px #0009); }
.hero-art::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 13%; height: 18%; border-radius: 50%; background: radial-gradient(#3ec8ec55, transparent 70%); }
.release-line { font-size: 14px; color: var(--dim); }

/* ---------------------------------------------------------------- seções */
section.block { padding: 84px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 34px; max-width: 760px; }
.section-head .kicker { color: var(--cyan); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.section-head p { color: var(--dim); font-size: 18px; }
.card { background: var(--glass); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px #0007; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); border-color: #9fd8ff55; }
.feature .icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 -5px 0 #0003; }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--dim); }
.i-green { background: var(--green); } .i-cyan { background: var(--cyan); } .i-pink { background: var(--pink); } .i-orange { background: var(--orange); } .i-yellow { background: var(--yellow); } .i-purple { background: var(--purple); }
.mt { margin-top: 22px; } .start { justify-self: start; } .lb-figure { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot { position: relative; padding: 0; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--navy); aspect-ratio: 16/10; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.shot:hover img { transform: scale(1.05); }
.shot span { position: absolute; left: 10px; bottom: 10px; right: 10px; text-align: left; font-weight: 900; font-size: 14px; color: #fff; text-shadow: 0 2px 6px #000c; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #08131fcc, transparent 50%); pointer-events: none; }
.shot span { z-index: 1; }
.shot.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.news-card:hover { transform: translateY(-4px); border-color: #9fd8ff55; }
.news-card .ni { aspect-ratio: 16/9; background: var(--navy-l) center/cover; }
.news-card .ni.noimg, .article-cover.noimg { background: url("../img/favicon.svg") center/72px no-repeat, radial-gradient(#ffffff10 1.6px, transparent 1.7px) 0 0/22px 22px, linear-gradient(135deg, var(--accent, #3ec8ec) -60%, #16304f 55%, #0b1828); }
.news-card .nb { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.news-card .nb .chip { justify-self: start; }
.news-card h3 { font-size: 20px; }
.news-card p { color: var(--dim); font-size: 15px; }
.news-card time { color: var(--muted); font-size: 13px; font-weight: 800; }
.news-card.featured { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto; }
.news-card.featured .ni { aspect-ratio: auto; min-height: 300px; }
.news-card.featured h3 { font-size: clamp(24px, 3vw, 34px); }
.news-card.featured .nb { padding: 28px; align-content: center; }
.news-more { margin-top: 26px; display: flex; justify-content: center; }
.empty { padding: 26px; text-align: center; color: var(--dim); }
.skeleton .ni, .skeleton .line { background: linear-gradient(90deg, #ffffff0a, #ffffff18, #ffffff0a); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton .line { height: 14px; border-radius: 8px; } .skeleton .line.w60 { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 24px; display: grid; gap: 8px; align-content: start; }
.step::before { counter-increment: step; content: counter(step); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 900 22px var(--display); box-shadow: inset 0 -4px 0 #0003; }
.step p { color: var(--dim); }

.download-band { padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, #16304f, #0b1828); }
.download-band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.spec { padding: 16px 18px; border-radius: 18px; background: #ffffff0a; border: 2px solid #ffffff10; }
.spec b { display: block; font-size: 13px; color: var(--cyan); text-transform: uppercase; letter-spacing: .05em; }
.spec span { font-weight: 800; }

.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 900; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 24px/1 var(--display); color: var(--yellow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--dim); display: grid; gap: 8px; }

/* ---------------------------------------------------------------- notícias (página) */
.page-head { padding: 54px 0 20px; display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 26px; }
.pill { border: 0; background: #ffffff14; color: var(--dim); padding: 9px 16px; border-radius: 999px; font: 900 14px var(--font); cursor: pointer; }
.pill:hover { color: var(--text); } .pill.on { background: var(--yellow); color: var(--ink); }
.article { padding: 20px 0 80px; }
.article-card { overflow: hidden; }
.article-cover { aspect-ratio: 16/7; background: var(--navy-l) center/cover; }
.article-body { padding: clamp(22px, 4vw, 44px); display: grid; gap: 16px; max-width: 860px; }
.article-body h1 { font-size: clamp(30px, 4.4vw, 48px); }
.article-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-weight: 800; }
.article-text { display: grid; gap: 14px; font-size: 18px; color: #dbe8f3; }
.article-text ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.article-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ---------------------------------------------------------------- 404 */
.notfound { min-height: 86vh; align-content: center; justify-items: start; gap: 18px; }
.notfound h1 { font-size: clamp(30px, 5vw, 48px); }

/* ---------------------------------------------------------------- termos e privacidade */
.legal { max-width: 920px; padding-bottom: 60px; }
.legal .page-head h1 { font-size: clamp(36px, 5vw, 54px); }
.toc, .summary { padding: 20px 24px; margin-bottom: 18px; }
.toc b, .summary b { font-family: var(--display); font-size: 18px; }
.toc ol { margin: 10px 0 0; padding-left: 22px; columns: 2; column-gap: 28px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; font-weight: 700; } .toc a:hover { color: var(--yellow); }
.summary { border-color: #5ed35c55; background: linear-gradient(120deg, #5ed35c14, var(--glass)); }
.summary ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: #dbe8f3; }
.legal-text { padding: clamp(22px, 4vw, 40px); display: grid; gap: 30px; }
.legal-text section { display: grid; gap: 10px; scroll-margin-top: 96px; }
.legal-text h2 { font-size: 22px; color: var(--yellow); }
.legal-text p, .legal-text li { color: #dbe8f3; font-weight: 600; }
.legal-text ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-text b { color: #fff; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 2px solid #ffffff12; }
.legal-text table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-text th, .legal-text td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #ffffff12; }
.legal-text th { background: #ffffff0a; color: var(--cyan); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.legal-text td:first-child { font-weight: 900; color: #fff; white-space: nowrap; }
.chip-cyan { background: var(--cyan); }
@media (max-width: 760px) { .toc ol { columns: 1; } .legal-text td:first-child { white-space: normal; } }

/* ---------------------------------------------------------------- rodapé */footer { margin-top: 40px; padding: 40px 0 50px; border-top: 2px solid #ffffff0d; background: #070f1a99; }
footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--dim); text-decoration: none; font-weight: 800; } footer nav a:hover { color: var(--text); }
footer small { color: var(--muted); display: block; margin-top: 10px; max-width: 460px; }

/* ---------------------------------------------------------------- janelas */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #050b14cc; backdrop-filter: blur(6px); }
.modal-box { width: min(560px, 100%); padding: 28px; display: grid; gap: 14px; position: relative; animation: pop .22s ease-out; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-box h2 { font-size: 30px; }
.modal-box .chip { justify-self: start; }
.modal-box ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--dim); }
.modal-box ol b { color: var(--text); }
.close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 14px; border: 0; background: #ffffff14; color: var(--text); font: 900 22px var(--display); cursor: pointer; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: #050b14ee; display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 86vh; border-radius: 18px; border: 2px solid var(--line); }
.lightbox p { text-align: center; margin-top: 12px; font-weight: 900; }
.lightbox .close { position: fixed; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: #ffffff1a; color: #fff; font: 900 26px var(--display); cursor: pointer; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

/* ---------------------------------------------------------------- telas menores */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-art { max-width: 640px; justify-self: center; margin-top: -10px; }
  .features, .news-grid, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-template-columns: 1fr; }
  .news-card.featured .ni { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; background: #0a1422; border-bottom: 2px solid #ffffff12; box-shadow: 0 18px 30px #000a; }
  .nav.open { display: flex; }
  .nav .btn { margin: 6px 0 0; }
  .features, .news-grid, .steps, .specs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shot.wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/10; }
  section.block { padding: 60px 0; }
  .download-band { grid-template-columns: 1fr; padding: 24px; }
  .btn-xl { width: 100%; font-size: 20px; padding: 16px 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn-glass { width: 100%; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
}
