/* Login Page Custom Styles */

.glass-card {
    background: #ffffff58;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(245, 180, 91, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.dark .glass-card {
    background: rgba(18, 20, 21, 0.85);
    border: 1px solid rgba(255, 221, 176, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    .fade-slide-up {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .fade-slide-up.animate {
        opacity: 1;
        transform: translateY(0);
    }

    .fade-slide-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .fade-slide-left.animate {
        opacity: 1;
        transform: translateX(0);
    }

    .fade-in {
        opacity: 0;
        transition: opacity 0.8s ease-out;
    }

    .fade-in.animate {
        opacity: 1;
    }

    @keyframes pulse-shimmer {
        0% {
            box-shadow: 0 8px 24px rgba(245, 180, 91, 0.15), 0 0 0 0 rgba(245, 180, 91, 0.4);
        }
        70% {
            box-shadow: 0 8px 24px rgba(245, 180, 91, 0.15), 0 0 0 10px rgba(245, 180, 91, 0);
        }
        100% {
            box-shadow: 0 8px 24px rgba(245, 180, 91, 0.15), 0 0 0 0 rgba(245, 180, 91, 0);
        }
    }

    .btn-pulse {
        animation: pulse-shimmer 2s infinite;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .btn-pulse:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 32px rgba(245, 180, 91, 0.3);
    }

    @keyframes ken-burns {
        0% { transform: scale(1); }
        100% { transform: scale(1.1); }
    }

    .bg-ken-burns {
        animation: ken-burns 20s ease-in-out infinite alternate;
        transform-origin: center;
    }

    .magnetic-logo {
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }
}

/* Reduced intensity overlays */
.bg-editorial-overlay {
    background: linear-gradient(to bottom, rgba(255, 248, 244, 0.1) 0%, rgba(255, 248, 244, 0.35) 50%, rgba(255, 248, 244, 0.85) 100%);
}
.dark .bg-editorial-overlay {
    background: linear-gradient(to bottom, rgba(32, 27, 20, 0.2) 0%, rgba(32, 27, 20, 0.05) 50%, rgba(32, 27, 20, 0.4) 100%);
}

html, body {
    transition: background-color 0.8s ease, color 0.8s ease;
}

html.dark, .dark body {
    background-color: #121415;
    color: #fbefe4;
}

html:not(.dark), body {
    background-color: #fff8f4;
    color: #201b14;
}

#theme-toggle-icon {
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.icon-rotate-out {
    transform: rotate(-90deg);
    opacity: 0;
}
.icon-rotate-in {
    transform: rotate(0);
    opacity: 1;
}

.input-glow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

input:focus + .input-glow,
input:focus ~ .input-glow {
    opacity: 1;
}

input:focus ~ .material-symbols-outlined {
    color: #F5B45B;
}
.dark input:focus ~ .material-symbols-outlined {
    color: #fcba60;
}

@keyframes float-particle {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -15px) scale(1.2); }
    66% { transform: translate(-10px, -25px) scale(0.8); }
    100% { transform: translate(5px, -40px) scale(1.1); }
}

/* Custom fonts for login page */
.font-nunito-sans {
    font-family: 'Nunito Sans', sans-serif;
}

.font-hanken-grotesk {
    font-family: 'Hanken Grotesk', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Typography styles matching design */
.text-display-lg-mobile {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.text-display-lg {
    font-size: 72px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.text-headline-lg-mobile {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.text-headline-lg {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.text-headline-md {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.text-body-lg {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.text-body-md {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.text-label-sm {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.text-label-caps {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
}
