.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 20px;
    background: linear-gradient(135deg, #0D0D0D 0%, #1a0f2e 50%, #2d0a4a 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-container::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-box {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

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

.auth-box h2 {
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(13, 13, 13, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(13, 13, 13, 0.8);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8C42 100%);
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

button:hover::before {
    left: 100%;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.3);
}

button:active {
    transform: translateY(0);
}

.error {
    color: var(--danger);
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    font-size: 13px;
}

.link {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

.link a {
    color: var(--accent);
}

.form-group#registration-key-field input {
    border-color: rgba(217, 119, 6, 0.6) !important;
    background: rgba(217, 119, 6, 0.08) !important;
}

.form-group#registration-key-field input:focus {
    border-color: #D97706 !important;
    background: rgba(217, 119, 6, 0.15) !important;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.4) !important;
}

.form-group#registration-key-field label {
    color: #D97706;
}

.auth-or-divider {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}

.auth-or-text {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guest-login-link {
    display: block;
    width: 100%;
    padding: 14px;
    background: rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #8B5CF6;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    font-size: 14px;
}
