 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: #000;
            color: #fff;
            overflow-x: hidden;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.95);
            border-bottom: 1px solid #1a1a1a;
        }
       
        nav {
           display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            max-width: 1400px;
            margin: 0 auto;
            height: 80px;
        }
        .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
 
.lang-btn {
    background: transparent;
    border: 1.5px solid #D4AF37;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
 
.lang-btn:hover {
    background: #D4AF37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}
 
.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 20px;
    border: 1.5px solid #dadce0;
    border-radius: 8px;
    background: #ffffff;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #3c4043;
}
@media (max-width: 480px) {
    .back-link span {
        display: none;
    }
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}
        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 75px; 
            width: auto;
            display: block;
        }

        .back-link {
            color: #D4AF37;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

        .back-link:hover {
            color: #fff;
        }

        /* Main Container */
        .auth-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 120px 20px 40px;
            background: radial-gradient(circle at center, rgba(185, 122, 30, 0.1), transparent 70%);
        }

        .auth-box {
            max-width: 500px;
            width: 100%;
            background: #0a0a0a;
            border: 1px solid #1a1a1a;
            position: relative;
            overflow: hidden;
        }

        .auth-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #D4AF37, transparent);
        }

        .auth-header {
            text-align: center;
            padding: 50px 40px 30px;
            border-bottom: 1px solid #1a1a1a;
        }

        .auth-tabs {
            display: flex;
            justify-content: center;
            gap: 0;
            margin-bottom: 30px;
        }

        .tab-btn {
            flex: 1;
            background: transparent;
            border: none;
            color: #666;
            padding: 15px 30px;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 2px solid transparent;
        }

        .tab-btn.active {
            color: #D4AF37;
            border-bottom: 2px solid #D4AF37;
        }

        .auth-header h2 {
            font-size: 2rem;
            color: #fff;
            margin-bottom: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -1px;
        }

        .auth-header p {
            color: #999;
            font-size: 0.9rem;
        }

        /* Form Styles */
        .auth-form {
            padding: 40px;
        }

        .form-content {
            display: none;
        }

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

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

        .form-group label {
            display: block;
            color: #D4AF37;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .form-group input {
            width: 100%;
            background: #000;
            border: 1px solid #1a1a1a;
            color: #fff;
            padding: 15px 20px;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-group input:focus {
            border-color: #D4AF37;
        }

        .form-group input::placeholder {
            color: #666;
        }

        .password-toggle {
            position: relative;
        }
        .password-toggle input {
            width: 100%;
            padding-right: 40px;
        }

        .password-toggle button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #999;
        }

        

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 25px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #D4AF37;
        }

        .checkbox-group label {
            color: #999;
            font-size: 0.9rem;
            cursor: pointer;
            margin: 0;
        }

        .checkbox-group a {
            color: #D4AF37;
            text-decoration: none;
        }

        .checkbox-group a:hover {
            text-decoration: underline;
        }

        .submit-btn {
            width: 100%;
            background: #D4AF37;
            color: #000;
            border: none;
            padding: 18px;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            background: #fff;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
        }

        .submit-btn:disabled {
            background: #333;
            color: #666;
            cursor: not-allowed;
            transform: none;
        }

        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #1a1a1a;
        }

        .divider span {
            background: #0a0a0a;
            padding: 0 20px;
            color: #666;
            font-size: 0.85rem;
            position: relative;
            z-index: 1;
        }

        .social-login {
            display: flex;
            gap: 15px;
        }

        .social-btn {
            flex: 1;
            background: #111;
            border: 1px solid #1a1a1a;
            color: #fff;
            padding: 15px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .social-btn:hover {
            border-color: #D4AF37;
            background: #1a1a1a;
        }

        .forgot-password {
            text-align: right;
            margin-top: -15px;
            margin-bottom: 25px;
        }

        .forgot-password a {
            color: #D4AF37;
            text-decoration: none;
            font-size: 0.85rem;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        .form-footer {
            text-align: center;
            padding: 20px;
            border-top: 1px solid #1a1a1a;
            color: #999;
            font-size: 0.85rem;
        }

        /* Payment Section */
        .payment-container {
            display: none;
            min-height: 100vh;
            padding: 120px 20px 40px;
        }

        .payment-container.active {
            display: block;
        }

        .payment-box {
            max-width: 600px;
            margin: 0 auto;
            background: #0a0a0a;
            border: 1px solid #1a1a1a;
            position: relative;
        }

        .payment-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #D4AF37, transparent);
        }

        .payment-header {
            padding: 40px;
            text-align: center;
            border-bottom: 1px solid #1a1a1a;
        }

        .payment-header h2 {
            font-size: 2rem;
            color: #fff;
            margin-bottom: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -1px;
        }

        .payment-header p {
            color: #999;
            font-size: 0.9rem;
        }

        .plan-summary {
            padding: 30px 40px;
            background: #000;
            border-bottom: 1px solid #1a1a1a;
        }

        .plan-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            color: #ccc;
        }

        .plan-item.total {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #1a1a1a;
            font-size: 1.3rem;
            font-weight: 700;
            color: #D4AF37;
        }

        .crypto-methods {
            padding: 40px;
        }

        .crypto-title {
            color: #D4AF37;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        .crypto-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }

        .crypto-option {
            background: #000;
            border: 1px solid #1a1a1a;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .crypto-option:hover {
            border-color: #D4AF37;
            background: #0a0a0a;
        }

        .crypto-option.selected {
            border-color: #D4AF37;
            background: #111;
            position: relative;
        }

        .crypto-option.selected::after {
            content: '✓';
            position: absolute;
            top: 10px;
            right: 10px;
            color: #D4AF37;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .crypto-icon {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .crypto-name {
            color: #fff;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .crypto-symbol {
            color: #666;
            font-size: 0.8rem;
        }

        .payment-details {
            display: none;
            padding: 30px;
            background: #000;
            border: 1px solid #D4AF37;
            margin-bottom: 30px;
        }

        .payment-details.active {
            display: block;
        }

        .wallet-address {
            margin-bottom: 20px;
        }

        .wallet-address label {
            display: block;
            color: #D4AF37;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .address-box {
            display: flex;
            gap: 10px;
        }

        .address-box input {
            flex: 1;
            background: #0a0a0a;
            border: 1px solid #1a1a1a;
            color: #D4AF37;
            padding: 15px;
            font-size: 0.9rem;
            font-family: monospace;
            outline: none;
        }

        .copy-btn {
            background: #D4AF37;
            color: #000;
            border: none;
            padding: 15px 25px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .copy-btn:hover {
            background: #fff;
        }

        .qr-code {
            text-align: center;
            padding: 30px;
            background: #fff;
            margin: 20px 0;
        }

        .qr-code img {
            max-width: 200px;
            height: auto;
        }

        .payment-instructions {
            color: #999;
            font-size: 0.85rem;
            line-height: 1.8;
            margin-top: 20px;
        }

        .payment-instructions li {
            margin-bottom: 10px;
        }

        .payment-amount {
            background: #0a0a0a;
            border: 1px solid #D4AF37;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
        }

        .payment-amount-label {
            color: #999;
            font-size: 0.8rem;
            margin-bottom: 5px;
        }

        .payment-amount-value {
            color: #D4AF37;
            font-size: 1.8rem;
            font-weight: 700;
            font-family: monospace;
        }

        .confirm-payment-btn {
            width: 100%;
            background: #D4AF37;
            color: #000;
            border: none;
            padding: 18px;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .confirm-payment-btn:hover {
            background: #fff;
            transform: translateY(-2px);
        }

        .payment-note {
            text-align: center;
            color: #666;
            font-size: 0.85rem;
            margin-top: 20px;
            line-height: 1.6;
        }

        /* Success Message */
        .success-container {
            display: none;
            min-height: 100vh;
            padding: 120px 20px 40px;
            text-align: center;
        }

        .success-container.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .success-box {
            max-width: 500px;
            background: #0a0a0a;
            border: 1px solid #1a1a1a;
            padding: 60px 40px;
            position: relative;
        }

        .success-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #D4AF37, transparent);
        }

        .success-icon {
            font-size: 5rem;
            color: #D4AF37;
            margin-bottom: 20px;
        }

        .success-box h2 {
            font-size: 2rem;
            color: #fff;
            margin-bottom: 15px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -1px;
        }

        .success-box p {
            color: #999;
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .dashboard-btn {
            display: inline-block;
            background: #D4AF37;
            color: #000;
            padding: 18px 60px;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .dashboard-btn:hover {
            background: #fff;
            transform: translateY(-2px);
        }

        /* Loading Spinner */
        .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid #333;
            border-top: 2px solid #D4AF37;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading .spinner {
            display: block;
        }

        .loading .submit-btn,
        .loading .confirm-payment-btn {
            position: relative;
            color: transparent;
        }

        /* Error Message */
        .error-message {
            background: rgba(220, 38, 38, 0.1);
            border: 1px solid rgba(220, 38, 38, 0.3);
            color: #ef4444;
            padding: 15px;
            margin-bottom: 20px;
            display: none;
            font-size: 0.9rem;
        }

        .error-message.show {
            display: block;
        }
        /* Password Strength Indicator */
.password-strength {
    margin-top: 10px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.password-strength.show {
    display: block;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-bar.weak {
    width: 33.33%;
    background: #ef4444;
}

.password-strength-bar.medium {
    width: 66.66%;
    background: #f59e0b;
}

.password-strength-bar.strong {
    width: 100%;
    background: #22c55e;
}

/* Password Requirements */
.password-requirements {
    margin-top: 15px;
    padding: 15px;
    background: #111;
    border: 1px solid #1a1a1a;
    display: none;
}

.password-requirements.show {
    display: block;
}

.password-requirements p {
    color: #D4AF37;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.password-requirements ul {
    list-style: none;
}

.password-requirements li {
    color: #666;
    font-size: 0.85rem;
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    transition: color 0.3s ease;
}

.password-requirements li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #666;
    transition: color 0.3s ease;
}

.password-requirements li.valid {
    color: #22c55e;
}

.password-requirements li.valid::before {
    content: '✓';
    color: #22c55e;
}

/* Password Toggle */
.password-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #D4AF37;
}
[lang="ar"] .password-toggle input {
    padding-right: 10px;
    padding-left: 40px;
}

[lang="ar"] .password-toggle .toggle-password {
    right: auto;
    left: 10px;
}
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Responsive - Stack on Mobile */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 25px;
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }
}
        /* Responsive */
        @media (max-width: 768px) {
            .auth-box,
            .payment-box,
            .success-box {
                margin: 0 10px;
            }

            .auth-form,
            .crypto-methods {
                padding: 30px 20px;
            }

            .crypto-grid {
                grid-template-columns: 1fr;
            }

            .tab-btn {
                font-size: 0.85rem;
                padding: 12px 20px;
            }
        }
@media (max-width: 480px) {
    .back-link span {
        display: none;
    }
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .logo img {
    height: 50px;
  }
}
  @media (max-width: 768px) {
            .terms-header h1 {
                font-size: 1.8rem;
            }

            .terms-content,
            .table-of-contents {
                padding: 30px 20px;
            }

            .terms-section h2 {
                font-size: 1.3rem;
            }

            nav {
                padding: 0.5rem 3%;
            }
            .logo{
                margin-left: 0 !important;
                padding-left: 0 !important;
            }
              .logo img {
    height: 50px;
  }
            .back-link {
                font-size: 0.6rem;
            }
            #authTitle{
                font-size: 1.2rem;
            }
            #authSubtitle{
                font-size: 0.8rem;
            }
           .back-link {
        display: none;
    }
        }