/* =============================================================================
   LUCROZEN — sistema visual
   Toda a identidade nasce do bloco :root. Trocar as variaveis reskina o site
   inteiro sem tocar em nenhum componente.

   Paleta tirada da marca: #a4b9fc (topo do cilindro), #1a86cf, #0a699f e
   #064d6d (base). O azul principal e um passo mais claro que o da logo porque
   #1a86cf apaga contra um fundo quase preto.
   ========================================================================== */

:root {
  /* ---- superficies (base grafite com veio azul-marinho) ---- */
  --void: #04070e;
  --bg: #070b14;
  --bg-deep: #03060b;
  --surface: #0b1421;
  --surface-2: #102336;
  --line: rgba(140, 176, 220, .14);
  --line-strong: rgba(140, 176, 220, .28);
  --glass: rgba(255, 255, 255, .04);
  --glass-2: rgba(255, 255, 255, .07);

  /* ---- texto ---- */
  --text: #eaf2ff;
  --text-soft: #a3b6d8;
  --text-mute: #6b7c9f;

  /* ---- acentos: um primario, um secundario, o resto e semantico ---- */
  --primary: #2790de;
  --primary-hi: #6fc2f5;
  --primary-lo: #0a699f;
  --secondary: #a4b9fc;
  --gold: #ffb443;
  --ok: #2fd48f;
  --danger: #ff4d6d;

  /* ---- luz e profundidade ---- */
  --glow-primary: 0 0 0 1px rgba(39, 144, 222, .38), 0 12px 34px -10px rgba(39, 144, 222, .65);
  --glow-soft: 0 18px 50px -22px rgba(39, 144, 222, .55);
  --shadow: 0 2px 6px rgba(0, 0, 0, .5), 0 22px 48px -28px rgba(0, 0, 0, .9);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .95);
  --inner-hi: inset 0 1px 0 rgba(255, 255, 255, .07);
  --ring: 0 0 0 3px rgba(39, 144, 222, .45);

  /* ---- pecas dos jogos (o JS le algumas via getComputedStyle) ---- */
  --tile-1: #17475e;
  --tile-2: #0d5a83;
  --tile-3: #0a699f;
  --tile-4: #1a86cf;
  --tile-5: #3ba3e8;
  --tile-6: #a4b9fc;
  --tile-7: #ff5c9d;
  --tile-8: #ffb443;
  --board: #071220;
  --board-line: rgba(140, 176, 220, .16);
  --board-rule: rgba(164, 190, 230, .5);

  /* ---- ritmo ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --max: 1240px;
  --pad: clamp(18px, 4vw, 40px);

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* Tema claro: so troca tokens, nenhum componente sabe que ele existe. */
[data-theme="light"] {
  --void: #e9eff9;
  --bg: #f1f5fc;
  --bg-deep: #e1eaf6;
  --surface: #ffffff;
  --surface-2: #f2f7fd;
  --line: rgba(10, 60, 92, .12);
  --line-strong: rgba(10, 60, 92, .24);
  --glass: rgba(255, 255, 255, .75);
  --glass-2: rgba(255, 255, 255, .95);

  --text: #08202e;
  --text-soft: #3d586f;
  --text-mute: #667f97;

  --primary: #0a699f;
  --primary-hi: #064d6d;
  --primary-lo: #1a86cf;
  --secondary: #4a5fc4;
  --gold: #c47b0a;
  --ok: #12996a;
  --danger: #d92c4b;

  --glow-primary: 0 0 0 1px rgba(10, 105, 159, .28), 0 12px 30px -12px rgba(10, 105, 159, .5);
  --glow-soft: 0 18px 44px -24px rgba(10, 105, 159, .4);
  --shadow: 0 1px 2px rgba(6, 40, 62, .08), 0 18px 40px -26px rgba(6, 40, 62, .35);
  --shadow-lg: 0 40px 80px -44px rgba(6, 40, 62, .45);
  --inner-hi: inset 0 1px 0 rgba(255, 255, 255, .9);
  --ring: 0 0 0 3px rgba(10, 105, 159, .4);

  --tile-1: #ddeaf7;
  --tile-2: #c0dcf1;
  --tile-3: #8cc3e9;
  --tile-4: #4ea3db;
  --tile-5: #1a86cf;
  --tile-6: #0a699f;
  --tile-7: #f0356e;
  --tile-8: #e8930c;
  --board: #e5edf7;
  --board-line: rgba(10, 60, 92, .14);
  --board-rule: rgba(10, 60, 92, .55);
}

