@font-face { font-family: "Anton"; src: url("/assets/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/oswald-var.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
:root { --ciano: #3DE8F2; --ciano2: #128A99; --fundo: #07070B; --painel: rgba(12,18,25,.92); --cinza: #8A94A3; --verm: #ff3b4e; }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: var(--fundo); color: #fff; font-family: "Oswald", Arial, sans-serif; font-weight: 400; overflow-x: hidden; }
body:before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(61,232,242,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(61,232,242,.05) 1px, transparent 1px);
  background-size: 32px 32px; }
body:after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 50% 0, rgba(61,232,242,.10), transparent 60%); }

/* Barra de HUD, como a tela de abertura de uma transmissão */
.hud-topo { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 8px; padding: 8px 14px;
  font-size: 11px; letter-spacing: 2px; color: var(--cinza); border-bottom: 1px solid rgba(61,232,242,.25); background: rgba(7,7,11,.85); }
.hud-topo .led { margin-right: 4px; }
#hud-live.on { color: var(--verm); font-weight: 700; }

.caixa { position: relative; z-index: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 28px 20px 44px; }
.abertura { text-align: center; }
.logo { width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--ciano); box-shadow: 0 0 24px rgba(61,232,242,.4); display: block; margin: 0 auto 12px; }
.tag { color: var(--ciano); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; }
h1 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(44px, 9vw, 76px); line-height: 1; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
h1 span { color: var(--ciano); text-shadow: 0 0 14px rgba(61,232,242,.5); }
.desc { max-width: 560px; margin: 12px auto 0; color: #c8d0da; font-size: 17px; line-height: 1.5; }

.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7ff5a0; box-shadow: 0 0 8px #7ff5a0; vertical-align: middle; }
.led-vermelho { background: var(--verm); box-shadow: 0 0 10px var(--verm); animation: pulso 1.4s ease-in-out infinite; }
@keyframes pulso { 50% { opacity: .35; } }

/* Redes sociais */
.sociais { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px auto 0; max-width: 620px; }
.soc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 4px;
  color: var(--ciano); text-decoration: none; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
  background: var(--painel); border: 1px solid rgba(61,232,242,.35); transition: border-color .2s, background .2s, transform .15s; }
