/* ============================================================
   PLAYNODE — design system
   ============================================================ */

/* Tipos servidos da própria origem: evita a cadeia Google Fonts
   (CSS bloqueante + dois domínios externos) antes do primeiro render.
   Apenas o subset latino, que cobre o português. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/9d1ac1cf408b/fonts/inter-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/915d738ef2ad/fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
/* O peso 700 só serve o "xPT" da marca (3 glifos), por isso vai reduzido a
   esses caracteres: 22 KB passam a 2,6 KB. Se algum dia aparecer outro texto
   a 700 nesta família, o browser usa o 600 como recurso. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/bff5e86bb26e/fonts/barlow-condensed-700-brand.woff2") format("woff2");
  unicode-range: U+0050, U+0054, U+0078;
}

:root {
  --bg: #07080c;
  --bg-2: #0a0c12;
  --panel: #0f121a;
  --panel-2: #141826;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --txt: #e9edf6;
  --muted: #8d95ab;
  --muted-2: #7b8498;
  --accent: #00f5a0;
  --accent-ink: #04140f;
  --violet: #7b5cff;
  --hot: #ff3d68;

  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .25, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
}

img, svg { display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, p, dl, dd, dt, ul { margin: 0; }

ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* texto só para leitores de ecrã: continua a fazer parte do nome acessível */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- tipo ---------- */

.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  max-width: 46ch;
}
.lede--tight { max-width: 42ch; }

/* ---------- botões ---------- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 34px -14px rgba(0, 245, 160, .8);
}
.btn--primary:hover {
  background: #4dffc0;
  border-color: #4dffc0;
}

.btn--ghost { color: var(--txt); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }

.btn--sm { padding: 9px 16px; font-size: .86rem; }

.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 12, .92);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }

.brand__mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 20px -8px rgba(0, 245, 160, .9);
}
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: cover; }

.brand__name {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.brand__name b { font-weight: 700; color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .92rem;
  font-weight: 500;
}
.nav__links a { color: var(--muted); transition: color .18s var(--ease); }
.nav__links a:hover { color: var(--txt); }
.nav__links .btn { color: var(--txt); }
.nav__links .btn:hover { color: var(--txt); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--txt);
  transition: transform .2s var(--ease);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  inset: -30% -10% auto 30%;
  height: 720px;
  background:
    radial-gradient(48% 46% at 62% 30%, rgba(0, 245, 160, .16), transparent 70%),
    radial-gradient(46% 50% at 30% 12%, rgba(123, 92, 255, .22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, .28);
  background: rgba(0, 245, 160, .07);
  font-size: .8rem;
  color: #b9f5dd;
  margin-bottom: 22px;
}
.badge strong { font-weight: 600; color: #eafff7; }

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.badge:not(.is-live) .badge__dot { background: var(--muted-2); }

.badge.is-live {
  border-color: rgba(255, 61, 104, .42);
  background: rgba(255, 61, 104, .09);
  color: #ffd3dd;
}
.badge.is-live .badge__dot {
  background: var(--hot);
  animation: pulseHot 2.2s infinite;
}

/* repetição: violeta, sem o pulso de quem está a emitir */
.badge.is-rerun {
  border-color: rgba(123, 92, 255, .45);
  background: rgba(123, 92, 255, .1);
  color: #d9d2ff;
}
.badge.is-rerun .badge__dot {
  background: var(--violet);
  animation: none;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 245, 160, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(0, 245, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 245, 160, 0); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.9rem, 6.4vw, 5.1rem);
  line-height: .94;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hl {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .07em;
  height: 6px;
  background: var(--accent);
  opacity: .18;
  border-radius: 2px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero__stats dd {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
}

/* ---------- feature card ---------- */

.feature {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 24, 38, .9), rgba(10, 12, 18, .96));
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}

.feature__art {
  position: relative;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(123, 92, 255, .55), transparent 60%),
    radial-gradient(80% 110% at 85% 20%, rgba(0, 245, 160, .42), transparent 62%),
    linear-gradient(160deg, #161a2b, #0a0d16);
}

.feature__grid {
  position: absolute;
  inset: -40% -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(420px) rotateX(58deg);
  opacity: .6;
}