/* ============================================================== base ==== */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  letter-spacing: .1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; }
canvas { display: block; touch-action: none; }

a { color: var(--primary-hi); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
}
.skip:focus { left: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ======================================================== atmosfera ==== */
/* Camadas de fundo fixas que dao profundidade ao site inteiro.            */

.atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmos i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
}

.atmos i:nth-child(1) {
  width: 52vw; height: 52vw;
  top: -22vw; left: -12vw;
  background: radial-gradient(circle, var(--primary), transparent 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.atmos i:nth-child(2) {
  width: 40vw; height: 40vw;
  top: -8vw; right: -10vw;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  opacity: .3;
  animation: drift-b 32s var(--ease) infinite alternate;
}
.atmos i:nth-child(3) {
  width: 46vw; height: 46vw;
  top: 62vh; left: 46%;
  background: radial-gradient(circle, #ff5c9d, transparent 72%);
  opacity: .18;
  animation: drift-c 38s var(--ease) infinite alternate;
}

/* malha tecnica + vinheta: leem como "produto", nao como wallpaper */
.atmos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 10%, transparent 72%);
  opacity: .5;
}
.atmos::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 100% at 50% -10%, transparent 40%, var(--bg-deep) 100%);
}

@keyframes drift-a { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-7vw, 10vh, 0) scale(1.2); } }
@keyframes drift-c { to { transform: translate3d(-10vw, -8vh, 0) scale(1.1); } }

.page { position: relative; z-index: 1; }

/* ========================================================== topbar ==== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(150%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.bar {
  max-width: var(--max);
  margin-inline: auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}
/* Duas artes do mesmo logotipo: o "LUCRO" original e azul-petroleo e desaparece
   no fundo quase preto, entao o tema escuro usa a versao clara. */
.brand img {
  display: block;
  width: auto;
  height: 38px;
  filter: drop-shadow(0 6px 18px rgba(39, 144, 222, .45));
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.brand:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 8px 22px rgba(39, 144, 222, .7));
}
.brand .on-light { display: none; }
[data-theme="light"] .brand .on-dark { display: none; }
[data-theme="light"] .brand .on-light { display: block; }
[data-theme="light"] .brand img { filter: drop-shadow(0 6px 16px rgba(10, 105, 159, .28)); }
.cols .brand img { height: 34px; }

@media (max-width: 520px) {
  .brand img { height: 32px; }
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 600;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--text);
  background: var(--glass);
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--text-soft);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .moon { display: none; }
[data-theme="light"] .icon-btn .moon { display: block; }
[data-theme="light"] .icon-btn .sun { display: none; }

.burger { display: none; }

/* ========================================================== botoes ==== */

.btn {
  --btn-bg: linear-gradient(135deg, var(--primary-lo), var(--primary) 55%, var(--primary-hi));
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 14px;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: var(--glow-primary), var(--inner-hi);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, .5), 0 20px 44px -14px rgba(124, 92, 255, .8);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.985); }

.btn.ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.btn.ghost:hover {
  background: var(--glass-2);
  border-color: var(--primary);
  box-shadow: var(--glow-soft);
}
.btn.small { padding: 9px 16px; font-size: 13.5px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================ hero ==== */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px);
  min-height: min(88vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow em {
  font-style: normal;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  color: var(--primary-hi);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(38px, 5.2vw, 63px);
  line-height: 1.05;
  letter-spacing: -.032em;
  max-width: 15ch;
}
/* Rampa fria de proposito: azul e dourado sao quase complementares e o meio do
   degrade vira cinza. O dourado fica reservado para CTA e selos. */
.hero h1 .shine {
  background: linear-gradient(100deg, var(--primary-hi) 0%, var(--secondary) 52%, #e6efff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* no tema claro os mesmos tons ficariam ilegiveis sobre o fundo branco */
[data-theme="light"] .hero h1 .shine {
  background: linear-gradient(100deg, #064d6d 0%, #0a699f 52%, #4a5fc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lede {
  margin-top: 20px;
  max-width: 54ch;
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--text-soft);
}

.hero .btn-row { margin-top: 32px; }

.hero-stats {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
}
.hero-stats div b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
  background: linear-gradient(180deg, var(--text), var(--text-mute));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats div span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* --- composicao visual do hero: objetos flutuando em profundidade --- */

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-art .halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 45%, transparent), transparent 62%);
  filter: blur(46px);
}
.hero-art .ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  inset: 6%;
}
.hero-art .ring:nth-of-type(2) { inset: 18%; border-style: dashed; opacity: .55; animation: spin 46s linear infinite; }
.hero-art .ring:nth-of-type(3) { inset: 30%; opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-art .core {
  position: relative;
  width: 68%;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-16px) rotate(1.4deg); }
}

