@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* ===== Dark Neon Theme ===== */
    --bg-body: #0a0a1a;
    --bg-body-secondary: #0f0f23;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-elevated: rgba(255, 255, 255, 0.07);
    --bg-card-hover: rgba(255, 255, 255, 0.09);
    --bg-sidebar: #07071a;
    --bg-sidebar-hover: rgba(255, 255, 255, 0.07);
    --bg-topbar: rgba(10, 10, 26, 0.85);
    --bg-input: rgba(255, 255, 255, 0.06);

    /* Neon Accents */
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --primary-light: rgba(124, 58, 237, 0.15);
    --primary-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #4f46e5 100%);

    --electric-blue: #06b6d4;
    --electric-blue-hover: #0891b2;
    --blue-gradient: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);

    --purple: #a855f7;
    --purple-light: rgba(168, 85, 247, 0.15);
    --purple-gradient: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #7c3aed 100%);

    --pink: #ec4899;
    --pink-gradient: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);

    --gold: #f59e0b;
    --gold-dark: #d97706;
    --gold-light: rgba(245, 158, 11, 0.15);
    --gold-gradient: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);

    --emerald: #10b981;
    --emerald-light: rgba(16, 185, 129, 0.15);
    --emerald-gradient: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);

    --rose: #f43f5e;
    --rose-light: rgba(244, 63, 94, 0.15);
    --rose-gradient: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);

    --cyan-gradient: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-sidebar: #94a3b8;
    --text-sidebar-active: #ffffff;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(168, 85, 247, 0.5);

    /* Glowing Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 20px rgba(124, 58, 237, 0.5), 0 0 40px rgba(124, 58, 237, 0.2);
    --shadow-glow-gold: 0 0 20px rgba(245, 158, 11, 0.5), 0 0 40px rgba(245, 158, 11, 0.2);
    --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.5), 0 0 40px rgba(236, 72, 153, 0.2);
    --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.5), 0 0 40px rgba(6, 182, 212, 0.2);
    --shadow-glow-emerald: 0 0 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.2);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;

    --font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   Keyframes & Animations
   ============================================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 25px rgba(124, 58, 237, 0.8), 0 0 50px rgba(124, 58, 237, 0.3); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes orb-move {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}
@keyframes border-dance {
    0%   { border-color: rgba(124, 58, 237, 0.4); }
    25%  { border-color: rgba(236, 72, 153, 0.4); }
    50%  { border-color: rgba(6, 182, 212, 0.4); }
    75%  { border-color: rgba(16, 185, 129, 0.4); }
    100% { border-color: rgba(124, 58, 237, 0.4); }
}
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes coin-spin {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
@keyframes number-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* ── Animated Background Orbs ──────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: orb-move 12s ease-in-out infinite;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: orb-move 15s ease-in-out infinite reverse;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover { color: #c084fc; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

/* ============================================================
   Bento Grid
   ============================================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fade-up 0.5s ease both;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.3),
        rgba(6, 182, 212, 0.1),
        rgba(236, 72, 153, 0.1),
        transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: var(--shadow-md), var(--shadow-glow-primary);
}
.bento-card:hover::before { opacity: 1; }

.bento-card-gradient {
    background: radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
                var(--bg-card);
}

.bento-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: var(--primary-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-primary);
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-7  { grid-column: span 7; }
.bento-col-6  { grid-column: span 6; }
.bento-col-5  { grid-column: span 5; }
.bento-col-4  { grid-column: span 4; }

@media (max-width: 991.98px) {
    .bento-col-8, .bento-col-7, .bento-col-6,
    .bento-col-5, .bento-col-4 { grid-column: span 12; }
}

/* ============================================================
   Sidebar
   ============================================================ */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0d0d24 0%, #07071a 60%, #0a0720 100%);
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1040;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 99px;
}

.sidebar-brand {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
}

.sidebar-brand::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
}

.sidebar-brand:hover { color: #ffffff; }

.sidebar-brand .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow-primary);
    animation: pulse-glow 3s ease-in-out infinite;
}

