/**
 * Atheneus Horóscopo — Estilos página pública
 * Diseño inmersivo: video fondo + overlay + gold/dark palette
 * Mobile-first
 *
 * @since 1.8.1
 */

/* ================================================
   RESET & BASE
   ================================================ */
.atheneus-horoscopo-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0F0F23;
    color: #E8E6E3;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.atheneus-horoscopo-page *,
.atheneus-horoscopo-page *::before,
.atheneus-horoscopo-page *::after {
    box-sizing: border-box;
}

/* ================================================
   VIDEO FONDO
   ================================================ */
.atheneus-horo-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ================================================
   OVERLAY OSCURO
   ================================================ */
.atheneus-horo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 35, 0.92) 0%,
        rgba(26, 26, 46, 0.88) 50%,
        rgba(15, 15, 35, 0.95) 100%
    );
    pointer-events: none;
}

/* ================================================
   BOTÓN AUDIO
   ================================================ */
.atheneus-horo-audio-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(232, 184, 75, 0.4);
    background: rgba(15, 15, 35, 0.8);
    color: #E8B84B;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.atheneus-horo-audio-btn:hover {
    background: rgba(232, 184, 75, 0.15);
    border-color: #E8B84B;
    transform: scale(1.05);
}

.atheneus-horo-audio-btn.playing {
    border-color: #E8B84B;
    box-shadow: 0 0 15px rgba(232, 184, 75, 0.3);
    animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(232, 184, 75, 0.3); }
    50% { box-shadow: 0 0 25px rgba(232, 184, 75, 0.5); }
}

/* ================================================
   CONTENIDO PRINCIPAL
   ================================================ */
.atheneus-horo-main {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ================================================
   HEADER
   ================================================ */
.atheneus-horo-logo {
    display: block;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 6px;
    color: #E8B84B;
    text-decoration: none;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.atheneus-horo-logo:hover {
    opacity: 1;
    color: #F4D68C;
}

.atheneus-horo-header {
    text-align: center;
    margin-bottom: 30px;
}

.atheneus-horo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #E8B84B;
    margin: 0 0 8px;
    line-height: 1.2;
}

.atheneus-horo-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #9B99A1;
    margin: 0;
    font-style: italic;
}

/* ================================================
   NAVEGACIÓN FECHA
   ================================================ */
.atheneus-horo-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.atheneus-horo-nav-btn {
    padding: 8px 18px;
    border: 1px solid #2A2A4A;
    border-radius: 8px;
    color: #E8E6E3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.atheneus-horo-nav-btn:hover {
    border-color: #E8B84B;
    color: #E8B84B;
    background: rgba(232, 184, 75, 0.08);
}

.atheneus-horo-nav-hoy {
    border-color: #E8B84B;
    color: #E8B84B;
    font-weight: 500;
}

.atheneus-horo-nav-active {
    background: rgba(232, 184, 75, 0.15);
    cursor: default;
}

.atheneus-horo-nav-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ================================================
   CALENDARIO MINI
   ================================================ */
.atheneus-horo-calendar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 12px 0;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: #2A2A4A transparent;
    justify-content: center;
    flex-wrap: wrap;
}

.atheneus-horo-cal-day {
    flex-shrink: 0;
    width: 44px;
    height: 54px;
    border: 1px solid #2A2A4A;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9B99A1;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    background: rgba(26, 26, 46, 0.4);
}

.atheneus-horo-cal-day:hover {
    border-color: #E8B84B;
    color: #E8B84B;
}

.atheneus-horo-cal-day-num {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
}

.atheneus-horo-cal-day-name {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.atheneus-horo-cal-day.is-today {
    border-color: #E8B84B;
    color: #E8B84B;
}

.atheneus-horo-cal-day.is-active {
    background: rgba(232, 184, 75, 0.2);
    border-color: #E8B84B;
    color: #E8B84B;
    font-weight: 600;
}

.atheneus-horo-cal-day.no-data {
    opacity: 0.25;
    pointer-events: none;
}

/* ================================================
   ENLACE VOLVER
   ================================================ */
.atheneus-horo-back {
    margin-bottom: 24px;
    text-align: center;
}

.atheneus-horo-back a {
    color: #E8B84B;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.atheneus-horo-back a:hover {
    opacity: 0.8;
}

/* ================================================
   MENSAJE VACÍO
   ================================================ */
.atheneus-horo-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9B99A1;
    font-size: 1.1rem;
}

/* ================================================
   CARDS DE SIGNOS (ACORDEONES)
   ================================================ */
.atheneus-horo-signos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
}

.atheneus-horo-signo-card {
    border: 1px solid #2A2A4A;
    border-radius: 12px;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.atheneus-horo-signo-card:hover {
    border-color: rgba(232, 184, 75, 0.3);
}

.atheneus-horo-signo-card[open] {
    border-color: rgba(232, 184, 75, 0.4);
}

.atheneus-horo-signo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s;
}

.atheneus-horo-signo-header::-webkit-details-marker {
    display: none;
}

.atheneus-horo-signo-header:hover {
    background: rgba(232, 184, 75, 0.05);
}

.atheneus-horo-signo-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.atheneus-horo-signo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #E8E6E3;
    flex: 1;
}