.orbit {
  position: absolute;
  width: 21%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55));
  animation: float 6s ease-in-out infinite;
}
.orbit.a { top: 4%; right: 8%; animation-delay: -1.2s; }
.orbit.b { bottom: 12%; left: 0%; width: 25%; animation-delay: -3s; }
.orbit.c { bottom: 2%; right: 18%; width: 17%; animation-delay: -4.4s; }
.orbit.d { top: 26%; left: 2%; width: 15%; animation-delay: -2.2s; }

.spark {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  opacity: .8;
  animation: rise 9s linear infinite;
}
@keyframes rise {
  0% { transform: translateY(30px); opacity: 0; }
  20% { opacity: .9; }
  100% { transform: translateY(-180px); opacity: 0; }
}

/* ========================================================= secoes ==== */

.section { padding: clamp(48px, 7vw, 96px) 0; position: relative; }
.section.tight { padding-block: clamp(32px, 4vw, 56px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
}
.section-head .kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary-hi);
}
.section-head h2 { font-size: clamp(27px, 3.4vw, 42px); }
.section-head p { margin-top: 10px; max-width: 58ch; color: var(--text-soft); font-size: 15.5px; }
.section-head .aside {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}
.section-head .aside a { color: var(--primary-hi); }

/* ================================================= catalogo (bento) ==== */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 2;
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--bg-deep) 88%, transparent) 100%),
    var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 70% at 70% 0%, color-mix(in srgb, var(--tint, var(--primary)) 28%, transparent), transparent 70%);
  opacity: .7;
  transition: opacity .4s var(--ease);
}
/* veu entre a arte e o texto: a arte pode invadir o card sem comer a leitura */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 40%,
    color-mix(in srgb, var(--bg-deep) 35%, transparent) 62%,
    color-mix(in srgb, var(--bg-deep) 88%, transparent) 88%);
}
.tile:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tint, var(--primary)) 55%, transparent);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--tint, var(--primary)) 70%, transparent), var(--shadow);
}
.tile:hover::before { opacity: 1; }

.tile.wide { grid-column: span 3; }
.tile.tall { grid-row: span 2; min-height: 400px; }
.tile.hero-tile { grid-column: span 4; min-height: 300px; }
.tile.full { grid-column: span 6; min-height: 220px; }
.tile.full .art { width: 30%; top: -10%; right: 2%; }
.tile.full p { max-width: 52ch; }

.tile .art {
  position: absolute;
  top: -12%;
  right: -7%;
  width: 56%;
  z-index: -1;
  opacity: .95;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6));
  transition: transform .55s var(--ease), opacity .4s var(--ease);
}
.tile:hover .art { transform: translate3d(-6px, -8px, 0) scale(1.07) rotate(-2deg); }
.tile.hero-tile .art, .tile.wide .art { width: 44%; top: -4%; right: -4%; }
.tile.tall .art { width: 72%; top: 2%; right: -12%; }

.tile h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.tile.hero-tile h3, .tile.tall h3 { font-size: 26px; }
.tile p {
  margin-top: 8px;
  font-size: 14.2px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 40ch;
}
.tile .meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-mute);
}
.chip.hot {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.tile .go {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg-deep) 70%, transparent);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all .35s var(--ease);
}
.tile:hover .go {
  opacity: 1;
  transform: none;
  color: var(--text);
  border-color: var(--line-strong);
}
.tile .go svg { width: 16px; height: 16px; }

