/* hero-streaming.css - Novo Hero Combo (V16 - ULTRA FORCE Green) */

:root {
    --hero-h-height: 600px;
    --c-max: #5412ba;
    --c-disney: #0063e5;
    --c-prime: #00a8e1;
    --c-orange: #ff4d1d;
    --c-cyan: #00e6c3;
    --c-tech-green: #39ff14; /* Verde Neon Vibrante */
}

.hero-streaming-section {
    position: relative;
    min-height: var(--hero-h-height);
    overflow: hidden;
    background-color: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    width: 100%;
}

/* BACKGROUNDS */
.hero-bg-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.6s ease-in-out; z-index: 1;
}
.hero-bg-layer.active { opacity: 1; }

#bg-default {
    background-color: #050b14;
    /* Imagem da Família com Overlay Escuro para Leitura */
    background-image: 
        linear-gradient(180deg, rgba(5, 11, 20, 0.6) 0%, rgba(5, 11, 20, 0.4) 50%, #050b14 100%),
        url('../../../img/hero/streaming_bg/defaul.jpeg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#bg-max { background: url('../../../img/hero/streaming_bg/bg-max.jpeg') no-repeat center center/cover; }
#bg-disney { background: url('../../../img/hero/streaming_bg/bg-disney.jpeg') no-repeat center center/cover; }
#bg-prime { background: url('../../../img/hero/streaming_bg/bg-prime.jpeg') no-repeat center center/cover; }

/* TEXTO & TITULOS */
.hero-title {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.text-gradient-hero {
    /* Gradiente Vibrante Bonitão (Laranja -> Ciano) */
    background: linear-gradient(90deg, #ff4d1d 0%, #00e6c3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff; /* Fallback */
    font-weight: 800;
    display: inline-block; /* Garante renderização correta do gradiente */
    
    /* Ajuste para títulos longos (ex: Combo Disney ...) */
    font-size: 2.5rem; /* Tamanho base ajustado para caber melhor */
    line-height: 1.2;
}

/* Ajuste responsivo para telas maiores onde pode ser maior */
@media (min-width: 1200px) {
    .text-gradient-hero {
        font-size: 3rem;
    }
}

/* Ajuste para evitar quebra em telas médias */
@media (max-width: 1199px) {
    .text-gradient-hero {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .text-gradient-hero {
        font-size: 1.8rem;
    }
}

.text-light-80 { color: rgba(255,255,255,0.9); font-weight: 500; }
.text-cyan { color: var(--c-cyan) !important; text-shadow: 0 0 5px rgba(0, 230, 195, 0.4); }
.text-orange { color: var(--c-orange) !important; }

/* Ajuste de Legibilidade do termo /mês */
.price-display .term {
    color: rgba(255, 255, 255, 0.9) !important; /* Quase branco total */
    font-weight: 700 !important; /* Mais gordo */
    text-shadow: 0 1px 2px rgba(0,0,0,0.8); /* Sombra para contraste */
    opacity: 1 !important;
}

/* --- NOVA CLASSE ÚNICA: btn-speed-ultra (Laranja Gamer Tech) --- */
/* Usando !important e seletores de alta especificidade para vencer o global-dark-theme.css */

.speed-buttons-container {
    display: flex; gap: 5px;
    background: transparent;
    padding: 0;
    width: 100%; max-width: 450px;
}

/* Regra base e Override do Dark Mode Global (COM ULTRA ESPECIFICIDADE) */
.btn-speed-ultra,
body.dark-theme .btn-speed-ultra,
body.dark-theme section#hero-streaming .btn-speed-ultra {
    flex: 1;
    background: rgba(255, 255, 255, 0.1) !important; /* Fundo um pouco mais visível */
    border: 1px solid rgba(255, 255, 255, 0.25) !important; /* Borda mais definida */
    color: #ffffff !important; /* TEXTO BRANCO PURO para contraste máximo */
    padding: 12px 5px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important; /* Sombra para destacar do fundo */
}

.btn-speed-ultra:hover,
body.dark-theme .btn-speed-ultra:hover,
body.dark-theme section#hero-streaming .btn-speed-ultra:hover {
    background: rgba(255, 77, 29, 0.1) !important; /* Hover Orange */
    color: #fff !important;
    border-color: var(--c-orange) !important;
    box-shadow: 0 0 15px rgba(255, 77, 29, 0.4) !important;
}

/* ESTADO ATIVO (Laranja Neon Forçado) */
.btn-speed-ultra.active,
body.dark-theme .btn-speed-ultra.active,
body.dark-theme section#hero-streaming .btn-speed-ultra.active {
    background: linear-gradient(135deg, rgba(255, 77, 29, 0.2), rgba(255, 140, 0, 0.2)) !important;
    border-color: var(--c-orange) !important;
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 77, 29, 0.8) !important;
    box-shadow: 0 0 20px rgba(255, 77, 29, 0.2) !important;
    transform: translateY(-2px) !important;
}

.combo-dynamic-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* BOTÃO CTA (Laranja Padrão) */
.btn-hero-cta {
    background: linear-gradient(120deg, #ff8a29, #ff4d1d);
    border: none;
    color: #0b1b2e;
    font-weight: 800;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 15px 40px rgba(255, 138, 41, 0.35);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.btn-hero-cta:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.05);
    box-shadow: 0 20px 50px rgba(255, 138, 41, 0.5);
}

.streaming-cards-container { display: flex; justify-content: center; gap: 20px; perspective: 1000px; }

.streaming-card {
    width: 150px; height: 220px;
    /* Fundo Gradiente "Glass Tech" mais claro para contraste com o fundo preto */
    background: linear-gradient(180deg, rgba(45, 50, 65, 0.95) 0%, rgba(25, 30, 40, 0.98) 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-top: 1px solid rgba(255,255,255,0.3); /* Topo iluminado */
    border-radius: 12px;
    position: relative; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: blur(20px);
    /* Sombra profunda + Brilho interno para volume */
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.03);
    overflow: hidden;
}

/* Ajuste Específico MAX - Borda mais visível */
.streaming-card[data-service="max"] { border-bottom: 3px solid #8c4bff; } 
.streaming-card[data-service="disney"] { border-bottom: 3px solid var(--c-disney); }
.streaming-card[data-service="prime"] { border-bottom: 3px solid var(--c-prime); }

.streaming-card:hover, .streaming-card.active {
    transform: translateY(-15px) scale(1.1);
    /* Fundo fica ainda mais claro no hover */
    background: linear-gradient(180deg, rgba(60, 65, 80, 0.95) 0%, rgba(30, 35, 50, 0.98) 100%);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 20px rgba(255,255,255,0.1);
}

.streaming-card.active[data-service="max"], .streaming-card:hover[data-service="max"] {
    box-shadow: 0 0 30px rgba(140, 75, 255, 0.4); border-color: #8c4bff;
}
.streaming-card.active[data-service="disney"], .streaming-card:hover[data-service="disney"] {
    box-shadow: 0 0 30px rgba(0, 99, 229, 0.4); border-color: var(--c-disney);
}
.streaming-card.active[data-service="prime"], .streaming-card:hover[data-service="prime"] {
    box-shadow: 0 0 30px rgba(0, 168, 225, 0.4); border-color: var(--c-prime);
}

.streaming-logo {
    width: 90px; height: 50px; object-fit: contain;
    /* Sombra branca suave atrás do logo para garantir leitura em qualquer fundo */
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.15));
    transition: transform 0.4s ease;
}

/* CORREÇÃO ESPECÍFICA PARA PRIME VIDEO */
.streaming-card[data-service="prime"] .streaming-logo {
    /* Aumenta drasticamente o brilho e contraste para "acender" o azul escuro/preto */
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.streaming-card:hover .streaming-logo, .streaming-card.active .streaming-logo {
    transform: translateY(-10px) scale(1.1);
    /* Glow intenso no logo ativo */
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.4)) brightness(1.1);
}

/* Mantém o boost do Prime mesmo no hover/active */
.streaming-card[data-service="prime"]:hover .streaming-logo, 
.streaming-card.active[data-service="prime"] .streaming-logo {
    filter: brightness(1.5) contrast(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* Correção Específica: Botão Termos Disney (Minimalista Style) */
#btn-disney-terms {
    display: none; /* Oculto por padrão, JS controla o display */
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6); /* Cinza claro discreto */
    background: transparent;
    border: none;
    padding: 5px 0;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 10px;
    border-bottom: 1px solid transparent;
}

#btn-disney-terms:hover {
    color: #ff4d1d !important; /* Laranja Neon no Hover */
    border-bottom-color: #ff4d1d;
    text-shadow: 0 0 8px rgba(255, 77, 29, 0.4);
}

#btn-disney-terms i {
    margin-right: 6px;
    font-size: 0.85rem;
    color: #ff4d1d;
}

/* Estilo da Área de Descrição (Melhoria Visual) */
.streaming-desc-container {
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    padding: 15px 20px;
    border-radius: 20px;
    margin-top: 15px;
}

#service-description {
    font-family: 'Inter', sans-serif; /* Fonte limpa */
    font-size: 1.1rem;
    font-weight: 500;
    color: #f0f6fc;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .hero-streaming-section { padding: 60px 0; text-align: center; height: auto; min-height: auto; }
    .streaming-cards-container { flex-direction: row; flex-wrap: wrap; margin-top: 30px; }
    .streaming-card { width: 100px; height: 150px; }
    .combo-dynamic-title { font-size: 1.4rem; }
    .display-3 { font-size: 2.5rem; }
}
