/* ========== STYLES.CSS - VERSIÓN LIMPIA SIN MODALES ========== */
/* Archivo principal de estilos SIN conflictos con modal.css */

/* ========== MENÚ DE USUARIO RESPONSIVO ========== */

.user-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    font-family: inherit;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, 
        rgba(196, 181, 253, 0.7) 0%, 
        rgba(167, 139, 250, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 181, 253, 0.4);
    border-radius: 12px;
    color: rgba(139, 69, 199, 0.95);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2);
    outline: none;
}

.user-button:hover {
    background: linear-gradient(135deg, 
        rgba(196, 181, 253, 0.8) 0%, 
        rgba(167, 139, 250, 0.7) 100%);
    border-color: rgba(196, 181, 253, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.3);
}

.user-button.active {
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.8) 0%, 
        rgba(139, 69, 199, 0.7) 100%);
    color: white;
}

.user-icon {
    font-size: 18px;
    color: rgba(139, 69, 199, 0.9);
    line-height: 1;
    transition: all 0.3s ease;
}

.user-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(139, 69, 199, 0.9);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.user-arrow {
    font-size: 10px;
    color: rgba(139, 69, 199, 0.7);
    transition: all 0.3s ease;
    margin-left: 2px;
}

.user-button.active .user-arrow {
    transform: rotate(180deg);
}

.user-button.active .user-icon,
.user-button.active .user-text,
.user-button.active .user-arrow {
    color: white;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 244, 250, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 181, 253, 0.3);
    border-radius: 16px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 
        0 10px 40px rgba(167, 139, 250, 0.2),
        0 4px 15px rgba(139, 69, 199, 0.1);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: inherit;
    border: inherit;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}

.dropdown-section.hidden {
    display: none;
}

.dropdown-info {
    padding: 8px 12px;
    text-align: center;
}

.info-text {
    font-size: 11px;
    color: rgba(139, 69, 199, 0.6);
    font-style: italic;
    line-height: 1.4;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(196, 181, 253, 0.15) 0%, 
        rgba(167, 139, 250, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 8px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.8) 0%, 
        rgba(139, 69, 199, 0.7) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.user-name-dropdown {
    font-size: 14px;
    font-weight: 600;
    color: rgba(139, 69, 199, 0.9);
}

.user-plan {
    font-size: 11px;
    color: rgba(139, 69, 199, 0.6);
    font-weight: 400;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: 8px;
    color: rgba(139, 69, 199, 0.8);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, 
        rgba(196, 181, 253, 0.2) 0%, 
        rgba(167, 139, 250, 0.15) 100%);
    color: rgba(139, 69, 199, 1);
    transform: translateX(2px);
}

.dropdown-icon {
    font-size: 14px;
    opacity: 0.8;
    width: 16px;
    text-align: center;
}

.profile-item {
    background: linear-gradient(135deg, 
        rgba(196, 181, 253, 0.1) 0%, 
        rgba(167, 139, 250, 0.08) 100%);
    border: 1px solid rgba(196, 181, 253, 0.2);
    font-weight: 500;
}

.profile-item:hover {
    background: linear-gradient(135deg, 
        rgba(196, 181, 253, 0.25) 0%, 
        rgba(167, 139, 250, 0.2) 100%);
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.15);
}

.logout-item:hover {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.1) 0%, 
        rgba(220, 38, 127, 0.08) 100%);
    color: rgba(239, 68, 68, 0.9);
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(196, 181, 253, 0.3), 
        transparent);
    margin: 6px 0;
}

/* ========== RESPONSIVE DESIGN MENÚ USUARIO ========== */

/* Tablet */
@media (max-width: 768px) {
    .user-menu {
        top: 16px;
        right: 16px;
    }
    
    .user-button {
        padding: 8px 12px;
        border-radius: 10px;
    }
    
    .user-text {
        font-size: 13px;
    }
    
    .dropdown-item {
        padding: 12px;
        font-size: 14px;
    }
    
    .user-dropdown {
        min-width: 200px;
    }
}