.sidebar-nav {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-item { list-style: none; }

.nav-link {
    color: var(--text-sidebar);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 0;
    background: var(--primary-gradient);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.nav-link .nav-icon {
    font-size: 1.1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-link:hover {
    background: rgba(124, 58, 237, 0.12);
    color: #ffffff;
    transform: translateX(4px);
}
.nav-link:hover::before { height: 60%; }
.nav-link:hover .nav-icon {
    background: rgba(124, 58, 237, 0.2);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(79, 70, 229, 0.15));
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(124, 58, 237, 0.3);
}
.nav-link.active::before { height: 70%; }
.nav-link.active .nav-icon {
    background: var(--primary-gradient);
    box-shadow: var(--shadow-glow-primary);
    color: white;
}

/* ── Sidebar Balance Box ─────────────────────────── */
.sidebar-balance {
    margin: auto 12px 14px;
    padding: 16px;
    background: linear-gradient(135deg,
        rgba(245, 158, 11, 0.15) 0%,
        rgba(217, 119, 6, 0.08) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
    animation: border-dance 6s linear infinite;
}

.sidebar-balance::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    pointer-events: none;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(245, 158, 11, 0.05) 60deg,
        transparent 120deg);
    animation: spin-slow 8s linear infinite;
}

.sidebar-balance-title {
    color: #94a3b8;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    position: relative;
}

.sidebar-balance-amount {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.sidebar-balance-amount i {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.7));
    animation: coin-spin 4s linear infinite;
    display: inline-block;
}

/* ============================================================
   Topbar
   ============================================================ */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
    background-color: var(--bg-body);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: auto;
}

.topbar {
    height: 64px;
    background: var(--bg-topbar);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-toggle {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    width: 38px; height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.topbar-toggle:hover {
    background: rgba(124, 58, 237, 0.15);
    color: #ffffff;
    border-color: rgba(124, 58, 237, 0.3);
}

.topbar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Balance Pill */
.balance-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(217,119,6,0.08));
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: var(--radius-full);
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.balance-pill:hover {
    background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(217,119,6,0.15));
    box-shadow: var(--shadow-glow-gold);
    transform: scale(1.03);
    color: #fcd34d;
}
.balance-pill i {
    color: #fbbf24;
    filter: drop-shadow(0 0 6px rgba(245,158,11,0.6));
}

/* User Avatar */
.user-avatar {
    width: 36px; height: 36px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: var(--shadow-glow-primary);
}

.user-dropdown-toggle {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}
.user-dropdown-toggle:hover {
    background: rgba(124,58,237,0.12);
    border-color: rgba(124,58,237,0.3);
    color: #ffffff;
}

.user-name { font-weight: 600; font-size: 0.88rem; color: var(--text-primary); }

/* Dropdown */
.dropdown-menu {
    background: #141428 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(20px);
    overflow: hidden;
    min-width: 200px;
}
.dropdown-item {
    color: var(--text-secondary) !important;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    margin: 2px 8px;
    padding: 9px 12px !important;
    width: calc(100% - 16px) !important;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: rgba(124,58,237,0.15) !important;
    color: #ffffff !important;
}
.dropdown-item.text-danger:hover {
    background: rgba(244,63,94,0.15) !important;
    color: #fb7185 !important;
}
.dropdown-divider { border-color: rgba(255,255,255,0.06) !important; }

/* ============================================================
   Content Wrapper
   ============================================================ */
.content-wrapper {
    flex: 1;
    padding: 28px;
    animation: fade-up 0.4s ease;
}