.feature__orb {
  position: absolute;
  width: 180px;
  height: 180px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent), var(--violet), var(--hot), var(--accent));
  filter: blur(26px);
  opacity: .5;
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-10px, 0, 0) scale(1); }
  to   { transform: translate3d(18px, -14px, 0) scale(1.12); }
}

.feature__body { padding: 22px 24px 26px; }

.feature__label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.feature__body h2 {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.feature__meta {
  color: var(--muted-2);
  font-size: .82rem;
  margin-top: 6px;
}

.feature__text {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 14px;
}

.progress {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
  margin: 18px 0 20px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #9dffdd);
}

.feature__play {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px 11px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.feature__play[hidden] { display: none; }

.feature__play:hover {
  background: rgba(0, 245, 160, .12);
  border-color: rgba(0, 245, 160, .5);
  transform: translateY(-1px);
}

.play-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex: none;
}
.play-ico::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  border-left: 8px solid var(--accent-ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ---------- secções ---------- */

.section {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
}
.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 65%);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.section__note {
  color: var(--muted-2);
  font-size: .86rem;
  max-width: 30ch;
  text-align: right;
}

/* ---------- filtros ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.chip:hover { color: var(--txt); border-color: var(--line-strong); }
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

/* ---------- grelha de cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 160, .38);
  box-shadow: 0 30px 60px -40px rgba(0, 245, 160, .55);
}
.card.is-hidden { display: none; }

.card__hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.card__art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #12151f;
}
.card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(7, 8, 12, .75)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 9px);
  mix-blend-mode: normal;
}

.art--1 { background: radial-gradient(90% 100% at 20% 10%, rgba(0, 245, 160, .55), transparent 60%), radial-gradient(80% 90% at 90% 90%, rgba(123, 92, 255, .55), transparent 65%), #10141f; }
.art--2 { background: radial-gradient(80% 90% at 70% 15%, rgba(255, 61, 104, .48), transparent 60%), radial-gradient(90% 90% at 10% 95%, rgba(255, 176, 61, .4), transparent 62%), #17121a; }
.art--3 { background: radial-gradient(85% 95% at 30% 85%, rgba(0, 200, 255, .45), transparent 60%), radial-gradient(75% 85% at 85% 10%, rgba(123, 92, 255, .5), transparent 62%), #0d1420; }
.art--4 { background: radial-gradient(90% 100% at 80% 80%, rgba(0, 245, 160, .38), transparent 60%), radial-gradient(70% 80% at 15% 15%, rgba(255, 61, 104, .42), transparent 62%), #14131c; }
.art--5 { background: radial-gradient(85% 90% at 50% 0%, rgba(230, 240, 255, .3), transparent 58%), radial-gradient(80% 90% at 80% 95%, rgba(123, 92, 255, .45), transparent 60%), #10121b; }
.art--6 { background: radial-gradient(85% 95% at 20% 20%, rgba(0, 200, 255, .45), transparent 62%), radial-gradient(90% 90% at 85% 90%, rgba(0, 245, 160, .45), transparent 62%), #0b1219; }
.art--feature { background: radial-gradient(90% 100% at 20% 0%, rgba(123, 92, 255, .55), transparent 60%), radial-gradient(80% 100% at 90% 20%, rgba(0, 245, 160, .45), transparent 62%), #111525; }

.card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__thumb { transform: scale(1.04); }

.card__kicker {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(7, 8, 12, .6);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card__dur {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(7, 8, 12, .78);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: #dfe5f2;
}

.card__type {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(7, 8, 12, .62);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cfd6e6;
}
.card__type--highlight { border-color: rgba(123, 92, 255, .6); color: #c9bdff; }
.card__type--upload { border-color: rgba(0, 245, 160, .5); color: #a6f7dc; }
.card__type--live { border-color: rgba(255, 61, 104, .65); color: #ffc4d2; }
.card__type--rerun { border-color: rgba(123, 92, 255, .6); color: #cfc4ff; }
.card__type--clip { border-color: rgba(255, 199, 87, .6); color: #ffe2a8; }

.card--live { border-color: rgba(255, 61, 104, .38); }
.card--live:hover {
  border-color: rgba(255, 61, 104, .6);
  box-shadow: 0 30px 60px -40px rgba(255, 61, 104, .5);
}

.card--rerun { border-color: rgba(123, 92, 255, .38); }
.card--rerun:hover {
  border-color: rgba(123, 92, 255, .62);
  box-shadow: 0 30px 60px -40px rgba(123, 92, 255, .5);
}

.card__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(7, 8, 12, .55);
  border: 1px solid rgba(255, 255, 255, .42);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.card__play::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 17px;
  border-left: 12px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.card:hover .card__play,
.card__hit:focus-visible .card__play { opacity: 1; transform: scale(1); }

/* O cartão recorta o conteúdo (overflow: hidden), por isso o anel de foco
   desenhado por fora desaparecia. Fica por dentro. */
.card__hit:focus-visible { outline-offset: -3px; }

.card__body { display: block; padding: 15px 16px 17px; }

.card__title {
  display: block;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.3;
  letter-spacing: -.005em;
}

.card__meta {
  display: block;
  color: var(--muted-2);
  font-size: .8rem;
  margin-top: 6px;
}

.card--skeleton .card__art {
  background: linear-gradient(100deg, #12151f 25%, #1b2030 45%, #12151f 65%);
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}
.card--skeleton .card__art::after { display: none; }

.skeleton-line {
  display: block;
  height: 12px;
  width: 85%;
  border-radius: 6px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .13) 45%, rgba(255, 255, 255, .06) 60%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}
.skeleton-line--short { width: 55%; margin-top: 10px; }

/* as listas que esperam pela Twitch respiram em vez de ficarem vazias */
.bar--skeleton .bar__label,
.bar--skeleton .bar__value {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
}
.bar--skeleton .bar__value { width: 32px; }
.bar--skeleton .bar__track { background: rgba(255, 255, 255, .05); }
.bar--skeleton .bar__track::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .18) 45%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.sched__row--skeleton span {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
}
.sched__row--skeleton .sched__day { width: 52px; }
.sched__row--skeleton .sched__main { width: 70%; }
.sched__row--skeleton .tag { width: 46px; }