/* Mobile - Solo icono */
@media (max-width: 480px) {
    .user-menu {
        top: 15px;
        right: 15px;
    }
    
    .user-button {
        padding: 10px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
        min-width: 44px;
    }
    
    .user-text,
    .user-arrow {
        display: none;
    }
    
    .user-icon {
        font-size: 20px;
        margin: 0;
    }
    
    .user-dropdown {
        right: 0;
        min-width: 180px;
        max-width: calc(100vw - 30px);
    }
    
    .dropdown-item {
        padding: 14px 12px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .dropdown-header {
        padding: 14px 12px;
    }
    
    .user-name-dropdown {
        font-size: 15px;
    }
}

/* Mobile muy pequeño */
@media (max-width: 360px) {
    .user-button {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .user-icon {
        font-size: 18px;
    }
    
    .user-dropdown {
        min-width: 160px;
    }
    
    .dropdown-item {
        padding: 12px 10px;
        font-size: 13px;
    }
}

/* ========== ESTILOS PRINCIPALES DE LA APLICACIÓN ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, 
        #f8f4f0 0%, 
        #f0e6f2 25%, 
        #e8d5e8 50%, 
        #dfc2df 75%, 
        #d6b0d6 100%);
    min-height: 100vh;
    color: #5a4a6a;
    overflow-x: hidden;
    position: relative;
}

/* ========== FONDO CON EFECTOS RENOVADOS ========== */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #f8f4f0 0%, 
        #f0e6f2 25%, 
        #e8d5e8 50%, 
        #dfc2df 75%, 
        #d6b0d6 100%);
    z-index: 1;
    overflow: hidden;
}

.night-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #b8a0c7, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(184, 160, 199, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 183, 0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(184, 160, 199, 0.9), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(139, 92, 183, 0.7), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starsMove 60s linear infinite;
    opacity: 0.4;
}

.star {
    position: absolute;
    background: #b8a0c7;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(184, 160, 199, 0.8), transparent);
    transform: translate(-50%, -50%);
}

.star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 200%;
    background: linear-gradient(0deg, transparent, rgba(184, 160, 199, 0.8), transparent);
    transform: translate(-50%, -50%);
}

.star-small {
    width: 2px;
    height: 2px;
    animation-duration: 4s;
}

.star-medium {
    width: 3px;
    height: 3px;
    animation-duration: 5s;
}

.star-large {
    width: 4px;
    height: 4px;
    animation-duration: 6s;
}

.moon {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(184, 160, 199, 0.4), 
        rgba(139, 92, 183, 0.2), 
        transparent);
    box-shadow: 
        inset 0 0 20px rgba(184, 160, 199, 0.15),
        0 0 30px rgba(139, 92, 183, 0.2);
    animation: moonFloat 40s ease-in-out infinite;
}

.moon-primary {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 15%;
    animation-duration: 25s;
}

.moon-secondary {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 10%;
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.7;
}

.moon-tertiary {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 5%;
    animation-duration: 20s;
    animation-delay: -5s;
    opacity: 0.5;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse, 
        rgba(139, 92, 183, 0.12) 0%, 
        rgba(184, 160, 199, 0.08) 50%, 
        transparent 100%);
    animation: nebulaFloat 80s ease-in-out infinite;
}

.nebula-1 {
    width: 200px;
    height: 120px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 40s;
}

.nebula-2 {
    width: 150px;
    height: 100px;
    bottom: 30%;
    right: 25%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.atmosphere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        rgba(240, 230, 242, 0.15) 50%, 
        rgba(216, 176, 214, 0.3) 100%);
    animation: atmosphereMove 100s ease-in-out infinite;
}

/* ========== ANIMACIONES DE FONDO ========== */

@keyframes starsMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200px);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(184, 160, 199, 0.4);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.2);
        box-shadow: 0 0 15px rgba(139, 92, 183, 0.6);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 20px rgba(184, 160, 199, 0.8);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(139, 92, 183, 0.5);
    }
}

@keyframes moonFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(40px, -25px) rotate(3deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -50px) rotate(-2deg);
        opacity: 0.7;
    }
    75% {
        transform: translate(30px, -35px) rotate(2.5deg);
        opacity: 0.5;
    }
}

@keyframes nebulaFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.08;
    }
    33% {
        transform: translate(50px, 35px) scale(1.2) rotate(2deg);
        opacity: 0.15;
    }
    66% {
        transform: translate(-35px, 45px) scale(0.8) rotate(-1deg);
        opacity: 0.1;
    }
}

@keyframes atmosphereMove {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.05) rotate(0.5deg);
        opacity: 0.4;
    }
}

/* ========== CONTENEDOR PRINCIPAL ========== */

