/* ========================================
   CARTA ASTRAL PREMIUM V3 - TEMA OSCURO CELESTIAL
   Estilo premium con fondos oscuros y textos claros
   ======================================== */

/* ANIMACIONES CÓSMICAS */
@keyframes cosmicFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cosmicGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(142, 140, 240, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(142, 140, 240, 0.6);
    }
}

/* VARIABLES DE COLOR OSCURO */
:root {
    --bg-primary: #0c0c1a;
    --bg-secondary: #141333;
    --bg-tertiary: #1c1c30;
    --bg-card: rgba(36, 36, 79, 0.95);
    --bg-accent: rgba(40, 40, 97, 0.9);

    --text-primary: #ffffff;
    --text-secondary: #d2d1f9;
    --text-muted: #bbbaf6;
    --text-accent: #8e8cf0;

    --border-primary: rgba(142, 140, 240, 0.3);
    --border-accent: rgba(142, 140, 240, 0.6);

    --gradient-primary: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #0f0a19 0%, #1a0b2e 100%);
    --gradient-accent: linear-gradient(135deg, #24244f 0%, #393860 100%);
}

/* CONTENEDOR PRINCIPAL */
.ac-premium-chart {
    max-width: 900px;
    margin: 3rem auto;
    padding: 3rem;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    animation: cosmicFadeIn 1s ease-out;
}

/* HEADER PREMIUM */
.ac-premium-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-accent);
    background: var(--gradient-secondary);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.ac-premium-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(142, 140, 240, 0.5);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ac-premium-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.9;
}

/* SECCIONES */
.ac-premium-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border-left: 5px solid var(--text-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ac-premium-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: cosmicGlow 2s infinite;
}

.ac-section-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid var(--border-accent);
    padding-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(142, 140, 240, 0.3);
}

.ac-section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* LISTAS Y ELEMENTOS ESPECIALES */
.ac-soul-mission {
    background: var(--gradient-accent);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-primary);
    box-shadow: inset 0 0 20px rgba(142, 140, 240, 0.1);
}

.ac-soul-mission li {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.ac-soul-mission li::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: var(--text-accent);
}

/* DESCRIPCIONES PLANETARIAS */
.ac-planet-description {
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-primary);
    box-shadow: 0 0 20px rgba(142, 140, 240, 0.1);
}

.ac-planet-luz {
    color: #a855f7;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.ac-planet-sombra {
    color: #f59e0b;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* ÁREAS DE VIDA */
.ac-life-area {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 0 15px rgba(142, 140, 240, 0.1);
}

.ac-life-area h4 {
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(142, 140, 240, 0.3);
}

/* LÍNEA DEL TIEMPO */
.ac-timeline {
    background: var(--gradient-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    border: 1px solid var(--border-accent);
}

.ac-timeline-month {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 10px;
    border-left: 4px solid var(--text-accent);
    box-shadow: 0 0 10px rgba(142, 140, 240, 0.1);
}

/* RITUALES */
.ac-ritual {
    background: rgba(168, 85, 247, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}

.ac-ritual h5 {
    color: #a855f7;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* RECOMENDACIONES */
.ac-recommendation {
    background: rgba(34, 197, 94, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

/* PREGUNTAS PODEROSAS */
.ac-powerful-question {
    background: rgba(236, 72, 153, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid rgba(236, 72, 153, 0.3);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.1);
    font-style: italic;
    font-weight: 500;
    color: var(--text-secondary);
}

/* MENSAJE FINAL */
.ac-final-message {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 2px solid var(--text-accent);
    box-shadow: 0 0 30px rgba(142, 140, 240, 0.3);
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* FOOTER CON VERSIÓN */
.ac-premium-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-accent);
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
}

.ac-version-indicator {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
    text-shadow: 0 0 10px rgba(142, 140, 240, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ac-premium-chart {
        margin: 1rem;
        padding: 1.5rem;
    }

    .ac-premium-title {
        font-size: 2.2rem;
    }

    .ac-section-title {
        font-size: 1.6rem;
    }

    .ac-premium-section {
        padding: 1.5rem;
    }
}

/* ENLACES Y TEXTO ESPECIAL */
.ac-premium-section a {
    color: var(--text-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.ac-premium-section a:hover {
    border-bottom: 1px solid var(--text-accent);
    text-shadow: 0 0 10px rgba(142, 140, 240, 0.5);
}

.ac-premium-section strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.ac-premium-section em {
    color: var(--text-muted);
    font-style: italic;
}

/* SCROLLBAR PERSONALIZADO */
.ac-premium-chart::-webkit-scrollbar {
    width: 8px;
}

.ac-premium-chart::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.ac-premium-chart::-webkit-scrollbar-thumb {
    background: var(--text-accent);
    border-radius: 4px;
}

.ac-premium-chart::-webkit-scrollbar-thumb:hover {
    background: var(--primary-600);
}