/* ============================================
   LOGIN PAGE - APPLE LIQUID GLASS DESIGN
   ============================================ */

/* Animated Background */
form {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(var(--main-color-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1a 100%);
    color: var(--text-primary);
    font-weight: 300;
    position: relative;
    overflow: hidden;
    gap: 16px;
    padding: 20px;
}

/* Floating Particles Effect */
form::before,
form::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

form::before {
    width: 400px;
    height: 400px;
    background: rgba(var(--main-color-rgb), 0.3);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

form::after {
    width: 350px;
    height: 350px;
    background: rgba(139, 92, 246, 0.25);
    bottom: -15%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* Login Logo */
.login-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 2px solid var(--glass-border);
    padding: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glow-primary);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    animation-delay: 0s;
    position: relative;
    z-index: 1;
}

/* Main Button */
.main-btn {
    margin-top: 40px;
    font-size: 16px;
    padding: 16px 40px;
    position: relative;
    z-index: 1;
}

.main-btn svg {
    width: 22px;
    height: 22px;
}

/* Title Styling */
h1 {
    font-size: 72px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-smooth);
}

h1:hover {
    transform: scale(1.02);
}

h1 a {
    background: none;
    text-decoration: none;
    -webkit-text-fill-color: transparent;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    transition: filter var(--transition-smooth);
    padding: 0;
}

h1 a:hover,
h1 a:focus-visible {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: brightness(1.2);
}

/* Header Text */
h2 {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Footer Text */
h3 {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Glass Card Container */
form>* {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

form>.login-logo {
    animation-delay: 0s;
}

form>h2 {
    animation-delay: 0.15s;
}

form>h1 {
    animation-delay: 0.25s;
}

form>h3 {
    animation-delay: 0.35s;
}

form>.main-btn {
    animation-delay: 0.45s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 700px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 13px;
        padding: 0 20px;
    }

    form::before {
        width: 250px;
        height: 250px;
    }

    form::after {
        width: 200px;
        height: 200px;
    }

    .main-btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}