/* ============================================= palco de jogo (stage) ==== */

.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-deep));
  box-shadow: var(--shadow-lg), var(--inner-hi);
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 72%);
  pointer-events: none;
}

.stage-head {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-deep) 40%, transparent);
}
.stage-head .spacer { flex: 1 1 auto; }

.scores { display: flex; gap: 10px; flex-wrap: wrap; }
.score {
  min-width: 84px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  text-align: center;
}
.score b {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.score.accent b { color: var(--gold); }
.score span {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.stage-body {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 40px);
  gap: 18px;
}

.stage-foot {
  padding: 0 clamp(16px, 3vw, 26px) 26px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}
.status {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  min-height: 24px;
}
.status.win { color: var(--ok); }
.status.lose { color: var(--danger); }
.hint { font-size: 13px; color: var(--text-mute); }
.keys {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--glass);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-soft);
}

.seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  gap: 3px;
}
.seg button {
  padding: 7px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-mute);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--primary) 24%, transparent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 45%, transparent);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
  user-select: none;
}
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i {
  width: 38px; height: 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.switch i::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--text-mute);
  transition: all .25s var(--ease);
}
.switch input:checked + i { background: color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
.switch input:checked + i::after { left: 18px; background: #fff; }
.switch input:focus-visible + i { box-shadow: var(--ring); }

/* =============================================== guias (editorial) ==== */

.reads { display: grid; gap: 2px; }
.read {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: all .3s var(--ease);
}
.read + .read { box-shadow: 0 -1px 0 var(--line); }
.read:hover {
  border-color: var(--line);
  background: var(--glass);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.read .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-mute);
}
.read h3 { font-size: 19px; }
.read:hover h3 { color: var(--text); }
.read p { margin-top: 6px; font-size: 14.2px; color: var(--text-soft); max-width: 72ch; }
.read .tag {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  white-space: nowrap;
}

/* ==================================================== faixa/notas ==== */

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.note {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(12px);
}
.note::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -1px;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.note h3 { font-size: 17px; }
.note p { margin-top: 10px; font-size: 14.2px; color: var(--text-soft); }

/* ============================================================ CTA ==== */

.cta {
  position: relative;
  margin-block: clamp(40px, 6vw, 80px);
  padding: clamp(38px, 6vw, 70px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--surface), var(--bg-deep));
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 40%, transparent), transparent 65%);
  filter: blur(40px);
}
.cta h2 { position: relative; font-size: clamp(26px, 3.6vw, 40px); }
.cta p { position: relative; margin-top: 12px; color: var(--text-soft); max-width: 50ch; }
.cta .btn-row { position: relative; }

/* ========================================================= footer ==== */

.footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-deep));
}
.cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 40px;
}
.cols h4 {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-family: var(--sans);
  font-weight: 700;
}
.cols .brand { margin-bottom: 14px; }
.cols p { font-size: 14px; color: var(--text-soft); max-width: 42ch; }
.cols ul { margin-top: 14px; display: grid; gap: 9px; }
.cols li a { font-size: 14.2px; color: var(--text-soft); }
.cols li a:hover { color: var(--primary-hi); }

.disclaimer {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--glass);
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--text-mute);
}
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 32px;
  font-size: 13px;
  color: var(--text-mute);
}
.legal a { color: var(--text-mute); }
.legal a:hover { color: var(--primary-hi); }

/* ======================================================== artigos ==== */

.page-head {
  padding: clamp(40px, 6vw, 76px) 0 clamp(20px, 3vw, 34px);
  position: relative;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--primary-hi); }
.page-head h1 { font-size: clamp(32px, 5vw, 56px); max-width: 20ch; }
.page-head .lede { margin-top: 18px; }

.prose { max-width: 74ch; font-size: 16.5px; color: var(--text-soft); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  margin-top: 46px;
  font-size: clamp(22px, 2.6vw, 29px);
  color: var(--text);
}
.prose h3 { margin-top: 34px; font-size: 19px; color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transform: rotate(45deg);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: n; }
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary-hi);
}
.callout {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--primary);
  border-radius: var(--r-sm);
  background: var(--glass);
  font-size: 15px;
}
.callout b { color: var(--text); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(12px);
}
.side-card h4 {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-family: var(--sans);
}
.side-card ul { margin-top: 14px; display: grid; gap: 10px; }
.side-card li a { font-size: 14px; color: var(--text-soft); }
.side-card li a:hover { color: var(--primary-hi); }
.side-card .btn { width: 100%; margin-top: 16px; }

