/* Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Falling leaves container */
#leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Leaf styling is now handled dynamically in JavaScript */

/* Main landing container */
.landing-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    z-index: 10;
    position: relative;
}

/* Logo section */
.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-text {
    font-size: 6rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.02em;
    animation: colorfulPulse 45s ease-in-out infinite;
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
}

.logo-text:hover {
    transform: scale(1.05);
    animation-duration: 25s; /* Speed up animation on hover */
}

/* Colorful pulsing animation keyframes */
@keyframes colorfulPulse {
    0% { color: #ff6b6b; text-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
    4% { color: #ff8e53; text-shadow: 0 0 20px rgba(255, 142, 83, 0.8); }
    8% { color: #ff9f43; text-shadow: 0 0 20px rgba(255, 159, 67, 0.8); }
    12% { color: #feca57; text-shadow: 0 0 20px rgba(254, 202, 87, 0.8); }
    16% { color: #48dbfb; text-shadow: 0 0 20px rgba(72, 219, 251, 0.8); }
    20% { color: #0abde3; text-shadow: 0 0 20px rgba(10, 189, 227, 0.8); }
    24% { color: #006ba6; text-shadow: 0 0 20px rgba(0, 107, 166, 0.8); }
    28% { color: #5f27cd; text-shadow: 0 0 20px rgba(95, 39, 205, 0.8); }
    32% { color: #a55eea; text-shadow: 0 0 20px rgba(165, 94, 234, 0.8); }
    36% { color: #fd79a8; text-shadow: 0 0 20px rgba(253, 121, 168, 0.8); }
    40% { color: #e84393; text-shadow: 0 0 20px rgba(232, 67, 147, 0.8); }
    44% { color: #00b894; text-shadow: 0 0 20px rgba(0, 184, 148, 0.8); }
    48% { color: #00cec9; text-shadow: 0 0 20px rgba(0, 206, 201, 0.8); }
    52% { color: #55a3ff; text-shadow: 0 0 20px rgba(85, 163, 255, 0.8); }
    56% { color: #3742fa; text-shadow: 0 0 20px rgba(55, 66, 250, 0.8); }
    60% { color: #2f3542; text-shadow: 0 0 20px rgba(47, 53, 66, 0.8); }
    64% { color: #ff3838; text-shadow: 0 0 20px rgba(255, 56, 56, 0.8); }
    68% { color: #ff9ff3; text-shadow: 0 0 20px rgba(255, 159, 243, 0.8); }
    72% { color: #54a0ff; text-shadow: 0 0 20px rgba(84, 160, 255, 0.8); }
    76% { color: #5f27cd; text-shadow: 0 0 20px rgba(95, 39, 205, 0.8); }
    80% { color: #00d2d3; text-shadow: 0 0 20px rgba(0, 210, 211, 0.8); }
    84% { color: #ff9f43; text-shadow: 0 0 20px rgba(255, 159, 67, 0.8); }
    88% { color: #ee5a24; text-shadow: 0 0 20px rgba(238, 90, 36, 0.8); }
    92% { color: #0984e3; text-shadow: 0 0 20px rgba(9, 132, 227, 0.8); }
    96% { color: #a29bfe; text-shadow: 0 0 20px rgba(162, 155, 254, 0.8); }
    100% { color: #ff6b6b; text-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
}

.tagline {
    font-size: 1.3rem;
    color: #b0b0b0;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* Welcome section */
.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-section h2 {
    font-size: 3rem;
    color: #00ff88;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    animation: welcomeGlow 3s ease-in-out infinite alternate;
}

@keyframes welcomeGlow {
    from {
        text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.3);
    }
}

/* Authentication section */
.auth-section {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(0, 255, 136, 0.1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.auth-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ff88;
    font-weight: 300;
}

.auth-card p {
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Auth buttons */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00ff88, #00ffaa);
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
    background: linear-gradient(45deg, #00ffaa, #00ff88);
}

.btn-secondary {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.btn i {
    font-size: 1.2rem;
}

/* Features preview */
.features-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #b0b0b0;
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(0, 255, 136, 0.05);
    color: #00ff88;
}

.feature i {
    font-size: 1.2rem;
    color: #00ff88;
    width: 20px;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 4rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .welcome-section h2 {
        font-size: 2.2rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .auth-card h2 {
        font-size: 1.7rem;
    }
    
    .content-wrapper {
        gap: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .welcome-section h2 {
        font-size: 1.8rem;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .features-preview {
        gap: 0.8rem;
    }
    
    .feature {
        font-size: 0.9rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    animation: fadeInUp 1s ease-out;
}

.auth-card {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Glowing effect for interactive elements */
.btn:focus,
.btn:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ff88, #00ffaa);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00ffaa, #00ff88);
}
