/* ============================================================
   FIGANEWS — Portal Esportivo
   Paleta derivada da logo: azul royal (marca), vermelho (energia
   / ao vivo / breaking), verde (acento), sobre grafite.
   ============================================================ */

:root {
  /* superfícies grafite (frio, leve tom azul) */
  --base:      #0a0d13;
  --base-2:    #0d111a;
  --surface:   #11151f;
  --surface-2: #161b27;
  --surface-3: #1d2331;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  /* texto */
  --ink:       #f3f5fb;
  --ink-soft:  #c2c9d8;
  --ink-mute:  #828ca1;
  --ink-faint: #5b6479;

  /* marca (logo) */
  --blue:      #3b74e8;   /* azul royal — cor primária / marca   */
  --blue-bright:#5d8ff5;
  --blue-deep: #1f4bb0;
  --red:       #f23a42;   /* vermelho — ao vivo / breaking / CTA  */
  --red-bright:#ff5961;
  --green:     #1fb35e;   /* verde — acento / positivo            */
  --green-bright:#34d277;

  --radius:    16px;
  --radius-sm: 11px;
  --shadow:    0 18px 50px -22px rgba(0,0,0,0.85);
  --shadow-lg: 0 30px 80px -28px rgba(0,0,0,0.9);
}

/* ============================================================
   TEMA CLARO ("modo normal") — sobrescreve as variáveis do :root.
   O dark continua sendo o padrão; basta html[data-theme="light"].
   ============================================================ */
html[data-theme="light"] {
  /* fundo cinza-azulado suave (não branco) — reduz brilho/cansaço */
  --base:      #e9ecf3;
  --base-2:    #e0e4ee;
  --surface:   #ffffff;   /* cards brancos destacam-se sobre o fundo cinza */
  --surface-2: #eef1f7;   /* hover / inputs / áreas secundárias */
  --surface-3: #e4e8f1;
  --line:      rgba(28, 40, 66, 0.085);
  --line-2:    rgba(28, 40, 66, 0.16);
  /* texto em slate escuro (não preto) — leitura confortável */
  --ink:       #28303f;
  --ink-soft:  #45506a;
  --ink-mute:  #6b7588;
  --ink-faint: #99a1b3;
  --blue-bright:  #2a5fd0;   /* variantes "bright" mais escuras p/ contraste em fundo claro */
  --red-bright:   #d8333b;
  --green-bright: #128a47;
  --shadow:    0 10px 30px -18px rgba(30, 45, 80, 0.22);
  --shadow-lg: 0 22px 55px -28px rgba(30, 45, 80, 0.28);
}
/* brilho de fundo bem mais sutil no claro */
html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(59,116,232,0.10), transparent 60%),
    radial-gradient(760px 480px at 96% 2%, rgba(242,58,66,0.05), transparent 58%);
}
/* "Em Alta": gradiente começa em tom escuro em vez de branco */
html[data-theme="light"] .hot-title {
  background: linear-gradient(96deg, var(--ink) 0%, var(--red) 58%, #e7681f 100%);
  -webkit-background-clip: text; background-clip: text;
}
/* input da newsletter: claro translúcido em vez de preto */
html[data-theme="light"] .newsletter input { background: rgba(255,255,255,.72); }
/* tags com texto claro fixo ganham tom escuro no claro */
html[data-theme="light"] .tag[data-tone="violet"] { color: #6d3fd6; }
html[data-theme="light"] .tag[data-tone="amber"]  { color: #b6781a; }

/* ---- elevação e variação no tema claro (distingue cards, botões e seções) ---- */
/* cards ganham sombra suave (no dark a separação vem da borda) */
html[data-theme="light"] .card,
html[data-theme="light"] .side-story,
html[data-theme="light"] .video-feature,
html[data-theme="light"] .score-card {
  box-shadow: 0 6px 18px -12px rgba(30, 45, 80, 0.20);
}
html[data-theme="light"] .card:hover,
html[data-theme="light"] .side-story:hover {
  box-shadow: 0 12px 28px -14px rgba(30, 45, 80, 0.26);
}
/* botões "ghost" levemente tingidos pra se distinguirem dos cards brancos */
html[data-theme="light"] .btn-ghost { background: var(--surface-2); }
html[data-theme="light"] .btn-ghost:hover { background: var(--surface-3); }
/* ícones do header com leve elevação */
html[data-theme="light"] .icon-btn { box-shadow: 0 2px 6px -4px rgba(30, 45, 80, 0.25); }
/* faixas (header, scorebar, footer, newsletter) com leve separação por sombra */
html[data-theme="light"] .site-head { box-shadow: 0 1px 0 rgba(28,40,66,.05), 0 6px 20px -18px rgba(30,45,80,.3); }
html[data-theme="light"] .scorebar { box-shadow: inset 0 -1px 0 var(--line); }

/* botão de alternância de tema — troca sol/lua conforme o tema atual */
.theme-toggle .ic-sun, .theme-toggle .ic-moon { display: none; }
html[data-theme="dark"]  .theme-toggle .ic-sun  { display: block; }
html[data-theme="light"] .theme-toggle .ic-moon { display: block; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint atmospheric glow behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(59,116,232,0.16), transparent 60%),
    radial-gradient(760px 480px at 96% 2%, rgba(242,58,66,0.10), transparent 58%);
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-feature-settings: "tnum" 1;
}

/* ---- shell ---- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px){ .wrap { padding: 0 16px; } }

/* kicker / section eyebrow */
.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--base-2) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-head.shrink { box-shadow: 0 10px 40px -20px rgba(0,0,0,.8); }

/* header em duas faixas: utilitários em cima, categorias embaixo */
.head-top { display: flex; align-items: center; gap: 20px; height: 66px; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.head-nav { border-top: 1px solid var(--line); }
.head-nav .nav-main {
  display: flex; align-items: center; gap: clamp(18px, 2.5vw, 40px);
  height: 50px; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -ms-overflow-style: none;
  transition: height .3s ease;
}
.head-nav .nav-main::-webkit-scrollbar { display: none; }
.head-nav .nav-link { font-size: 15px; white-space: nowrap; flex: none; padding: 6px 0; }
/* ao rolar a página, a faixa de categorias encolhe suavemente */
.site-head.shrink .head-nav .nav-main { height: 44px; }

.brand-logo {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), 0 6px 18px -8px rgba(0,0,0,.7);
  object-fit: cover;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.04); }