@keyframes shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -120% 0; }
}

.empty {
  color: var(--muted);
  font-size: .92rem;
  padding: 26px 0;
}
.empty[hidden] { display: none; }

/* "Ver mais": revela o resto do arquivo sem recarregar a página */
.more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.more:empty { margin-top: 0; }
.more .btn[hidden] { display: none; }

/* ---------- números ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.stat {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.stat__value {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--txt);
}
.stat__label {
  color: var(--muted-2);
  font-size: .82rem;
  margin-top: 8px;
}

.bars { display: grid; gap: 14px; max-width: 760px; }

.bar {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
  font-size: .86rem;
}
.bar__label {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar__track {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(0, 245, 160, .75), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .9s var(--ease);
}
.bars.is-in .bar__fill { transform: scaleX(1); }
.bar__value {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- agenda ---------- */

.sched { display: grid; gap: 10px; }

.sched__row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.sched__row:hover {
  border-color: rgba(0, 245, 160, .34);
  background: var(--panel-2);
  transform: translateX(3px);
}
.sched__row--soft { background: rgba(255, 255, 255, .015); }

.sched__day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}
.sched__day b {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.sched__day small {
  color: var(--muted-2);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
}

.sched__main { display: grid; gap: 3px; }
.sched__title { font-weight: 600; font-size: .98rem; }
.sched__sub { color: var(--muted-2); font-size: .82rem; }

.tag {
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(0, 245, 160, .3);
  background: rgba(0, 245, 160, .09);
  color: #a6f7dc;
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag--soft {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

/* ---------- CTA / formulário ---------- */

.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.cta .lede { margin-top: 16px; }

.cta__side {
  display: grid;
  gap: 14px;
  justify-items: start;
  align-content: center;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 24, 38, .8), rgba(10, 12, 18, .9));
}

.cta__note {
  color: var(--muted-2);
  font-size: .84rem;
  max-width: 34ch;
}

.form {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 24, 38, .8), rgba(10, 12, 18, .9));
}

.form__label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.form__row { display: flex; gap: 10px; }

.form__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .35);
  color: var(--txt);
  font: inherit;
  font-size: .95rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.form__input::placeholder { color: var(--muted-2); }
.form__input:focus {
  outline: none;
  border-color: rgba(0, 245, 160, .6);
  background: rgba(0, 0, 0, .5);
}
.form__input[aria-invalid="true"] { border-color: var(--hot); }