.container {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========== HEADER PREMIUM ========== */

.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.logo {
    font-size: 3.25rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, 
        #5a4a6a 0%, 
        #8b5cb7 50%, 
        #b8a0c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(90, 74, 106, 0.9);
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 
        0 0 8px rgba(139, 92, 183, 0.2),
        0 0 15px rgba(184, 160, 199, 0.15),
        0 0 20px rgba(139, 92, 183, 0.1);
    animation: textGlowSubtle 6s ease-in-out infinite;
    position: relative;
}

.tagline::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    background: linear-gradient(45deg, 
        rgba(90, 74, 106, 0.4), 
        rgba(139, 92, 183, 0.4), 
        rgba(184, 160, 199, 0.5),
        rgba(90, 74, 106, 0.4));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerSubtle 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes textGlowSubtle {
    0%, 100% {
        text-shadow: 
            0 0 8px rgba(139, 92, 183, 0.2),
            0 0 15px rgba(184, 160, 199, 0.15),
            0 0 20px rgba(139, 92, 183, 0.1);
    }
    50% {
        text-shadow: 
            0 0 12px rgba(139, 92, 183, 0.3),
            0 0 22px rgba(184, 160, 199, 0.25),
            0 0 28px rgba(139, 92, 183, 0.2);
    }
}

@keyframes shimmerSubtle {
    0% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.6;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
}

/* ========== BOTÓN CARTA NATAL PREMIUM ========== */

.carta-natal-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.3) 0%, 
        rgba(139, 92, 183, 0.2) 50%, 
        rgba(184, 160, 199, 0.25) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(184, 160, 199, 0.4);
    border-radius: 20px;
    color: rgba(90, 74, 106, 0.9);
    font-size: 11px;
    font-weight: 500;
    padding: 11px 19px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 
        0 6px 20px rgba(139, 92, 183, 0.15),
        0 3px 12px rgba(184, 160, 199, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.carta-natal-cta:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.4) 0%, 
        rgba(139, 92, 183, 0.3) 50%, 
        rgba(184, 160, 199, 0.35) 100%);
    border-color: rgba(139, 92, 183, 0.6);
    box-shadow: 
        0 12px 35px rgba(139, 92, 183, 0.25),
        0 6px 20px rgba(184, 160, 199, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.carta-natal-cta-icon {
    font-size: 18px;
    animation: premiumFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(139, 92, 183, 0.4));
}

@keyframes premiumFloat {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 8px rgba(139, 92, 183, 0.4));
    }
    25% {
        transform: rotate(5deg) scale(1.05);
        filter: drop-shadow(0 0 12px rgba(184, 160, 199, 0.6));
    }
    50% {
        transform: rotate(0deg) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(139, 92, 183, 0.7));
    }
    75% {
        transform: rotate(-5deg) scale(1.05);
        filter: drop-shadow(0 0 10px rgba(184, 160, 199, 0.5));
    }
}

.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #8b5cb7, #b8a0c7);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    animation: premiumPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(139, 92, 183, 0.4);
}

@keyframes premiumPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(139, 92, 183, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(184, 160, 199, 0.6);
    }
}

/* ========== TARJETAS CON GLASSMORPHISM ========== */

.dream-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 244, 250, 0.7) 100%);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    border: 1px solid rgba(184, 160, 199, 0.3);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 
        0 8px 32px rgba(139, 92, 183, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dream-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 40px rgba(139, 92, 183, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dream-input-container {
    position: relative;
    margin-bottom: 24px;
}

.dream-input {
    width: 100%;
    height: 180px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(184, 160, 199, 0.2);
    border-radius: 16px;
    color: #5a4a6a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.dream-input::placeholder {
    color: rgba(90, 74, 106, 0.5);
    font-weight: 300;
}

.dream-input:focus {
    border-color: rgba(139, 92, 183, 0.4);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 1px rgba(139, 92, 183, 0.2);
}

.char-counter {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 12px;
    color: rgba(184, 86, 250, 0.541);
    font-weight: 400;
}
#charCount {
    color: rgb(184, 86, 250, 0.541) !important;
}
.interpret-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 183, 0.8) 0%, 
        rgba(184, 160, 199, 0.6) 100%);
    border: 1px solid rgba(139, 92, 183, 0.3);
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.interpret-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, 
        rgba(139, 92, 183, 0.9) 0%, 
        rgba(184, 160, 199, 0.7) 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 183, 0.25);
}