/* espaco reservado para anuncio, estilizado para nao parecer buraco */
.adslot {
  margin-block: 34px;
  min-height: 100px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  color: var(--text-mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ===================================================== animacoes ==== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ==================================================== responsivo ==== */

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; width: min(72vw, 420px); margin-inline: auto; }
  .hero .lede { max-width: none; }
  .article-layout { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile.hero-tile { grid-column: span 4; }
  .tile.wide { grid-column: span 2; }
  .tile.tall { grid-row: span 1; min-height: 260px; }
  .notes { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .burger { display: grid; }
  .nav {
    position: fixed;
    inset: 68px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    pointer-events: none;
    transition: all .28s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav a[aria-current="page"]::after { display: none; }

  .bento { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile, .tile.wide, .tile.hero-tile { grid-column: span 2; min-height: 210px; }
  .tile .art { width: 46%; }
  .tile.tall .art { width: 50%; right: -6%; }

  .hero-stats { gap: 10px 22px; }
  /* o "aside" com white-space:nowrap empurrava a pagina para fora da viewport */
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head .aside { white-space: normal; }
  .read { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .read .num { display: none; }
  .read .tag { justify-self: start; }
  .side { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; gap: 26px; }
  .legal { justify-content: flex-start; }
  .atmos i { filter: blur(70px); opacity: .4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================================
   TABULEIROS
   Cada jogo herda a mesma linguagem: superficie escurecida, moldura de 1px,
   luz vinda de cima e pecas com volume.
   ========================================================================== */

.board-frame {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 60%, transparent), var(--board));
  box-shadow: var(--shadow), var(--inner-hi);
}
.board-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(80% 60% at 50% -10%, rgba(255, 255, 255, .07), transparent 60%);
}
canvas.board {
  border-radius: var(--r);
  background: var(--board);
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------- 2048 ---- */

.g2048 {
  position: relative;
  width: min(440px, 82vw);
  aspect-ratio: 1;
  display: grid;
  grid-template: repeat(4, 1fr) / repeat(4, 1fr);
  gap: 10px;
  outline: none;
}
.g2048 .cell { border-radius: var(--r-sm); background: color-mix(in srgb, var(--line) 60%, transparent); }
.g2048 .tile-n {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  font-family: var(--display);
  font-weight: 800;
  color: #fff;
  box-shadow: var(--inner-hi), 0 8px 18px -8px rgba(0, 0, 0, .8);
  transition: transform .13s var(--ease), opacity .13s var(--ease);
  will-change: transform;
}
.g2048 .tile-n.new { animation: pop .18s var(--ease); }
.g2048 .tile-n.merged { animation: bump .2s var(--ease); }
@keyframes pop { from { transform: scale(.2); opacity: 0; } }
@keyframes bump { 40% { filter: brightness(1.35); } 50% { transform: scale(1.12); } }

/* ------------------------------------------------------ campo minado ---- */

.mines {
  display: grid;
  gap: 4px;
  touch-action: manipulation;
}
.mines button {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text);
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(11px, 2.4vw, 16px);
  cursor: pointer;
  box-shadow: var(--inner-hi);
  transition: transform .12s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.mines button:hover:not(.open) { transform: translateY(-1px); border-color: var(--primary); }
.mines button.open {
  background: color-mix(in srgb, var(--board) 80%, transparent);
  border-color: transparent;
  box-shadow: none;
  cursor: default;
}
.mines button.flag { color: var(--gold); }
.mines button.boom { background: color-mix(in srgb, var(--danger) 45%, transparent); border-color: var(--danger); }
.mines button[data-n="1"] { color: #6aa8ff; }
.mines button[data-n="2"] { color: var(--ok); }
.mines button[data-n="3"] { color: #ff7a8f; }
.mines button[data-n="4"] { color: #b08bff; }
.mines button[data-n="5"] { color: var(--gold); }
.mines button[data-n="6"] { color: var(--secondary); }
.mines button[data-n="7"] { color: #ff9ad0; }
.mines button[data-n="8"] { color: var(--text-mute); }

/* ----------------------------------------------------------- sudoku ---- */

.sudoku {
  display: grid;
  grid-template: repeat(9, 1fr) / repeat(9, 1fr);
  width: min(460px, 86vw);
  aspect-ratio: 1;
  gap: 1px;
  background: var(--board-line);
  border: 2px solid var(--board-rule);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.sudoku button {
  position: relative;
  border: 0;
  background: var(--board);
  color: var(--primary-hi);
  font-family: var(--mono);
  font-size: clamp(14px, 3.4vw, 21px);
  font-weight: 600;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.sudoku button.fixed { color: var(--text); background: color-mix(in srgb, var(--surface-2) 70%, var(--board)); cursor: default; }
.sudoku button.sel { background: color-mix(in srgb, var(--primary) 34%, var(--board)); }
.sudoku button.peer { background: color-mix(in srgb, var(--primary) 12%, var(--board)); }
.sudoku button.same { background: color-mix(in srgb, var(--secondary) 20%, var(--board)); }
.sudoku button.bad { color: var(--danger); }
.sudoku button:nth-child(3n) { border-right: 2px solid var(--board-rule); }
.sudoku button:nth-child(9n) { border-right: 0; }
.sudoku button.r3 { border-bottom: 2px solid var(--board-rule); }
.sudoku .marks {
  position: absolute;
  inset: 2px;
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  font-size: 9px;
  color: var(--text-mute);
  pointer-events: none;
}
.sudoku .marks span { display: grid; place-items: center; }

.numpad {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: min(460px, 86vw);
}
.numpad button {
  padding: 12px 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--glass);
  color: var(--text);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s var(--ease);
}
.numpad button:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 18%, transparent); }

/* ------------------------------------------------ quebra-cabeca 15 ---- */

.slide {
  display: grid;
  gap: 8px;
  width: min(420px, 82vw);
  aspect-ratio: 1;
}
.slide button {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text-soft);
  font-family: var(--display);
  font-size: clamp(16px, 4vw, 26px);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--inner-hi), 0 8px 16px -10px rgba(0, 0, 0, .9);
  transition: transform .14s var(--ease), filter .14s var(--ease), color .2s var(--ease);
}
.slide button:hover { filter: brightness(1.25); transform: translateY(-2px); color: var(--text); }
/* peca ja no lugar certo: o brilho e o unico indicador de progresso do jogo */
.slide button.done {
  background: linear-gradient(180deg, var(--primary-hi), var(--primary-lo));
  border-color: color-mix(in srgb, var(--primary) 70%, transparent);
  color: #fff;
  box-shadow: var(--inner-hi), 0 10px 24px -12px var(--primary);
}
.slide button.hole { visibility: hidden; }

/* ------------------------------------------------------------ genius ---- */

.simon {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  display: grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 12px;
  border-radius: 50%;
  padding: 12px;
  background: var(--board);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.simon button {
  border: 0;
  cursor: pointer;
  opacity: .5;
  transition: opacity .18s var(--ease), filter .18s var(--ease), transform .18s var(--ease);
}
.simon button:nth-child(1) { border-radius: 100% 0 0 0; background: var(--ok); }
.simon button:nth-child(2) { border-radius: 0 100% 0 0; background: var(--danger); }
.simon button:nth-child(3) { border-radius: 0 0 0 100%; background: var(--gold); }
.simon button:nth-child(4) { border-radius: 0 0 100% 0; background: var(--secondary); }
.simon button:hover { opacity: .72; }
.simon button.lit { opacity: 1; filter: brightness(1.5) saturate(1.2); transform: scale(1.02); }
.simon .hub {
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-deep));
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  color: var(--text);
  box-shadow: var(--shadow), var(--inner-hi);
}

/* ---------------------------------------------------------- memoria ---- */

.memory { display: grid; gap: 10px; width: min(520px, 88vw); }
.memory .card-slot { aspect-ratio: 3 / 4; perspective: 900px; }
.memory button {
  width: 100%;
  height: 100%;
  position: relative;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .4s var(--ease);
}
.memory button.up, .memory button.matched { transform: rotateY(180deg); }
.memory .face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  backface-visibility: hidden;
  border: 1px solid var(--line);
  font-size: clamp(20px, 5vw, 34px);
}
.memory .back {
  background:
    radial-gradient(120% 90% at 22% 0%, rgba(255, 255, 255, .18), transparent 58%),
    linear-gradient(155deg,
      color-mix(in srgb, var(--primary) 62%, var(--bg-deep)),
      color-mix(in srgb, var(--primary) 14%, var(--bg-deep)));
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow: var(--inner-hi), inset 0 -18px 30px -22px #000;
}
.memory .back::after {
  content: "";
  width: 34%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  transform: rotate(45deg);
  box-shadow: 0 0 22px -6px rgba(255, 255, 255, .5);
}
.memory .front {
  transform: rotateY(180deg);
  background: var(--surface-2);
}
.memory button.matched .front {
  border-color: color-mix(in srgb, var(--ok) 60%, transparent);
  box-shadow: 0 0 24px -6px var(--ok);
}

/* ------------------------------------------------------------- lig4 ---- */

.c4 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 12px;
  width: min(520px, 88vw);
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 26%, var(--surface)), var(--bg-deep));
  box-shadow: var(--shadow), var(--inner-hi), inset 0 -20px 40px -30px var(--primary);
}
.c4 .col { display: grid; gap: 8px; cursor: pointer; }
.c4 .slot {
  aspect-ratio: 1;
  border-radius: 50%;
  /* furo perfurado na placa: sombra no topo, luz raspando a borda de baixo */
  background: radial-gradient(circle at 50% 125%, color-mix(in srgb, var(--primary) 24%, var(--bg-deep)), var(--bg-deep) 72%);
  box-shadow:
    inset 0 4px 9px rgba(0, 0, 0, .85),
    inset 0 -2px 1px color-mix(in srgb, #fff 9%, transparent);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.c4 .col:hover .slot:not(.p1):not(.p2) { background: color-mix(in srgb, #fff 10%, var(--bg-deep)); }
.c4 .slot.p1 { background: radial-gradient(circle at 35% 30%, #ff9bb4, var(--danger)); box-shadow: inset 0 -3px 8px rgba(0,0,0,.45); }
.c4 .slot.p2 { background: radial-gradient(circle at 35% 30%, #ffd693, var(--gold)); box-shadow: inset 0 -3px 8px rgba(0,0,0,.45); }
.c4 .slot.drop { animation: fall .28s var(--ease); }
.c4 .slot.win { outline: 3px solid #fff; outline-offset: -4px; animation: flash 1s ease-in-out infinite; }
@keyframes fall { from { transform: translateY(-160%); } }
@keyframes flash { 50% { outline-color: transparent; } }

/* ------------------------------------------------------- reflexo/dot ---- */

.reflex {
  position: relative;
  width: min(560px, 90vw);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 110% at 50% 50%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    var(--board);
  cursor: pointer;
  user-select: none;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  transition: background .1s linear, box-shadow .1s linear;
}
/* aneis concentricos: dao ao painel cara de alvo, e nao de caixa vazia */
.reflex::before {
  content: "";
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 28px color-mix(in srgb, var(--line) 45%, transparent);
  opacity: .8;
  pointer-events: none;
}
.reflex > * { position: relative; }
.reflex b {
  font-family: var(--display);
  font-size: clamp(22px, 4vw, 34px);
  display: block;
}
.reflex span { color: var(--text-soft); font-size: 14.5px; }
.reflex.wait { background: color-mix(in srgb, var(--danger) 30%, var(--board)); }
.reflex.now {
  background: color-mix(in srgb, var(--ok) 55%, var(--board));
  box-shadow: 0 0 80px -10px var(--ok);
}
.reflex.now b, .reflex.now span { color: #04120c; }

.lights { display: flex; gap: 10px; margin-bottom: 4px; }
.lights i {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--line);
  transition: all .2s var(--ease);
}
.lights i.on { background: var(--ok); box-shadow: 0 0 14px var(--ok); }

.runs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.runs span {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-soft);
}
.runs span.best { border-color: var(--gold); color: var(--gold); }
