:root { 
    --primary-black: #0a0a0a; 
    --accent-cyan: #00ffff; 
    --accent-red: #ff3333; 
    --text-secondary: #b0b0b0;
}

body { 
    margin: 0; 
    height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background-color: var(--primary-black); 
    font-family: 'Rajdhani', sans-serif; 
    color: white; 
    overflow: hidden; 
    position: relative; 
}

@keyframes jumpScare { 
    0% { background-color: #ffffff; } 
    10% { background-color: #ff0000; } 
    30% { background-color: #550000; } 
    100% { background-color: var(--primary-black); } 
}

.scare-active { 
    animation: jumpScare 0.5s cubic-bezier(0.1, 0.9, 0.2, 1) forwards; 
}

@keyframes bg-scrolling {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

body::before { 
    content: ''; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(rgba(153, 69, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(153, 69, 255, 0.1) 1px, transparent 1px); 
    background-size: 50px 50px; 
    z-index: -1; 
    animation: bg-scrolling 0.5s linear infinite;
}

.login-box { 
    background: rgba(20, 20, 20, 0.9); 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid #333; 
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.2); 
    width: 320px; 
    text-align: center; 
    backdrop-filter: blur(10px); 
    transition: 0.2s; 
    position: relative;
}

.login-box.locked { 
    border-color: var(--accent-red); 
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.1); 
    opacity: 0.7; 
    pointer-events: none; 
}

.title { 
    font-family: 'Orbitron', sans-serif; 
    font-size: 28px; 
    font-weight: 700; 
    color: white; 
    margin-bottom: 30px; 
    letter-spacing: 2px; 
}

.input { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    background: #1a1a1a; 
    border: 1px solid #444; 
    color: white; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-family: 'Rajdhani', sans-serif; 
    font-size: 16px; 
    transition: 0.3s; 
}

.input:focus { 
    border-color: var(--accent-cyan); 
    outline: none; 
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); 
}

.license-input {
    text-align: center;
    letter-spacing: 2px;
    font-family: monospace, 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.license-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.license-part {
    width: 80px !important;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

.input.license-part::placeholder {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.15);
}

.input::placeholder {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.2);
}

.separator {
    color: var(--accent-cyan);
    font-weight: 900;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    padding: 0 5px;
}

button[type='submit'] { 
    width: 100%; 
    padding: 15px; 
    border: none; 
    border-radius: 8px; 
    background: linear-gradient(135deg, #9945ff, #00ffff); 
    color: #000; 
    font-weight: 800; 
    font-size: 18px; 
    cursor: pointer; 
    transition: 0.3s; 
    font-family: 'Orbitron', sans-serif; 
    letter-spacing: 1px; 
    margin-top: 10px; 
    position: relative; 
    overflow: hidden; 
}

button[type='submit']:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 5px 20px rgba(153, 69, 255, 0.4); 
}

button[type='submit']:disabled { 
    background: #333; 
    color: #666; 
    cursor: not-allowed; 
    box-shadow: none; 
    transform: none; 
}

.btn-progress {
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 100%; 
    width: 0%;
    background: rgba(255, 255, 255, 0.3); 
    z-index: 1;
    transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

button span, button { z-index: 2; position: relative; }

.bottom-error { 
    position: absolute; top: 100%; left: 0; width: 100%; margin-top: 10px;
    text-align: center; color: var(--accent-red); font-family: 'Orbitron', sans-serif;
    font-weight: 900; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; 
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.social-links { 
    position: fixed; bottom: 20px; display: flex; gap: 30px; z-index: 999; 
    left: 50%; transform: translateX(-50%);
}

.social-links a { 
    display: flex; align-items: center; gap: 8px; color: var(--text-secondary);
    text-decoration: none; font-family: 'Rajdhani', sans-serif; font-size: 16px;
    font-weight: 500; transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-cyan); text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.social-links svg { width: 22px; height: 22px; stroke: currentColor; fill: currentColor; stroke-width: 1.5; }