/*
 * Home (views/home/page.php). O header.php inclui este arquivo sozinho nesta página, depois do pages.css e das cores
 * do admin (mesma posição do antigo <style> da view).
 */

/* Destaque do Crash (no lugar do "Aviator ao vivo" do novo): só dados reais, sem iframe */
.home-page-shell .xb-crash-live__icon { color: var(--color-primary, #06e05b); display: block; }
.home-page-shell .xb-crash-live h2 a { color: inherit; text-decoration: none; }
.home-page-shell .xb-crash-live__display {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 16px; text-align: center; color: #fff; text-decoration: none;
    background:
        radial-gradient(120% 90% at 50% 110%, rgb(var(--theme-primary-rgb, 6 224 91) / .22), transparent 62%),
        linear-gradient(180deg, #06140f 0%, #020304 100%);
}
.home-page-shell .xb-crash-live__curve {
    position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%;
    color: var(--color-primary, #06e05b); opacity: .55; pointer-events: none;
}
.home-page-shell .xb-crash-live__label,
.home-page-shell .xb-crash-live__value,
.home-page-shell .xb-crash-live__display .cass-aviator-live__cta { position: relative; z-index: 1; }
.home-page-shell .xb-crash-live__label {
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .72);
}
.home-page-shell .xb-crash-live__value {
    font-size: clamp(46px, 6vw, 86px); font-weight: 900; line-height: 1; letter-spacing: -.02em;
    font-variant-numeric: tabular-nums; text-shadow: 0 8px 28px rgb(0 0 0 / .55);
}
.home-page-shell .xb-crash-live__value--title { font-size: clamp(34px, 4.6vw, 64px); text-transform: uppercase; }
.home-page-shell .xb-crash-live__display:hover .cass-aviator-live__cta { filter: brightness(1.08); }
@media (max-width: 680px) {
    /* o novo alinha à direita e corta à esquerda; aqui o 1º valor é o mais recente, então corta o mais antigo */
    .home-page-shell .xb-crash-live .cass-aviator-live__last-list { justify-content: flex-start; }
    .home-page-shell .xb-crash-live__display { gap: 6px; }
    .home-page-shell .xb-crash-live__display .cass-aviator-live__cta { min-width: 128px; height: 36px; font-size: 12px; }
}
/* Pílula de provedor sem logo: nome em texto */
.home-page-shell .xb-provider-pill-text {
    max-width: 88%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}

/* Ícone das fileiras (jogos, torneios e missões): o brilho no desktop segue a cor do admin
   (antes era um verde fixo numa classe compilada do Tailwind) */
@media (min-width: 1024px) {
    .home-page-shell .xb-section-icon {
        filter: drop-shadow(0 0 6px rgb(var(--theme-primary-rgb, 6 224 91) / .55)) drop-shadow(0 0 2px rgb(var(--theme-primary-rgb, 6 224 91) / .9));
    }
}
