.login-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(44, 13, 77, 0.3) 100%);
}

.login-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(106, 27, 154, 0.15) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.3);
}

.login-title {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: #b0b0b0;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    border-color: var(--accent-gold);
    color: white;
}

.tab-btn:hover:not(.active) {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.form-label {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    color: #f0f0f0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    color: #f0f0f0;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 2rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--light-purple) 100%);
    box-shadow: 0 6px 25px rgba(106, 27, 154, 0.5);
    transform: translateY(-2px);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.4);
    color: #51cf66;
}

.alert-info {
    background: rgba(23, 162, 184, 0.15);
    border: 1px solid rgba(23, 162, 184, 0.4);
    color: #63e6e2;
}

.benefits-card {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.2) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.benefits-title {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.benefit-icon {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-right: 1rem;
    margin-top: 0.1rem;
}

.benefit-text h6 {
    color: #f0f0f0;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-text p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--accent-gold);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--light-purple);
}

.forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: var(--light-purple);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: var(--accent-gold);
}

/* Captcha Modal Styles */
.captcha-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.captcha-modal.show {
    display: flex;
}

.captcha-container {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(106, 27, 154, 0.2) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 2rem;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(106, 27, 154, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.captcha-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.captcha-header h4 {
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
}

.captcha-header p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.captcha-puzzle {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #2c0d4d 0%, #1a1a2e 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.puzzle-background {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.puzzle-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(106, 27, 154, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.puzzle-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
}

.puzzle-slot {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px dashed rgba(212, 175, 55, 0.6);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.puzzle-slot.correct {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.2);
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
}

.puzzle-piece {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffd700 100%);
    border-radius: 8px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
    transition: box-shadow 0.3s ease;
    touch-action: none;
    user-select: none;
}

.puzzle-piece:active {
    cursor: grabbing;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.8);
}

.puzzle-piece i {
    font-size: 1.5rem;
    color: #1a1a2e;
}

.captcha-slider-container {
    margin-top: 1rem;
}

.captcha-slider-track {
    position: relative;
    width: 100%;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.captcha-slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 0.9rem;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.captcha-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(106, 27, 154, 0.5) 0%, rgba(212, 175, 55, 0.3) 100%);
    border-radius: 25px;
    transition: background 0.3s ease;
}

.captcha-slider-fill.correct {
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.5) 0%, rgba(40, 167, 69, 0.3) 100%);
}

.captcha-slider-handle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffd700 100%);
    border-radius: 50%;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.5);
    transition: box-shadow 0.3s ease, background 0.3s ease;
    touch-action: none;
    user-select: none;
    z-index: 2;
}

.captcha-slider-handle:active {
    cursor: grabbing;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.8);
}

.captcha-slider-handle.correct {
    background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
    box-shadow: 0 3px 15px rgba(40, 167, 69, 0.5);
}

.captcha-slider-handle i {
    font-size: 1.2rem;
    color: #1a1a2e;
    transition: transform 0.3s ease;
}

.captcha-slider-handle.correct i::before {
    content: "\F26B";
}

.captcha-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.captcha-refresh {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.captcha-refresh:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
}

.captcha-close {
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    transition: color 0.3s ease;
}

.captcha-close:hover {
    color: var(--accent-gold);
}

.captcha-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 24px;
}

.captcha-status.success {
    color: #28a745;
}

.captcha-status.error {
    color: #ff6b6b;
}

.btn-verify {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.8) 0%, rgba(212, 175, 55, 0.3) 100%);
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: linear-gradient(135deg, rgba(106, 27, 154, 1) 0%, rgba(212, 175, 55, 0.5) 100%);
    box-shadow: 0 4px 20px rgba(106, 27, 154, 0.4);
}

.btn-verify.verified {
    background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
    border-color: #28a745;
}

.btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.verified-badge {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.verified-badge.show {
    display: flex;
}