.form__msg {
  color: var(--muted-2);
  font-size: .82rem;
  margin-top: 12px;
}
.form__msg.is-ok { color: var(--accent); }
.form__msg.is-err { color: #ff7d96; }

/* ---------- rodapé ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  background: var(--bg-2);
}

/* ---------- apoiar o canal (por baixo do player) ---------- */

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(0, 245, 160, .07), transparent 58%),
    var(--panel);
}
.support[hidden] { display: none; }

.support__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.support__text .eyebrow { margin: 0; }

.support__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support__links .btn {
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
}

.support__links .btn small {
  font-size: .72rem;
  font-weight: 500;
  opacity: .7;
}

@media (max-width: 620px) {
  .support { padding: 14px 16px; }
  .support__text { font-size: .86rem; }
  .support__links { width: 100%; }
  .support__links .btn { flex: 1 1 140px; }
}

/* ---------- publicidade ---------- */

.section--ads {
  padding: 10px 0 0;
}

.ads__label {
  margin: 0 0 8px;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.ad-slot {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, .09);
  border-radius: 14px;
  overflow: hidden;
}

/* sem anúncio preenchido, a caixa não deve deixar um buraco */
.ad-slot:empty {
  display: none;
}

/* ---------- afiliados ---------- */

.affiliate {
  padding-bottom: 26px;
}

.affiliate__label {
  margin: 0 0 10px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.affiliate__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.affiliate__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--txt);
  font-size: .84rem;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.affiliate__links a:hover {
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}

.affiliate__links small {
  color: var(--muted-2);
  font-size: .72rem;
}

.affiliate__note {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--muted-2);
  font-size: .72rem;
  line-height: 1.5;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand p {
  color: var(--muted-2);
  font-size: .84rem;
  margin-top: 8px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .88rem;
  color: var(--muted);
}
.footer__links a:hover { color: var(--txt); }

.footer__legal {
  width: 100%;
  color: var(--muted-2);
  font-size: .78rem;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* ---------- direto na Twitch ---------- */

.section--live { background: linear-gradient(180deg, rgba(145, 70, 255, .06), transparent 60%); }

.live {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
  gap: 18px;
  align-items: stretch;
}
.live[hidden] { display: none; }

.live__player {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.live__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0d14;
}
.embed-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--muted-2);
  font-size: .84rem;
}

.live__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 16px 0;
}
.live__meta[hidden] { display: none; }

.live__pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 61, 104, .42);
  background: rgba(255, 61, 104, .14);
  color: #ffc4d2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live__pill.is-offline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

/* repetição: violeta para não se confundir com uma emissão nova */
.live__pill.is-rerun {
  border-color: rgba(123, 92, 255, .55);
  background: rgba(123, 92, 255, .16);
  color: #d3c9ff;
}

.live__title {
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
}

.live__who.is-offline .live__dot {
  background: var(--muted-2);
  animation: none;
}

.live__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.live__who {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--muted);
}

.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
  animation: pulseHot 2.2s infinite;
}

@keyframes pulseHot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 61, 104, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 61, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 104, 0); }
}

.live__chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.live__chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.live__chat-frame {
  position: relative;
  flex: 1;
  min-height: 420px;
  background: #0b0d14;
}
.live__chat-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.setup {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 245, 160, .34);
  background: rgba(0, 245, 160, .05);
  max-width: 720px;
}
.setup[hidden] { display: none; }
.setup__title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 8px;
}
.setup p { color: var(--muted); font-size: .92rem; }
.setup code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .84rem;
  color: #b6ffe8;
  background: rgba(0, 0, 0, .35);
  padding: 2px 5px;
  border-radius: 5px;
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 9, .78);
  backdrop-filter: blur(6px);
  animation: fade .2s var(--ease);
}

.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9);
  animation: rise .26s var(--ease);
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(7, 8, 12, .6);
  cursor: pointer;
  transition: background .18s var(--ease);
}
.modal__close:hover { background: rgba(255, 255, 255, .14); }

