/* ====================================================
   SEÇÃO CONTEÚDO — hplay.com.br
   Ancora + Roulette infinita de canais
   ==================================================== */

/* Âncora de navegação com offset do header */
.section-anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
    pointer-events: none;
}

/* ====== INTRO CONTEÚDO — design reformulado ====== */
#canais-roulette {
    position: relative;
    padding: 100px 20px 90px;
    background: #000;
    overflow: hidden;
    text-align: center;
}

#canais-roulette::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(204, 51, 255, 0.13) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 50%, rgba(56, 3, 73, 0.18) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ===== WRAPPER CENTRAL ===== */
.conteudo-intro {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

/* Badge */
.roulette-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 36px;
}

/* Linha: "+300 canais" */
.conteudo-counter {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    line-height: 1;
}

.conteudo-num {
    font-size: clamp(5rem, 14vw, 10rem);
    font-weight: 900;
    background: linear-gradient(135deg, #cc33ff 0%, #9900dd 55%, #580085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
}

.conteudo-label {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* "no seu streaming" */
.conteudo-title {
    font-size: clamp(1.3rem, 3.5vw, 2.2rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* Subtítulo */
.conteudo-sub {
    color: rgba(255, 255, 255, 0.3);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    max-width: 460px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* Pills de categorias */
.conteudo-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: center;
    padding: 0 40px 4px;
    overflow-x: visible;
    scrollbar-width: none;
}

.conteudo-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(204, 51, 255, 0.25);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    cursor: default;
}

.conteudo-pill:hover {
    background: rgba(204, 51, 255, 0.12);
    border-color: rgba(204, 51, 255, 0.6);
    color: #fff;
}

/* ====== WRAPPER DE CADA FILEIRA ====== */
.roulette-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
    margin-bottom: 14px;
}

/* Fade lateral — sumiço nas bordas */
.roulette-track-wrapper::before,
.roulette-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 200px;
    z-index: 3;
    pointer-events: none;
}

.roulette-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
}

.roulette-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000000 0%, transparent 100%);
}

/* ====== TRILHA ====== */
.roulette-track {
    display: flex;
    gap: 14px;
    width: max-content;
    position: relative;
    z-index: 1;
}

/* Pausa ao passar o mouse na fileira inteira */
.roulette-track:hover {
    animation-play-state: paused;
}

/* Direção esquerda → direita (ltr = logo original vai pra esquerda) */
.roulette-track.track-ltr {
    animation: roulette-ltr var(--duration, 40s) linear infinite;
}

/* Direção direita → esquerda */
.roulette-track.track-rtl {
    animation: roulette-rtl var(--duration, 50s) linear infinite;
}

@keyframes roulette-ltr {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes roulette-rtl {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ====== CARD DE CANAL ====== */
.canal-card {
    flex: 0 0 auto;
    width: 130px;
    height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(204, 51, 255, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    transition: background 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
    overflow: hidden;
}

.canal-card:hover {
    background: rgba(204, 51, 255, 0.1);
    border-color: rgba(204, 51, 255, 0.65);
    box-shadow: 0 0 16px rgba(204, 51, 255, 0.3),
                0 0 40px rgba(204, 51, 255, 0.1);
    transform: scale(1.1);
    z-index: 4;
    position: relative;
}

.canal-card img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.8) saturate(0.65);
    transition: filter 0.3s ease;
    display: block;
}

.canal-card:hover img {
    filter: brightness(1.05) saturate(1.2);
}

/* ====== RESPONSIVO ====== */
@media (max-width: 768px) {
    #canais-roulette {
        padding: 60px 0 70px;
    }

    .canal-card {
        width: 100px;
        height: 65px;
    }

    .canal-card img {
        max-height: 40px;
    }

    .roulette-track-wrapper::before,
    .roulette-track-wrapper::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .canal-card {
        width: 85px;
        height: 56px;
    }

    .canal-card img {
        max-height: 34px;
    }
}