.interpret-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.clear-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.2) 0%, 
        rgba(139, 92, 183, 0.15) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 160, 199, 0.3);
    border-radius: 12px;
    color: rgba(90, 74, 106, 0.8);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clear-btn:hover {
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.3) 0%, 
        rgba(139, 92, 183, 0.2) 100%);
    border-color: rgba(139, 92, 183, 0.4);
    color: rgba(90, 74, 106, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(139, 92, 183, 0.2);
}

.result-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 244, 250, 0.7) 100%);
    backdrop-filter: blur(40px);
    border-radius: 20px;
    border: 1px solid rgba(184, 160, 199, 0.3);
    padding: 32px;
    min-height: 300px;
    box-shadow: 
        0 8px 32px rgba(139, 92, 183, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 60px rgba(139, 92, 183, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.result-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    opacity: 0.7;
    color: #8b5cb7;
}

.result-title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(90, 74, 106, 0.9);
}

.result-content {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(90, 74, 106, 0.9);
    font-weight: 400;
}

.result-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: rgba(90, 74, 106, 0.4);
    font-size: 14px;
    font-weight: 300;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.loading-text {
    color: rgba(90, 74, 106, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.loading-subtext {
    color: rgba(90, 74, 106, 0.6);
    font-size: 13px;
    font-weight: 300;
    text-align: center;
    line-height: 1.5;
}

/* ========== EMBELLECIMIENTO DE PÁRRAFOS EN INTERPRETACIÓN ========== */

.result-content {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(90, 74, 106, 0.95);
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}

.result-content p {
    margin-bottom: 18px;
    text-indent: 20px;
    position: relative;
    padding-left: 20px;
    animation: paragraphAppear 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(15px);
}

.result-content p:first-child {
    text-indent: 0;
}

.result-content p:last-child {
    margin-bottom: 0;
}

.section-break {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(184, 160, 199, 0.4), 
        transparent);
    margin: 24px 0;
    position: relative;
}

.section-break::before {
    content: "✧";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: rgba(139, 92, 183, 0.7);
    padding: 0 8px;
    font-size: 10px;
}

.result-content strong,
.result-content .highlighted-section {
    color: #8b5cb7;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(139, 92, 183, 0.3);
    position: relative;
    padding: 0 4px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 183, 0.15) 0%, 
        rgba(139, 92, 183, 0.08) 100%);
    border-radius: 4px;
}

.result-content .important-quote {
    position: relative;
    font-style: italic;
    padding: 16px 24px;
    margin: 20px 0;
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.12) 0%, 
        rgba(139, 92, 183, 0.08) 100%);
    border-left: 3px solid rgba(184, 160, 199, 0.5);
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(10px);
}

.result-content .important-quote::before {
    content: '"';
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 28px;
    color: rgba(184, 160, 199, 0.6);
    font-family: serif;
    line-height: 1;
}

/* ========== ANIMACIONES RENOVADAS ========== */

.brain-thinking {
    font-size: 20px;
    animation: brainPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(139, 92, 183, 0.5));
}

@keyframes brainPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(139, 92, 183, 0.5));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px rgba(184, 160, 199, 0.8));
    }
}

.stars-thinking {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.twinkling-star {
    position: absolute;
    color: rgba(139, 92, 183, 0.8);
    font-size: 16px;
    animation: starTwinkleIntense 2s ease-in-out infinite;
}

.twinkling-star:nth-child(1) {
    top: 10px;
    left: 30px;
    animation-delay: 0s;
    font-size: 18px;
    color: rgba(184, 160, 199, 0.9);
}

.twinkling-star:nth-child(2) {
    top: 35px;
    left: 10px;
    animation-delay: 0.3s;
    font-size: 14px;
    color: rgba(139, 92, 183, 0.8);
}

.twinkling-star:nth-child(3) {
    top: 60px;
    left: 40px;
    animation-delay: 0.6s;
    font-size: 20px;
    color: rgba(184, 160, 199, 0.7);
}

.twinkling-star:nth-child(4) {
    top: 20px;
    left: 60px;
    animation-delay: 0.9s;
    font-size: 16px;
    color: rgba(139, 92, 183, 0.9);
}

.twinkling-star:nth-child(5) {
    top: 45px;
    left: 50px;
    animation-delay: 1.2s;
    font-size: 12px;
    color: rgba(184, 160, 199, 0.6);
}

.twinkling-star:nth-child(6) {
    top: 5px;
    left: 5px;
    animation-delay: 1.5s;
    font-size: 15px;
    color: rgba(139, 92, 183, 0.7);
}

@keyframes starTwinkleIntense {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
        filter: drop-shadow(0 0 3px currentColor);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: drop-shadow(0 0 12px currentColor);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        filter: drop-shadow(0 0 20px currentColor);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.0);
        filter: drop-shadow(0 0 8px currentColor);
    }
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.8s;
}