/* ============================================================
   Stat Cards (Colorful Gradient)
   ============================================================ */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    backdrop-filter: blur(20px);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    border-radius: 50%;
    opacity: 0.08;
    transform: translate(40%, -40%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.stat-card:hover { transform: translateY(-5px); }
.stat-card:hover::after { opacity: 0.15; transform: translate(35%, -35%) scale(1.1); }

.stat-card.purple  { border-color: rgba(168,85,247,0.2); }
.stat-card.purple::after  { background: #a855f7; }
.stat-card.purple:hover   { box-shadow: var(--shadow-glow-primary); border-color: rgba(168,85,247,0.4); }

.stat-card.gold    { border-color: rgba(245,158,11,0.2); }
.stat-card.gold::after    { background: #f59e0b; }
.stat-card.gold:hover     { box-shadow: var(--shadow-glow-gold); border-color: rgba(245,158,11,0.4); }

.stat-card.cyan    { border-color: rgba(6,182,212,0.2); }
.stat-card.cyan::after    { background: #06b6d4; }
.stat-card.cyan:hover     { box-shadow: var(--shadow-glow-cyan); border-color: rgba(6,182,212,0.4); }

.stat-card.emerald { border-color: rgba(16,185,129,0.2); }
.stat-card.emerald::after { background: #10b981; }
.stat-card.emerald:hover  { box-shadow: var(--shadow-glow-emerald); border-color: rgba(16,185,129,0.4); }

.stat-card.pink    { border-color: rgba(236,72,153,0.2); }
.stat-card.pink::after    { background: #ec4899; }
.stat-card.pink:hover     { box-shadow: var(--shadow-glow-pink); border-color: rgba(236,72,153,0.4); }

.stat-value {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: number-pop 3s ease-in-out infinite;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
}

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

.stat-icon.purple  { background: rgba(168,85,247,0.15); color: #a855f7; }
.stat-icon.gold    { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.stat-icon.cyan    { background: rgba(6,182,212,0.15);   color: #06b6d4; }
.stat-icon.emerald { background: rgba(16,185,129,0.15);  color: #10b981; }
.stat-icon.pink    { background: rgba(236,72,153,0.15);  color: #ec4899; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary, .btn-primary:focus {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-full);
    padding: 10px 22px;
    box-shadow: var(--shadow-glow-primary);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124,58,237,0.7), 0 0 60px rgba(124,58,237,0.3);
    filter: brightness(1.1);
    color: #fff;
}

.btn-gold {
    background: var(--gold-gradient);
    border: none;
    color: #000;
    font-weight: 800;
    border-radius: var(--radius-full);
    padding: 10px 22px;
    box-shadow: var(--shadow-glow-gold);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 0 30px rgba(245,158,11,0.7);
    color: #000;
}

.btn-outline-primary {
    border: 1px solid rgba(124,58,237,0.5);
    color: #a855f7;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    padding: 9px 20px;
}
.btn-outline-primary:hover {
    background: rgba(124,58,237,0.12);
    border-color: rgba(124,58,237,0.7);
    color: #c084fc;
    box-shadow: 0 0 15px rgba(124,58,237,0.3);
}

/* ============================================================
   Badge & Pills
   ============================================================ */
.badge-pill-hot {
    background: var(--rose-gradient);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.07em;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(244,63,94,0.5);
}

.badge {
    font-weight: 700;
    font-size: 0.72rem;
    border-radius: var(--radius-full);
    padding: 4px 10px;
}
.badge-success { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-danger  { background: rgba(244,63,94,0.15);  color: #fb7185; border: 1px solid rgba(244,63,94,0.25); }
.badge-warning { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-info    { background: rgba(6,182,212,0.15);  color: #67e8f9; border: 1px solid rgba(6,182,212,0.25); }
.badge-primary { background: rgba(124,58,237,0.15); color: #c084fc; border: 1px solid rgba(124,58,237,0.25); }

/* ============================================================
   Tables
   ============================================================ */
.table {
    color: var(--text-primary);
    border-color: var(--border-color);
    margin-bottom: 0;
}
.table thead th {
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    white-space: nowrap;
}
.table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}
.table tbody tr:hover { background: rgba(124,58,237,0.05); }
.table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.table-responsive { border-radius: var(--radius-lg); overflow: hidden; }

/* ============================================================
   Forms & Inputs
   ============================================================ */
.form-control, .form-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.form-control:focus, .form-select:focus {
    background: rgba(255,255,255,0.08);
    border-color: rgba(124,58,237,0.5);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15), 0 0 15px rgba(124,58,237,0.2);
    color: var(--text-primary);
    outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.input-group-text {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
}

/* ============================================================
   Cards (Generic)
   ============================================================ */
.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.card-header {
    background: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 16px 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.card-body { padding: 20px; }

/* ============================================================
   Alerts / Flash Messages
   ============================================================ */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    animation: fade-up 0.4s ease both;
}
.alert-success {
    background: rgba(16,185,129,0.12);
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.25);
    box-shadow: 0 0 20px rgba(16,185,129,0.1);
}
.alert-danger {
    background: rgba(244,63,94,0.12);
    color: #fb7185;
    border: 1px solid rgba(244,63,94,0.25);
    box-shadow: 0 0 20px rgba(244,63,94,0.1);
}
.alert-warning {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.25);
    box-shadow: 0 0 20px rgba(245,158,11,0.1);
}
.alert-info {
    background: rgba(6,182,212,0.12);
    color: #67e8f9;
    border: 1px solid rgba(6,182,212,0.25);
    box-shadow: 0 0 20px rgba(6,182,212,0.1);
}

/* ============================================================
   Offerwall Cards
   ============================================================ */
.offerwall-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}
.offerwall-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg,
        rgba(124,58,237,0.06) 0%,
        rgba(6,182,212,0.04) 50%,
        rgba(236,72,153,0.04) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.offerwall-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(124,58,237,0.4);
    box-shadow: var(--shadow-md), var(--shadow-glow-primary);
}
.offerwall-card:hover::before { opacity: 1; }
.offerwall-card .btn {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

.offerwall-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}
.offerwall-card:hover .offerwall-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: var(--shadow-glow-primary);
}

.offerwall-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.offerwall-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

/* ============================================================
   Transaction / Earning Items
   ============================================================ */
.transaction-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s ease;
}
.transaction-item:last-child { border-bottom: none; }
.transaction-item:hover { padding-left: 6px; }

.transaction-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   Mobile Bottom Nav
   ============================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(124,58,237,0.2);
    z-index: 1050;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.mobile-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    border: none;
    background: none;
    cursor: pointer;
}
.mobile-nav-item i {
    font-size: 1.35rem;
    transition: all 0.3s ease;
}
.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #a855f7;
}
.mobile-nav-item.active i {
    filter: drop-shadow(0 0 8px rgba(168,85,247,0.8));
    transform: scale(1.1);
}

/* ============================================================
   Auth Pages (Login / Register)
   ============================================================ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236,72,153,0.08) 0%, transparent 50%),
        var(--bg-body);
}
.auth-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 44px 40px;
    width: 100%;
    max-width: 440px;
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: fade-up 0.5s ease both;
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #06b6d4, #ec4899, #10b981, #a855f7);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}
.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}
.auth-logo .logo-icon {
    width: 56px; height: 56px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: white;
    margin: 0 auto 12px;
    box-shadow: var(--shadow-glow-primary);
    animation: float 3s ease-in-out infinite;
}

/* ============================================================
   Shimmer Loading Skeleton
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite;
    border-radius: var(--radius-md);
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-gradient);
    box-shadow: 0 0 8px rgba(124,58,237,0.6);
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
::-webkit-scrollbar-thumb {
    background: rgba(124,58,237,0.3);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.5); }

/* ============================================================
   Sidebar Overlay (Mobile)
   ============================================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1039;
}
.sidebar-overlay.show { display: block; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .mobile-bottom-nav { display: block; }
    .content-wrapper { padding: 16px; padding-bottom: 80px; }
}

@media (max-width: 575.98px) {
    .topbar { padding: 0 14px; }
    .topbar-title { font-size: 0.95rem; }
    .balance-pill { padding: 6px 10px; font-size: 0.8rem; }
    .auth-card { padding: 28px 20px; }
}

/* ============================================================
   Utility Overrides
   ============================================================ */
.text-purple { color: #a855f7 !important; }
.text-cyan   { color: #06b6d4 !important; }
.text-pink   { color: #ec4899 !important; }
.text-gold   { color: #f59e0b !important; }

.bg-purple-subtle  { background: rgba(168,85,247,0.12) !important; }
.bg-cyan-subtle    { background: rgba(6,182,212,0.12)  !important; }
.bg-pink-subtle    { background: rgba(236,72,153,0.12) !important; }
.bg-emerald-subtle { background: rgba(16,185,129,0.12) !important; }

.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-purple { box-shadow: var(--shadow-glow-primary) !important; }
.glow-gold   { box-shadow: var(--shadow-glow-gold)    !important; }
.glow-cyan   { box-shadow: var(--shadow-glow-cyan)    !important; }
.glow-pink   { box-shadow: var(--shadow-glow-pink)    !important; }

.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.border-purple { border-color: rgba(168,85,247,0.3) !important; }
.border-cyan   { border-color: rgba(6,182,212,0.3)  !important; }
.border-gold   { border-color: rgba(245,158,11,0.3) !important; }

/* Animated gradient border on focus cards */
.card-glow-border {
    position: relative;
}
.card-glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #a855f7, #06b6d4, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 200%;
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

/* Coin counter pulse */
#sidebar-coin-balance { animation: number-pop 4s ease-in-out infinite; }

/* Progress bars */
.progress {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    height: 8px;
    overflow: hidden;
}
.progress-bar {
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(124,58,237,0.5);
}

/* ============================================================
   MISSING UTILITY CLASSES — btn-accent, badge-*, form fixes
   ============================================================ */

/* btn-accent = same as btn-primary (purple gradient) */
.btn-accent, .btn-accent:focus {
    background: var(--primary-gradient);
    border: none;
    color: #fff !important;
    font-weight: 700;
    border-radius: var(--radius-full);
    padding: 10px 22px;
    box-shadow: var(--shadow-glow-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124,58,237,0.7), 0 0 60px rgba(124,58,237,0.3);
    filter: brightness(1.1);
    color: #fff !important;
}
.btn-accent:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* btn-outline-secondary for dark theme */
.btn-outline-secondary {
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: var(--text-secondary) !important;
    background: transparent !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-outline-secondary:hover {
    background: rgba(255,255,255,0.07) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.25) !important;
}

/* Offerwall grid */
.offerwall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
@media (max-width: 575px) {
    .offerwall-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 400px) {
    .offerwall-grid { grid-template-columns: 1fr; }
}

.offerwall-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 20px;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    animation: fade-up 0.4s ease both;
}
.offerwall-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(124,58,237,0.4);
    box-shadow: var(--shadow-md), var(--shadow-glow-primary);
    background: rgba(124,58,237,0.07);
}

.offerwall-icon-box {
    width: 54px; height: 54px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.offerwall-card:hover .offerwall-icon-box {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: var(--shadow-glow-primary);
}
.offerwall-icon-img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.offerwall-avatar {
    width: 100%; height: 100%;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offerwall-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.offerwall-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

/* Badge overrides for Bootstrap light badges on dark bg */
.bg-primary-subtle  { background: rgba(124,58,237,0.15) !important; }
.bg-success-subtle  { background: rgba(16,185,129,0.15) !important; }
.bg-info-subtle     { background: rgba(6,182,212,0.15)  !important; }
.bg-warning-subtle  { background: rgba(245,158,11,0.15) !important; }
.bg-danger-subtle   { background: rgba(244,63,94,0.15)  !important; }
.text-primary  { color: #a855f7 !important; }
.text-success  { color: #34d399 !important; }
.text-info     { color: #67e8f9 !important; }
.text-warning  { color: #fbbf24 !important; }
.text-danger   { color: #fb7185 !important; }
.text-muted    { color: #64748b !important; }
.text-dark     { color: #f1f5f9 !important; }
.text-secondary { color: #94a3b8 !important; }

.border-primary-subtle { border-color: rgba(124,58,237,0.3) !important; }
.border-success-subtle { border-color: rgba(16,185,129,0.3) !important; }
.border-info-subtle    { border-color: rgba(6,182,212,0.3)  !important; }

/* Badge variants for transaction table */
.badge-approved { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); border-radius: 99px; padding: 3px 10px; font-size: 0.72rem; font-weight: 700; }
.badge-pending  { background: rgba(245,158,11,0.15);  color: #fbbf24; border: 1px solid rgba(245,158,11,0.3);  border-radius: 99px; padding: 3px 10px; font-size: 0.72rem; font-weight: 700; }
.badge-rejected { background: rgba(244,63,94,0.15);   color: #fb7185; border: 1px solid rgba(244,63,94,0.3);   border-radius: 99px; padding: 3px 10px; font-size: 0.72rem; font-weight: 700; }

/* Fix Bootstrap input-group for dark theme */
.input-group-text {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--text-muted) !important;
}
.input-group .form-control {
    border: 1px solid rgba(255,255,255,0.1);
}
.input-group .form-control.border-start-0 {
    border-left: none !important;
}
.input-group-text.bg-white {
    background: rgba(255,255,255,0.06) !important;
}
.bg-light { background: rgba(255,255,255,0.04) !important; }
.bg-white { background: rgba(255,255,255,0.06) !important; }

/* Form check (checkbox) */
.form-check-input {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.2);
}
.form-check-input:checked {
    background-color: #a855f7;
    border-color: #a855f7;
}
.form-check-label { color: var(--text-secondary); }

/* Empty state */
.empty-state { color: var(--text-muted); }
.empty-state-icon { color: rgba(255,255,255,0.1); font-size: 3rem; }

/* stat-card color variants */
.stat-card.success { border-color: rgba(16,185,129,0.2); }
.stat-card.success:hover { box-shadow: var(--shadow-glow-emerald); border-color: rgba(16,185,129,0.4); }
.stat-icon.success { background: rgba(16,185,129,0.15); color: #10b981; }
.stat-icon.purple  { background: rgba(168,85,247,0.15);  color: #a855f7; }

/* Table striped override */
.table-hover > tbody > tr:hover > * { background: rgba(124,58,237,0.06) !important; }

/* font-monospace */
.font-monospace { font-family: 'Courier New', monospace; }

/* page-header */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: clamp(1.3rem,4vw,1.8rem); font-weight: 800; margin-bottom: 4px; }
.fw-800 { font-weight: 800 !important; }

/* Sidebar open body scroll lock on mobile */
body.sidebar-open { overflow: hidden; }

/* Auth card form fixes */
.auth-card .btn-accent { border-radius: var(--radius-lg); font-size: 1rem; }
.auth-card .form-control,
.auth-card .input-group-text {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #f1f5f9 !important;
}
.auth-card .form-control::placeholder { color: #475569; }
.auth-card .form-text { color: #64748b; }
.auth-card a { color: #a855f7; }
.auth-card a:hover { color: #c084fc; }

/* ============================================================
   Landing Page (Homepage) Styles & Clicks Fix
   ============================================================ */
.landing-nav {
    position: relative;
    z-index: 1050 !important;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.landing-nav .navbar-brand {
    color: #ffffff !important;
    font-weight: 800;
}

.landing-nav .nav-link {
    color: #94a3b8 !important;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px !important;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: visible;
}

.landing-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    transform: none;
}

.landing-nav .nav-link::before {
    display: none !important;
}

.landing-nav .btn {
    position: relative;
    z-index: 1051;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.hero-section {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #c084fc 70%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    backdrop-filter: blur(10px);
}

.trust-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.final-cta-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-xl);
    padding: 60px 30px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-glow-primary);
}

/* ============================================================
   Modals & Dialogs Dark Neon Theme & Stacking Fix
   ============================================================ */
.modal {
    z-index: 1065 !important;
}

.modal-backdrop {
    z-index: 1055 !important;
    background-color: rgba(5, 5, 18, 0.85) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-dialog {
    z-index: 1066 !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.modal-content {
    background-color: #12122b !important;
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
    border-radius: var(--radius-lg) !important;
    color: #f1f5f9 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(124, 58, 237, 0.2) !important;
    overflow: hidden;
}

.modal-header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem 1.5rem !important;
}

.modal-header .modal-title {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem !important;
    color: #cbd5e1 !important;
}

.modal-body .form-label {
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.modal-body .form-control,
.modal-body .form-select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 14px !important;
    font-size: 0.92rem;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #a855f7 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25) !important;
    outline: none !important;
}

.modal-body .form-control::placeholder {
    color: #64748b !important;
    opacity: 0.85;
}

.modal-body select.form-select option {
    background-color: #12122b !important;
    color: #ffffff !important;
}

.modal-footer {
    background: rgba(255, 255, 255, 0.03) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem 1.5rem !important;
}

/* ============================================================
   THEME CONTRAST & ACCESSIBILITY FIXES
   ============================================================ */

/* 1. Global Select & Option Dropdown Fix (Payment Method Select Fix) */
select, .form-select, select.form-select {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

select option, .form-select option, option {
    background-color: #0f0f23 !important;
    color: #f1f5f9 !important;
    padding: 12px !important;
}

select:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: #a855f7 !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3) !important;
}

/* 2. Table Row & Card Contrast Fix (Support Tickets Table Fix) */
.table {
    --bs-table-bg: transparent !important;
    --bs-table-color: #f1f5f9 !important;
    color: #f1f5f9 !important;
}

.table > :not(caption) > * > * {
    background-color: transparent !important;
    color: #f1f5f9 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.table thead th {
    color: #94a3b8 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.04) !important;
}

.table tbody tr {
    background-color: transparent !important;
    color: #f1f5f9 !important;
}

.table tbody tr td {
    color: #f1f5f9 !important;
}

.table tbody tr td .text-dark,
.table tbody tr td span {
    color: #f1f5f9 !important;
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(124, 58, 237, 0.08) !important;
    color: #ffffff !important;
}

/* 3. Ticket Card & Header Overrides */
.card-header.bg-white {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}