.brand-word {
  font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1;
}
.brand-word .news { color: var(--blue-bright); }
.brand-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px; letter-spacing: 0.26em; color: var(--ink-mute);
  text-transform: uppercase; margin-top: 4px;
}

/* main nav */
.nav-link {
  position: relative; font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
  padding: 6px 2px; transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue-bright); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.8,.2,1); border-radius: 2px;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--ink); }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft);
  transition: all .2s ease;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); transform: translateY(-1px); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; border-radius: 11px;
  padding: 11px 20px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #fff; box-shadow: 0 10px 26px -12px var(--blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--blue); }
/* TEMPORÁRIO: oculta o botão "Entrar" do menu (apontam para admin/). Remover esta regra para reativar. */
a.btn-primary[href="admin/"] { display: none !important; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-red { background: linear-gradient(180deg, var(--red-bright), var(--red)); color:#fff; box-shadow: 0 10px 26px -12px var(--red); }
.btn-red:hover { transform: translateY(-2px); }

/* search field */
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 11px; padding: 0 12px; height: 40px;
  transition: border-color .2s, box-shadow .2s, width .3s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,116,232,.18); }
.search input {
  background: transparent; border: none; outline: none; color: var(--ink);
  font-size: 14px; width: 150px; font-family: inherit;
}
.search input::placeholder { color: var(--ink-faint); }

/* mobile menu */
.burger { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: color-mix(in srgb, var(--base) 92%, transparent);
  backdrop-filter: blur(20px);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.85,.2,1);
  display: flex; flex-direction: column; padding: 22px;
}
.mobile-menu.open { transform: translateX(0); }
#mm-cats { display: flex; flex-direction: column; }
.mobile-menu a.m-link {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-soft); transition: color .2s, padding-left .2s;
}
.mobile-menu a.m-link:hover { color: var(--blue-bright); padding-left: 8px; }