.soc svg { width: 28px; height: 28px; fill: currentColor; }
.soc.sem-link { opacity: .45; pointer-events: none; }
.soc-live .led { width: 12px; height: 12px; background: #5b6774; box-shadow: none; }
.soc-live.on { color: #fff; border-color: var(--verm); background: rgba(255,59,78,.14); }
.soc-live.on .led { background: var(--verm); box-shadow: 0 0 10px var(--verm); animation: pulso 1.4s ease-in-out infinite; }

/* Painéis */
.painel { margin-top: 26px; padding: 16px; background: var(--painel); border: 1px solid rgba(61,232,242,.35);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
.painel-live { border-color: var(--verm); }
.painel-cab, .secao-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.secao-cab { margin-top: 30px; }
h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 24px; letter-spacing: 1px; text-transform: uppercase; }
.cod { color: var(--cinza); font-size: 11px; letter-spacing: 3px; white-space: nowrap; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(61,232,242,.2); overflow: hidden; }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player .play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; }
.player .play:after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(7,7,11,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233DE8F2' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/40px no-repeat;
  border: 2px solid var(--ciano); box-shadow: 0 0 18px rgba(61,232,242,.5); transition: transform .2s; }
.player .play:hover:after, .player .play:focus-visible:after { transform: scale(1.08); }
.vazio { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--cinza); letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.titulo-video { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.3; }

/* Botões: ativação, varredura e mira */
.bt { position: relative; display: block; width: 100%; margin-top: 12px; padding: 15px 12px; min-height: 48px; overflow: hidden; cursor: pointer;
  font-family: "Anton", Impact, sans-serif; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; text-align: center; text-decoration: none;
  color: var(--ciano); background: transparent; border: 2px solid var(--ciano);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .2s, color .2s, box-shadow .2s, transform .12s; }
.bt:before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); }
.bt:hover:before, .bt:focus-visible:before { animation: varredura .7s ease-out; }
@keyframes varredura { to { left: 120%; } }
.bt:hover, .bt:focus-visible { background: rgba(61,232,242,.12); box-shadow: inset 0 0 0 1px var(--ciano), 0 0 16px rgba(61,232,242,.3); outline: none; }
.bt:active { transform: scale(.98); }
.bt-principal { background: var(--ciano); color: var(--fundo); }
.bt-principal:hover, .bt-principal:focus-visible { background: #7ff3fa; color: var(--fundo); }
.bt-live { background: var(--verm); border-color: var(--verm); color: #fff; }
.bt-live:hover, .bt-live:focus-visible { background: #ff5a6b; box-shadow: 0 0 16px rgba(255,59,78,.4); }
.bt-inscrever { margin-top: 30px; }
/* Mira: cantos que se fecham sobre o elemento em foco */
.soc:after, .card:after { content: ""; position: absolute; inset: 6px; pointer-events: none; opacity: 0; transition: inset .2s, opacity .2s;
  background: linear-gradient(var(--ciano),var(--ciano)) top left/12px 2px, linear-gradient(var(--ciano),var(--ciano)) top left/2px 12px,
    linear-gradient(var(--ciano),var(--ciano)) top right/12px 2px, linear-gradient(var(--ciano),var(--ciano)) top right/2px 12px,
    linear-gradient(var(--ciano),var(--ciano)) bottom left/12px 2px, linear-gradient(var(--ciano),var(--ciano)) bottom left/2px 12px,
    linear-gradient(var(--ciano),var(--ciano)) bottom right/12px 2px, linear-gradient(var(--ciano),var(--ciano)) bottom right/2px 12px;
  background-repeat: no-repeat; }
.soc:hover:after, .soc:focus-visible:after, .card:hover:after, .card:focus-within:after { inset: 2px; opacity: 1; }
.soc:hover, .soc:focus-visible { border-color: var(--ciano); background: rgba(61,232,242,.1); outline: none; }
.soc:active { transform: scale(.97); }

/* Mais assistidos */
.grade { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--painel); border: 1px solid rgba(61,232,242,.3); padding: 10px; transition: border-color .2s; }
.card:hover { border-color: var(--ciano); }
.card .mini { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.card .mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .rank { position: absolute; top: 6px; left: 6px; padding: 2px 8px; background: var(--fundo); color: var(--ciano); font-family: "Anton", Impact, sans-serif; font-size: 16px; letter-spacing: 1px; }
.card h3 { font-size: 16px; line-height: 1.3; margin-top: 10px; flex: 1; }
.card .meta { color: var(--cinza); font-size: 13px; letter-spacing: 1px; margin-top: 6px; }
.card .bt { font-size: 16px; padding: 12px 8px; }
.card-vazio { min-height: 260px; opacity: .4; }

.aviso { margin-top: 16px; padding: 14px; border: 1px dashed var(--ciano2); font-size: 15px; line-height: 1.45; color: #c8d0da; }
.aviso .bt { font-size: 17px; }
.dica { margin-top: 10px; }
.copiado { min-height: 18px; margin-top: 10px; color: #7ff5a0; font-size: 14px; }
.rodape { margin-top: 26px; text-align: center; color: #5b6774; font-size: 12px; letter-spacing: 1px; }
[hidden] { display: none !important; }

/* Smartphone */
@media (max-width: 599px) {
  .caixa { padding: 20px 14px 36px; }
  .hud-meio { display: none; }
  .desc { font-size: 16px; }
  .sociais { grid-template-columns: repeat(2, 1fr); }
  .painel { padding: 12px; }
  h2 { font-size: 21px; }
  .cod { display: none; }
}
/* Tablet */
@media (min-width: 600px) {
  .grade { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .card h3 { font-size: 15px; }
  .bt-inscrever { max-width: 420px; margin-left: auto; margin-right: auto; }
}
/* Computador */
@media (min-width: 1000px) {
  .caixa { padding-top: 40px; }
  .painel { padding: 22px; }
  .grade { gap: 20px; }
  .card h3 { font-size: 17px; }
  .bt-principal:not(.bt-inscrever) { max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
