/* 5×4 – Futsal Simulator · site
   Layout: a floodlit pavilion at night — dark ground, the court as texture, one green accent; sections stack like a match report. */
:root {
  --ground: #080c12; --ground-2: #0d121a; --panel: #131923; --line: #1f2733; --line-strong: #2b3644;
  --ink: #eef2f7; --ink-soft: #c3ccd8; --ink-muted: #8a96a8;
  --accent: #1fe08a; --on-accent: #06110b; --info: #38bdf8;
  --court: #0f4c7f; --court-hi: #135a93; --court-lo: #0b3d68; --chalk: #ecf4f0; --keeper: #f2c933;
  --good: #34d399; --warn: #fbbf24; --bad: #fb5a64;
  --display: 'Rajdhani', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-md: 12px; --r-lg: 16px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--info); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: .01em; }
p { margin: 0; }
.x { background: linear-gradient(90deg, var(--accent), var(--info)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .03em; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--ink-muted); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.court-tex {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='800' viewBox='0 0 1600 800'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='3'%3E%3Crect x='40' y='40' width='1520' height='720'/%3E%3Cpath d='M800 40v720'/%3E%3Ccircle cx='800' cy='400' r='120'/%3E%3Cpath d='M40 190a210 210 0 0 1 0 420M1560 190a210 210 0 0 0 0 420'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
    radial-gradient(900px 520px at 8% -12%, rgba(31, 224, 138, .2), transparent 62%),
    radial-gradient(800px 520px at 108% 112%, rgba(56, 189, 248, .16), transparent 58%),
    var(--ground);
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-md);
  font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink-soft); transition: border-color .15s, transform .15s; }
.btn:hover { border-color: var(--ink-muted); transform: translateY(-1px); }
.btn.primary { color: var(--ink); background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 34%, var(--panel)), var(--panel)); border-color: var(--accent); border-left: 5px solid var(--accent); }
.btn .soon { font-family: var(--text); font-weight: 600; font-size: 11px; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; background: rgba(31, 224, 138, .16); color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { font-size: clamp(54px, 9vw, 124px); text-transform: uppercase; line-height: .88; }
.hero .lead { font-size: clamp(19px, 1.6vw, 23px); color: var(--ink-soft); max-width: 34em; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.stamp { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--ink-muted); }
.screen { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow), 0 0 80px -20px rgba(31, 224, 138, .45); background: var(--court-edge, #0b1624); }
.screen video, .screen img { width: 100%; height: auto; aspect-ratio: 1009 / 551; object-fit: cover; }
.tag { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(4, 8, 12, .84); border: 1px solid var(--line-strong); font-family: var(--text); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--ink-soft); }
.score { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; padding: 8px 16px; border-radius: 12px; background: rgba(19, 25, 35, .86); border: 1px solid var(--line-strong); font-family: var(--display); font-weight: 700; }
.score .n { font-size: 34px; letter-spacing: .08em; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-variant-numeric: tabular-nums; }
.score .c { color: var(--accent); letter-spacing: .08em; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.sec.alt { background: var(--ground-2); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 52rem; }
.sec-head h2 { font-size: clamp(42px, 5vw, 66px); text-transform: uppercase; }
.sec-head p { color: var(--ink-soft); font-size: 19px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1024px) { .grid3.feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid3, .grid2, .grid3.feats { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); min-width: 0; }

/* the minute 39: three steps */
.step { display: flex; flex-direction: column; gap: 14px; }
.step .pitch { border-radius: var(--r-md); border: 1px solid var(--line-strong); background: linear-gradient(135deg, var(--court-hi), var(--court) 50%, var(--court-lo)); aspect-ratio: 16 / 10; overflow: hidden; }
.step .pitch svg { width: 100%; height: 100%; display: block; }
.step h3 { font-size: 30px; text-transform: uppercase; }
.step p { color: var(--ink-soft); }
.step .t { font-family: var(--display); font-weight: 700; color: var(--accent); letter-spacing: .12em; font-size: 15px; }

/* features */
.feat { display: flex; flex-direction: column; overflow: hidden; }
.feat .shot { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b1118; }
.feat .shot img, .feat .shot video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 0%); }
.feat .body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.feat h3 { font-size: 30px; text-transform: uppercase; }
.feat p { color: var(--ink-soft); font-size: 16px; }
.feat .big { margin-top: auto; padding-top: 10px; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }

/* official rules band */
.rules { background: linear-gradient(135deg, var(--court-hi), var(--court) 50%, var(--court-lo)); border-bottom: 1px solid var(--line); }
.rules .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; padding-block: 48px; }
.rules b { display: block; font-family: var(--display); font-size: clamp(34px, 3.4vw, 46px); line-height: 1; }
.rules span { color: #dbe7f3; font-size: 15px; }


/* what if */
.fork { padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.fork .res { font-family: var(--display); font-weight: 700; font-size: clamp(88px, 10vw, 132px); line-height: .9; font-variant-numeric: tabular-nums; }
.fork.win { border-color: var(--accent); } .fork.win .res, .fork.win .kicker { color: var(--accent); }
.fork.loss { border-color: var(--bad); } .fork.loss .res, .fork.loss .kicker { color: var(--bad); }
.fork ol { margin: 0; padding-left: 20px; color: var(--ink-soft); }

/* diary */
.post { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.post time { font-size: 13px; color: var(--ink-muted); letter-spacing: .04em; }
.post h3 { font-size: 27px; }
.post p { color: var(--ink-soft); font-size: 16px; }
.post:hover { border-color: var(--line-strong); }

/* community */
.join { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); }
.join ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.join li { display: flex; gap: 12px; color: var(--ink-soft); }
.join li b { color: var(--ink); font-family: var(--display); font-size: 19px; letter-spacing: .03em; min-width: 9.5em; }
@media (max-width: 900px) { .join { grid-template-columns: minmax(0, 1fr); } .join li { flex-direction: column; gap: 2px; } }

/* footer */
.foot { padding-block: 44px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.foot .small { color: var(--ink-muted); font-size: 14px; flex-basis: 100%; }

/* feature page and long text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(40px, 4.6vw, 60px); text-transform: uppercase; margin: 10px 0 16px; }
.split p { color: var(--ink-soft); }
.split .big { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; margin-top: 18px; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow), 0 0 0 1px rgba(31, 224, 138, .18); background: #0b1118; }
.prose { max-width: 44rem; display: flex; flex-direction: column; gap: 18px; color: var(--ink-soft); }
.prose h2 { color: var(--ink); font-size: 40px; margin-top: 18px; }
.prose h3 { color: var(--ink); font-size: 28px; margin-top: 10px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.page-head { padding-block: clamp(56px, 8vw, 96px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(42px, 10vw, 104px); text-transform: uppercase; margin-top: 12px; }
.page-head p { margin-top: 18px; color: var(--ink-soft); font-size: 20px; max-width: 40rem; }
.facts { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.facts dt { color: var(--ink-muted); font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; padding-top: 2px; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 600px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dd { margin-bottom: 8px; } }
details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: 0 22px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: 22px; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--accent); }
details[open] summary::after { content: '–'; }
details p { padding-bottom: 20px; color: var(--ink-soft); }
.copy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.copy code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; background: var(--ground-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

@media (max-width: 600px) { .btn { white-space: normal; text-align: center; } .score { flex-wrap: wrap; } }

/* ---------- one page: menu state, teaser, diary, press ---------- */
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 76px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 22px; align-items: start; }
.player { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.player .screen video { aspect-ratio: 16 / 9; background: #05080c; }
.dl { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dl h3 { font-size: 28px; text-transform: uppercase; }
.dl p { font-size: 15px; }
.dl ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dl a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ground-2); color: var(--ink); text-decoration: none; }
.dl a:hover { border-color: var(--accent); }
.dl a b { font-family: var(--display); font-size: 19px; letter-spacing: .03em; }
.dl a span { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .teaser { grid-template-columns: minmax(0, 1fr); } }
.posts { align-items: start; }
.post .more { border: 0; background: none; padding: 0; margin-top: 4px; }
.post .more summary { padding: 6px 0; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); justify-content: flex-start; }
.post .more summary::after { content: ' ›'; }
.post .more[open] summary::after { content: ' ‹'; }
.post .more p { padding: 0 0 12px; font-size: 16px; }
.pad { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pad h3 { font-size: 30px; }
.stack { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.email { font-weight: 600; overflow-wrap: anywhere; }
button.link { background: none; border: 0; padding: 0 4px; color: var(--info); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.press-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin-top: 22px; }
.press-row p { flex: 1 1 22rem; max-width: 44rem; font-size: 15px; }
.logos { display: flex; gap: 16px; flex-wrap: wrap; }
.logos .card { padding: 28px 36px; display: flex; align-items: center; justify-content: center; min-height: 128px; }
.logos .card.light { background: #f4f6f9; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.shots .frame { margin: 0; }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shots { grid-template-columns: minmax(0, 1fr); } }
.narrow { max-width: 920px; }
#privacidade { padding-block: 48px; }
#privacidade .prose { gap: 12px; font-size: 16px; }
.small { font-size: 14px; }

/* ---------- four languages, merged moment, concept, privacy page ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.hero-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.player { max-width: 1040px; }
.e-se { font-size: clamp(34px, 4vw, 48px); text-transform: uppercase; margin: clamp(40px, 5vw, 64px) 0 22px; }
.join-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.join-copy h2 { font-size: clamp(42px, 5vw, 64px); text-transform: uppercase; }
.join-copy .muted { font-size: 18px; }
.redes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.btn.rede { min-height: 44px; min-width: 136px; padding: 8px 16px; font-size: 17px; }
.btn.rede[aria-disabled] { color: var(--ink-soft); cursor: default; }
.redes .kicker { display: inline-flex; align-items: center; gap: 12px; }
.redes .kicker .soon { font-family: var(--text); font-weight: 600; font-size: 11px; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; background: rgba(31, 224, 138, .16); }
.redes .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.conceito { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 40px); margin-bottom: 22px; border-color: var(--line-strong); }
.conceito h3 { font-size: 34px; text-transform: uppercase; margin-bottom: 14px; }
.conceito p { color: var(--ink-soft); font-size: 18px; }
.conceito ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; align-content: center; }
.conceito li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--accent); }
.conceito li b { font-family: var(--display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.conceito li span { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 900px) { .conceito { grid-template-columns: minmax(0, 1fr); } }
.foot .small a { color: var(--ink-soft); }
.resumo { padding: 24px 28px; border-color: var(--accent); }
.resumo h2 { margin-top: 0 !important; font-size: 30px !important; }
.resumo ul { margin-top: 12px; }
.prose h2 { font-size: 30px; }

/* ---------- header ----------
   One row that never wraps: brand on the left, the sections in the middle, then the language and Steam.
   Under 1100 px the sections fold into a panel opened by the menu button; under 640 px Steam leaves the bar
   (the hero has it) and the language shows only its flag. */
.top { position: sticky; top: 0; z-index: 30; background: rgba(8, 12, 18, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; text-decoration: none; color: var(--ink); }
.brand b { font-family: var(--display); font-size: 27px; letter-spacing: .04em; line-height: 1; }
.brand small { display: block; margin-top: 3px; font-family: var(--display); font-weight: 600; font-size: 10px; letter-spacing: .28em; color: var(--ink-muted); }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); margin-inline: auto; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .05em; color: var(--ink-soft); text-decoration: none; transition: color .15s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { transform: scaleX(1); }
.acoes { display: flex; align-items: center; gap: 12px; flex: none; }
.top .btn { min-height: 42px; padding: 8px 18px; font-size: 16px; }
.top .btn .soon { display: none; }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); cursor: pointer; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.top.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .menu-btn span:nth-child(2) { opacity: 0; }
.top.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* the language: a flag that opens the four languages */
.flag { display: block; width: 24px; height: 16px; border-radius: 3px; flex: none; }
.lingua-menu { position: relative; border: 0; background: none; padding: 0; }
.lingua-menu summary { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel);
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .08em; color: var(--ink); }
.lingua-menu summary::after { content: none; }
.lingua-menu summary::-webkit-details-marker { display: none; }
.lingua-menu summary:hover, .lingua-menu[open] summary { border-color: var(--ink-muted); }
.lingua-menu .seta { width: 11px; height: 8px; color: var(--ink-muted); transition: transform .2s; }
.lingua-menu[open] .seta { transform: rotate(180deg); }
.lingua-menu .painel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--ground-2); box-shadow: var(--shadow); }
.lingua-menu .painel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.lingua-menu .painel a:hover { background: var(--panel); color: var(--ink); }
.lingua-menu .painel a[aria-current="true"] { background: color-mix(in srgb, var(--accent) 14%, var(--panel)); color: var(--ink); }
.lingua-menu .painel .abrev { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--ink-muted); }

