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

:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: #252542;
    --text-primary: #fff;
    --text-secondary: #aaa;
    --accent: #ffd700;
    --success: #2ed573;
    --danger: #ff4757;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Light Theme */
body.light-theme {
    --bg-primary: #f5f5f5;
    --bg-secondary: #e0e0e0;
    --bg-card: #ffffff;
    --text-primary: #333;
    --text-secondary: #666;
}

body.light-theme {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

body.light-theme .header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.light-theme .nav-menu {
    background: #fff;
}

body.light-theme .nav-btn {
    color: #333;
}

body.light-theme .section,
body.light-theme .card,
body.light-theme .bonus-card,
body.light-theme .wallet-balance-card {
    background: #fff;
    color: #333;
}

/* زر الإشعارات */
.btn-notifications {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    padding: 5px 10px;
}

.notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4757;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.notif-badge:empty,
.notif-badge[data-count="0"] {
    display: none;
}

/* زر الثيم */
.btn-theme {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
}

.btn-theme:hover {
    transform: rotate(20deg);
}

/* قائمة الإشعارات */
.notifications-panel {
    position: fixed;
    top: 70px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
}

.notifications-panel.hidden {
    display: none;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.notif-header h3 {
    color: var(--accent);
    font-size: 1rem;
}

.notif-header button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
}

.notifications-list {
    max-height: 300px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.notif-item:hover {
    background: rgba(255,255,255,0.05);
}

.notif-item.unread {
    background: rgba(255,215,0,0.1);
}

.notif-icon {
    font-size: 1.5rem;
}

.notif-content {
    flex: 1;
}

.notif-content p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.notif-time {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* الصفحات */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* صفحة التسجيل */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.logo p {
    color: #aaa;
    font-size: 1.1rem;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1a1a2e;
    font-weight: 600;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
}

.auth-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.auth-form input::placeholder {
    color: #888;
}

.auth-form input:focus {
    outline: 2px solid #ffd700;
}

/* روابط نسيت كلمة المرور */
.forgot-password-link {
    display: block;
    text-align: center;
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: opacity 0.3s;
}

.forgot-password-link:hover {
    opacity: 0.8;
}

.back-link {
    display: block;
    text-align: center;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 20px;
}

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

/* OTP Section */
.otp-section {
    text-align: center;
}

.otp-header {
    margin-bottom: 25px;
}

.otp-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.otp-header h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.otp-header p {
    color: #aaa;
    font-size: 0.9rem;
}

.otp-email {
    color: #2ed573 !important;
    font-weight: bold;
    margin-top: 5px;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    direction: ltr;
}

.otp-input {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #444;
    border-radius: 12px;
    background: #2a2a2a;
    color: #fff;
    transition: all 0.3s;
}

.otp-input:focus {
    border-color: #ffd700;
    outline: none;
    background: #333;
}

.otp-input.filled {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.1);
}

.btn-verify {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.otp-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.otp-footer p {
    color: #888;
    margin: 0;
}

.btn-resend {
    background: none;
    border: none;
    color: #ffd700;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: underline;
}

.btn-resend:disabled {
    color: #666;
    cursor: not-allowed;
    text-decoration: none;
}

.otp-timer {
    color: #ff4757;
    font-weight: bold;
}

/* OTP Success Animation */
@keyframes otpSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.otp-input.success {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.2);
    animation: otpSuccess 0.3s ease;
}

/* Presentation في صفحة التسجيل */
.how-it-works-auth {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* التوصيل العالمي - سطر واحد */
.worldwide-shipping-line {
    margin-top: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(46,213,115,0.2), rgba(0,210,211,0.2));
    border-radius: 12px;
    border: 1px solid rgba(46,213,115,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.worldwide-shipping-line span {
    font-size: 1.5rem;
}

.worldwide-shipping-line p {
    color: #2ed573;
    font-size: 1rem;
    font-weight: 600;
}

/* شركاؤنا - مصغر */
.partners-section-mini {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.partners-label {
    color: #aaa;
    font-size: 0.85rem;
}

.partners-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.partner-mini {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 600;
}

.partner-mini.temu-mini {
    background: rgba(255,107,0,0.2);
    color: #ff6b00;
    border: 1px solid #ff6b00;
}

/* طرق الدفع */
.payment-methods {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-label {
    color: #aaa;
    font-size: 0.85rem;
}

.payments-inline {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.payment-item {
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-item.visa {
    background: linear-gradient(135deg, #1a1f71, #2557d6);
    color: #fff;
}

.payment-item.mastercard {
    background: linear-gradient(135deg, #eb001b, #f79e1b);
    color: #fff;
}

.payment-item.paypal {
    background: linear-gradient(135deg, #003087, #009cde);
    color: #fff;
}

.payment-item.cashplus {
    background: linear-gradient(135deg, #e31837, #ff6b00);
    color: #fff;
}

.payment-item.wafacash {
    background: linear-gradient(135deg, #00a651, #39b54a);
    color: #fff;
}

.how-it-works-auth h2 {
    text-align: center;
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.steps-auth {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-auth {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step-auth:hover {
    background: rgba(255,215,0,0.1);
    border-color: rgba(255,215,0,0.3);
    transform: translateX(-5px);
}

.step-num {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1a1a2e;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-emoji {
    font-size: 1.5rem;
}

.step-content h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-primary {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* الهيدر */
.header {
    background: rgba(0,0,0,0.3);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section h2 {
    color: #ffd700;
    margin: 0;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s;
}

.partner-badge:hover {
    transform: scale(1.1);
}

.partner-badge.temu {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
}

.partner-badge.shein {
    background: #000;
    color: #fff;
}

.header h2 {
    color: #ffd700;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

#user-points {
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1a1a2e;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.btn-logout {
    padding: 8px 15px;
    border: 1px solid #ff4757;
    background: transparent;
    color: #ff4757;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #ff4757;
    color: #fff;
}

/* تنبيه الإيداع */
.deposit-alert {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 15px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.deposit-alert.hidden {
    display: none;
}

.deposit-alert .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* القائمة */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.2);
}

.nav-btn {
    padding: 12px 20px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav-btn.active {
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1a1a2e;
    font-weight: 600;
}

.nav-btn:hover:not(.active) {
    background: rgba(255,255,255,0.2);
}

/* المحتوى الرئيسي */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.section-desc {
    color: #aaa;
    margin-bottom: 30px;
}

/* الربح اليومي */
.daily-bonus-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.spin-wheel-box, .daily-claim-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.spin-wheel-box h3, .daily-claim-box h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.spin-wheel-box p, .daily-claim-box p {
    color: #aaa;
    margin-bottom: 20px;
}

/* عجلة الحظ */
.wheel-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #ff6b6b 0deg 45deg,
        #ffd700 45deg 90deg,
        #54a0ff 90deg 135deg,
        #2ed573 135deg 180deg,
        #ff9500 180deg 225deg,
        #a55eea 225deg 270deg,
        #00d2d3 270deg 315deg,
        #ff6b81 315deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.wheel-segment {
    position: absolute;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 0.9rem;
}

.seg1 { top: 15%; right: 20%; }
.seg2 { top: 20%; right: 5%; }
.seg3 { bottom: 20%; right: 5%; }
.seg4 { bottom: 15%; right: 20%; }
.seg5 { bottom: 15%; left: 20%; }
.seg6 { bottom: 20%; left: 5%; }
.seg7 { top: 20%; left: 5%; }
.seg8 { top: 15%; left: 20%; }

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10;
}

.btn-spin {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #a55eea, #5f27cd);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-spin:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(165,94,234,0.4);
}

.btn-spin:disabled {
    background: #636e72;
    cursor: not-allowed;
    transform: none;
}

.spin-status, .claim-status {
    margin-top: 15px;
    font-weight: 600;
    min-height: 24px;
}

/* المكافأة اليومية */
.daily-streak {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.streak-day {
    width: 50px;
    padding: 10px 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.streak-day.claimed {
    background: rgba(46,213,115,0.2);
    border-color: #2ed573;
}

.streak-day.current {
    border-color: #ffd700;
    animation: pulse 1.5s infinite;
}

.streak-day.special {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,149,0,0.2));
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255,215,0,0); }
}

.day-num {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 5px;
}

.day-points {
    display: block;
    font-weight: 700;
    color: #2ed573;
    font-size: 0.85rem;
}

.btn-claim {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #2ed573, #26de81);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-claim:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(46,213,115,0.4);
}

.btn-claim:disabled {
    background: #636e72;
    cursor: not-allowed;
    transform: none;
}

/* الإحصائيات */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    color: #aaa;
    margin-top: 5px;
}

/* بطاقة الترحيب */
.welcome-card {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,149,0,0.2));
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,215,0,0.3);
}

.welcome-card h2 {
    color: #fff;
    margin-bottom: 10px;
}

/* كيف يعمل الموقع - Presentation */
.how-it-works {
    margin-top: 40px;
    background: rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.2);
}

.how-it-works h2 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 40px;
    font-size: 2rem;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.step-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    width: 200px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(255,215,0,0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.step-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.step-card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-arrow {
    font-size: 2rem;
    color: #ffd700;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Responsive للـ Presentation */
@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    @keyframes arrowPulse {
        0%, 100% { opacity: 0.5; transform: rotate(90deg) translateX(0); }
        50% { opacity: 1; transform: rotate(90deg) translateX(5px); }
    }
    
    .step-card {
        width: 100%;
        max-width: 300px;
    }
}

/* المهام */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.task-info h4 {
    margin-bottom: 5px;
}

.task-info p {
    color: #aaa;
    font-size: 0.9rem;
}

.task-reward {
    background: rgba(255,215,0,0.2);
    color: #ffd700;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.task-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s;
}

.task-btn.available {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    color: #fff;
}

.task-btn.completed {
    background: #2ed573;
    color: #fff;
    cursor: default;
}

.task-btn.locked {
    background: #636e72;
    color: #fff;
    cursor: not-allowed;
}

/* الإحالة */
.referral-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.referral-link {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.referral-link input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-family: inherit;
}

.btn-copy {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1a1a2e;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.referral-code {
    color: #aaa;
}

.referral-code strong {
    color: #ffd700;
    font-size: 1.2rem;
}

.referrals-stats {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
}

.referrals-stats h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.referrals-stats p {
    margin: 10px 0;
}

/* المتجر */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,215,0,0.3);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    margin-bottom: 10px;
}

.product-info p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-buy {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-buy:hover {
    transform: scale(1.05);
}

.btn-buy:disabled {
    background: #636e72;
    cursor: not-allowed;
}

/* الإيداع */
.deposit-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.deposit-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.deposit-card:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
}

.deposit-card.selected {
    border-color: #ffd700;
    background: rgba(255,215,0,0.2);
}

.deposit-card h3 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.deposit-card p {
    color: #2ed573;
}

.deposit-form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.deposit-form.hidden {
    display: none;
}

.deposit-form h3 {
    color: #ffd700;
    margin-bottom: 20px;
}

.deposit-form select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    margin: 15px 0;
}

.deposit-form select option {
    background: #1a1a2e;
}

/* رسائل التنبيه */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.toast.success {
    background: linear-gradient(135deg, #2ed573, #26de81);
}

.toast.error {
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
}

.toast.info {
    background: linear-gradient(135deg, #54a0ff, #5f27cd);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hidden {
    display: none !important;
}

/* ============ الصفحة الرئيسية الجديدة ============ */

/* بانر الترحيب */
.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-content h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.banner-content p {
    opacity: 0.9;
}

.main-balance {
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 20px 30px;
    border-radius: 15px;
}

.balance-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.balance-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.balance-currency {
    font-size: 1rem;
    margin-right: 5px;
}

/* الإحصائيات السريعة */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.quick-stat {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.quick-stat:hover {
    transform: translateY(-3px);
}

.qs-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.qs-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
}

.qs-label {
    font-size: 0.75rem;
    color: #aaa;
}

/* عناوين الأقسام */
.home-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 15px;
}

.home-section-title h2 {
    font-size: 1.3rem;
    color: #fff;
}

.section-badge {
    background: linear-gradient(135deg, #2ed573, #26de81);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.see-all {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
}

/* بطاقات الربح اليومي */
.daily-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.bonus-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.bonus-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.bonus-icon {
    font-size: 1.5rem;
}

.bonus-header h3 {
    font-size: 1rem;
    color: #fff;
}

.bonus-card p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.wheel-mini-container {
    margin: 15px 0;
}

.wheel-mini {
    width: 80px;
    height: 80px;
    background: conic-gradient(#ff6b6b, #ffd700, #54a0ff, #2ed573, #ff9500, #a55eea, #00d2d3, #ff6b81);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 3s ease-out;
}

.btn-bonus {
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffd700, #ff9500);
    color: #1a1a2e;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-bonus:hover {
    transform: scale(1.05);
}

.btn-bonus.green {
    background: linear-gradient(135deg, #2ed573, #26de81);
    color: #fff;
}

.btn-bonus.purple {
    background: linear-gradient(135deg, #a55eea, #5f27cd);
    color: #fff;
}

.btn-bonus:disabled {
    background: #636e72;
    cursor: not-allowed;
}

.bonus-status {
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 20px;
}

.streak-mini {
    margin: 15px 0;
}

.streak-progress {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.streak-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ed573, #ffd700);
    border-radius: 4px;
    width: 14%;
    transition: width 0.5s;
}

.streak-reward {
    color: #2ed573;
    font-weight: 600;
}

/* بانر إعلاني */
.promo-banner {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    overflow: hidden;
    position: relative;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.promo-logo {
    width: 80px;
    height: auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

.promo-text {
    flex: 1;
}

.promo-text h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.promo-text p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.promo-btn {
    padding: 12px 25px;
    background: #fff;
    color: #ff6b35;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}

.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .promo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-logo {
        width: 60px;
    }
}

.ad-reward {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a55eea;
    margin: 15px 0;
}

/* تقدم المهام */
.tasks-progress-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
}

.tasks-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tasks-count {
    color: #ffd700;
    font-weight: 600;
}

.tasks-progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.tasks-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff9500);
    border-radius: 5px;
    width: 0%;
    transition: width 0.5s;
}

.quick-tasks {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* لوحة المتصدرين */
.leaderboard-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.leader-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.leader-item:last-child {
    border-bottom: none;
}

.leader-item.gold {
    background: linear-gradient(90deg, rgba(255,215,0,0.2), transparent);
}

.leader-item.silver {
    background: linear-gradient(90deg, rgba(192,192,192,0.2), transparent);
}

.leader-item.bronze {
    background: linear-gradient(90deg, rgba(205,127,50,0.2), transparent);
}

.leader-rank {
    width: 40px;
    font-size: 1.2rem;
    font-weight: 700;
}

.leader-name {
    flex: 1;
}

.leader-points {
    color: #ffd700;
    font-weight: 600;
}

/* بطاقة الدعوة */
.invite-card {
    background: linear-gradient(135deg, rgba(102,126,234,0.3), rgba(118,75,162,0.3));
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(102,126,234,0.5);
}

.invite-info h3 {
    color: #ffd700;
    margin-bottom: 5px;
}

.invite-info p {
    color: #aaa;
    margin-bottom: 15px;
}

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

.invite-link-box input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-family: inherit;
}

.btn-copy-small {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: #ffd700;
    color: #1a1a2e;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* الأخبار */
.news-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.news-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.news-item:last-child {
    border-bottom: none;
}

.news-badge {
    background: #ff4757;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.news-badge.promo {
    background: #ffd700;
    color: #1a1a2e;
}

.news-item p {
    flex: 1;
}

.news-time {
    color: #aaa;
    font-size: 0.8rem;
}

/* ============ المحفظة ============ */

.wallet-balance-card {
    background: linear-gradient(135deg, #2ed573, #26de81);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.wallet-label {
    display: block;
    opacity: 0.9;
    margin-bottom: 5px;
}

.wallet-amount {
    margin: 10px 0;
}

.wallet-points {
    font-size: 3rem;
    font-weight: 700;
}

.wallet-currency {
    font-size: 1.2rem;
}

.wallet-usd {
    opacity: 0.9;
}

.wallet-deposit-amount {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.wallet-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.wallet-btn {
    padding: 20px;
    border: none;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.wallet-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.wallet-btn span:first-child {
    font-size: 1.5rem;
}

.wallet-tabs {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px;
}

.wallet-tab {
    display: none;
}

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

.wallet-tab h3 {
    color: #ffd700;
    margin-bottom: 10px;
}

.tab-desc {
    color: #aaa;
    margin-bottom: 20px;
}

/* السحب */
.withdraw-info {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.withdraw-rate, .withdraw-min {
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 150px;
}

.withdraw-rate span, .withdraw-min span {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.withdraw-rate strong, .withdraw-min strong {
    color: #ffd700;
}

.withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.withdraw-form label {
    color: #aaa;
    font-size: 0.9rem;
}

.withdraw-form input, .withdraw-form select {
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.withdraw-preview {
    color: #2ed573;
    font-weight: 600;
    text-align: center;
}

.btn-withdraw {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-withdraw:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
}

/* سجل المعاملات */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.trans-icon {
    font-size: 1.5rem;
}

.trans-info {
    flex: 1;
}

.trans-type {
    display: block;
    font-weight: 600;
}

.trans-date {
    font-size: 0.8rem;
    color: #aaa;
}

.trans-amount {
    font-weight: 700;
}

.trans-amount.positive {
    color: #2ed573;
}

.trans-amount.negative {
    color: #ff4757;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .wallet-actions {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leaderboard-card {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: row;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .header-content h2 {
        font-size: 1.2rem;
    }
    
    .user-info {
        gap: 5px;
    }
    
    .user-info span {
        font-size: 0.85rem;
    }
    
    .btn-logout {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .btn-notifications, .btn-theme {
        font-size: 1.1rem;
        padding: 3px 6px;
    }
    
    .nav-menu {
        gap: 3px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .main-content {
        padding: 15px 10px;
    }
    
    .section {
        padding: 15px;
    }
    
    .task-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .deposit-alert {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .banner-content h1 {
        font-size: 1.3rem;
    }
    
    .balance-value {
        font-size: 2rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-stat {
        padding: 15px 10px;
    }
    
    .qs-value {
        font-size: 1.3rem;
    }
    
    .daily-bonus-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bonus-card {
        padding: 20px 15px;
    }
    
    .invite-link-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .invite-link-box input {
        font-size: 0.8rem;
    }
    
    .withdraw-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .deposit-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wallet-balance-card {
        padding: 20px;
    }
    
    .wallet-amount {
        font-size: 2rem;
    }
    
    .notifications-panel {
        top: 60px;
        left: 10px;
        right: 10px;
    }
    
    /* Bottom Navigation for Mobile */
    .nav-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 100;
        border-radius: 0;
    }
    
    .main-content {
        padding-bottom: 80px;
    }
    
    /* OTP Mobile */
    .otp-inputs {
        gap: 6px;
    }
    
    .otp-input {
        width: 42px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    /* Toast Mobile */
    .toast {
        left: 10px;
        right: 10px;
        bottom: 80px;
        transform: none;
    }
}

@media (max-width: 400px) {
    .quick-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .deposit-options {
        grid-template-columns: 1fr 1fr;
    }
    
    .otp-input {
        width: 38px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .steps-auth {
        gap: 15px;
    }
    
    .step-auth {
        padding: 15px;
    }
}

/* ==================== MÉTHODES DE PAIEMENT ==================== */
.payment-methods-container {
    max-width: 800px;
    margin: 30px auto;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.payment-methods-container h2 {
    color: var(--accent);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8em;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-method {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: var(--accent);
}

.payment-method img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.payment-method span {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 10px;
}

.payment-form {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    display: none;
}

.payment-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.payment-form h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.3em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.payment-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-cancel {
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-cancel:hover {
    background: rgba(255,255,255,0.2);
}

/* Payment Icons */
.payment-icon {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.cih-icon {
    background: linear-gradient(135deg, #e31837, #c41230);
    color: #fff;
}

.cashplus-icon {
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: #fff;
}

.wafacash-icon {
    background: linear-gradient(135deg, #00a651, #00c853);
    color: #fff;
}

.payment-method.selected {
    border-color: var(--accent);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

/* Quick Deposit Section */
.quick-deposit-section {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,215,0,0.05));
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
}

.quick-deposit-section h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.quick-deposit-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.quick-deposit-amount {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.deposit-amount-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.deposit-amount-btn:hover,
.deposit-amount-btn.active {
    border-color: var(--accent);
    background: rgba(255,215,0,0.1);
    color: var(--accent);
}

.deposit-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 0 auto;
}

.deposit-now-btn .btn-bonus {
    background: rgba(0,0,0,0.2);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8em;
}

.payment-methods-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-methods-icons img {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.payment-methods-icons img:hover {
    opacity: 1;
}

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.85em;
}

/* Verification Modal */
.verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.verification-content {
    background: var(--bg-card);
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.verification-header {
    background: var(--accent);
    color: #000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verification-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.verification-header .close-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #000;
}

.verification-body {
    padding: 25px;
    text-align: center;
}

.verification-body p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.verification-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    direction: ltr;
}

.verification-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5em;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    transition: all 0.3s;
}

.verification-input:focus {
    border-color: var(--accent);
    outline: none;
}

.verification-timer {
    margin: 15px 0;
    color: var(--text-secondary);
}

#resend-code {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
    display: none;
}

#verify-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.form-note {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255,215,0,0.1);
    border-radius: 8px;
}

.form-note small {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 600px) {
    .payment-methods-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .payment-method {
        padding: 15px 10px;
    }
    
    .payment-icon {
        width: 60px;
        height: 40px;
        font-size: 0.9em;
    }
    
    .payment-form {
        padding: 15px;
    }
    
    .quick-deposit-amount {
        gap: 8px;
    }
    
    .deposit-amount-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    
    .verification-input {
        width: 38px;
        height: 48px;
        font-size: 1.2em;
    }
}
