.login-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.login-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: blur(1px) brightness(0.4) contrast(1.1);
}

#login-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.2;
}

.login-container {
    z-index: 3;
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 0 20px;
}

.login-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(40, 40, 40, 0.6);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(80, 80, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(60, 60, 60, 0.5), transparent);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.login-header h1 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.login-header p {
    color: rgba(200, 200, 200, 0.8);
    font-size: 0.95rem;
}

.error-message {
    background: rgba(40, 0, 0, 0.8);
    border: 1px solid rgba(100, 0, 0, 0.6);
    color: #ff6b6b;
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.success-message {
    background: rgba(0, 40, 0, 0.8);
    border: 1px solid rgba(0, 100, 0, 0.6);
    color: #4ade80;
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    color: rgba(240, 240, 240, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(60, 60, 60, 0.6);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: #ffffff;
    font-family: 'Jersey 10', cursive;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(80, 80, 80, 0.8);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 
        0 0 0 2px rgba(60, 60, 60, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: rgba(150, 150, 150, 0.6);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.2rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(220, 220, 220, 0.8);
    cursor: pointer;
    font-size: 0.85rem;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: rgba(100, 100, 100, 0.8);
}

.forgot-link {
    color: rgba(180, 180, 180, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: rgba(220, 220, 220, 0.9);
}

.login-btn {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(80, 80, 80, 0.6);
    color: rgba(240, 240, 240, 0.9);
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(100, 100, 100, 0.2);
    backdrop-filter: blur(15px);
    cursor: pointer;
    font-family: 'Jersey 10', cursive;
    margin-top: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(120, 120, 120, 0.3);
    border-color: rgba(100, 100, 100, 0.8);
    background: rgba(20, 20, 20, 0.95);
}

.login-btn span {
    position: relative;
    z-index: 2;
}

.login-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(120, 120, 120, 0.3), transparent);
    transition: left 0.6s ease;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(60, 60, 60, 0.4);
}

.login-footer p {
    color: rgba(180, 180, 180, 0.7);
    font-size: 0.85rem;
}

.login-footer a {
    color: rgba(220, 220, 220, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #ffffff;
}

.username-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(60, 60, 60, 0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.username-input-wrapper:focus-within {
    border-color: rgba(80, 80, 80, 0.8);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 
        0 0 0 2px rgba(60, 60, 60, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.domain-preview {
    background: rgba(40, 40, 40, 0.9);
    color: rgba(160, 160, 160, 0.9);
    padding: 0.9rem 1rem;
    font-family: 'Jersey 10', cursive;
    font-size: 0.95rem;
    border-right: 1px solid rgba(60, 60, 60, 0.6);
    white-space: nowrap;
    user-select: none;
    min-width: fit-content;
}

.username-input-wrapper input {
    background: transparent;
    border: none;
    padding: 0.9rem 1rem;
    color: #ffffff;
    font-family: 'Jersey 10', cursive;
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
}

.username-input-wrapper input:focus {
    outline: none;
    box-shadow: none;
    transform: none;
    background: transparent;
    border: none;
}

@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
        border-radius: 20px;
    }
    
    .login-header h1 {
        font-size: 1.6rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .login-container {
        max-width: 350px;
    }
}