.modal__art {
  position: relative;
  height: 240px;
  background: radial-gradient(80% 100% at 20% 0%, rgba(123, 92, 255, .5), transparent 62%), radial-gradient(80% 100% at 85% 90%, rgba(0, 245, 160, .45), transparent 62%), #10141f;
}
.modal__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 18, 26, .92));
}
.modal__art.is-player {
  height: auto;
  aspect-ratio: 16 / 9;
}
.modal__art.is-player::after { display: none; }
.modal__art iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Moldura do clip atrás do player: evita o retângulo vazio enquanto a
   Twitch pinta o embed (ou quando o browser bloqueia cookies de terceiros). */
.modal__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.modal__art .embed-wait {
  z-index: 1;
  place-items: end center;
  padding-bottom: 16px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .85);
}

.modal__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(7, 8, 12, .45);
  backdrop-filter: blur(6px);
}
.modal__play::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  border-left: 14px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.modal__body { padding: 20px 26px 28px; }

.modal__body h3 {
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 6px;
}

.modal__meta { color: var(--muted-2); font-size: .84rem; margin-top: 6px; }
.modal__desc { color: var(--muted); font-size: .93rem; margin-top: 14px; }

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsivo ---------- */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .feature { max-width: 620px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__inner { grid-template-columns: 1fr; }
  .live { grid-template-columns: 1fr; }
  .live__chat-frame { min-height: 380px; }
}

@media (max-width: 860px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 24px 20px;
    background: rgba(8, 9, 14, .98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  /* 12px em vez de 11px: o alvo passa de 23 para 25 px, acima do minimo
     de 24 px da WCAG 2.2 (2.5.8) sem mexer no aspeto. */
  .nav__links a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .nav__links .btn { margin-top: 10px; }

  .section__note { text-align: left; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .grid { grid-template-columns: 1fr; }
  .sched__row { grid-template-columns: 66px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .sched__row .tag { display: none; }
  .sched__day { padding-right: 10px; }
  .bar { grid-template-columns: 105px minmax(0, 1fr) 42px; gap: 10px; font-size: .8rem; }
  .form { padding: 20px; }
  .form__row { flex-direction: column; }
  .form__row .btn { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .live__frame { aspect-ratio: 4 / 3; }
  .live__chat-frame { min-height: 340px; }
  .live__bar { padding: 12px; }
  .setup { padding: 20px; }
  .modal { padding: 12px; }
  .modal__art { height: 180px; }
  .modal__body { padding: 18px 20px 24px; }
  .footer__legal { padding-top: 20px; }
}

/* ---------- animações ---------- */

@keyframes pageIn {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes wipeIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.99); }
  to   { opacity: 1; transform: none; }
}

/* a página entra de leve; só opacidade e um deslocamento curto */
main { animation: pageIn .45s var(--ease) both; }

/* o sublinhado do título desenha-se uma vez, depois de a página aparecer */
.hl::after { transform-origin: left center; animation: wipeIn .7s .3s var(--ease) both; }

/* sublinhado do menu cresce da esquerda */
.nav__links a { position: relative; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after,
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }

/* os botões cedem ao toque */
.btn { transition: transform .16s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn:active, .linkish:active { transform: scale(.97); }

/* cartões entram em série; --i vem do JS e é limitado a 8 para não arrastar */
.grid > *,
.sched__row,
.clip,
.gear__list > li {
  animation: cardIn .5s var(--ease) both;
  animation-delay: calc(min(var(--i, 0), 8) * 60ms);
}

/* progresso de leitura */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--violet), var(--hot));
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  pointer-events: none;
}

/* barra que cresce por baixo dos títulos de secção */
.h2 { position: relative; }
.h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.42em;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--ease);
}
.h2.is-in::after { transform: scaleX(1); }
/* títulos que não dependem do reveal desenham a barra ao carregar */
.h2:not([data-reveal])::after { animation: wipeIn .6s .3s var(--ease) both; }

/* brilho que varre a imagem do cartão quando o rato passa */
@keyframes sweep {
  from { transform: translateX(-160%) skewX(-18deg); }
  to   { transform: translateX(320%) skewX(-18deg); }
}
.card__art::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}
.card:hover .card__art::before { animation: sweep .85s var(--ease); }

/* anel que sai do ponto do badge em direto */
@keyframes ringOut {
  from { transform: scale(1); opacity: .75; }
  to   { transform: scale(2.8); opacity: 0; }
}
.badge.is-live .badge__dot { position: relative; }
.badge.is-live .badge__dot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  animation: ringOut 1.9s ease-out infinite;
}

