/* ==========================================================================
   ESTILOS: ALQUIMIA CÓSMICA VIBRANTE (100% RESPONSIVE MÓVIL)
   ========================================================================== */


:root {
    /* PALETA: AMANECER CÓSMICO (SOLEMNE, PROFESIONAL Y ESPIRITUAL) */
    --color-alquimia: #8fa9b6;     /* Azul bruma mística: para detalles de lucidez y enfoque */
    --azul-profundo: #0e121a;      /* Fondo noche pizarra: calma absoluta y descanso visual */
    --tarjeta-satinada: rgba(255, 255, 255, 0.03); /* Cristal ahumado traslúcido: elegante y limpio */
    --borde-sutil: rgba(255, 255, 255, 0.07);      /* Líneas de separación finas y sutiles */
    --oro-noble: #d4af37;          /* Oro viejo: sabiduría y transmutación energética */
    --oro-accion: #c59b27;         /* Dorado profundo mate: alta conversión que invita al clic con rigor */
    --plata-pura: #f8fafc;         /* Texto principal: máxima nitidez y limpieza */
    --plata-mutada: #94a3b8;       /* Texto secundario: relajado y elegante */
}


/* Configuración Estricta Mobile-First */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--azul-profundo);
    overflow-x: hidden;
}


body {
    /* Usamos fuentes nativas redondeadas y modernas: San Francisco en iOS, Roboto en Android */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--plata-pura);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 95px 16px 40px 16px; 
    overflow-x: hidden;
}

/* Halo de energía de transmutación en movimiento de fondo */
.energy-halo {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(6, 119, 157, 0.25) 0%, rgba(3, 43, 58, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseEnergy 5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes pulseEnergy {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
    50% { transform: translateX(-50%) scale(1.22); opacity: 0.5; }
}

/* Contenedor del Teléfono / Dispositivo */
.app-mobile-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Identidad Visual de Andrea */
.header-brand {
    margin-top: 20px;
    margin-bottom: 25px;
}

.brand-logo-symbol {
    font-size: 2.2rem;
    color: var(--oro-accion);
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
    margin-bottom: 5px;
    display: inline-block;
}

.brand-main-title {
    /* Usamos fuentes serif nativas premium para el toque místico y elegante */
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--plata-pura);
}

.brand-main-title span {
    color: var(--turquesa-marca);
    text-shadow: 0 0 10px rgba(6, 119, 157, 0.3);
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--plata-mutado);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Tarjeta Alquímica (Cuerpo del Contenido Centrado) */
.alchemy-card {
    background-color: var(--tarjeta-satinada);
    border: 1px solid var(--borde-sutil);
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-bottom: 25px;
    backdrop-filter: blur(10px); /* Hace el efecto cristal más bonito en móviles */
}

.alchemy-card h2 {
    /* Aplicamos la misma tipografía elegante a los títulos de las tarjetas */
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.35rem;
    color: var(--oro-accion);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 
}

.alchemy-p {
    font-size: 0.95rem;
    color: var(--plata-pura);
    font-weight: 300;
    margin-bottom: 18px;
    line-height: 1.6;
}

.alchemy-p strong {
    color: var(--oro-accion);
    font-weight: 600;
}

/* Lista de Capacidades Intuitivas */
.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0;
}

.capability-pill {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--borde-sutil);
    border-left: 4px solid var(--color-alquimia);
    padding: 12px 14px;
    border-radius: 4px 14px 14px 4px;
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}


.capability-pill span {
    color: var(--turquesa-luz);
    font-size: 1.1rem;
}

/* Botón con Destello de Alta Intención (CTA) */
.btn-alchemy-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--oro-accion) 0%, #fb8500 100%);
    color: #032b3a;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.btn-alchemy-cta:active {
    transform: scale(0.97);
}

.btn-alchemy-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 35%;
    height: 200%;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(30deg);
    animation: shineSweep 4s infinite ease-in-out;
}

@keyframes shineSweep {
    0% { left: -60%; }
    15% { left: 140%; }
    100% { left: 140%; }
}

/* Menú Táctil Flotante (Estilo App) */
.mobile-navbar {
    position: fixed;
    top: 16px; 
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 410px;
    background-color: #131822; 
    border: 1px solid var(--borde-sutil);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    padding: 12px 6px;
    border-radius: 40px;
    z-index: 99999;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--plata-mutada);
    text-decoration: none;
    font-size: 0.62rem; /* Bajamos sutilmente de 0.68 a 0.62 para garantizar el espacio */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.23s ease;
    flex: 1;
    text-align: center;
}


.mobile-nav-link span {
    font-size: 1.3rem;
    margin-bottom: 2px;
    color: var(--plata-mutado);
    transition: all 0.23s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--oro-accion);
}

.mobile-nav-link:hover span, .mobile-nav-link.active span {
    color: var(--turquesa-luz);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.app-footer {
    margin-top: 25px;
    font-size: 0.76rem;
    color: var(--plata-mutado);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* --- Botonera Cósmica de Triple Acción para Móviles --- */
.horoscopo-triple-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.btn-astro-triple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--borde-sutil);
    border-radius: 12px;
    color: var(--plata-pura);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-astro-triple span {
    font-size: 1.1rem;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

/* El botón diario se destaca sutilmente como acción principal */
.btn-astro-triple.btn-diario {
    border-color: rgba(255, 183, 3, 0.4);
    background: linear-gradient(180deg, rgba(255, 183, 3, 0.02) 0%, rgba(255, 183, 3, 0.06) 100%);
}

.btn-astro-triple:hover {
    border-color: var(--oro-noble);
    color: var(--oro-noble);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.1);
}

.btn-astro-triple:hover span {
    transform: scale(1.1);
}

.btn-astro-triple:active {
    transform: scale(0.97);
}
/* ==========================================================================
   TABLA DE CONTENIDOS: REJILLA INTERACTIVA DE SIGNOS (SEO AUTOMÁTICO)
   ========================================================================== */
.zodiac-toc-wrapper {
    background-color: var(--tarjeta-satinada);
    border: 1px dashed var(--borde-sutil);
    border-radius: 20px;
    padding: 20px 15px;
    margin-bottom: 25px;
    text-align: center;
}

.zodiac-toc-title {
    font-family: Georgia, Cambria, serif;
    font-size: 1.1rem;
    color: var(--oro-noble);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rejilla adaptativa estricta para pantallas de smartphone */
.zodiac-toc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas limpias */
    gap: 8px;
}

/* Optimización para móviles extremadamente delgados (ej. iPhone SE) */
@media (max-width: 360px) {
    .zodiac-toc-grid {
        grid-template-columns: repeat(2, 1fr); /* Pasa a 2 columnas para no apretar el texto */
    }
}

.zodiac-toc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--borde-sutil);
    border-radius: 12px;
    padding: 10px 4px;
    color: var(--plata-pura);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Efecto visual táctil al presionar o pasar el dedo */
.zodiac-toc-btn:hover {
    border-color: var(--color-alquimia);
    color: var(--oro-noble);
    background: rgba(6, 119, 157, 0.05);
    transform: translateY(-1px);
}

.zodiac-toc-btn:active {
    transform: scale(0.96);
}