/* ============================================
   COUNTING GAME - LOGIN PAGE STYLES
   ============================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.floating-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-numbers span {
    position: absolute;
    font-family: 'Good Timing', monospace;
    font-size: 2rem;
    color: rgba(0, 255, 136, 0.08);
    animation: float 20s infinite linear;
    user-select: none;
}

.floating-numbers span:nth-child(1) { left: 5%; animation-delay: 0s; font-size: 3rem; }
.floating-numbers span:nth-child(2) { left: 15%; animation-delay: -2s; font-size: 2rem; }
.floating-numbers span:nth-child(3) { left: 25%; animation-delay: -4s; font-size: 4rem; }
.floating-numbers span:nth-child(4) { left: 35%; animation-delay: -6s; font-size: 2.5rem; }
.floating-numbers span:nth-child(5) { left: 45%; animation-delay: -8s; font-size: 3rem; }
.floating-numbers span:nth-child(6) { left: 55%; animation-delay: -10s; font-size: 2rem; }
.floating-numbers span:nth-child(7) { left: 65%; animation-delay: -12s; font-size: 3.5rem; }
.floating-numbers span:nth-child(8) { left: 75%; animation-delay: -14s; font-size: 2rem; }
.floating-numbers span:nth-child(9) { left: 85%; animation-delay: -16s; font-size: 2.8rem; }
.floating-numbers span:nth-child(10) { left: 92%; animation-delay: -18s; font-size: 3rem; }
.floating-numbers span:nth-child(11) { left: 10%; animation-delay: -3s; font-size: 2.2rem; }
.floating-numbers span:nth-child(12) { left: 30%; animation-delay: -7s; font-size: 2.6rem; }
.floating-numbers span:nth-child(13) { left: 50%; animation-delay: -11s; font-size: 3.2rem; }
.floating-numbers span:nth-child(14) { left: 70%; animation-delay: -15s; font-size: 2.4rem; }
.floating-numbers span:nth-child(15) { left: 88%; animation-delay: -19s; font-size: 2.8rem; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Login Card */
.login-card {
    position: relative;
    z-index: 1;
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(0, 255, 136, 0.1);
    animation: cardAppear 0.6s ease-out;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, #00d4ff, #00ff88, transparent);
    border-radius: 2px;
}

/* Logo */
.login-logo {
    margin-bottom: 24px;
}

.login-logo img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.4));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.6));
    }
}

/* Title */
.login-title {
    font-family: 'Good Timing', sans-serif;
    font-size: 2rem;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #fff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Discord Button */
.discord-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 32px;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.discord-login-btn:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.5);
}

.discord-login-btn:active {
    transform: translateY(-1px);
}

.discord-login-btn svg {
    width: 24px;
    height: 24px;
}

/* Features */
.login-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.feature .material-icons {
    font-size: 1.4rem;
    color: #00ff88;
}

/* Mobile */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
        margin: 10px;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .login-logo img {
        width: 80px;
        height: 80px;
    }
    
    .login-features {
        gap: 16px;
    }
    
    .feature span:not(.material-icons) {
        display: none;
    }
}