/* caixas dos números respondem ao rato */
.stat {
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}
.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 160, .3);
  background: var(--panel-2);
}

/* o símbolo da marca inclina-se */
.brand__mark { transition: transform .3s var(--ease); }
.brand:hover .brand__mark,
.brand:focus-visible .brand__mark { transform: rotate(-8deg) scale(1.06); }

/* valor que acaba de chegar pisca em vez de aparecer de repente */
@keyframes flashIn {
  from { opacity: .25; transform: translate3d(0, 5px, 0); }
  to   { opacity: 1; transform: none; }
}
.flash { animation: flashIn .45s var(--ease); }

/* ---------- camada alegre: movimento contínuo e resposta ao rato ----------
   Tudo com as propriedades translate/scale/rotate, e não com transform: as de
   entrada (cardIn, pageIn) usam transform com fill-mode both e ficariam a
   ganhar-lhes. Assim as duas convivem e o compositor trata de ambas.
   ------------------------------------------------------------------ */

/* o brilho do herói respira devagar */
.hero__glow { animation: glowDrift 16s ease-in-out infinite alternate; }
@keyframes glowDrift {
  from { translate: 0 0; scale: 1; }
  to   { translate: -3% 2%; scale: 1.06; }
}

/* o cartão em destaque flutua uns pixels */
.feature { animation: floatSoft 9s ease-in-out infinite alternate; }
@keyframes floatSoft {
  from { translate: 0 0; }
  to   { translate: 0 -7px; }
}

/* brilho que atravessa o botão principal ao passar o rato */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  translate: -140% 0;
  rotate: 12deg;
  pointer-events: none;
}
.btn--primary:hover::after,
.btn--primary:focus-visible::after { animation: btnShine .75s var(--ease); }
@keyframes btnShine {
  from { translate: -140% 0; }
  to   { translate: 320% 0; }
}

/* cartões e chips respondem com um toque elástico */
.card { transition: translate .28s var(--ease), rotate .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease); }
.card:hover,
.card:focus-within { translate: 0 -6px; rotate: -.4deg; }

.chip { transition: translate .2s var(--ease), scale .2s var(--ease), color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.chip:hover { translate: 0 -1px; scale: 1.04; }
.chip:active { translate: 0 0; scale: .95; }

/* a barra de progresso ganha vida própria */
.scroll-bar {
  background-size: 200% 100%;
  animation: barFlow 4s linear infinite;
}
@keyframes barFlow {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}

/* o número assenta quando a contagem acaba (classe posta pelo app.js) */
@keyframes countPop {
  0%   { scale: 1; }
  45%  { scale: 1.1; }
  100% { scale: 1; }
}
.pop { animation: countPop .45s var(--ease); }

/* ---------- alertas ao vivo: follow, sub, bits, doação ---------- */

.alerts {
  position: fixed;
  z-index: 70;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  max-width: min(92vw, 380px);
  pointer-events: none;
}

.alert {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, .45);
  background: rgba(9, 12, 18, .93);
  box-shadow: 0 22px 60px -28px rgba(0, 245, 160, .75);
  color: #eafff7;
  font-size: .9rem;
  font-weight: 600;
  animation: alertIn .5s var(--ease) both;
}
.alert.is-out { animation: alertOut .3s var(--ease) forwards; }

@keyframes alertIn {
  from { opacity: 0; translate: 0 16px; scale: .92; }
  to   { opacity: 1; translate: 0 0;    scale: 1; }
}
@keyframes alertOut {
  to { opacity: 0; translate: 0 -10px; scale: .96; }
}

.alert__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 245, 160, .16);
}
.alert__icon::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.alert--sub { border-color: rgba(123, 92, 255, .5); box-shadow: 0 22px 60px -28px rgba(123, 92, 255, .8); }
.alert--sub .alert__icon { background: rgba(123, 92, 255, .18); }
.alert--sub .alert__icon::after { background: var(--violet); }

