:root {
    --bg-primary: #070b1a;
    --bg-secondary: #0f1729;
    --bg-gradient: linear-gradient(135deg, #070b1a 0%, #111827 50%, #0a0f1e 100%);
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(15, 23, 42, 0.9);
    --bg-nav: rgba(7, 11, 26, 0.95);
    --bg-notification: linear-gradient(90deg, #0f1729, #070b1a);
    --bg-modal: #0f1729;
    --bg-dropdown: #0f1729;
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: rgba(255,255,255,0.6);
    --text-nav: rgba(255,255,255,0.65);
    --accent-gold: #f0b90b;
    --accent-gold-hover: #d4a50a;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-red: #ef4444;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --accent-orange: #f97316;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
    --glow-gold: 0 0 20px rgba(240,185,11,0.08);
}
[data-theme="light"] {
    --bg-primary: #f8f6f2;
    --bg-secondary: #eae7e0;
    --bg-gradient: linear-gradient(135deg, #f8f6f2 0%, #eeebe4 50%, #f5f2ec 100%);
    --bg-card: rgba(255,255,255,0.78);
    --bg-card-hover: rgba(255,255,255,0.92);
    --bg-nav: rgba(255,255,255,0.92);
    --bg-notification: linear-gradient(90deg, #eeebe4, #f8f6f2);
    --bg-modal: #ffffff;
    --bg-dropdown: #ffffff;
    --border-color: rgba(0,0,0,0.1);
    --border-hover: rgba(0,0,0,0.18);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-nav: #475569;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
    --glow-gold: 0 0 20px rgba(240,185,11,0.12);
}
body {
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    transition: background 0.3s, color 0.3s;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--text-primary); }
.card-body p, .card-body li, .card-body span:not(.badge):not(.stat-value), .card-body label, .card-body small { color: var(--text-primary); }

/* ===== Text Color Overrides (root = dark mode) ===== */
.text-muted { color: var(--text-muted) !important; }
.text-dark { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-white-50 { color: var(--text-secondary) !important; }
.lead { color: var(--text-primary); }
.card { color: var(--text-primary); }

/* ===== Light Mode Overrides ===== */
[data-theme="light"] .text-muted { color: var(--text-muted) !important; }
[data-theme="light"] .text-dark { color: var(--text-primary) !important; }
[data-theme="light"] .text-secondary { color: var(--text-secondary) !important; }
[data-theme="light"] .text-white-50 { color: var(--text-secondary) !important; }
[data-theme="light"] .table { --bs-table-bg: transparent; --bs-table-color: var(--text-primary); --bs-table-hover-color: var(--text-primary); }
[data-theme="light"] .modal-body,
[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer { color: var(--text-primary); }
[data-theme="light"] .dropdown-item { color: var(--text-secondary); }
[data-theme="light"] .navbar-nav .nav-link { color: var(--text-nav) !important; }
[data-theme="light"] .bg-dark { background: var(--bg-card) !important; }

/* text-white becomes dark in light mode */
[data-theme="light"] .text-white { color: var(--text-primary) !important; }
[data-theme="light"] h1.text-white,
[data-theme="light"] h2.text-white,
[data-theme="light"] h3.text-white,
[data-theme="light"] h4.text-white,
[data-theme="light"] h5.text-white,
[data-theme="light"] h6.text-white { color: var(--text-primary) !important; }
[data-theme="light"] .card .text-white:not(.badge):not(.btn) { color: var(--text-primary) !important; }

/* Keep white on dark-background sections */
[data-theme="light"] .hero-section .text-white,
[data-theme="light"] .hero-section .text-white-50,
[data-theme="light"] .hero-section h1.text-white,
[data-theme="light"] .hero-section h3.text-white { color: #ffffff !important; }
[data-theme="light"] .hero-section .text-muted { color: rgba(255,255,255,0.5) !important; }
[data-theme="light"] [class*="bg-"] .text-white,
[data-theme="light"] [class*="bg-"] .text-white-50 { color: #ffffff !important; }
[data-theme="light"] .badge.text-white { color: #ffffff !important; }
[data-theme="light"] .btn.text-white { color: #ffffff !important; }
[data-theme="light"] .stat-card .text-white,
[data-theme="light"] .stat-card .stat-value { color: inherit !important; }
[data-theme="light"] .stat-card.balance .stat-value { color: #00e676 !important; }
[data-theme="light"] .stat-card.profit .stat-value { color: #448aff !important; }
[data-theme="light"] .stat-card.deposits .stat-value { color: #26c6da !important; }
[data-theme="light"] .stat-card.withdrawn .stat-value { color: #ff9100 !important; }
[data-theme="light"] footer .text-muted { color: var(--text-muted) !important; }
[data-theme="light"] footer .text-white { color: var(--text-primary) !important; }
.navbar {
    background: var(--bg-nav) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    transition: background 0.3s;
}
.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--accent-gold), #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-link {
    color: var(--text-nav) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-link:hover { color: var(--accent-gold) !important; background: rgba(240,185,11,0.1); }
.card {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-header {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-weight: 600;
    padding: 1rem 1.25rem;
}
[data-theme="light"] .card-header {
    background: rgba(0,0,0,0.02);
}
.card-body { color: var(--text-secondary); }
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #162a50 100%);
    border-radius: 24px;
    margin-top: 1rem;
    padding: 4rem 2rem;
    border: 1px solid var(--border-color);
}
[data-theme="light"] .hero-section {
    background: linear-gradient(135deg, #162a50 0%, #1e3a5f 100%);
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(240,185,11,0.2);
}
.feature-icon { font-size: 2.5rem; }
.stat-card {
    border-radius: 16px;
    padding: 1.5rem;
    border: none;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.stat-card.balance::before { background: linear-gradient(90deg, var(--accent-green), #34d399); }
.stat-card.profit::before { background: linear-gradient(90deg, var(--accent-blue), #60a5fa); }
.stat-card.deposits::before { background: linear-gradient(90deg, var(--accent-cyan), #22d3ee); }
.stat-card.withdrawn::before { background: linear-gradient(90deg, var(--accent-orange), #fb923c); }
.stat-card h6 { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 700; margin: 0; }
.stat-card .stat-icon { font-size: 2rem; opacity: 0.12; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
.table {
    --bs-table-bg: transparent;
    color: var(--text-secondary);
    margin: 0;
}
.table thead th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem;
}
.table tbody td {
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem;
    vertical-align: middle;
}
.table tbody tr:hover { background: var(--border-color); }
.btn-warning {
    background: linear-gradient(135deg, var(--accent-gold), #f5c842);
    border: none;
    color: #070b1a;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
}
.btn-warning:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover), #e8b832);
    color: #070b1a;
    transform: translateY(-1px);
}
.btn-outline-light {
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #60a5fa);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-blue-hover), var(--accent-blue)); transform: translateY(-1px); }
.btn-success {
    background: linear-gradient(135deg, var(--accent-green), #34d399);
    border: none;
    border-radius: 10px;
    font-weight: 600;
}
.btn-success:hover { background: linear-gradient(135deg, var(--accent-green-hover), var(--accent-green)); transform: translateY(-1px); }
.btn-danger {
    border-radius: 10px;
    font-weight: 600;
}
.btn-sm { padding: 0.3rem 0.8rem; border-radius: 8px; }
.form-control, .form-select {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.7rem 1rem;
}
[data-theme="light"] .form-control, [data-theme="light"] .form-select {
    background: rgba(255,255,255,0.85);
}
.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(240,185,11,0.15);
    color: var(--text-primary);
}
[data-theme="light"] .form-control:focus, [data-theme="light"] .form-select:focus {
    background: #ffffff;
}
.form-control::placeholder { color: var(--text-muted); }
.form-label { color: var(--text-secondary); font-weight: 500; }
.badge { padding: 0.4rem 0.7rem; border-radius: 8px; font-weight: 500; }
.modal-content {
    background: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}
.modal-header { border-bottom: 1px solid var(--border-color); }
.modal-footer { border-top: 1px solid var(--border-color); }
.modal-title { color: var(--accent-gold); }
.alert {
    border-radius: 12px;
    border: none;
}
.alert-success { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.alert-danger { background: rgba(239,68,68,0.15); color: var(--accent-red); }
.alert-warning { background: rgba(240,185,11,0.15); color: var(--accent-gold); }
.alert-info { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.page-footer {
    background: var(--bg-nav);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.dropdown-menu {
    background: var(--bg-dropdown);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.dropdown-item { color: var(--text-secondary); border-radius: 8px; }
.dropdown-item:hover { background: rgba(240,185,11,0.1); color: var(--accent-gold); }
.input-group-text {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
}
[data-theme="light"] .input-group-text {
    background: rgba(0,0,0,0.06) !important;
}
.form-control:disabled, .form-control[readonly] {
    background: rgba(255,255,255,0.06) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}
[data-theme="light"] .form-control:disabled, [data-theme="light"] .form-control[readonly] {
    background: rgba(0,0,0,0.04) !important;
}
.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px;
}
.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.card-footer {
    background: transparent !important;
    border-top: 1px solid var(--border-color) !important;
}
.list-group-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}
.list-group-item-action:hover {
    background: var(--bg-card-hover) !important;
}
.modal-backdrop { opacity: 0.7 !important; }
.table { --bs-table-color: var(--text-primary); --bs-table-hover-color: var(--text-primary); }
[data-theme="light"] .table { --bs-table-bg: transparent; }
.nav-tabs .nav-link { color: var(--text-muted) !important; }
.nav-tabs .nav-link.active { color: var(--accent-gold) !important; background: transparent !important; border-color: var(--border-color) !important; border-bottom-color: transparent !important; }
[data-theme="light"] .nav-tabs .nav-link.active { background: transparent !important; }
.page-link { background: var(--bg-card) !important; border-color: var(--border-color) !important; color: var(--text-primary) !important; }
.page-item.active .page-link { background: var(--accent-gold) !important; border-color: var(--accent-gold) !important; color: #000 !important; }
.progress { background: rgba(255,255,255,0.08) !important; }
[data-theme="light"] .progress { background: rgba(0,0,0,0.06) !important; }
.accordion-item { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
.accordion-button { background: var(--bg-card) !important; color: var(--text-primary) !important; }
.close, .btn-close { filter: invert(1); }
[data-theme="light"] .close, [data-theme="light"] .btn-close { filter: none; }
.table td:first-child, .table th:first-child { padding-left: 1.25rem; }
.table td:last-child, .table th:last-child { padding-right: 1.25rem; }

.notification-bar {
    background: var(--bg-notification);
    border-bottom: 1px solid rgba(240,185,11,0.15);
    padding: 0.4rem 0;
    overflow: hidden;
}
.notification-scroll {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.plan-card { border-color: var(--border-color); }
.plan-card .plan-roi { margin: 1rem 0; }
.plan-card .roi-percentage {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
}
.plan-card .plan-details { margin: 1rem 0; }
.plan-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}
.plan-card .detail-label { color: var(--text-muted); font-size: 0.85rem; }
.plan-card .detail-value { font-weight: 600; color: var(--text-primary); }
.company-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.company-icon.tesla { background: rgba(240,185,11,0.15); color: var(--accent-gold); }
.company-icon.spacex { background: rgba(6,182,212,0.15); color: var(--accent-cyan); }
.company-icon.neuralink { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.company-icon.xcom { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.company-icon.boring { background: rgba(249,115,22,0.15); color: var(--accent-orange); }
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1);
}

.notif-dropdown .dropdown-item { border-bottom: 1px solid var(--border-color); padding: 0.6rem 1rem; }
.notif-dropdown .dropdown-item:last-child { border-bottom: none; }
.notif-dropdown .dropdown-item:hover { background: var(--bg-card-hover); }
#notifBell .nav-link { padding-left: 0.5rem; padding-right: 0.5rem; }

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-nav);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
    padding: 0;
    margin-left: 0.5rem;
}
.theme-toggle:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(240,185,11,0.1);
}

.password-field {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}
.password-field.revealed {
    font-family: inherit;
    letter-spacing: 0;
}

/* ===== Withdrawal Page ===== */
.withdraw-pm-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.withdraw-pm-card:hover {
    border-color: rgba(240,185,11,0.3);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.withdraw-pm-card.active {
    border-color: var(--accent-gold);
    background: rgba(240,185,11,0.08);
    box-shadow: 0 0 20px rgba(240,185,11,0.1);
}
.withdraw-pm-card .pm-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.withdraw-pm-card .pm-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}
@media (max-width: 576px) {
    .withdraw-pm-card { padding: 0.75rem 0.5rem; }
    .withdraw-pm-card .pm-icon { font-size: 1.3rem; }
    .withdraw-pm-card .pm-label { font-size: 0.7rem; }
}

@media (max-width: 768px) {
    .stat-card .stat-icon { display: none; }
    .theme-toggle { margin: 0.5rem 0 0 0; }
}

/* ===== Floating Toast Notifications ===== */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast-item {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: toastIn 0.5s ease forwards;
    pointer-events: auto;
}
.toast-item.toast-out {
    animation: toastOut 0.4s ease forwards;
}
.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.toast-icon.deposit {
    background: rgba(16,185,129,0.2);
    color: var(--accent-green);
}
.toast-icon.withdraw {
    background: rgba(240,185,11,0.2);
    color: var(--accent-gold);
}
.toast-icon.profit {
    background: rgba(59,130,246,0.2);
    color: var(--accent-blue);
}
.toast-icon.referral {
    background: rgba(168,85,247,0.2);
    color: #a855f7;
}
.toast-content {
    flex: 1;
    min-width: 0;
}
.toast-content .toast-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1px;
}
.toast-content .toast-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-40px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(-40px) scale(0.9); }
}

/* ===== Testimonial Avatars ===== */
.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 12px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s;
}
.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.08);
}
.testimonial-text {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.3;
}
.testimonial-dot.active {
    opacity: 1;
    transform: scale(1.3);
}

/* ===== License Badges ===== */
.license-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}
.license-card:hover {
    border-color: rgba(240,185,11,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.license-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}
.license-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.license-number {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
}
.license-status {
    font-size: 0.7rem;
    color: var(--accent-green);
}
.license-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

/* ===== Email Verification Bar ===== */
.kyc-verify-bar {
    background: rgba(59,130,246,0.08);
    border-bottom: 1px solid rgba(59,130,246,0.15);
    font-size: 0.85rem;
    color: var(--accent-blue);
}
.kyc-verify-bar .btn-outline-warning {
    border-color: rgba(240,185,11,0.3);
    color: var(--accent-gold);
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}
.kyc-verify-bar .btn-outline-warning:hover {
    background: rgba(240,185,11,0.15);
    border-color: var(--accent-gold);
}
@media (max-width: 576px) {
    .kyc-verify-bar .container { flex-direction: column; text-align: center; }

.verify-bar {
    background: rgba(240,185,11,0.08);
    border-bottom: 1px solid rgba(240,185,11,0.15);
    font-size: 0.85rem;
    color: var(--accent-gold);
}
.verify-bar .btn-outline-warning {
    border-color: rgba(240,185,11,0.3);
    color: var(--accent-gold);
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}
.verify-bar .btn-outline-warning:hover {
    background: rgba(240,185,11,0.15);
    border-color: var(--accent-gold);
}
@media (max-width: 576px) {
    .verify-bar .container { flex-direction: column; text-align: center; }
}

/* ===== Profile Page ===== */
.profile-cover {
    background: linear-gradient(135deg, rgba(240,185,11,0.15), rgba(59,130,246,0.1));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}
.profile-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(240,185,11,0.05);
    pointer-events: none;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(240,185,11,0.25);
    position: relative;
    z-index: 1;
}
.profile-cover-info h4 {
    color: var(--text-primary);
    font-weight: 700;
}
.profile-cover-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.profile-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}
.profile-stat:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.profile-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.profile-stat-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.profile-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.profile-tabs {
    border-bottom: 1px solid var(--border-color);
    padding: 0 0.5rem;
}
.profile-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    padding: 0.9rem 1.25rem;
    font-weight: 500;
    border-radius: 0;
    margin-bottom: -1px;
    transition: all 0.2s;
}
.profile-tabs .nav-link:hover {
    color: var(--text-primary);
    background: transparent;
}
.profile-tabs .nav-link.active {
    color: var(--accent-gold);
    background: transparent;
    border-bottom: 2px solid var(--accent-gold);
}
.profile-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.2s;
}
.profile-info-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}
.profile-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .profile-cover {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem 1.5rem;
    }
    .profile-cover-info { text-align: center; }
    .profile-stat { padding: 0.85rem 1rem; }
    .profile-stat-value { font-size: 1.1rem; }
}

/* Social Bar */
.social-bar {
    padding-top: 0.5rem;
}
.social-btn {
    display:inline-flex;align-items:center;gap:8px;
    padding:10px 22px;border-radius:50px;
    background:var(--bg-card);
    border:1px solid var(--border-color);
    color:var(--text-primary);
    text-decoration:none;
    font-size:.85rem;font-weight:500;
    transition:all .25s ease;
    min-width:130px;justify-content:center;
}
.social-btn:hover {
    background:var(--sc);
    border-color:var(--sc);
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 6px 20px rgba(0,0,0,0.3);
}
.social-btn i { font-size:1.15rem; }
.page-hero { padding:3rem 0 0; }

/* Comparison Table */
.table-warning { background:rgba(240,185,11,0.08) !important; }
.table-warning td { border-bottom-color:rgba(240,185,11,0.15) !important; }

/* VIP Levels */
.vip-icon { line-height:1; }
.vip-range { font-size:0.85rem; }

/* Profit Calculator */
#calcResults .rounded-3 { transition:transform 0.2s; }
#calcResults .rounded-3:hover { transform:translateY(-2px); }

/* World Map */
.world-map-container {
    background: linear-gradient(135deg, rgba(7,11,26,0.6), rgba(15,23,42,0.8));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}
.world-map-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(240,185,11,0.03) 0%, transparent 70%),
                radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.world-grid {
    position: relative;
    width: 100%;
    height: 240px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 80% 35%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 15% 60%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 50% 55%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 75% 65%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 90% 50%, rgba(255,255,255,0.02) 2px, transparent 2px);
    background-size: 100% 100%;
}
.city-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}
.pulse-dot {
    display: block;
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16,185,129,0.6);
    animation: pulse 2s infinite;
}
.pulse-dot.dim { background: rgba(16,185,129,0.3); box-shadow: none; animation: none; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.city-label {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 6px;
    pointer-events: none;
}
.city-dot:hover .city-label { opacity: 1; }
.world-legend .pulse-dot { display: inline-block; vertical-align: middle; animation: pulse 2s infinite; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.faq-open { border-color: rgba(240,185,11,0.2); }
.faq-question {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    user-select: none;
    transition: color 0.3s;
}
.faq-item.faq-open .faq-question { color: var(--accent-gold); }
.faq-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.faq-open .faq-arrow { transform: rotate(180deg); color: var(--accent-gold); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}
.faq-item.faq-open .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

/* Chatbot Widget */
#chatbot-widget {
    position:fixed;bottom:24px;right:24px;z-index:9999;
    direction:ltr;
}
#chatbot-btn {
    width:56px;height:56px;border-radius:50%;
    background:linear-gradient(135deg,#f0b90b,#f5c842);
    color:#000;font-size:1.4rem;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;box-shadow:0 4px 20px rgba(240,185,11,0.35);
    transition:all .3s ease;
}
#chatbot-btn:hover { transform:scale(1.08);box-shadow:0 6px 28px rgba(240,185,11,0.45); }
#chatbot-btn.hidden { transform:scale(0);opacity:0;pointer-events:none; }
#chatbot-box {
    position:absolute;bottom:68px;right:0;
    width:360px;height:500px;
    background:var(--bg-card);
    border:1px solid var(--border-color);
    border-radius:16px;overflow:hidden;
    display:none;flex-direction:column;
    box-shadow:0 8px 40px rgba(0,0,0,0.4);
    backdrop-filter:blur(16px);
}
#chatbot-box.open { display:flex; }
#chatbot-header {
    background:linear-gradient(135deg,#0f1729,#1a2332);
    padding:14px 16px;
    display:flex;align-items:center;justify-content:space-between;
    border-bottom:1px solid var(--border-color);
}
.bot-av {
    width:34px;height:34px;border-radius:50%;
    background:linear-gradient(135deg,#f0b90b,#f5c842);
    color:#000;display:flex;align-items:center;justify-content:center;
    font-size:1rem;
}
#botMsgs {
    flex:1;overflow-y:auto;padding:12px;
    display:flex;flex-direction:column;gap:8px;
}
#botMsgs::-webkit-scrollbar { width:4px; }
#botMsgs::-webkit-scrollbar-thumb { background:var(--border-color);border-radius:4px; }
.bot-msg { display:flex; }
.bot-msg.b { justify-content:flex-start; }
.bot-msg.u { justify-content:flex-end; }
.bot-bub {
    max-width:85%;padding:10px 14px;
    border-radius:14px;font-size:.8rem;line-height:1.5;
    word-wrap:break-word;
}
.bot-msg.b .bot-bub {
    background:rgba(255,255,255,0.06);
    color:var(--text-primary);
    border-bottom-left-radius:4px;
}
.bot-msg.u .bot-bub {
    background:linear-gradient(135deg,#f0b90b,#f5c842);
    color:#000;font-weight:500;
    border-bottom-right-radius:4px;
}
#botInput {
    display:flex;padding:8px 10px;
    border-top:1px solid var(--border-color);
    background:rgba(0,0,0,0.15);
}
#botInput input {
    flex:1;padding:10px 14px;border:none;border-radius:10px;
    background:rgba(255,255,255,0.06);color:var(--text-primary);
    font-size:.85rem;outline:none;
}
#botInput input::placeholder { color:var(--text-muted); }
#botInput button {
    width:42px;height:42px;border:none;border-radius:50%;
    background:linear-gradient(135deg,#f0b90b,#f5c842);
    color:#000;font-size:1rem;margin-left:6px;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;transition:all .2s;
}
#botInput button:hover { transform:scale(1.08); }
.t-dot { animation:dotPulse 1.4s infinite;font-size:1.3rem;line-height:0; }
@keyframes dotPulse { 0%,60%,100%{opacity:.3} 30%{opacity:1} }
@media (max-width:480px) {
    #chatbot-box { width:calc(100vw - 32px);height:60vh;bottom:60px; }
    #chatbot-btn { width:48px;height:48px;font-size:1.2rem; }
    #chatbot-widget { bottom:16px;right:16px; }
    #botInput input { font-size:.8rem; }
}

/* ===== RTL Support for new elements ===== */
[dir="rtl"] .stat-card .stat-icon { right: auto; left: 1rem; }
[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
[dir="rtl"] .ms-1 { margin-left: 0 !important; margin-right: 0.25rem !important; }
[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
[dir="rtl"] .input-group .form-control { border-radius: 0 10px 10px 0; }
[dir="rtl"] .input-group>.form-control:first-child { border-radius: 0 10px 10px 0; }
[dir="rtl"] .input-group>.btn:last-child { border-radius: 10px 0 0 10px; }
[dir="rtl"] .toast-item { animation: toastInRtl 0.5s ease forwards; }
[dir="rtl"] .toast-item.toast-out { animation: toastOutRtl 0.4s ease forwards; }
@keyframes toastInRtl {
    from { opacity: 0; transform: translateX(40px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOutRtl {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(40px) scale(0.9); }
}
[dir="rtl"] #chatbot-widget { right: auto; left: 24px; }
[dir="rtl"] #chatbot-box { right: auto; left: 0; }
[dir="rtl"] .form-check.form-switch .form-check-input { float: right; margin-left: 0; margin-right: -1.5em; }

/* ===== Demo Badge ===== */
.badge-demo {
    background: #7c3aed;
    color: #fff;
    font-size: 0.6em;
    vertical-align: middle;
}

/* ===== Bonus Banner Cards ===== */
.bonus-banner {
    transition: transform 0.2s;
}
.bonus-banner:hover {
    transform: translateY(-3px);
}

/* ===== Achievement Cards ===== */
.achievement-card {
    transition: all 0.2s;
}
.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ===== Ticket Styles ===== */
.ticket-reply-admin {
    background: rgba(240,185,11,0.05);
    border-radius: 12px;
    padding: 12px;
}

/* ===== Auto-compound Switch ===== */
.auto-compound-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}