.result-card.glass-shine::before {
    left: 100%;
}

.popup-enter {
    animation: popupEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-popup {
    animation: glassPopup 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupEnter {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-10px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

@keyframes glassPopup {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateX(90deg);
        backdrop-filter: blur(0px);
        background: rgba(255, 255, 255, 0.02);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02) rotateX(5deg);
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.08);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
        backdrop-filter: blur(40px);
        background: rgba(255, 255, 255, 0.12);
    }
}

.result-content p {
    animation: paragraphAppear 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(15px);
    position: relative;
    padding-left: 20px;
}

.result-content p:nth-child(1) { 
    animation-delay: 0.2s; 
}
.result-content p:nth-child(2) { 
    animation-delay: 0.4s; 
}
.result-content p:nth-child(3) { 
    animation-delay: 0.6s; 
}
.result-content p:nth-child(4) { 
    animation-delay: 0.8s; 
}
.result-content p:nth-child(5) { 
    animation-delay: 1.0s; 
}

.result-content p:first-child::before {
    content: "✧";
    position: absolute;
    left: -20px;
    top: 0;
    color: rgba(184, 160, 199, 0.6);
    font-size: 12px;
    font-weight: 300;
}

.result-content p:nth-child(2)::before {
    content: "❋";
    position: absolute;
    left: -20px;
    top: 0;
    color: rgba(139, 92, 183, 0.5);
    font-size: 11px;
}

.result-content p:nth-child(3)::before {
    content: "✦";
    position: absolute;
    left: -20px;
    top: 0;
    color: rgba(184, 160, 199, 0.4);
    font-size: 10px;
}

.result-content strong::before,
.highlighted-section::before {
    content: "◆";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(184, 160, 199, 0.5);
    font-size: 8px;
}

.result-content .quote {
    position: relative;
    font-style: italic;
    padding: 0 20px;
    margin: 16px 0;
    border-left: 2px solid rgba(184, 160, 199, 0.4);
}

.result-content .quote::before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -5px;
    font-size: 24px;
    color: rgba(184, 160, 199, 0.6);
    font-family: serif;
}

.result-content .quote::after {
    content: '"';
    position: absolute;
    right: -8px;
    bottom: -10px;
    font-size: 24px;
    color: rgba(184, 160, 199, 0.6);
    font-family: serif;
}

.result-content .ornament {
    text-align: center;
    color: rgba(90, 74, 106, 0.3);
    margin: 16px 0;
    font-size: 14px;
    letter-spacing: 4px;
}

@keyframes paragraphAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BOTÓN FLOTANTE PLANES ========== */

.floating-plans-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 244, 250, 0.85) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 160, 199, 0.4);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 
        0 10px 25px rgba(139, 92, 183, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-decoration: none;
    color: #5a4a6a;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    animation: floatPulse 3s ease-in-out infinite;
}

.floating-plans-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.8) 0%, 
        rgba(139, 92, 183, 0.7) 100%);
    border-color: rgba(139, 92, 183, 0.5);
    box-shadow: 
        0 15px 35px rgba(139, 92, 183, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.floating-plans-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.floating-plans-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 3px rgba(139, 92, 183, 0.3));
    animation: iconShimmer 2s ease-in-out infinite alternate;
}

.floating-plans-text {
    font-weight: 500;
    white-space: nowrap;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 
            0 10px 25px rgba(139, 92, 183, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 
            0 15px 30px rgba(139, 92, 183, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
}

@keyframes iconShimmer {
    from {
        filter: drop-shadow(0 1px 3px rgba(139, 92, 183, 0.3));
    }
    to {
        filter: drop-shadow(0 2px 6px rgba(184, 160, 199, 0.5));
    }
}

/* ========== MODAL DE PLANES RENOVADO ========== */

.pricing-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(248, 244, 250, 0.95) 0%, 
        rgba(240, 230, 242, 0.92) 100%);
    backdrop-filter: blur(12px);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.pricing-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 244, 250, 0.8) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(184, 160, 199, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 920px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px rgba(139, 92, 183, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: slideIn 0.4s ease-out;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #5a4a6a;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(139, 92, 183, 0.2);
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: rgba(90, 74, 106, 0.7);
    font-weight: 300;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 244, 250, 0.7) 100%);
    border: 1px solid rgba(184, 160, 199, 0.3);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 183, 0.4);
    box-shadow: 0 15px 35px rgba(139, 92, 183, 0.15);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 244, 250, 0.8) 100%);
}