.alert--bits,
.alert--donation { border-color: rgba(255, 199, 87, .55); box-shadow: 0 22px 60px -28px rgba(255, 199, 87, .75); }
.alert--bits .alert__icon,
.alert--donation .alert__icon { background: rgba(255, 199, 87, .16); }
.alert--bits .alert__icon::after,
.alert--donation .alert__icon::after { background: #ffc757; }

.alert--raid { border-color: rgba(255, 61, 104, .55); box-shadow: 0 22px 60px -28px rgba(255, 61, 104, .7); }
.alert--raid .alert__icon { background: rgba(255, 61, 104, .16); }
.alert--raid .alert__icon::after { background: var(--hot); }

/* partículas: o JS manda --x/--y já rodados, para não depender de trig no CSS */
.alert__burst { position: absolute; left: 28px; top: 50%; width: 0; height: 0; }
.alert__burst i {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: var(--accent);
  translate: 0 0;
  opacity: .95;
  animation: burstOut .95s var(--ease) forwards;
}
.alert__burst i:nth-child(3n) { background: var(--violet); }
.alert__burst i:nth-child(3n+2) { background: #ffc757; }

@keyframes burstOut {
  0%   { translate: 0 0; opacity: .95; scale: 1; }
  100% { translate: var(--x) var(--y); opacity: 0; scale: .35; }
}

/* raid e doações grandes: um momento de ecrã inteiro */

.alert-stage {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  background: radial-gradient(70% 60% at 50% 45%, rgba(9, 12, 18, .72), rgba(5, 6, 10, .88));
  backdrop-filter: blur(3px);
  animation: stageIn .3s var(--ease) both;
  cursor: pointer;
}
.alert-stage.is-out { animation: stageOut .3s var(--ease) forwards; }

@keyframes stageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes stageOut { to { opacity: 0; } }

.alert-stage__card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8px 24px;
  animation: stageCard .55s var(--ease) both;
}
@keyframes stageCard {
  from { opacity: 0; translate: 0 18px; scale: .9; }
  to   { opacity: 1; translate: 0 0;   scale: 1; }
}

.alert-stage__kicker {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.alert-stage--raid .alert-stage__kicker { color: var(--hot); }
.alert-stage--donation .alert-stage__kicker { color: #ffc757; }

.alert-stage__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 10px 0 8px;
}

.alert-stage__sub {
  color: var(--muted);
  font-size: clamp(.95rem, 2vw, 1.15rem);
}

.alert-stage__burst {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
}
.alert-stage__burst i {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .95;
  animation: confetti 1.5s var(--ease) var(--d, 0ms) forwards;
}
.alert-stage__burst i:nth-child(3n) { background: var(--violet); }
.alert-stage__burst i:nth-child(3n+2) { background: #ffc757; }

@keyframes confetti {
  0%   { translate: 0 0; rotate: 0deg; opacity: .95; }
  100% { translate: var(--x) var(--y); rotate: var(--r, 180deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  main,
  .hl::after,
  .grid > *,
  .sched__row,
  .clip,
  .gear__list > li {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .scroll-bar { display: none; }
  .card__art::before,
  .badge__dot::after,
  .bar--skeleton .bar__track::after { display: none; }
  .skeleton-line { animation: none; }
  .h2::after { transform: scaleX(1); }
  .stat:hover,
  .brand:hover .brand__mark,
  .brand:focus-visible .brand__mark { transform: none; }
  .flash,
  .pop,
  .alert,
  .alert.is-out,
  .alert__burst i,
  .alert-stage,
  .alert-stage__card,
  .alert-stage__burst i { animation: none; }
  .hero__glow,
  .feature,
  .scroll-bar { animation: none; }
  .btn--primary::after { display: none; }
  .card:hover,
  .card:focus-within,
  .chip:hover { translate: none; rotate: none; scale: none; }
}
/* ============================================================
   Revisão de acabamento — novembro de 2026 (revisão 2)
   Camada por cima do sistema existente: tipografia, superfícies,
   foco e estados de interação. Só transform/opacity/cores.
   ============================================================ */

::selection { background: rgba(0, 245, 160, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 40% at 50% -10%, rgba(0, 245, 160, .12), transparent 70%),
    radial-gradient(38% 28% at 92% 6%, rgba(123, 92, 255, .11), transparent 72%);
}

/* ---- navegação ---- */
.nav {
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 8, 12, .9);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, .9);
}

/* ---- tipo ---- */
.section { scroll-margin-top: 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 245, 160, .12);
}

.h2 { letter-spacing: -.02em; text-wrap: balance; }
.lede, .section__note { text-wrap: pretty; }

.hero h1 { letter-spacing: -.026em; text-wrap: balance; }
.hero h1 .hl {
  background: linear-gradient(100deg, #00f5a0 10%, #7b5cff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .hl::after {
  background: linear-gradient(90deg, rgba(0, 245, 160, .5), rgba(123, 92, 255, .35));
}

.badge {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  padding: 6px 13px;
  border-radius: 999px;
}

/* ---- superfícies ---- */
.section__head {
  align-items: flex-end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section__note { color: var(--muted-2); max-width: 46ch; }

.stat,
.feature,
.live__player,
.live__chat,
.cta__inner {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border-color: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 70px -55px rgba(0, 0, 0, .95);
}
.stat,
.feature {
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.stat__value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.chip {
  transition: transform .2s var(--ease), background .2s var(--ease),
    border-color .2s var(--ease), color .2s var(--ease);
}
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px -16px rgba(0, 245, 160, .9);
}

.sched li {
  border-radius: 14px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--ghost { background: rgba(255, 255, 255, .03); }

/* ---- rodapé ---- */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 60%);
}
.footer__links { gap: 12px 24px; }
.footer__links a { transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }

/* ---- hovers: só com rato, para o toque não ficar preso ---- */
@media (hover: hover) {
  .stat:hover,
  .feature:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 245, 160, .28);
    box-shadow: 0 30px 70px -46px rgba(0, 245, 160, .55);
  }
  .chip:hover { transform: translateY(-1px); }
  .sched li:hover { background: rgba(255, 255, 255, .04); transform: translateX(2px); }
  .btn--ghost:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px -30px rgba(0, 245, 160, .5);
  }
  .footer__links a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 245, 160, .45);
  }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .section__head { align-items: flex-start; }
  .section__note { text-align: left; max-width: 40ch; }
}

