* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 15px;
}

.lxli-image {
    width: 350px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.logo-image {
    width: 250px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.header p {
    color: #888;
    font-size: 14px;
}

.header a {
    color: #f6971d;
    text-decoration: none;
}

.highlight-text {
    color: #f6971d;
    text-decoration: none;
}

.header a:hover {
    text-decoration: underline;
}

.form-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #f6971d;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: #aaa;
}

.captcha-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.captcha-image {
    flex: 1;
    height: 65px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.captcha-refresh {
    width: 50px;
    height: 65px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #f6971d;
}

/*cc3333*/
.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #f6971d 0%, #cc3333 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.message-container {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.success-message {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Loading state */
.captcha-loading {
    position: relative;
    overflow: hidden;
}

.captcha-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile optimizations */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 24px;
    }

    .logo-image {
        margin-bottom: 12px;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .captcha-refresh {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 12px;
    }
}

.additional-links {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.subtle-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.subtle-link:hover {
    color: #aaa;
    text-decoration: underline;
}

.link-separator {
    color: #666;
    margin: 0 8px;
}

.language-switcher-container {
            position: absolute;
            top: -50px;
            right: 5px;
            z-index: 10;
        }

        .language-switcher-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 6px 12px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            backdrop-filter: blur(10px);
        }

        .language-switcher-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-1px);
        }

        .language-flag {
            font-size: 18px;
            line-height: 1;
        }

        .language-switcher-btn .dropdown-arrow {
            transition: transform 0.2s;
            width: 14px;
            height: 14px;
        }

        .language-switcher-btn.active .dropdown-arrow {
            transform: rotate(180deg);
        }

        .language-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            width: 180px;
            background: linear-gradient(135deg, #1a1a1a, #212121);
            border: 1px solid #303030;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
            backdrop-filter: blur(20px);
            overflow: hidden;
        }

        .language-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: #ccc;
            text-decoration: none;
            transition: all 0.2s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .language-item:last-child {
            border-bottom: none;
        }

        .language-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
        }

        .language-item.active {
            color: #f6971d;
        }

        .language-item .language-flag {
            font-size: 20px;
        }

        .language-item .language-name {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
        }

        .language-item svg {
            color: #22c55e;
        }