/* 
 * Custom Premium Styling System
 * Dream Pick MLM Subscription Platform
 */

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

/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================== */

/* User Light Theme Default - Highly Vibrant, Legible & Colorful */
:root {
    --font-family: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --bg-primary: #eef2f6; /* Rich light blue-grey background for stark card separation */
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8fafc;
    
    --text-primary: #0f172a; /* Strong, bold black */
    --text-secondary: #334155; /* highly visible slate grey */
    --text-muted: #57687e; /* clear contrast */
    
    --accent-color: #6366f1; /* Vibrant Indigo */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-hover: #4f46e5;
    
    --success-color: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning-color: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --danger-color: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --info-color: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.1);
    
    --border-color: #cbd5e1; /* Clearer, highly visible borders */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.05);
    
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* Super Admin Dark Theme Override - Ultra High Contrast & Visibility */
.admin-theme {
    --bg-primary: #090d16;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    
    --text-primary: #ffffff; /* pure white */
    --text-secondary: #ffffff; /* pure white */
    --text-muted: #ffffff;
    
    --accent-color: #818cf8;
    --accent-gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    --accent-hover: #6366f1;
    
    --border-color: #374151; /* highly visible border outlines */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-premium: 0 20px 25px -5px rgba(129, 140, 248, 0.2), 0 10px 10px -5px rgba(129, 140, 248, 0.1);
}

/* ==========================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================== */
body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    transition: var(--transition-smooth);
    overflow-x: hidden;
    letter-spacing: 0.1px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--accent-hover);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================
   AUTHENTICATION LAYOUT
   ========================================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    padding: 20px;
}
.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    left: -50px;
    z-index: 0;
}
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}
.auth-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    z-index: 10;
    transition: var(--transition-smooth);
}
.auth-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-2px);
}

/* ==========================================
   LAYOUT STRUCTURES (SIDEBAR & GRID)
   ========================================== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 2px solid var(--border-color);
    flex-shrink: 0;
    transition: var(--transition-smooth);
    z-index: 99;
}
.sidebar-logo {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    letter-spacing: 1px;
}
.sidebar-logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}
.sidebar-menu {
    padding: 20px 15px;
    list-style: none;
    margin: 0;
}
.sidebar-menu li {
    margin-bottom: 8px;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    font-weight: 600; /* Bolder font for clean visibility */
}

/* Highly Vibrant Menu Item Icons */
.sidebar-menu a i {
    margin-right: 12px;
    font-size: 1.15rem;
    width: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}