@media (prefers-reduced-motion: reduce) {
  .stat, .feature, .chip, .sched li, .btn, .footer__links a { transition: none; }
  .stat:hover, .feature:hover, .chip:hover, .sched li:hover { transform: none; }
}

/* ============================================================
   Partilha e barra de direto — novembro de 2026
   ============================================================ */

.card--share { display: flex; flex-direction: column; }
.card--share .card__hit { flex: 1 1 auto; }

.card__share {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px 12px auto;
  padding: 5px 11px;
  font: inherit;
  font-size: .74rem;
  color: var(--muted-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.card__share[data-done="1"] {
  color: #04140f;
  background: var(--accent);
  border-color: var(--accent);
}

.share-site { margin-top: 10px; }

.livebar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, .38);
  background: rgba(9, 12, 18, .92);
  color: var(--txt);
  font-size: .86rem;
  text-decoration: none;
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 22px 50px -28px rgba(0, 0, 0, .95);
  animation: livebar-in .35s ease both;
}
.livebar[hidden] { display: none; }
.livebar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 245, 160, .16);
}
.livebar__text { font-weight: 600; }
.livebar__cta { color: var(--accent); }
.livebar.is-rerun { border-color: rgba(123, 92, 255, .42); }
.livebar.is-rerun .livebar__dot { background: #7b5cff; box-shadow: 0 0 0 4px rgba(123, 92, 255, .18); }
.livebar.is-rerun .livebar__cta { color: #b7a8ff; }

@keyframes livebar-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: none; }
}

@media (hover: hover) {
  .card__share:hover {
    color: var(--txt);
    border-color: rgba(0, 245, 160, .45);
    background: rgba(0, 245, 160, .08);
  }
  .card__share[data-done="1"]:hover { color: #04140f; background: var(--accent); }
  .livebar:hover { border-color: rgba(0, 245, 160, .6); }
}

@media (max-width: 560px) {
  .livebar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .livebar { animation: none; }
  .card__share { transition: none; }
}

/* ============================================================
   Sem JavaScript — novembro de 2026
   ============================================================ */

.noscript {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, .09));
  background: rgba(0, 245, 160, .07);
  color: var(--txt, #e9edf6);
  font-size: .88rem;
  text-align: center;
}
.noscript a { color: var(--accent, #00f5a0); }