.plan-card.featured {
    border: 2px solid #8b5cb7;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.15) 0%, 
        rgba(139, 92, 183, 0.1) 100%);
}

.plan-card.featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cb7, #b8a0c7, #8b5cb7);
    animation: shimmer 2s infinite;
}

.plan-badge {
    position: absolute;
    top: -1px;
    right: 15px;
    background: linear-gradient(45deg, #8b5cb7, #b8a0c7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 92, 183, 0.3);
}

.plan-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 183, 0.2));
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #5a4a6a;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 300;
    color: #8b5cb7;
    margin-bottom: 0.3rem;
}

.plan-price .period {
    font-size: 0.9rem;
    color: rgba(90, 74, 106, 0.6);
}

.plan-savings {
    font-size: 0.85rem;
    color: #059669;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    color: rgba(90, 74, 106, 0.8);
    padding: 0.4rem 0;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: "🌸";
    position: absolute;
    left: 0;
    top: 0.4rem;
}

.plan-button {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-button.primary {
    background: linear-gradient(45deg, #8b5cb7, #b8a0c7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 183, 0.25);
}

.plan-button.secondary {
    background: rgba(184, 160, 199, 0.2);
    color: rgba(90, 74, 106, 0.8);
    border: 1px solid rgba(184, 160, 199, 0.3);
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 183, 0.3);
}

.carta-natal-section {
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.12) 0%, 
        rgba(139, 92, 183, 0.08) 100%);
    border: 1px solid rgba(184, 160, 199, 0.3);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.carta-natal-title {
    color: #8b5cb7;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.carta-natal-desc {
    color: rgba(90, 74, 106, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.close-pricing {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(90, 74, 106, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-pricing:hover {
    color: rgba(90, 74, 106, 0.9);
    background: rgba(184, 160, 199, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/* ========== BOTÓN DE AUTENTICACIÓN ========== */

.auth-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.7) 0%, 
        rgba(139, 92, 183, 0.5) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 160, 199, 0.4);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(139, 92, 183, 0.2);
    font-family: inherit;
}

.auth-button:hover {
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.8) 0%, 
        rgba(139, 92, 183, 0.6) 100%);
    border-color: rgba(184, 160, 199, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 183, 0.3);
}

.auth-icon {
    font-size: 16px;
    line-height: 1;
}

.auth-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* ========== FOOTER Y CRÉDITOS ========== */

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.footer-text {
    font-size: 12px;
    color: rgba(90, 74, 106, 0.4);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(90, 74, 106, 0.6);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.footer-link:hover {
    color: rgba(139, 92, 183, 0.9);
    background: linear-gradient(135deg, 
        rgba(184, 160, 199, 0.15) 0%, 
        rgba(139, 92, 183, 0.1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 92, 183, 0.15);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(139, 92, 183, 0.6), 
        transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover::after {
    width: 80%;
}

.credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.credit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(90, 74, 106, 0.6);
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.credit-item:hover {
    color: rgba(90, 74, 106, 0.9);
    transform: translateY(-1px);
}

.credit-icon {
    opacity: 0.7;
    font-size: 12px;
}

.credit-divider {
    width: 1px;
    height: 16px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(90, 74, 106, 0.2), 
        transparent);
}

/* ========== RESPONSIVE DESIGN PRINCIPAL ========== */

/* Desktop Large */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 50px 40px;
    }
    
    .dream-card {
        padding: 40px;
    }
    
    .dream-input {
        height: 220px;
        padding: 28px;
        font-size: 17px;
    }
    
    .result-card {
        padding: 40px;
        min-height: 400px;
    }
    
    .result-content {
        font-size: 16px;
        line-height: 1.9;
    }
    
    .result-content p {
        margin-bottom: 22px;
        text-indent: 24px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    .header {
        margin-bottom: 40px;
    }
    
    .logo {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .dream-card {
        padding: 24px;
        margin-bottom: 20px;
    }
    
    .dream-input {
        height: 160px;
        padding: 20px;
        font-size: 15px;
    }
    
    .result-card {
        padding: 24px;
        min-height: 250px;
    }
    
    .result-content {
        text-align: left;
    }
    
    .result-content p {
        text-indent: 12px;
        margin-bottom: 16px;
        padding-left: 0;
    }
    
    .result-content p:first-child {
        text-indent: 0;
    }
    
    .result-content p::before {
        display: none;
    }
    
    .result-content strong::before,
    .highlighted-section::before {
        display: none;
    }
    
    .floating-plans-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 40px;
    }
    
    .floating-plans-icon {
        font-size: 1rem;
    }
    
    .floating-plans-text {
        display: none;
    }
    
    .pricing-content {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .pricing-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .pricing-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.4;
    }
    
    .credits {
        flex-direction: column;
        gap: 8px;
    }
    
    .credit-divider {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
        padding-top: 40px;
    }
    
    .logo {
        font-size: 2.86rem;
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .dream-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .dream-input {
        height: 120px;
        padding: 16px;
        font-size: 14px;
    }
    
    .interpret-btn {
        height: 50px;
        font-size: 15px;
    }
    
    .clear-btn {
        height: 44px;
        font-size: 13px;
    }
    
    .result-card {
        padding: 20px;
        min-height: 200px;
    }
    
    .result-content {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .result-content p {
        margin-bottom: 14px;
        text-indent: 8px;
    }
    
    .result-content .important-quote {
        padding: 12px 16px;
        margin: 16px 0;
    }
    
    .auth-button {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
        border-radius: 10px;
        min-width: 44px;
        justify-content: center;
    }
    
    .auth-icon {
        font-size: 20px;
    }
    
    .auth-text {
        display: none;
    }
    
    .floating-plans-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.6rem;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .floating-plans-icon {
        font-size: 1.2rem;
    }
    
    .pricing-content {
        padding: 1.2rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
        border-radius: 18px;
    }
    
    .plan-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .plan-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .plan-name {
        font-size: 1.2rem;
    }
    
    .plan-price {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-features {
        margin-bottom: 1.5rem;
    }
    
    .plan-features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        line-height: 1.4;
    }
    
    .plan-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 10px;
        min-height: 48px;
    }
    
    .carta-natal-section {
        padding: 1.5rem;
        margin-top: 1.2rem;
        border-radius: 16px;
    }
    
    .carta-natal-title {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .carta-natal-desc {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .close-pricing {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
        padding: 0.3rem;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Mobile muy pequeño */
@media (max-width: 360px) {
    .pricing-content {
        padding: 1rem;
        margin: 0.3rem;
        width: calc(100% - 0.6rem);
    }
    
    .pricing-title {
        font-size: 1.4rem;
    }
    
    .plan-card {
        padding: 1rem;
    }
    
    .plan-icon {
        font-size: 2rem;
    }
    
    .plan-price {
        font-size: 1.4rem;
    }
    
    .plan-features li {
        font-size: 0.75rem;
    }
    
    .plan-button {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
}

/* Landscape móviles */
@media (max-height: 600px) and (orientation: landscape) {
    .pricing-content {
        max-height: 95vh;
        overflow-y: auto;
        padding: 1rem;
    }
    
    .pricing-header {
        margin-bottom: 1rem;
    }
    
    .pricing-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .pricing-subtitle {
        font-size: 0.9rem;
    }
    
    .plan-card {
        padding: 1rem;
    }
    
    .plan-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .plan-features {
        margin-bottom: 1rem;
    }
    
    .plan-features li {
        padding: 0.2rem 0;
        font-size: 0.8rem;
    }
    
    .carta-natal-section {
        padding: 1rem;
        margin-top: 1rem;
    }
}

/* ========== ESTILOS ADICIONALES DE MEJORA ========== */

input[type="text"], input[type="email"], textarea {
    box-shadow: 0 2px 6px rgba(139, 92, 183, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(184, 160, 199, 0.3);
    transition: all 0.3s ease;
}

input[type="text"]:hover, input[type="email"]:hover, textarea:hover {
    box-shadow: 0 3px 8px rgba(139, 92, 183, 0.15);
    border-color: rgba(139, 92, 183, 0.4);
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #8b5cb7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 183, 0.2);
}

button, .btn {
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(139, 92, 183, 0.1);
}

button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(139, 92, 183, 0.15);
}

.card, .box, .panel {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 244, 250, 0.7) 100%);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(139, 92, 183, 0.08);
    border: 1px solid rgba(184, 160, 199, 0.3);
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    display: none !important;
}

/* ========== UTILIDADES RESPONSIVE ========== */

@media (max-width: 600px) {
    input, textarea, button {
        font-size: 1rem;
    }
}

/* Estados adicionales */
.user-button:active {
    transform: translateY(0) scale(0.98);
}

/* Animación de entrada suave para dropdown */
@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-dropdown.show {
    animation: dropdownSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-plans-btn.pulsing {
    animation: floatPulse 1.5s ease-in-out infinite, attention 2s ease-in-out infinite;
}

@keyframes attention {
    0%, 100% {
        border-color: rgba(184, 160, 199, 0.4);
    }
    50% {
        border-color: rgba(139, 92, 183, 0.6);
        box-shadow: 
            0 15px 35px rgba(139, 92, 183, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

/* Tooltip opcional para botón flotante */
.floating-plans-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    right: 0;
    background: rgba(90, 74, 106, 0.9);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 400;
}

.floating-plans-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.floating-plans-btn::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 20px;
    border: 5px solid transparent;
    border-top-color: rgba(90, 74, 106, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-plans-btn:hover::after {
    opacity: 1;
    visibility: visible;
}
/* Línea de privacidad en footer */
.privacy-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, 
        rgba(173, 149, 173, 0.164) 25%, 
        rgba(173, 149, 173, 0.164) 25%);
    border: 1px solid rgba(214, 181, 245, 0.719);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(128, 128, 128, 0.8);
    backdrop-filter: blur(10px);
}

.privacy-footer-icon {
    font-size: 1rem;
    opacity: 0.9;
}

.privacy-footer-text {
    line-height: 1.4;
}

.privacy-footer-text strong {
    color: rgba(97, 96, 96, 0.95);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-footer {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
        margin: 1rem 0;
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   SECCIÓN DE REDES SOCIALES - INSTAGRAM
   ======================================== */

/* Redes sociales */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 16px 0 20px 0;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(139, 92, 183, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 183, 0.1) 0%, 
        rgba(184, 160, 199, 0.08) 100%);
    border: 1px solid rgba(139, 92, 183, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: rgba(139, 92, 183, 1);
    background: linear-gradient(135deg, 
        rgba(139, 92, 183, 0.2) 0%, 
        rgba(184, 160, 199, 0.15) 100%);
    border-color: rgba(139, 92, 183, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 183, 0.2);
}

.social-icon {
    font-size: 16px;
    opacity: 0.9;
}

.social-text {
    font-weight: 500;
    font-size: 12px;
}

/* Responsive para redes sociales */
@media (max-width: 768px) {
    .social-links {
        margin: 12px 0 16px 0;
    }
    
    .social-link {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .social-text {
        font-size: 11px;
    }
}

/* ========================================
   INTERLINEADO PERSONALIZABLE
   ======================================== */

/* Interlineado en footer general */
.footer {
    line-height: 1.6; /* Controla el espacio entre líneas */
}

.footer-text {
    line-height: 1.6; /* Interlineado del texto principal */
    margin-bottom: 16px; /* Espacio después del párrafo */
}

.social-link {
    line-height: 1.4; /* Interlineado dentro del botón de Instagram */
}

.social-text {
    line-height: 1.3; /* Interlineado específico del texto @dreamwise.pro */
}

/* Ajuste de espaciado entre secciones del footer */
.footer-links {
    margin-bottom: 20px; /* Espacio después de enlaces legales */
}

.social-links {
    margin: 16px 0 20px 0; /* Espacio antes y después de redes sociales */
}

.credits {
    margin-top: 8px; /* Espacio antes de los créditos */
}

/* ========================================
   VARIACIONES DE INTERLINEADO
   ======================================== */

/* Para más espaciado */
.footer.spacious {
    line-height: 1.8;
}

.footer.spacious .footer-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer.spacious .social-links {
    margin: 20px 0 24px 0;
}

/* Para menos espaciado */
.footer.compact {
    line-height: 1.4;
}

.footer.compact .footer-text {
    line-height: 1.4;
    margin-bottom: 12px;
}

.footer.compact .social-links {
    margin: 12px 0 16px 0;
}
