.login-page {
    background: linear-gradient(135deg, #0a1a1f 0%, #0d2830 50%, #0a1f1f 100%);
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: rgba(31, 73, 125, 0.28);
    --accent: #1F497D;
}

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

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(31, 73, 125, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 117, 182, 0.14) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    animation: aurora 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes aurora {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(-1%, 3%) rotate(-1deg); }
    75% { transform: translate(3%, -2%) rotate(2deg); }
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(31, 73, 125, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 73, 125, 0.035) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.floating-ring {
    position: absolute;
    border: 2px solid rgba(31, 73, 125, 0.12);
    border-radius: 50%;
    animation: float 20s linear infinite;
    z-index: 1;
}

.ring-1 { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.ring-2 { width: 200px; height: 200px; bottom: 20%; right: -3%; animation-delay: -5s; }
.ring-3 { width: 150px; height: 150px; top: 60%; left: 10%; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

.login-box {
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 48px 40px;
    width: 420px;
    border: 1px solid rgba(31, 73, 125, 0.28);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(31, 73, 125, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

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

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1F497D, #2E75B6, #1F497D, transparent);
    border-radius: 0 0 3px 3px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1F497D 0%, #2E75B6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(31, 73, 125, 0.35);
    animation: pulse 3s ease-in-out infinite;
}

.login-logo i {
    width: 40px;
    height: 40px;
    color: #fff;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(31, 73, 125, 0.35); }
    50% { box-shadow: 0 10px 40px rgba(31, 73, 125, 0.55), 0 0 60px rgba(46, 117, 182, 0.25); }
}

.login-title {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.login-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(31, 73, 125, 0.28);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1F497D;
    box-shadow: 0 0 20px rgba(31, 73, 125, 0.22), inset 0 0 20px rgba(31, 73, 125, 0.06);
}

.form-input::placeholder {
    color: #4a5568;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1F497D 0%, #2E75B6 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(31, 73, 125, 0.45);
}

.btn-primary:hover::before {
    left: 100%;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}