.atheneus-horo-signo-elem {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.atheneus-horo-signo-link {
    color: #E8B84B;
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.atheneus-horo-signo-link:hover {
    opacity: 1;
}

/* ================================================
   BODY DEL ACORDEÓN (SECCIONES)
   ================================================ */
.atheneus-horo-signo-body {
    padding: 0 20px 20px;
    border-top: 1px solid #2A2A4A;
}

.atheneus-horo-section {
    padding: 16px 0;
    border-bottom: 1px solid rgba(42, 42, 74, 0.5);
}

.atheneus-horo-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.atheneus-horo-section-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #E8B84B;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.atheneus-horo-section-icon {
    font-size: 1rem;
    opacity: 0.7;
}

.atheneus-horo-section p {
    margin: 0;
    color: #E8E6E3;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================================================
   SIGNO INDIVIDUAL (ABIERTO)
   ================================================ */
.atheneus-horo-signos-single .atheneus-horo-signo-card {
    border-color: rgba(232, 184, 75, 0.3);
}

.atheneus-horo-signos-single .atheneus-horo-signo-header {
    cursor: default;
}

.atheneus-horo-signos-single .atheneus-horo-signo-emoji {
    font-size: 2.4rem;
}

.atheneus-horo-signos-single .atheneus-horo-signo-name {
    font-size: 1.6rem;
}

/* ================================================
   CTA FOOTER
   ================================================ */
.atheneus-horo-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #2A2A4A;
}

.atheneus-horo-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #E8B84B;
    margin: 0 0 10px;
}

.atheneus-horo-cta p {
    color: #9B99A1;
    margin: 0 0 24px;
    font-size: 1rem;
}

.atheneus-horo-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.atheneus-horo-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.atheneus-horo-btn-primary {
    background: linear-gradient(135deg, #E8B84B 0%, #C9983A 100%);
    color: #0F0F23;
    border: none;
}

.atheneus-horo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 184, 75, 0.3);
    color: #0F0F23;
}

.atheneus-horo-btn-secondary {
    border: 1px solid #E8B84B;
    color: #E8B84B;
    background: transparent;
}

.atheneus-horo-btn-secondary:hover {
    background: rgba(232, 184, 75, 0.1);
    color: #F4D68C;
}

.atheneus-horo-legal {
    color: #9B99A1;
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.6;
}

.atheneus-horo-legal a {
    color: #9B99A1;
    text-decoration: none;
}

.atheneus-horo-legal a:hover {
    color: #E8B84B;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 640px) {
    .atheneus-horo-main {
        padding: 24px 14px 40px;
    }

    .atheneus-horo-title {
        font-size: 1.6rem;
    }

    .atheneus-horo-subtitle {
        font-size: 1rem;
    }

    .atheneus-horo-nav {
        gap: 8px;
    }

    .atheneus-horo-nav-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .atheneus-horo-calendar {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .atheneus-horo-signo-header {
        padding: 14px 16px;
    }

    .atheneus-horo-signo-emoji {
        font-size: 1.5rem;
    }

    .atheneus-horo-signo-name {
        font-size: 1.1rem;
    }

    .atheneus-horo-signo-body {
        padding: 0 16px 16px;
    }

    .atheneus-horo-cta h2 {
        font-size: 1.3rem;
    }

    .atheneus-horo-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}

/* ================================================
   ANIMACIÓN ENTRADA
   ================================================ */
.atheneus-horo-signo-card {
    animation: fadeInUp 0.4s ease both;
}

.atheneus-horo-signo-card:nth-child(1)  { animation-delay: 0.05s; }
.atheneus-horo-signo-card:nth-child(2)  { animation-delay: 0.10s; }
.atheneus-horo-signo-card:nth-child(3)  { animation-delay: 0.15s; }
.atheneus-horo-signo-card:nth-child(4)  { animation-delay: 0.20s; }
.atheneus-horo-signo-card:nth-child(5)  { animation-delay: 0.25s; }
.atheneus-horo-signo-card:nth-child(6)  { animation-delay: 0.30s; }
.atheneus-horo-signo-card:nth-child(7)  { animation-delay: 0.35s; }
.atheneus-horo-signo-card:nth-child(8)  { animation-delay: 0.40s; }
.atheneus-horo-signo-card:nth-child(9)  { animation-delay: 0.45s; }
.atheneus-horo-signo-card:nth-child(10) { animation-delay: 0.50s; }
.atheneus-horo-signo-card:nth-child(11) { animation-delay: 0.55s; }
.atheneus-horo-signo-card:nth-child(12) { animation-delay: 0.60s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   TOGGLE GÉNERO
   ================================================ */
.atheneus-horo-genero-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.atheneus-horo-genero-btn {
    padding: 8px 20px;
    border: 1px solid #2A2A4A;
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.6);
    color: #9B99A1;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.atheneus-horo-genero-btn:hover {
    border-color: #E8B84B;
    color: #E8B84B;
}

.atheneus-horo-genero-btn.active {
    border-color: #E8B84B;
    color: #E8B84B;
    background: rgba(232, 184, 75, 0.15);
    font-weight: 500;
}

/* ================================================
   BOTONES COMPARTIR
   ================================================ */
.atheneus-horo-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(42, 42, 74, 0.5);
    flex-wrap: wrap;
}

.atheneus-horo-share-label {
    font-size: 0.8rem;
    color: #9B99A1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.atheneus-horo-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #2A2A4A;
    background: rgba(26, 26, 46, 0.6);
    color: #E8E6E3;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.atheneus-horo-share-btn:hover {
    border-color: #E8B84B;
    color: #E8B84B;
    transform: scale(1.1);
}

.atheneus-horo-share-wa:hover { color: #25D366; border-color: #25D366; }
.atheneus-horo-share-tw:hover { color: #1DA1F2; border-color: #1DA1F2; }
.atheneus-horo-share-tg:hover { color: #0088cc; border-color: #0088cc; }

/* ================================================
   SHORTCODE WRAPPER (dentro de Elementor)
   ================================================ */
.atheneus-horo-shortcode {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.atheneus-horo-shortcode .atheneus-horo-title {
    text-align: center;
}

.atheneus-horo-shortcode .atheneus-horo-subtitle {
    text-align: center;
}