/* ============================================================
   PLACEHOLDERS DE IMAGEM (elegantes — trocar por fotos reais)
   ============================================================ */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, transparent 2px 11px),
    linear-gradient(150deg, var(--surface-3), var(--surface));
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 12px; bottom: 11px; z-index: 2;
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.10);
  padding: 4px 8px; border-radius: 7px; backdrop-filter: blur(4px);
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(0,0,0,.28));
}
/* tinted accents per category */
.ph[data-tone="blue"]  { background: repeating-linear-gradient(115deg, rgba(59,116,232,.12) 0 2px, transparent 2px 12px), linear-gradient(150deg, #15233f, #10141d); }
.ph[data-tone="red"]   { background: repeating-linear-gradient(115deg, rgba(242,58,66,.12) 0 2px, transparent 2px 12px), linear-gradient(150deg, #2a1418, #10141d); }
.ph[data-tone="green"] { background: repeating-linear-gradient(115deg, rgba(31,179,94,.12) 0 2px, transparent 2px 12px), linear-gradient(150deg, #11241a, #10141d); }
.ph[data-tone="violet"]{ background: repeating-linear-gradient(115deg, rgba(139,92,246,.12) 0 2px, transparent 2px 12px), linear-gradient(150deg, #1f1830, #10141d); }
.ph[data-tone="amber"] { background: repeating-linear-gradient(115deg, rgba(245,158,11,.12) 0 2px, transparent 2px 12px), linear-gradient(150deg, #2a2110, #10141d); }

/* zoom on hover when inside a card-link */
.media { overflow: hidden; }
.media .ph, .media img { transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.card-link:hover .media .ph, .card-link:hover .media img { transform: scale(1.06); }

/* ============================================================
   TAGS / CHIPS
   ============================================================ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 7px; line-height: 1;
  background: rgba(59,116,232,.16); color: var(--blue-bright);
  border: 1px solid rgba(59,116,232,.28);
}
.tag[data-tone="red"]    { background: rgba(242,58,66,.16); color: var(--red-bright); border-color: rgba(242,58,66,.30); }
.tag[data-tone="green"]  { background: rgba(31,179,94,.16); color: var(--green-bright); border-color: rgba(31,179,94,.30); }
.tag[data-tone="violet"] { background: rgba(139,92,246,.16); color: #b69bff; border-color: rgba(139,92,246,.30); }
.tag[data-tone="amber"]  { background: rgba(245,158,11,.15); color: #fbbf4d; border-color: rgba(245,158,11,.28); }

.meta {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px;
  color: var(--ink-mute); letter-spacing: .02em;
}

/* section header */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.sec-bar { width: 30px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-bright), var(--blue)); margin-bottom: 12px; }
.sec-bar.red { background: linear-gradient(90deg, var(--red-bright), var(--red)); }

/* ---- identidade da seção "Em Alta" (destaques) ---- */
/* divisória entre o menu e a seção (mesmo hairline do portal) */
.section-divider { height: 1px; background: var(--line); }

/* bloco coeso: raio + título + frase */
.hot-head { display: flex; align-items: center; gap: 15px; }
.hot-bolt {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 8px 22px -10px var(--red);
  color: #fff; flex: none;
}
.hot-bolt.big { width: 46px; height: 46px; border-radius: 13px; }
.hot-bolt svg { animation: bolt-flick 2.6s ease-in-out infinite; }
@keyframes bolt-flick { 0%,88%,100%{opacity:1} 92%{opacity:.45} 95%{opacity:1} }

.hot-head-text { display: flex; flex-direction: column; gap: 4px; }
.hot-title {
  margin: 0; line-height: .9; text-transform: uppercase; font-weight: 800;
  font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.03em;
  background: linear-gradient(96deg, #ffffff 0%, var(--red-bright) 52%, #ff8a3d 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(242,58,66,.22));
}
.hot-head .lbl {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 500; color: var(--red-bright);
}
.hot-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
}
.hot-eyebrow .lbl {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 500; color: var(--red-bright);
}

/* badge "Em Alta" nos cards de destaque */
.hot-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: #fff;
  padding: 5px 9px 5px 7px; border-radius: 7px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 6px 18px -8px var(--red), inset 0 0 0 1px rgba(255,255,255,.18);
}
.hot-badge svg { width: 12px; height: 12px; }
/* badge flutuante sobre a imagem do hero */
.hot-badge.float {
  position: absolute; top: 18px; left: 18px; z-index: 4;
  backdrop-filter: blur(3px);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; height: 100%;
}
.card-link:hover .card,
.card.card-link:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { transition: color .2s; }
.card-link:hover h3 { color: var(--blue-bright); }

/* hero */
.hero-main {
  position: relative; border-radius: 22px; overflow: hidden;
  min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
}
.hero-main .ph { position: absolute; inset: 0; }
.hero-main .ph::after { top: 18px; bottom: auto; left: auto; right: 18px; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(7,9,13,.96) 4%, rgba(7,9,13,.55) 40%, rgba(7,9,13,.05) 78%);
}
.hero-body { position: relative; z-index: 3; padding: 40px; }
.hero-title {
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.02; margin: 14px 0 12px; text-wrap: balance;
}
.hero-sub { color: var(--ink-soft); font-size: clamp(15px,1.3vw,18px); max-width: 60ch; line-height: 1.5; }

/* contraste adaptativo do texto/tag sobre a foto do hero (definido por JS) */
.hero-main .hero-title, .hero-main .hero-sub, .hero-main .meta { transition: color .3s ease; }
/* foto escura → texto claro (scrim escuro reforçado) */
.hero-main.text-light .hero-title { color: #fff; }
.hero-main.text-light .hero-sub { color: rgba(255,255,255,.92); }
.hero-main.text-light .meta { color: rgba(255,255,255,.82); }
.hero-main.text-light .hero-shade {
  background: linear-gradient(0deg, rgba(7,9,13,.96) 6%, rgba(7,9,13,.64) 44%, rgba(7,9,13,.16) 82%);
}
/* foto clara → texto escuro + scrim claro */
.hero-main.text-dark .hero-shade {
  background: linear-gradient(0deg, rgba(245,248,253,.96) 8%, rgba(245,248,253,.7) 45%, rgba(245,248,253,.12) 82%);
}
.hero-main.text-dark .hero-title { color: #0e1420; text-shadow: 0 1px 2px rgba(255,255,255,.45); }
.hero-main.text-dark .hero-sub { color: #2a3140; }
.hero-main.text-dark .meta { color: #3a4150; }
/* tag com fundo sólido claro p/ destacar sobre foto clara */
.hero-main.text-dark .tag { background: rgba(255,255,255,.92); border-color: rgba(14,20,32,.16); }

.side-story {
  display: grid; grid-template-columns: 116px 1fr; gap: 14px;
  padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .25s, background .25s, transform .25s;
  align-items: stretch;
}
.side-story:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(3px); }
.side-story .media { border-radius: 9px; }
.side-story h3 { font-size: 16px; font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
.side-story:hover h3 { color: var(--blue-bright); }
/* no layout lado a lado, as 3 chamadas preenchem a altura do card grande (rodapés alinhados) */
@media (min-width: 1024px) {
  #hero-side .side-story { flex: 1; }
}

/* news grid card */
.news-card .media { aspect-ratio: 16/10; }
.news-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-card h3 { font-size: 18px; font-weight: 700; line-height: 1.16; letter-spacing: -0.015em; }
.news-card p { color: var(--ink-mute); font-size: 13.5px; line-height: 1.5; margin: 0; }

/* category filter tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-mute);
  transition: all .2s ease;
}
.tab:hover { color: var(--ink); border-color: var(--line-2); }
.tab.active { background: var(--ink); color: var(--base); border-color: var(--ink); }

/* card enter / leave for filtering */
.filtering .news-item { opacity: .0; }
.news-item { transition: opacity .35s ease, transform .35s ease; }
.news-item.hide { display: none; }

/* ============================================================
   JOGOS AO VIVO (sidebar)
   ============================================================ */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: 9px;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.match {
  padding: 15px 18px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.match:last-child { border-bottom: none; }
.match:hover { background: var(--surface-2); }
.match-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.team { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; }
.team .crest {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--surface-3); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--ink-soft);
}
.team .nm { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 17px; min-width: 22px; text-align: center; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none;
  box-shadow: 0 0 0 0 rgba(242,58,66,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242,58,66,.55); }
  70% { box-shadow: 0 0 0 8px rgba(242,58,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,58,66,0); }
}
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600;
  letter-spacing: .12em; color: var(--red-bright);
}
.team .crest img { display: block; }

/* ============================================================
   FAIXA HORIZONTAL DE JOGOS (estilo agenda)
   ============================================================ */
.scorebar { border-bottom: 1px solid var(--line); background: var(--base-2); position: relative; z-index: 20; }
.scorebar-inner { display: flex; align-items: center; gap: 10px; min-height: 86px; padding-top: 10px; padding-bottom: 10px; }
.scorebar-head { display: flex; align-items: center; gap: 8px; flex: none; padding-right: 14px; border-right: 1px solid var(--line); align-self: stretch; }
.scorebar-title {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
}
.score-nav {
  flex: none; width: 32px; height: 54px; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-soft);
  transition: background .18s, color .18s, transform .18s, opacity .25s;
}
.score-nav:hover { background: var(--surface-2); color: var(--ink); }
.score-nav:active { transform: scale(.9); }
/* oculta sem sair do layout — evita reflow/salto dos cards no fim da rolagem */
.score-nav.off { opacity: 0; pointer-events: none; }

.score-track {
  display: flex; align-items: stretch; gap: 10px; flex: 1; min-width: 0;
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.score-track::-webkit-scrollbar { display: none; }
.sc-empty { display: flex; align-items: center; color: var(--ink-mute); font-size: 13px; padding: 0 4px; }

.score-card {
  flex: 0 0 auto; width: 214px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 13px; display: flex; flex-direction: column; gap: 7px;
  transition: border-color .18s, background .18s;
}
/* entrada suave dos cards (cada um com leve atraso em cascata) */
@media (prefers-reduced-motion: no-preference) {
  .score-card { animation: sc-in .4s cubic-bezier(.22,.61,.36,1) both; }
  .score-card:nth-child(2) { animation-delay: .05s; }
  .score-card:nth-child(3) { animation-delay: .1s; }
  .score-card:nth-child(4) { animation-delay: .15s; }
  .score-card:nth-child(5) { animation-delay: .2s; }
  .score-card:nth-child(n+6) { animation-delay: .25s; }
}
@keyframes sc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.score-card:hover { border-color: var(--line-2); background: var(--surface-2); }
.score-card[data-state="live"] { border-color: rgba(242,58,66,.35); }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-comp { font-size: 11px; font-weight: 600; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58%; }
.sc-when { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: var(--ink-faint); white-space: nowrap; }
.sc-body { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-team { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; }
.sc-team.end { justify-content: flex-end; }
.sc-crest {
  width: 22px; height: 16px; flex: none; overflow: hidden; border-radius: 3px;
  display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2);
}
.sc-crest.sc-txt { font-size: 8.5px; font-weight: 800; color: var(--ink-soft); }
.sc-abbr { font-size: 13.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.sc-nums { font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; flex: none; }
.sc-nums i { color: var(--ink-faint); font-style: normal; font-size: 12px; }
.sc-vs { color: var(--ink-faint); font-weight: 700; flex: none; font-size: 14px; }
.sc-status { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: var(--ink-mute); text-align: center; }
.sc-status.live { color: var(--red-bright); display: flex; align-items: center; justify-content: center; gap: 5px; }
.sc-status.fin { color: var(--ink-faint); }

@media (max-width: 640px) {
  .scorebar-head { display: none; }
  .score-card { width: 188px; }
}

/* ============================================================
   VÍDEOS
   ============================================================ */
.video-feature { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video-feature .media { aspect-ratio: 16/9; }
.play {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
}
.play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.55);
  display: grid; place-items: center; transition: transform .25s, background .25s;
}
.card-link:hover .play-btn { transform: scale(1.1); background: var(--red); border-color: var(--red); }
.play-btn svg { margin-left: 4px; }
.dur {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600;
  background: rgba(0,0,0,.6); padding: 3px 7px; border-radius: 6px; color: #fff;
}
.video-row {
  display: grid; grid-template-columns: 132px 1fr; gap: 13px; align-items: center;
  padding: 11px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); transition: border-color .25s, background .25s, transform .25s;
}
.video-row:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(3px); }
.video-row .media { aspect-ratio: 16/10; border-radius: 8px; position: relative; }
.video-row h4 { font-size: 14.5px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  position: relative; overflow: hidden; border-radius: 24px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(59,116,232,.30), transparent 60%),
    radial-gradient(620px 320px at 100% 100%, rgba(242,58,66,.22), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--base-2));
}
/* campos de formulário (páginas públicas) */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.input, textarea.input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: 11px; padding: 12px 14px; color: var(--ink);
  font-family: inherit; font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { resize: vertical; min-height: 130px; line-height: 1.5; }
.input:focus, textarea.input:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(59,116,232,.22); }
.input::placeholder, textarea.input::placeholder { color: var(--ink-faint); }

.newsletter .field {
  display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap;
}
.newsletter input {
  flex: 1; min-width: 220px; background: rgba(0,0,0,.32); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 14px 16px; color: var(--ink); font-family: inherit; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.newsletter input:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(59,116,232,.22); }
.newsletter input::placeholder { color: var(--ink-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { border-top: 1px solid var(--line); background: var(--base-2); }
.foot-link { color: var(--ink-mute); font-size: 14px; transition: color .2s, padding-left .2s; display: inline-block; }
.foot-link:hover { color: var(--ink); padding-left: 4px; }
.foot-col h4 {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px;
}

/* assinatura KIHO */
.kiho-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  background: transparent;
  transition: background 0.2s ease;
}
.kiho-credit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}
.kiho-credit:hover::after { width: 100%; }
.kiho-credit .label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #cccccc;
  letter-spacing: 0.02em;
}
.kiho-credit .brand {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .06s; }
.reveal[data-d="2"] { transition-delay: .12s; }
.reveal[data-d="3"] { transition-delay: .18s; }
.reveal[data-d="4"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   UTILITÁRIOS DE GRID (substituem o Tailwind CDN — removido p/ performance)
   breakpoints: sm=640 md=768 lg=1024 xl=1280
   ============================================================ */
.grid { display: grid; }
.gap-5 { gap: 1.25rem; }
.gap-7 { gap: 1.75rem; }
.gap-10 { gap: 2.5rem; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-\[1\.4fr_1fr_1fr_1fr\] { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1\.7fr_1fr\] { grid-template-columns: 1.7fr 1fr; }
  .lg\:grid-cols-\[1\.45fr_1fr\] { grid-template-columns: 1.45fr 1fr; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .hero-main { min-height: 460px; }
}
@media (max-width: 920px){
  .head-nav, .nav-main, .search.desktop, .head-social { display: none !important; }
  .burger { display: grid; }
}
@media (max-width: 640px){
  /* padding-top extra evita que a tag de categoria suba sob o badge "Em Alta" flutuante */
  .hero-body { padding: 60px 24px 24px; }
  .hero-main { min-height: 400px; }
  .side-story { grid-template-columns: 92px 1fr; }
}

/* ============================================================
   TRANSIÇÃO ENTRE PÁGINAS (View Transitions) + entrada dos cards
   ============================================================ */
/* ============================================================
   FAIXA AZUL SUAVE + TEXTURA (da seção de vídeos até o rodapé)
   ============================================================ */
.blue-zone {
  position: relative;
  z-index: 1; /* fica acima do glow de fundo, pra ler como azul sólido */
  background-color: #0c1626;
  background-image:
    radial-gradient(rgba(120,160,255,.05) 1.2px, transparent 1.2px),
    radial-gradient(rgba(120,160,255,.04) 1.2px, transparent 1.2px);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
  padding-bottom: 40px; /* cushion final da faixa azul antes do rodapé */
}
html[data-theme="light"] .blue-zone {
  /* mesmo tom de azul da logo (--blue), suavizado sobre branco */
  background-color: color-mix(in srgb, var(--blue) 18%, #ffffff);
  background-image:
    radial-gradient(rgba(59,116,232,.13) 1.2px, transparent 1.2px),
    radial-gradient(rgba(59,116,232,.09) 1.2px, transparent 1.2px);
}

/* ============================================================
   BUSCA — dropdown de resultados ao vivo
   ============================================================ */
.search-pop {
  position: fixed; z-index: 90;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 6px; max-height: 72vh; overflow-y: auto;
}
.search-pop[hidden] { display: none; }
.sp-msg { padding: 16px; color: var(--ink-mute); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.sp-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; transition: background .15s; }
.sp-item:hover { background: var(--surface-2); }
.sp-item img, .sp-ph { width: 56px; height: 40px; border-radius: 7px; object-fit: cover; flex: none; }
.sp-ph { background: linear-gradient(150deg, var(--surface-3), var(--surface)); }
.sp-ph[data-tone="green"] { background: linear-gradient(150deg, #11241a, #10141d); }
.sp-ph[data-tone="red"]   { background: linear-gradient(150deg, #2a1418, #10141d); }
.sp-ph[data-tone="blue"]  { background: linear-gradient(150deg, #15233f, #10141d); }
.sp-ph[data-tone="amber"] { background: linear-gradient(150deg, #2a2110, #10141d); }
.sp-ph[data-tone="violet"]{ background: linear-gradient(150deg, #1f1830, #10141d); }
.sp-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sp-title { font-weight: 700; font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-meta { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   VÍDEOS DO YOUTUBE (cards) + POPUP DE LIVE FLUTUANTE
   ============================================================ */
.video-feature.yt-facade { aspect-ratio: 16/9; display: block; width: 100%; padding: 0; cursor: pointer; font: inherit; color: inherit; background: #000; }
.video-feature:has(> iframe) { aspect-ratio: 16/9; }
.video-feature > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-feature .yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-row.yt-facade { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
.video-row .media .yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.live-pop { position: fixed; left: 18px; bottom: 18px; z-index: 95; width: 300px; max-width: calc(100vw - 36px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; animation: live-in .3s ease; }
.live-pop.expanded { width: 460px; }
.live-pop[hidden] { display: none; }
.live-pop-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: var(--base-2); border-bottom: 1px solid var(--line); }
.live-pop-badge { display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--red-bright); }
.live-pop-acts { display: flex; gap: 5px; }
.live-pop-ic { width: 27px; height: 27px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.live-pop-ic:hover { background: var(--surface-2); color: var(--ink); }
.live-pop-video { position: relative; aspect-ratio: 16/9; background: #000; }
.live-pop-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-pop-foot { display: block; text-align: center; padding: 9px; font-size: 13px; font-weight: 700; color: var(--blue-bright); border-top: 1px solid var(--line); }
.live-pop-foot:hover { background: var(--surface-2); }
@keyframes live-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .live-pop, .live-pop.expanded { width: calc(100vw - 28px); left: 14px; bottom: 14px; } }

/* ============================================================
   SEÇÃO DE PUBLICIDADE
   ============================================================ */
.ad-divider { display: flex; align-items: center; gap: 16px; color: var(--ink-faint); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ad-divider::before, .ad-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ad-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.ad-media { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.ad-media img, .ad-media .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-title { font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.ad-desc { font-size: 13px; line-height: 1.45; color: var(--ink-mute); margin: -8px 0 0; }
.ad-card:hover .ad-title { color: var(--blue-bright); }

/* divisória vertical entre publicidades: fica no meio do gap, fora dos cards,
   fina e desaparecendo suavemente nas pontas */
#ads-grid { gap: 52px !important; }
.ad-card::after { content: ""; position: absolute; top: 6%; bottom: 6%; right: -26px; width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--line-2) 22%, var(--line-2) 78%, transparent 100%); display: none; }
@media (min-width: 640px) {
  .ad-card::after { display: block; }
  .ad-card:nth-child(2n)::after { display: none; }
  .ad-card:last-child::after { display: none; }
}
@media (min-width: 1024px) {
  .ad-card::after { display: block; }
  .ad-card:nth-child(2n)::after { display: block; }
  .ad-card:nth-child(4n)::after { display: none; }
  .ad-card:last-child::after { display: none; }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pg-out .16s ease both; }
::view-transition-new(root) { animation: pg-in .30s cubic-bezier(.22,.61,.36,1) both; }
@keyframes pg-out { to { opacity: 0; } }
@keyframes pg-in  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* cards da categoria entram em cascata conforme carregam (funciona em qualquer navegador) */
@media (prefers-reduced-motion: no-preference) {
  .news-feed .news-item { animation: cat-card-in .42s cubic-bezier(.22,.61,.36,1) both; }
  .news-feed .news-item:nth-child(2) { animation-delay: .05s; }
  .news-feed .news-item:nth-child(3) { animation-delay: .10s; }
  .news-feed .news-item:nth-child(4) { animation-delay: .15s; }
  .news-feed .news-item:nth-child(n+5) { animation-delay: .20s; }
}
@keyframes cat-card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ============================================================
   GOOGLE ADSENSE — espaços responsivos
   ============================================================ */
.adsense-unit {
  padding: 16px 0;
  text-align: center;
  min-width: 0;
}
.adsense-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.adsense-unit ins.adsbygoogle { display: block; }
.adsense-unit:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }
