/* tv-cyberpunk.css - Design High-Tech (HUD + Store Buttons + Modal Fix V5 - Super Compact) */

:root {
    --cyber-orange: #ff4d1d;
    --cyber-cyan: #00ffea;
    --cyber-bg: rgba(5, 7, 10, 0.9);
}

/* Container */
#tv-assinatura {
    position: relative;
    min-height: 600px; /* Match Standard Hero */
    width: 100%; /* Full Width */
    display: flex; /* Flex Center */
    align-items: center; /* Vertical Center */
    padding: 40px 0; /* Standard Padding */
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 234, 0.08), transparent 80%), var(--bg-dark);
    border-top: 1px solid #1a2634;
    border-bottom: 1px solid #1a2634;
    overflow: hidden; /* Changed to hidden to match standard */
}

/* CARDS HUD STYLE */
.tv-info-card, .tv-price-card {
    background: var(--cyber-bg);
    border: 1px solid rgba(0, 255, 234, 0.3);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    padding: 20px; /* COMPACTADO */
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 400px; /* Reduzido */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-info-card { border-color: rgba(0, 255, 234, 0.4); }
.tv-price-card { border-color: rgba(255, 77, 29, 0.4); }

.tv-info-card:hover, .tv-price-card:hover {
    transform: translateY(-5px);
    background: rgba(5, 7, 10, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.tv-info-card:hover { border-color: var(--cyber-cyan); }
.tv-price-card:hover { border-color: var(--cyber-orange); }

.tv-info-card::before, .tv-price-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px;
    border-top: 2px solid; border-left: 2px solid; border-color: inherit;
}
.tv-info-card::after, .tv-price-card::after {
    content: ""; position: absolute; bottom: 0; right: 0; width: 20px; height: 20px;
    border-bottom: 2px solid; border-right: 2px solid; border-color: inherit;
}

.tv-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem; /* COMPACTADO */
    font-weight: 700;
    margin-bottom: 10px; /* COMPACTADO */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

.text-cyan { color: var(--cyber-cyan); }

/* Lista de Benefícios */
.tv-features-list { padding: 0; margin: 0; list-style: none; }
.tv-features-list li {
    font-size: 1.0rem;
    margin-bottom: 8px; /* COMPACTADO */
    color: #d1d9e0;
    display: flex;
    align-items: center;
}
.tv-features-list li i {
    font-size: 1.3rem;
    color: var(--cyber-cyan);
    margin-right: 12px;
    min-width: 24px;
    text-align: center;
}

/* Preço (COMPACTADO) */
.tv-price-display {
    display: flex; justify-content: center; align-items: baseline;
    margin: 15px 0;
    font-family: 'Orbitron', sans-serif;
}
.tv-value { font-size: 3.5rem; color: white; text-shadow: 0 0 15px var(--cyber-orange); font-weight: 800; }
.tv-currency { font-size: 1.5rem; color: var(--cyber-orange); margin-right: 8px; }
.tv-term { 
    font-size: 1rem; 
    color: rgba(255, 255, 255, 0.8); /* Mais claro e legível */
    margin-left: 5px; 
    font-weight: 500;
    text-transform: uppercase;
}

/* Botões de Loja */
.btn-store {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d9e0;
    padding: 10px 15px;
    text-align: left;
    transition: all 0.2s;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
}
.btn-store img { margin-right: 10px; }
.btn-store:hover {
    background: rgba(0, 255, 234, 0.1);
    border-color: var(--cyber-cyan);
    color: #fff;
    transform: translateX(5px);
}

/* Botões Principais */

/* SECUNDÁRIO: Ciano Compacto + Nuclear Fix */
.btn-cyber-secondary {
    background: rgba(0, 255, 234, 0.05);
    border: 2px solid var(--cyber-cyan);
    color: var(--cyber-cyan);
    padding: 8px 12px !important; /* Compacto */
    width: 100%;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 10;
    text-decoration: none;
    font-size: 0.85rem !important; /* Compacto */
    line-height: 1.2 !important;
    margin-top: 12px;
    min-height: 0 !important;
}

.btn-cyber-secondary:hover {
    background: linear-gradient(90deg, #00c8ff, var(--cyber-cyan)) !important;
    color: #000 !important;
    border-color: transparent !important;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.8) !important;
    transform: translateY(-5px) scale(1.03) !important;
}

.btn-cyber-secondary i { transition: transform 0.3s; }
.btn-cyber-secondary:hover i { transform: rotate(90deg); }

/* PRIMÁRIO: Laranja (Compactado Padding) */
.btn-cyber-cta {
    background: linear-gradient(90deg, var(--cyber-orange), #ff8c00);
    border: none; color: white; font-weight: 800; 
    padding: 10px !important; /* COMPACTADO (Era 15) */
    width: 100%;
    border-radius: 6px;
    text-transform: uppercase; letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(255, 77, 29, 0.3);
    margin-top: 10px; /* Removido auto, fixo 10px */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-cyber-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 30px rgba(255, 77, 29, 0.7);
    color: white;
}

/* SISTEMA SOLAR CENTRAL */
.tv-solar-system {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tv-center-app { width: 280px; z-index: 10; transition: transform 0.5s ease; }
.tv-center-app:hover { transform: scale(1.05); }

.app-screen {
    width: 100%;
    border-radius: 24px;
    border: 2px solid var(--cyber-cyan);
    box-shadow: 0 0 60px rgba(0, 255, 234, 0.2);
}

/* Órbita */
.stores-orbit-ring {
    position: absolute;
    width: 100%; height: 100%;
    animation: solarSpin 30s linear infinite;
}

/* Pausa ao passar o mouse no sistema solar */
.tv-solar-system:hover .stores-orbit-ring,
.tv-solar-system:hover .planet-rotator {
    animation-play-state: paused;
}

/* CONTAINER DO PLANETA */
.orbit-planet {
    position: absolute;
    top: 50%; left: 50%;
    width: 76px; height: 76px;
    margin: -38px;
    transform: translateX(230px);
    transition: z-index 0s;
}

.orbit-planet:hover { z-index: 20; }

/* ROTATOR INTERNO */
.planet-rotator {
    width: 100%; height: 100%;
    animation: solarCounterSpin 30s linear infinite;
}

/* LINK COM ZOOM */
.orbit-planet a {
    display: block;
    width: 100%; height: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.orbit-planet:hover a { transform: scale(1.3); }

/* IMAGEM */
.orbit-planet img {
    width: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 234, 0.5);
    background: #05070a;
    padding: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.2);
    transition: box-shadow 0.3s, border-color 0.3s;
}
.orbit-planet:hover img {
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.8);
    border-color: #fff;
}

.planet-1 { transform: rotate(0deg)   translateX(230px) rotate(0deg); }
.planet-2 { transform: rotate(60deg)  translateX(230px) rotate(-60deg); }
.planet-3 { transform: rotate(120deg) translateX(230px) rotate(-120deg); }
.planet-4 { transform: rotate(180deg) translateX(230px) rotate(-180deg); }
.planet-5 { transform: rotate(240deg) translateX(230px) rotate(-240deg); }
.planet-6 { transform: rotate(300deg) translateX(230px) rotate(-300deg); }

@keyframes solarSpin { to { transform: rotate(360deg); } }
@keyframes solarCounterSpin { to { transform: rotate(-360deg); } }

/* FIX MODAL CANAIS - ESTILO CYBERPUNK (Laranja) */
#tvChannelsModal .modal-content {
    background-color: #0b0e14 !important;
    border: 1px solid var(--cyber-cyan) !important;
    color: #e6e6e6;
    box-shadow: 0 0 50px rgba(0, 255, 234, 0.15);
}
#tvChannelsModal .modal-header {
    border-bottom: 1px solid #1a2634;
    display: flex; justify-content: space-between; align-items: center;
}
#tvChannelsModal .modal-title {
    color: var(--cyber-cyan);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase; letter-spacing: 1px; margin: 0;
}

