* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #333333 50%, #1a1a1a 75%, #000000 100%);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Modern Gradient Background */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #333333 50%, #1a1a1a 75%, #000000 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    top: 30%;
    right: 40%;
    animation-delay: -15s;
}

.orb-5 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    bottom: 40%;
    right: 30%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
    }
    50% {
        transform: translateY(10px) translateX(-15px) scale(0.9);
    }
    75% {
        transform: translateY(-15px) translateX(20px) scale(1.05);
    }
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Login Container */
.login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
}

.login-box {
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: boxGlow 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.3) 25%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.3) 75%, 
        rgba(255,255,255,0.1) 100%);
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes boxGlow {
    from {
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 0.1),
            inset 0 0 30px rgba(255, 255, 255, 0.05);
    }
    to {
        box-shadow: 
            0 0 50px rgba(255, 255, 255, 0.2),
            inset 0 0 50px rgba(255, 255, 255, 0.1);
    }
}

.login-box h1 {
    color: #FFF;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: textGlow 2s ease-in-out infinite alternate;
    background: linear-gradient(45deg, #ffffff, #cccccc, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate, textShine 3s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
}

.login-box p {
    color: #CCC;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Password Input */
.password-input {
    margin-bottom: 30px;
}

#password {
    width: 300px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: #FFF;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 10px;
    font-family: 'Courier New', monospace;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#password:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    background: rgba(30, 30, 30, 0.9);
}

#password::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 15px;
}

/* Login Button */
.login-btn {
    width: 200px;
    height: 50px;
    background: linear-gradient(45deg, #ffffff, #cccccc, #ffffff);
    background-size: 200% 200%;
    border: none;
    border-radius: 15px;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: buttonShine 3s linear infinite;
}

@keyframes buttonShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.login-btn:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    background: linear-gradient(45deg, #cccccc, #ffffff, #cccccc);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn span {
    position: relative;
    z-index: 2;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

/* Error Message */
.error-message {
    display: none;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    padding: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    animation: shake 0.5s ease-in-out;
    backdrop-filter: blur(10px);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
        margin: 20px;
        border-radius: 15px;
    }
    
    .login-box h1 {
        font-size: 2rem;
    }
    
    #password {
        width: 250px;
        height: 50px;
        font-size: 1.5rem;
        letter-spacing: 8px;
        border-radius: 12px;
    }
    
    .login-btn {
        width: 180px;
        height: 45px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .gradient-orb {
        filter: blur(30px);
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .login-box h1 {
        font-size: 1.5rem;
    }
    
    .login-box p {
        font-size: 1rem;
    }
    
    #password {
        width: 200px;
        height: 45px;
        font-size: 1.2rem;
        letter-spacing: 6px;
        border-radius: 10px;
    }
    
    #password::placeholder {
        letter-spacing: 10px;
    }
    
    .login-btn {
        width: 160px;
        height: 40px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .gradient-orb {
        filter: blur(20px);
        opacity: 0.2;
    }
} 