.sidebar-menu li:nth-child(1) a i { color: #6366f1; } /* Dashboard */
.sidebar-menu li:nth-child(2) a i { color: #ec4899; } /* Profile */
.sidebar-menu li:nth-child(3) a i { color: #f59e0b; } /* Payment */
.sidebar-menu li:nth-child(4) a i { color: #10b981; } /* Income */
.sidebar-menu li:nth-child(5) a i { color: #3b82f6; } /* Downline */
.sidebar-menu li:nth-child(6) a i { color: #8b5cf6; } /* Repayments */
.sidebar-menu li:nth-child(7) a i { color: #06b6d4; } /* Withdrawals */
.sidebar-menu li:nth-child(8) a i { color: #14b8a6; } /* Lucky draw */
.sidebar-menu li:nth-child(9) a i { color: #f43f5e; } /* Support */

/* Super Admin Sidebars Specific Icon Coloring */
.admin-theme .sidebar-logo-text {
    background: linear-gradient(135deg, #a855f7 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.admin-theme .sidebar-menu li:nth-child(1) a i { color: #3b82f6; }
.admin-theme .sidebar-menu li:nth-child(2) a i { color: #a855f7; }
.admin-theme .sidebar-menu li:nth-child(3) a i { color: #10b981; }
.admin-theme .sidebar-menu li:nth-child(4) a i { color: #f59e0b; }
.admin-theme .sidebar-menu li:nth-child(5) a i { color: #06b6d4; }
.admin-theme .sidebar-menu li:nth-child(6) a i { color: #ec4899; }
.admin-theme .sidebar-menu li:nth-child(7) a i { color: #14b8a6; }
.admin-theme .sidebar-menu li:nth-child(8) a i { color: #f43f5e; }
.admin-theme .sidebar-menu li:nth-child(9) a i { color: #8b5cf6; }

.sidebar-menu li.active a,
.sidebar-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--accent-color);
}
.sidebar-menu li.active a {
    background: var(--accent-gradient);
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
}
.sidebar-menu li.active a i {
    color: #ffffff !important;
}

/* Main Dashboard Panel */
.main-panel {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.main-navbar {
    height: 70px;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}
.main-content {
    padding: 30px;
    flex-grow: 1;
    overflow-y: auto;
}

/* ==========================================
   PREMIUM CARD & CARD STATS
   ========================================== */
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, rgba(255,255,255,0) 70%);
    top: -30px;
    right: -30px;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Stat Cards Premium Color Profiles (Left borders & vibrant subtle backgrounds) */
.stat-card.card-purple { border-left: 6px solid #6366f1; background: linear-gradient(to right, rgba(99, 102, 241, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-green { border-left: 6px solid #10b981; background: linear-gradient(to right, rgba(16, 185, 129, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-blue { border-left: 6px solid #3b82f6; background: linear-gradient(to right, rgba(59, 130, 246, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-orange { border-left: 6px solid #f59e0b; background: linear-gradient(to right, rgba(245, 158, 11, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-pink { border-left: 6px solid #ec4899; background: linear-gradient(to right, rgba(236, 72, 153, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-cyan { border-left: 6px solid #06b6d4; background: linear-gradient(to right, rgba(6, 182, 212, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-teal { border-left: 6px solid #14b8a6; background: linear-gradient(to right, rgba(20, 184, 166, 0.03) 0%, var(--bg-secondary) 100%); }
.stat-card.card-red { border-left: 6px solid #ef4444; background: linear-gradient(to right, rgba(239, 68, 68, 0.03) 0%, var(--bg-secondary) 100%); }

.stat-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}
.icon-primary { background-color: rgba(99, 102, 241, 0.12); color: var(--accent-color); }
.icon-success { background-color: rgba(16, 185, 129, 0.12); color: var(--success-color); }
.icon-warning { background-color: rgba(245, 158, 11, 0.12); color: var(--warning-color); }
.icon-danger { background-color: rgba(239, 68, 68, 0.12); color: var(--danger-color); }
.icon-info { background-color: rgba(59, 130, 246, 0.12); color: var(--info-color); }

.stat-card-info h3 {
    font-size: 1.85rem;
    font-weight: 800; /* Bold numbers for maximum visible clarity */
    margin: 5px 0 0 0;
    color: var(--text-primary);
}
.stat-card-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 5px 0 0 0;
    color: var(--text-primary);
}
.stat-card-info p {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

/* Regular Premium Cards with colorful border-tops */
.premium-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    overflow: hidden;
    border-top: 4px solid var(--accent-color); /* standard accent top border */
}
.premium-card.card-border-primary { border-top: 4px solid var(--accent-color); }
.premium-card.card-border-success { border-top: 4px solid var(--success-color); }
.premium-card.card-border-info { border-top: 4px solid var(--info-color); }
.premium-card.card-border-warning { border-top: 4px solid var(--warning-color); }
.premium-card.card-border-danger { border-top: 4px solid var(--danger-color); }

.premium-card-header {
    padding: 20px 24px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.premium-card-title {
    font-size: 1.15rem;
    font-weight: 800; /* Clean & solid headings */
    margin: 0;
    color: var(--text-primary);
}
.premium-card-body {
    padding: 24px;
}

/* ==========================================
   BUTTONS, BADGES, AND CONTROLS
   ========================================== */
.btn-premium {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 10px 24px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.btn-premium:hover {
    background: var(--accent-gradient);
    filter: brightness(1.1);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.custom-badge {
    padding: 6px 12px;
    border-radius: var(--border-radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}
.badge-active { background-color: var(--success-bg); color: var(--success-color); }
.badge-inactive { background-color: var(--warning-bg); color: var(--warning-color); }
.badge-suspended { background-color: var(--danger-bg); color: var(--danger-color); }
.badge-pending { background-color: var(--warning-bg); color: var(--warning-color); }
.badge-verified { background-color: var(--success-bg); color: var(--success-color); }
.badge-rejected { background-color: var(--danger-bg); color: var(--danger-color); }

.badge-free { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-recard { background-color: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-general { background-color: rgba(71, 85, 105, 0.15); color: var(--text-secondary); border: 1px solid rgba(71, 85, 105, 0.3); }

/* ==========================================
   INPUTS AND FORM CONTROLS
   ========================================== */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
    display: block;
}
.form-control-premium {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    transition: var(--transition-smooth);
    width: 100%;
}
.form-control-premium:focus {
    background-color: var(--bg-secondary);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* ==========================================
   TAB SYSTEMS AND TABLES
   ========================================== */
.premium-tabs {
    border-bottom: 2px solid var(--border-color);
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
}
.tab-item {
    padding: 12px 20px;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.tab-item:hover,
.tab-item.active {
    color: var(--accent-color);
}
.tab-item.active {
    border-bottom-color: var(--accent-color);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}
.premium-table th {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}
.premium-table td {
    padding: 16px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.premium-table tr:hover {
    background-color: var(--bg-tertiary);
}

/* ==========================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================== */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px); /* Elegant modern glassmorphism blur effect */
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        left: -280px; /* offset fully to cover box-shadows */
        top: 0;
        bottom: 0;
        width: 260px;
        box-shadow: none;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }
    .sidebar.show {
        left: 0;
        box-shadow: var(--shadow-lg);
    }
    .main-panel {
        width: 100%;
    }
    .main-navbar {
        padding: 0 20px;
    }
    .mobile-logo-gradient {
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .admin-theme .mobile-logo-gradient {
        background: linear-gradient(135deg, #a855f7 0%, #f43f5e 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@media (max-width: 575.98px) {
    .main-navbar {
        height: 65px;
        padding: 0 12px;
    }
    .mobile-navbar-logo {
        font-size: 1.05rem;
    }
    .main-content {
        padding: 15px;
    }
    .stat-card {
        padding: 16px;
    }
    .auth-card {
        padding: 24px;
    }
}

/* MLM visual tree styling */
.tree-container {
    overflow-x: auto;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}
.tree-node {
    display: inline-block;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    margin: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.tree-node-title {
    font-weight: 700;
    font-size: 0.95rem;
}
.tree-node-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Admin Panel accessibility override for ALL font colors to be white */
.admin-theme,
.admin-theme body,
.admin-theme p,
.admin-theme span:not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not([class*="badge-"]):not(.badge),
.admin-theme label,
.admin-theme input,
.admin-theme select,
.admin-theme textarea,
.admin-theme th,
.admin-theme td:not(.text-success):not(.text-danger):not(.text-warning):not(.text-info),
.admin-theme h1,
.admin-theme h2,
.admin-theme h3:not(.text-success):not(.text-danger):not(.text-warning):not(.text-info),
.admin-theme h4,
.admin-theme h5,
.admin-theme h6,
.admin-theme small,
.admin-theme .small,
.admin-theme .text-muted,
.admin-theme .text-secondary,
.admin-theme .text-body-secondary,
.admin-theme .form-text,
.admin-theme .form-label,
.admin-theme .input-group-text,
.admin-theme .tree-node-subtitle,
.admin-theme .stat-card-info p {
    color: #ffffff !important;
}

.admin-theme .input-group-text.text-muted i {
    color: #ffffff !important;
}

/* ==========================================
   LOGO STYLING UTILITIES
   ========================================== */
.auth-logo {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0 auto 15px auto;
}
.sidebar-logo-img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}
.mobile-logo-img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}
.pdf-logo-img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

/* ==========================================
   LANDING PAGE STYLING (PREMIUM DARK LAYOUT)
   ========================================== */
.landing-body {
    background: radial-gradient(circle at 10% 20%, #0b0f19 0%, #111827 90%) !important;
    color: #f3f4f6 !important;
    overflow-x: hidden;
}

/* Force light colors on landing text components for visibility against the dark background */
.landing-body p,
.landing-body div:not(.stat-card-info):not(.stat-card-info p):not(.dropdown-menu):not(.dropdown-item),
.landing-body span:not(.text-success):not(.text-danger):not(.text-warning):not(.text-info):not([class*="badge-"]):not(.badge),
.landing-body label,
.landing-body h1,
.landing-body h2,
.landing-body h3:not(.text-success):not(.text-danger):not(.text-warning):not(.text-info),
.landing-body h4,
.landing-body h5,
.landing-body h6,
.landing-body i,
.landing-body li {
    color: #f3f4f6 !important;
}

.landing-body .text-muted {
    color: #9ca3af !important;
}

.landing-body .text-secondary,
.landing-body .text-secondary-emphasis {
    color: #cbd5e1 !important;
}

/* Transparent backing for logos on dark gradients with color inversion */
.landing-logo-bg {
    background: transparent !important;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.landing-logo-bg img {
    filter: brightness(0) invert(1) !important; /* Invert dark branding logo to white */
}



/* Glassmorphism Header */
.landing-header {
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}
.landing-header.scrolled {
    background: rgba(11, 15, 25, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.landing-nav-link {
    color: #9ca3af !important;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
}
.landing-nav-link:hover,
.landing-nav-link.active {
    color: #818cf8 !important;
}

/* Hero Section */
.landing-hero {
    min-height: 90vh;
    padding-top: 130px;
    padding-bottom: 80px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    right: -10%;
    z-index: 0;
}
.landing-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(0,0,0,0) 70%);
    bottom: -10%;
    left: -10%;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 40%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.hero-graphic {
    position: relative;
    z-index: 2;
    animation: floatAnimation 6s ease-in-out infinite;
}
.hero-badge-pill {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Float Animation */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Premium Card Designs for About/Features */
.landing-card {
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.landing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}
.landing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.landing-card:hover::before {
    opacity: 1;
}
.landing-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

/* Sections */
.landing-section {
    padding: 100px 0;
    position: relative;
}
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
.section-subtitle {
    color: #818cf8 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.section-title {
    font-weight: 800;
    font-size: 2.25rem;
    color: #ffffff !important;
}

/* Contact form customization */
.landing-input-group {
    background: rgba(17, 24, 39, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--border-radius-sm) !important;
    color: #ffffff !important;
    transition: var(--transition-smooth);
}
.landing-input-group:focus {
    background: rgba(17, 24, 39, 0.9) !important;
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15) !important;
    outline: none;
}

/* CTA Outline buttons */
.btn-outline-landing {
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    background: transparent !important;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition-smooth);
}
.btn-outline-landing:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

/* ==========================================
   LANDING MOBILE RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 575.98px) {
    .landing-logo-bg {
        padding: 0 !important;
        box-shadow: none !important;
    }
    .landing-logo-bg img {
        max-height: 20px !important;
    }
    .landing-header .fs-4 {
        font-size: 1.1rem !important;
    }
    .landing-header .btn-premium {
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
    }
    .landing-header .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .landing-hero {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }
    .landing-section {
        padding: 60px 0 !important;
    }
}

/* ==========================================
   INTERACTIVE LUCKY DRAW SIMULATOR STYLES
   ========================================== */
.lucky-digit-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}
.lucky-digit {
    background: rgba(17, 24, 39, 0.8) !important;
    border: 2px solid rgba(129, 140, 248, 0.4) !important;
    color: #818cf8 !important;
    font-size: 3rem !important;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace, Courier;
    width: 65px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(129, 140, 248, 0.2);
    transition: var(--transition-smooth);
}
.lucky-digit.spinning {
    animation: digitSpin 0.1s linear infinite;
    color: #c084fc !important;
    border-color: rgba(192, 132, 252, 0.6) !important;
}
@keyframes digitSpin {
    0% { transform: translateY(-2px); }
    50% { transform: translateY(2px); }
    100% { transform: translateY(-2px); }
}
.lucky-table th {
    background-color: rgba(31, 41, 55, 0.4) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08) !important;
}
.lucky-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}




