:root {
    --primary: #f7b731;
    --primary-dark: #e6a000;
    --secondary: #6c5ce7;
    --secondary-dark: #5a4bd1;
    --accent: #00cec9;
    --danger: #d63031;
    --success: #00b894;
    --warning: #fdcb6e;
    --bg-dark: #0d0d1a;
    --bg-card: #16162a;
    --bg-card2: #1e1e35;
    --bg-sidebar: #12122a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #6b6b8a;
    --border: rgba(255,255,255,0.07);
    --gradient: linear-gradient(135deg, #f7b731, #6c5ce7);
    --gradient-2: linear-gradient(135deg, #6c5ce7, #00cec9);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.2);
    --radius: 16px;
    --radius-sm: 10px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* Navbar */
.navbar {
    background: rgba(22,22,42,0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-brand span { color: #fff; -webkit-text-fill-color: #fff; }

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(247,183,49,0.1);
}

/* Buttons */
.btn-primary-grad {
    background: var(--gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247,183,49,0.3);
    color: #fff;
}

.btn-outline-grad {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 9px 24px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-grad:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108,92,231,0.15), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(247,183,49,0.1), transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub { color: var(--text-secondary); font-size: 1.1rem; margin: 20px 0 32px; }

.hero-tags span {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-right: 8px;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin: -40px 0 60px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}

.stat-item { text-align: center; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-secondary); font-size: 0.85rem; margin-top: 4px; }
.stat-divider { width: 1px; background: var(--border); }

/* Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(247,183,49,0.2); }

/* Offer Card */
.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.offer-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(108,92,231,0.2); border-color: rgba(108,92,231,0.4); }

.offer-card .offer-img { height: 160px; object-fit: cover; width: 100%; }
.offer-card .offer-body { padding: 14px; }
.offer-card .offer-title { font-weight: 600; font-size: 0.95rem; color: #fff; margin-bottom: 4px; }
.offer-card .offer-cat { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.offer-card .offer-coins { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.offer-card .offer-coins span { font-size: 0.78rem; font-weight: 400; color: var(--text-muted); }

.offer-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
}

/* Section Title */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; font-weight: 800; }
.section-title h2 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title p { color: var(--text-secondary); margin-top: 10px; }

/* Steps */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h4 { font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Payment Methods */
.payment-badge {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 6px;
    color: var(--text-primary);
}

.payment-badge img { width: 24px; height: 24px; }

/* Dashboard Sidebar */
.sidebar {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    overflow-y: auto;
    transition: all 0.3s;
}

.sidebar-brand {
    padding: 10px 24px 20px;
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.2s;
    border-radius: 0;
    margin: 2px 10px;
    border-radius: var(--radius-sm);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    color: var(--primary);
    background: rgba(247,183,49,0.08);
}

.sidebar-menu a.active { border-left: 3px solid var(--primary); margin-left: 7px; }
.sidebar-menu .menu-icon { width: 18px; font-size: 16px; }
.sidebar-label { padding: 16px 24px 6px; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Main Content (Dashboard) */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
    background: var(--bg-dark);
    padding: 30px;
}

/* Dashboard Top Bar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.topbar h1 { font-size: 1.5rem; font-weight: 700; }
.topbar p { color: var(--text-secondary); font-size: 0.88rem; margin: 0; }

/* User Avatar */
.user-avatar {
    width: 38px;
    height: 38px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

/* Stat Widget */
.stat-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-widget-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-widget-icon.yellow { background: rgba(247,183,49,0.15); color: var(--primary); }
.stat-widget-icon.purple { background: rgba(108,92,231,0.15); color: var(--secondary); }
.stat-widget-icon.teal { background: rgba(0,206,201,0.15); color: var(--accent); }
.stat-widget-icon.green { background: rgba(0,184,148,0.15); color: var(--success); }

.stat-widget-value { font-size: 1.6rem; font-weight: 800; }
.stat-widget-label { font-size: 0.82rem; color: var(--text-secondary); }

/* Table */
.cl-table {
    width: 100%;
    border-collapse: collapse;
}

.cl-table thead th {
    background: var(--bg-card2);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.cl-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cl-table tbody tr:hover { background: var(--bg-card2); }
.cl-table tbody tr:last-child td { border-bottom: none; }

/* Badges */
.badge-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: rgba(0,184,148,0.15); color: var(--success); }
.badge-warning { background: rgba(253,203,110,0.15); color: var(--warning); }
.badge-danger { background: rgba(214,48,49,0.15); color: var(--danger); }
.badge-info { background: rgba(0,206,201,0.15); color: var(--accent); }

/* Form Controls */
.cl-input {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.3s;
}

.cl-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(247,183,49,0.15);
    background: var(--bg-card2);
    color: #fff;
}

.cl-input::placeholder { color: var(--text-muted); }

.cl-select {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 0.9rem;
    width: 100%;
}

.cl-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; display: block; }

/* Alert */
.cl-alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.cl-alert-success { background: rgba(0,184,148,0.12); border: 1px solid rgba(0,184,148,0.3); color: var(--success); }
.cl-alert-danger { background: rgba(214,48,49,0.12); border: 1px solid rgba(214,48,49,0.3); color: var(--danger); }
.cl-alert-warning { background: rgba(253,203,110,0.12); border: 1px solid rgba(253,203,110,0.3); color: var(--warning); }

/* Progress Bar */
.cl-progress { background: var(--bg-card2); border-radius: 10px; height: 8px; overflow: hidden; }
.cl-progress-bar { height: 100%; border-radius: 10px; background: var(--gradient); transition: width 0.6s ease; }

/* Coin display */
.coin-display {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes glow { 0%,100% { box-shadow: 0 0 15px rgba(247,183,49,0.3); } 50% { box-shadow: 0 0 30px rgba(247,183,49,0.6); } }

.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.pulse { animation: pulse 2s infinite; }

/* Partners Slider */
.partners-slider { overflow: hidden; position: relative; }
.partners-track {
    display: flex;
    gap: 24px;
    animation: slide 20s linear infinite;
    width: max-content;
}

@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.partner-item {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-brand { font-size: 1.3rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-desc { color: var(--text-secondary); font-size: 0.88rem; margin-top: 10px; }
.footer-heading { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; margin: 0; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .sidebar { width: 0; overflow: hidden; }
    .sidebar.open { width: 260px; }
    .main-content { margin-left: 0; padding: 20px 16px; }
    .stat-widget { padding: 18px; }
    .stats-bar { margin: 0 0 30px; }
}

/* Leaderboard */
.lb-row { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.lb-rank { font-size: 1.1rem; font-weight: 800; width: 30px; text-align: center; }
.lb-rank.gold { color: #ffd700; }
.lb-rank.silver { color: #c0c0c0; }
.lb-rank.bronze { color: #cd7f32; }
.lb-name { flex: 1; font-weight: 600; }
.lb-coins { color: var(--primary); font-weight: 700; }

/* Modal */
.cl-modal { display: none; position: fixed; inset: 0; z-index: 9999; }
.cl-modal.active { display: flex; align-items: center; justify-content: center; }
.cl-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.cl-modal-box { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; width: 100%; max-width: 460px; z-index: 1; animation: fadeInUp 0.3s ease; }
.cl-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.3rem; cursor: pointer; }

/* Notification dropdown */
.notif-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    z-index: 500;
}

.notif-dropdown.active { display: block; }
.notif-item { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-item-title { font-weight: 600; font-size: 0.88rem; }
.notif-item-text { font-size: 0.8rem; color: var(--text-secondary); margin-top: 3px; }
.notif-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }


/* ==========================================================================
   CASHLOT THEME & FONT UNIFICATION (MATCHING FONT, CONTRAST & DARK GRADIENTS)
   ========================================================================== */

/* Universal Poppins Font Enforcement (Preserving FontAwesome & Icon Fonts) */
body, button, input, select, textarea, .btn, .modal, .card, .table, h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Explicitly Protect & Restore Font Awesome Icons Across Entire Platform */
i.fa, i.fas, i.far, i.fab, i.fa-solid, i.fa-regular, i.fa-brands,
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands,
[class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.fas, .fa-solid {
    font-weight: 900 !important;
}

.far, .fa-regular {
    font-weight: 400 !important;
}

i.fa::before, i.fas::before, i.far::before, i.fab::before, i.fa-solid::before, i.fa-regular::before, i.fa-brands::before,
.fa::before, .fas::before, .far::before, .fab::before, .fa-solid::before, .fa-regular::before, .fa-brands::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
    font-family: inherit !important;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #f5c518 0%, #a855f7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800;
}

.text-purple {
    color: #a855f7 !important;
}

/* Buttons - CashLoot Signature Gradients */
.btn-gradient {
    background: linear-gradient(135deg, #f5c518 0%, #f97316 100%) !important;
    color: #0b0b14 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.35) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #eab308 0%, #ea580c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.5) !important;
    color: #000000 !important;
}

.btn-outline-gradient {
    background: transparent !important;
    border: 2px solid #f5c518 !important;
    color: #f5c518 !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 9px 24px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-outline-gradient:hover {
    background: #f5c518 !important;
    color: #0b0b14 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35) !important;
}

/* Core Bootstrap Buttons Overrides */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.5) !important;
    color: #ffffff !important;
}

.btn-warning {
    background: linear-gradient(135deg, #f5c518, #f97316) !important;
    border: none !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(245, 197, 24, 0.35) !important;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #eab308, #ea580c) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(245, 197, 24, 0.5) !important;
    color: #000000 !important;
}

/* Landing Page Hero & Structure */
.hero-section {
    min-height: 85vh;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(245, 197, 24, 0.08) 0%, transparent 50%);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: #f5c518;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0d0d1a;
    margin-left: -8px;
}

.trust-avatar:first-child { margin-left: 0; }

.hero-card-stack {
    position: relative;
    width: 380px;
    height: 380px;
}

.floating-card {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 20px;
    position: absolute;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card.card-1 { top: 30px; left: -20px; }
.floating-card.card-2 { bottom: 40px; right: -20px; animation-delay: 2s; }
.floating-card.card-3 { top: 180px; left: 60px; animation-delay: 1s; }

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.fc-icon.purple {
    background: rgba(124, 58, 237, 0.2);
    color: #a855f7;
}

.fc-icon.green {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.fc-label {
    font-size: 0.78rem;
    color: #94a3b8;
}

.fc-val {
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-coin-icon {
    font-size: 180px;
    background: linear-gradient(135deg, #f5c518, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 15px 35px rgba(245, 197, 24, 0.35));
}

/* Sections & Common Headers */
.section-padding { padding: 80px 0; }

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(124, 58, 237, 0.15);
    color: #a855f7;
    border: 1px solid rgba(124, 58, 237, 0.3);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 600px;
    margin: 10px auto 0;
}

/* Step Cards */
.step-card {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 40px 24px;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
}

.step-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.step-icon-wrap.purple-icon {
    background: rgba(124, 58, 237, 0.2);
    color: #a855f7;
}

.step-icon-wrap.green-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Payment Cards */
.payment-card {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 16px;
    transition: all 0.25s ease;
}

.payment-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.payment-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.payment-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.payment-min {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* FAQ Accordion Dark Overrides */
.faq-accordion .accordion-item {
    background: #16162a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: #16162a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 18px 24px !important;
    border: none !important;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #f5c518 !important;
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
}

.faq-body {
    background: #16162a !important;
    color: #cbd5e1 !important;
    padding: 16px 24px 24px !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* CTA Banner */
.cta-card {
    background: linear-gradient(135deg, #1c1c36, #16162a);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 24px;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.15), transparent 70%);
    pointer-events: none;
}

/* Social & Footer */
.social-links { display: flex; gap: 10px; }
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #1e1e35;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}
.social-btn:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-2px);
}
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 30px 0; }

/* Modals & Auth Forms High Contrast Dark Styling */
.auth-modal, .modal-content {
    background: #16162a !important;
    border: 1px solid #2d2d4e !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    box-shadow: 0 20px 70px rgba(0,0,0,0.85) !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
}

.modal-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.auth-input-group .input-group-text {
    background: #121224 !important;
    border: 1px solid #36365c !important;
    color: #a855f7 !important;
}

.auth-input-group .form-control {
    background: #121224 !important;
    border: 1px solid #36365c !important;
    color: #ffffff !important;
    border-radius: 0 10px 10px 0 !important;
}

.auth-input-group .form-control:focus {
    background: #121224 !important;
    border-color: #f5c518 !important;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2) !important;
    color: #ffffff !important;
}

.form-control::placeholder {
    color: #64748b !important;
}

/* Global Form Control & Card Overrides */
.form-control, .form-select {
    background: #121224 !important;
    border: 1px solid #36365c !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.form-control:focus, .form-select:focus {
    background: #121224 !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25) !important;
}

.form-label {
    color: #F0F0F0 !important;
    font-weight: 500;
}

.card {
    background: #151528 !important;
    border: 1px solid rgba(131, 43, 207, 0.28) !important;
    color: #F0F0F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
}

.text-muted {
    color: #9f9fc7 !important;
}

/* ── Universal Links (#2A86E8) ── */
a {
    color: #2A86E8 !important;
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: #5ba3f5 !important;
    text-decoration: underline;
}

/* ── COMPLETE BOOTSTRAP 5 DARK TABLE OVERRIDES (NO MORE WHITE ROWS!) ── */
.table-responsive {
    background: transparent !important;
    border-radius: 12px;
}
.table,
.cl-table,
.table-dark-custom,
.table > :not(caption) > * > *,
.table thead,
.table thead tr,
.table thead th,
.table tbody,
.table tbody tr,
.table tbody td,
.table tfoot,
.table tfoot tr,
.table tfoot td {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-bg: rgba(131, 43, 207, 0.05) !important;
    --bs-table-hover-bg: rgba(201, 68, 235, 0.1) !important;
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #F0F0F0 !important;
    border-color: rgba(131, 43, 207, 0.25) !important;
}

.table thead th,
.cl-table thead th,
.table-dark-custom thead th {
    background: linear-gradient(135deg, rgba(131, 43, 207, 0.35), rgba(201, 68, 235, 0.18)) !important;
    color: #F0F0F0 !important;
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; border-bottom: 2px solid #832BCF !important;
    padding: 13px 18px;
}

.table tbody tr,
.cl-table tbody tr,
.table-dark-custom tbody tr {
    background: #151528 !important;
    transition: background 0.2s ease;
}

.table tbody tr:nth-child(even),
.cl-table tbody tr:nth-child(even),
.table-dark-custom tbody tr:nth-child(even) {
    background: #111122 !important;
}

.table tbody tr:hover,
.cl-table tbody tr:hover,
.table-dark-custom tbody tr:hover {
    background: rgba(131, 43, 207, 0.16) !important;
}

.table tbody td,
.cl-table tbody td,
.table-dark-custom tbody td {
    border-bottom: 1px solid rgba(131, 43, 207, 0.22) !important;
    padding: 14px 18px; vertical-align: middle;
    font-size: .88rem; color: #F0F0F0 !important;
}
.table tbody tr:last-child td,
.cl-table tbody tr:last-child td,
.table-dark-custom tbody tr:last-child td { border-bottom: none !important; }



/* ==========================================================================
   MOBILE APP-STYLE BOTTOM NAVIGATION & RESPONSIVE SUITE
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(18, 18, 36, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(131, 43, 207, 0.35) !important;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    padding: 4px 6px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9f9fc7 !important;
    text-decoration: none !important;
    font-size: 0.72rem;
    font-weight: 500;
    flex: 1;
    padding: 6px 2px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-nav-item i {
    font-size: 1.15rem;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: #C944EB !important;
}

.mobile-nav-item.active i {
    transform: scale(1.15);
    color: #C944EB !important;
    filter: drop-shadow(0 2px 8px rgba(201, 68, 235, 0.5));
}

/* Sidebar Backdrop on Mobile */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.show {
    display: block;
    opacity: 1;
}

/* Mobile Media Queries (Under 768px) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 16px 12px 84px 12px !important; /* space for mobile bottom bar */
        transition: none !important;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        width: 270px !important;
        z-index: 1060 !important;
        box-shadow: 0 0 40px rgba(0,0,0,0.85);
    }

    .sidebar.show, .sidebar.open {
        transform: translateX(0) !important;
    }

    /* Top navbar */
    .top-navbar, .topbar {
        padding: 10px 14px !important;
        margin-bottom: 18px !important;
        border-radius: 12px !important;
    }

    .top-navbar .page-title, .topbar h5 {
        font-size: 1.1rem !important;
    }

    .user-badge {
        padding: 6px 12px !important;
        gap: 8px !important;
    }

    .user-badge .user-name-text {
        display: none !important;
    }

    /* Cards & Grids on Mobile */
    .card, .glass-card, .section-card, .metric-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .stat-widget, .stat-card {
        padding: 14px !important;
        gap: 12px !important;
    }

    .stat-widget-icon, .stat-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        border-radius: 10px !important;
    }

    .stat-widget-value, .stat-value {
        font-size: 1.35rem !important;
    }

    /* Responsive Tables */
    .table-responsive {
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 12px;
    }

    .table th, .table td {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }

    /* Modals on Mobile */
    .modal-dialog {
        margin: 12px !important;
        max-width: calc(100% - 24px) !important;
    }

    .modal-content {
        padding: 6px !important;
        border-radius: 14px !important;
    }

    /* Landing Page Mobile Fixes */
    .hero-section {
        padding: 50px 0 40px !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-card-stack {
        display: none !important;
    }

    .stats-bar {
        padding: 18px 12px !important;
        margin: 20px 0 30px !important;
    }

    .section-title {
        font-size: 1.7rem !important;
    }

    .section-padding {
        padding: 50px 0 !important;
    }

    .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.92rem !important;
    }
}