.btn-close-custom {
    background: transparent;
    border: 2px solid var(--cyber-orange);
    color: var(--cyber-orange);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    cursor: pointer;
    padding: 0;
}
.btn-close-custom:hover {
    background: var(--cyber-orange); color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--cyber-orange);
}

/* Mobile */
@media (max-width: 991px) {
    #tv-assinatura {
        min-height: auto;
        padding: 60px 0;
    }

    .tv-info-card, .tv-price-card {
        text-align: center;
        align-items: center;
        border: 1px solid rgba(255,255,255,0.1);
        padding: 30px 20px;
        margin-bottom: 20px;
        clip-path: none;
        border-radius: 12px;
        height: auto;
    }
    .tv-info-card::before, .tv-info-card::after,
    .tv-price-card::before, .tv-price-card::after { display: none; }
    
    .tv-solar-system: {
        width: 90vw; /* Adaptável */
        max-width: 320px; 
        height: 320px; 
        margin: 20px auto; 
    }
    .tv-center-app { width: 50%; } /* Proporcional */
    
    /* Aumentar ícones mobile para toque */
    .orbit-planet { width: 50px; height: 50px; margin: -25px; }
    
    /* Reajustar raio da órbita para caber em 320px (Raio ~130px) */
    .planet-1 { transform: rotate(0deg) translateX(130px) rotate(0deg); }
    .planet-2 { transform: rotate(60deg)  translateX(130px) rotate(-60deg); }
    .planet-3 { transform: rotate(120deg) translateX(130px) rotate(-120deg); }
    .planet-4 { transform: rotate(180deg) translateX(130px) rotate(-180deg); }
    .planet-5 { transform: rotate(240deg) translateX(130px) rotate(-240deg); }
    .planet-6 { transform: rotate(300deg) translateX(130px) rotate(-300deg); }
}