/* the footer's row of flags */
.linguas { display: flex; flex-wrap: wrap; gap: 8px; }
.linguas a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.linguas a:hover { border-color: var(--ink-muted); color: var(--ink); }
.linguas a[aria-current="true"] { border-color: var(--accent); color: var(--ink); }
.linguas .abrev { display: none; }

/* privacy page header */
.voltar { margin-left: auto; white-space: nowrap; color: var(--ink-soft); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.voltar:hover { color: var(--ink); }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .acoes { margin-left: auto; }
  .nav { display: none; }
  .top.open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 18px; background: var(--ground-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.open .nav a { padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .top.open .nav a::after { display: none; }
  .top.open .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .top .wrap { min-height: 60px; gap: 10px; }
  .top .btn.primary { display: none; }
  .brand small { display: none; }
  .brand svg { width: 34px; height: auto; }
  .lingua-menu summary { padding: 0 10px; gap: 6px; }
  .lingua-menu summary > span { display: none; }
  .lingua-menu .painel { right: -54px; }
  .voltar { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .nav a, .nav a::after, .menu-btn span, .lingua-menu .seta { transition: none; } }

/* ---------- alignment pass ---------- */
.player { max-width: none; }
.posts { align-items: stretch; }
.post .more { margin-top: auto; }
.pad h3, .conceito h3 { font-size: 28px; text-transform: uppercase; }
.pad .copy { margin-top: auto; padding-top: 4px; }
.grid2.imp { align-items: stretch; }
.grid2.imp .longa { grid-column: 1 / -1; }
.grid2.imp .longa p { max-width: 62rem; }
/* Inter turns «5x4» into «5×4» on its own; the address must stay as typed */
.email, .facts dd, .foot .small { font-feature-settings: 'calt' 0; }
.foot .stamp { margin-left: auto; }
.sec-head h2 { text-wrap: balance; }
@media (max-width: 700px) {
  .foot .stamp { margin-left: 0; }
  .redes .btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .redes .btn.rede:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid2.imp .longa { grid-column: auto; }
  /* the court's halfway line would run down the middle of the text on a narrow screen */
  .court-tex { background: radial-gradient(600px 420px at 8% -8%, rgba(31, 224, 138, .18), transparent 62%), radial-gradient(600px 420px at 108% 108%, rgba(56, 189, 248, .14), transparent 58%), var(--ground); }
}

/* ---------- the wishlist line under the hero buttons, and the closing call before the press kit ---------- */
.cta-nota { margin: -12px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 46ch; }
.fim .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.fim h2 { font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; text-wrap: balance; }
.fim p { font-size: 18px; max-width: 52ch; margin: 0; }
.fim .btns { justify-content: center; }

/* ---- several pages: countdown, the three pillars, the picture gallery, the devlog page, things revealed on scroll ---- */
.contagem { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.cd { display: flex; gap: 10px; }
.cd span { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 10px 8px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: color-mix(in srgb, var(--panel) 80%, transparent); }
.cd b { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.cd small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.contagem.aberto .cd { display: none; }

.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }
.sec-head.linha { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; gap: 24px; flex-wrap: wrap; }
.sec-head.linha > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 52rem; }
.mais-btns { margin-top: 36px; }

.pilares { counter-reset: p; }
.pilar { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.pilar .num { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.pilar h3 { font-size: 28px; text-transform: uppercase; }
.pilar p { color: var(--ink-soft); font-size: 16px; }
.pilar::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--info)); transform: scaleX(.18); transform-origin: left; transition: transform .5s ease; }
.pilar:hover::after { transform: scaleX(1); }

.gal-nav { display: flex; gap: 10px; }
.seta-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.seta-btn:hover { border-color: var(--accent); color: var(--accent); }
.seta-btn:disabled { opacity: .35; cursor: default; border-color: var(--line-strong); color: var(--ink); }
.galeria { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 860px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; overscroll-behavior-x: contain; }
.galeria:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: var(--r-lg); }
.slide { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.slide .zoom { display: block; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; background: #0b1118; cursor: zoom-in; box-shadow: var(--shadow); }
.slide .zoom img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 0 0; transition: transform .6s ease; }
.slide .zoom:hover img { transform: scale(1.03); }
.slide figcaption { display: flex; flex-direction: column; gap: 4px; }
.slide figcaption b { font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.slide figcaption span { color: var(--ink-soft); font-size: 16px; }

.caixa { width: min(96vw, 1500px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--ground); color: var(--ink); overflow: hidden; }
.caixa::backdrop { background: rgba(3, 6, 10, .86); backdrop-filter: blur(4px); }
.caixa figure { margin: 0; display: flex; flex-direction: column; }
.caixa img { display: block; width: 100%; max-height: calc(94vh - 64px); object-fit: contain; background: #05080c; }
.caixa figcaption { padding: 16px 22px; color: var(--ink-soft); font-size: 16px; }
.caixa figcaption b { color: var(--ink); font-family: var(--display); font-size: 20px; text-transform: uppercase; margin-right: 10px; }
.caixa .fechar { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(8, 12, 18, .8); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.caixa .seta-btn { position: absolute; top: calc(50% - 56px); z-index: 2; background: rgba(8, 12, 18, .8); }
.caixa .ant { left: 12px; } .caixa .seg { right: 12px; }

.post .mais { margin-top: auto; padding-top: 6px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.post:hover { transform: translateY(-3px); } .post { transition: transform .25s ease, border-color .25s ease; }

.feat-rows { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 128px); }
.feat-row .frame img, .feat-row .frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feat-row .kicker { display: block; }

.diario { display: flex; flex-direction: column; }
.entrada { padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.entrada:first-child { padding-top: 0; }
.entrada time { font-size: 14px; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; font-family: var(--display); font-weight: 700; }
.entrada h2 { font-size: clamp(32px, 4vw, 46px); text-transform: uppercase; margin: 8px 0 14px; text-wrap: balance; }
.entrada p { color: var(--ink-soft); margin-top: 12px; max-width: 65ch; }
.entrada .res { color: var(--ink); font-size: 20px; }
.entrada:target h2 { color: var(--accent); }
.mais-q { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }

html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; transition: none; } .galeria { scroll-behavior: auto; } }

@media (max-width: 720px) {
  .cd span { min-width: 0; flex: 1; } .cd b { font-size: 30px; }
  .galeria { grid-auto-columns: 88%; }
  .gal-nav { display: none; }
  .caixa .seta-btn { top: auto; bottom: 70px; }
}

/* the hero is one centred column: the title, the call to Steam and the countdown, with the teaser right below */
.hero .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; padding-block: clamp(64px, 10vw, 136px) clamp(48px, 7vw, 88px); }
.hero-copy { align-items: center; text-align: center; max-width: 60rem; }
.hero .lead { margin-inline: auto; }
.hero .btns, .hero .cd { justify-content: center; }
.hero .contagem { align-items: center; }
.hero h1 { text-wrap: balance; }

/* Footer bottom line: the notes on the left, the studio on the right, on one line from tablet width up */
.foot .pe-linha { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot .pe-linha .small { margin: 0; flex-basis: auto; }
.foot .estudio { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); text-decoration: none; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
.foot .estudio img { border-radius: 7px; }
.foot .estudio:hover { color: var(--ink); }
.estudio-ficha { display: flex; align-items: center; gap: 10px; }
.estudio-ficha img { border-radius: 6px; }
