:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --accent: #F59E0B;
    --danger: #EF4444;
    --warning: #F97316;
    --success: #22C55E;
    --info: #3B82F6;
    --dark: #1E293B;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --body-bg: #F1F5F9;
    --card-bg: #FFFFFF;
    --sidebar-bg: #FFFFFF;
    --sidebar-text: #475569;
    --sidebar-active: #4F46E5;
    --border: #E2E8F0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--body-bg);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 14px;
    border: none; cursor: pointer; transition: var(--transition); text-decoration: none;
    line-height: 1.4;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--secondary-dark); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #DC2626; color: var(--white); }
.btn-warning { background: var(--warning); color: var(--white); }
.btn-outline {
    background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Cards */
.card {
    background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    overflow: hidden; transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.card-header h2, .card-header h3 { font-size: 16px; font-weight: 700; color: var(--gray-800); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--gray-50); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--gray-700);
}
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius);
    font-size: 14px; transition: var(--transition); background: var(--white);
    font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-control::placeholder { color: var(--gray-400); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Alerts */
.alert {
    padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px;
    font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.alert-danger { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* Layout */
.layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px; background: var(--sidebar-bg); color: var(--sidebar-text);
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    display: flex; flex-direction: column; transition: var(--transition);
    overflow-y: auto;
}
.sidebar-brand {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
}
.sidebar-brand h1 { font-size: 20px; font-weight: 800; color: var(--gray-900); }
.sidebar-brand span { color: var(--primary); }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-nav .nav-section {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--gray-400); padding: 12px 12px 8px; margin-top: 8px;
}
.sidebar-nav a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border-radius: var(--radius); color: var(--sidebar-text); font-size: 14px;
    font-weight: 500; transition: var(--transition); margin-bottom: 2px;
}
.sidebar-nav a:hover { background: rgba(79,70,229,0.07); color: var(--primary); }
.sidebar-nav a.active { background: var(--sidebar-active); color: var(--white); }
.sidebar-nav a .icon { width: 20px; text-align: center; font-size: 16px; }
.sidebar-nav a .badge {
    margin-left: auto; background: var(--danger); color: var(--white);
    font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 700;
}

.main-content {
    margin-left: 260px; flex: 1; display: flex; flex-direction: column;
}
.topbar {
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 30px; display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-left h2 { font-size: 18px; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .notification-btn {
    position: relative; background: none; border: none; cursor: pointer;
    font-size: 20px; color: var(--gray-600); padding: 8px;
}
.topbar-right .notification-btn .badge {
    position: absolute; top: 2px; right: 2px; background: var(--danger);
    color: var(--white); font-size: 10px; width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.user-menu { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 12px; border-radius: var(--radius); transition: var(--transition); }
.user-menu:hover { background: var(--gray-100); }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: var(--primary);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.content { padding: 30px; flex: 1; }

/* Stats Grid */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px; margin-bottom: 30px;
}
.stat-card {
    background: var(--card-bg); border-radius: var(--radius-lg); padding: 24px;
    box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 16px;
    transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.stat-icon.blue { background: #DBEAFE; color: #2563EB; }
.stat-icon.green { background: #DCFCE7; color: #16A34A; }
.stat-icon.yellow { background: #FEF3C7; color: #D97706; }
.stat-icon.red { background: #FEE2E2; color: #DC2626; }
.stat-icon.purple { background: #EDE9FE; color: #7C3AED; }
.stat-info h3 { font-size: 13px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-info .value { font-size: 24px; font-weight: 800; color: var(--gray-900); margin-top: 4px; }
.stat-info .change { font-size: 12px; margin-top: 4px; }
.stat-info .change.up { color: var(--success); }
.stat-info .change.down { color: var(--danger); }

/* Tables */
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th {
    padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500);
    border-bottom: 2px solid var(--border); background: var(--gray-50);
}
table td {
    padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px;
    color: var(--gray-700);
}
table tbody tr:hover { background: var(--gray-50); }

/* Badges */
.badge {
    display: inline-flex; align-items: center; padding: 4px 10px;
    border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
}
.badge-success { background: #DCFCE7; color: #166534; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-info { background: #DBEAFE; color: #1E40AF; }
.badge-purple { background: #EDE9FE; color: #6D28D9; }
.badge-gray { background: var(--gray-200); color: var(--gray-700); }

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
    padding: 20px;
}
.auth-card {
    background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    width: 100%; max-width: 440px; padding: 40px; margin: 20px;
}
.auth-card .logo { text-align: center; margin-bottom: 30px; }
.auth-card .logo h1 { font-size: 28px; font-weight: 800; color: var(--gray-900); }
.auth-card .logo h1 span { color: var(--primary); }
.auth-card .logo p { color: var(--gray-500); font-size: 14px; margin-top: 6px; }
.auth-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-card .subtitle { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--gray-500); }
.auth-footer a { font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 12px; color: var(--gray-400); text-transform: uppercase; }

/* ================================================================
   HOMEPAGE STYLES
   ================================================================ */

/* --- Header / Navigation --- */
.home-header {
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    position: sticky; top: 0; z-index: 200;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 0 40px rgba(79,70,229,0.05);
}
.home-header .container {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 0; padding-bottom: 0; height: 70px;
}
.home-header .logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 800; color: var(--gray-900); flex-shrink: 0;
    text-decoration: none; transition: transform 0.25s ease;
}
.home-header .logo:hover { transform: scale(1.03); }
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #FBBF24);
    display: grid; place-items: center; font-size: 18px;
    box-shadow: 0 4px 14px -3px rgba(245,158,11,0.55);
    flex-shrink: 0;
}
.logo-text { color: var(--gray-900); letter-spacing: -0.3px; }
.logo-dot { color: var(--accent); }

/* Desktop nav links */
.desktop-nav {
    display: flex; gap: 2px; align-items: center;
}
.desktop-nav .nav-link {
    color: var(--gray-600); font-weight: 500; font-size: 14px;
    padding: 8px 14px; border-radius: 8px; transition: all 0.22s ease;
    position: relative; text-decoration: none;
}
.desktop-nav .nav-link:hover {
    color: var(--primary); background: rgba(79,70,229,0.07);
}
.desktop-nav .nav-link::after {
    content: ""; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
    background: var(--accent); border-radius: 1px;
    transition: all 0.25s ease; transform: translateX(-50%);
}
.desktop-nav .nav-link:hover::after { width: 20px; }

.nav-divider {
    width: 1px; height: 20px; background: var(--border);
    margin: 0 6px; flex-shrink: 0;
}

/* Desktop buttons */
.desktop-nav .btn { padding: 8px 20px; font-size: 13px; font-weight: 700; border-radius: 10px; }
.desktop-nav .btn-register {
    background: linear-gradient(135deg, var(--accent), #FBBF24); color: var(--gray-900);
    box-shadow: 0 4px 15px -3px rgba(245,158,11,0.5);
    animation: registerPulse 2.5s ease-in-out infinite;
}
@keyframes registerPulse {
    0%, 100% { box-shadow: 0 4px 15px -3px rgba(245,158,11,0.5); }
    50% { box-shadow: 0 4px 25px -3px rgba(245,158,11,0.75); }
}
.desktop-nav .btn-register:hover {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    transform: translateY(-1px); color: var(--gray-900);
}
.desktop-nav .btn-dashboard {
    background: linear-gradient(135deg, var(--secondary), #059669);
    color: #fff; box-shadow: 0 4px 14px -3px rgba(16,185,129,0.5);
}
.desktop-nav .btn-dashboard:hover {
    background: linear-gradient(135deg, #059669, #047857); color: #fff;
    transform: translateY(-1px);
}

/* Hamburger Button */
.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 42px; height: 42px; border-radius: 12px;
    position: relative; z-index: 210;
    transition: background 0.25s ease;
    flex-shrink: 0;
}
.hamburger:hover { background: rgba(79,70,229,0.08); }
.hamburger-line {
    display: block; width: 20px; height: 2px; background: var(--gray-800);
    border-radius: 2px; position: absolute; left: 11px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.hamburger-line:nth-child(1) { top: 13px; }
.hamburger-line:nth-child(2) { top: 20px; width: 14px; }
.hamburger-line:nth-child(3) { top: 27px; }
/* Animate to X */
.hamburger.active .hamburger-line:nth-child(1) {
    top: 20px; transform: rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active .hamburger-line:nth-child(3) {
    top: 20px; transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero-home {
    background: var(--gray-50);
    color: #fff; padding: 20px 20px 80px;
    position: relative; overflow: hidden;
}
.hero-inner .container { max-width: none; padding: 0; }

/* Hero rounded container */
.hero-inner {
    position: relative; z-index: 1;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #312E81 100%);
    padding: 56px 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}
/* Hero layout */
.hero-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 1;
}

/* Left copy */
.hero-copy { max-width: 560px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px 8px 14px; background: rgba(255,255,255,0.07);
    border-radius: 30px; font-size: 13px; font-weight: 600;
    margin-bottom: 28px; backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    animation: fadeInDown 0.6s ease-out both;
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22C55E; flex-shrink: 0;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}
.hero-copy h1 {
    font-size: 54px; font-weight: 900; margin-bottom: 20px;
    line-height: 1.1; letter-spacing: -1.5px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero-copy h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #FBBF24, #F59E0B);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 17px; line-height: 1.75; opacity: 0.65;
    max-width: 500px; margin-bottom: 36px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--accent), #FBBF24);
    color: var(--gray-900); font-size: 16px; font-weight: 800;
    padding: 16px 32px; border-radius: 14px;
    box-shadow: 0 8px 24px -4px rgba(245,158,11,0.45);
    transition: all 0.28s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-3px); color: var(--gray-900);
    box-shadow: 0 14px 36px -4px rgba(245,158,11,0.55);
}
.btn-hero-primary svg { transition: transform 0.25s ease; }
.btn-hero-primary:hover svg { transform: translateX(4px); }
.btn-hero-outline {
    background: rgba(255,255,255,0.06); color: #fff; font-size: 16px;
    padding: 16px 32px; font-weight: 700; border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25);
    color: #fff; transform: translateY(-2px);
}
.hero-trust {
    display: flex; gap: 28px; flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}
.hero-trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; opacity: 0.55;
}
.hero-trust-item .check {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(34,197,94,0.2); display: grid; place-items: center;
    font-size: 11px; color: #22C55E;
}

/* Right visual */
.hero-visual {
    display: flex; justify-content: center; align-items: center;
    position: relative; min-height: 480px;
    animation: fadeInRight 0.7s ease-out 0.2s both;
}
.hero-card-stack { position: relative; width: 340px; }

/* Main dashboard card */
.hero-dash-card {
    background: rgba(255,255,255,0.07); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
    padding: 28px; position: relative; z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hdc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.hdc-user { display: flex; align-items: center; gap: 12px; }
.hdc-avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #7C3AED);
    display: grid; place-items: center; font-weight: 800; font-size: 16px;
    box-shadow: 0 4px 12px -2px rgba(79,70,229,0.5);
}
.hdc-name { font-size: 14px; font-weight: 700; }
.hdc-role { font-size: 12px; opacity: 0.5; }
.hdc-badge {
    padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
    background: rgba(34,197,94,0.15); color: #22C55E;
    border: 1px solid rgba(34,197,94,0.2);
}
.hdc-balance { margin-bottom: 24px; }
.hdc-balance-label { display: block; font-size: 12px; opacity: 0.45; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.hdc-balance-amount {
    font-size: 32px; font-weight: 900; letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hdc-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin-bottom: 24px; padding: 16px; border-radius: 14px;
    background: rgba(255,255,255,0.04);
}
.hdc-stat { text-align: center; }
.hdc-stat-val { display: block; font-size: 16px; font-weight: 800; }
.hdc-stat-lbl { font-size: 11px; opacity: 0.4; }
.hdc-bar-group { }
.hdc-bar-label { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.5; margin-bottom: 8px; }
.hdc-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.hdc-bar-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: barGrow 1.5s ease-out 0.8s both;
}
@keyframes barGrow { from { width: 0 !important; } }

/* Floating accent cards */
.hero-float {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 14px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    font-size: 13px; white-space: nowrap;
}
.hf-icon { font-size: 20px; flex-shrink: 0; }
.hf-val { font-weight: 800; font-size: 14px; }
.hf-label { font-size: 11px; opacity: 0.45; }
.hero-float-1 {
    top: 10px; right: -30px;
    animation: floatA 4s ease-in-out infinite, fadeInLeft 0.5s ease-out 0.6s both;
}
.hero-float-2 {
    bottom: 80px; left: -40px;
    animation: floatB 5s ease-in-out infinite 1s, fadeInRight 0.5s ease-out 0.7s both;
}
.hero-float-3 {
    bottom: 10px; right: 10px;
    animation: floatC 4.5s ease-in-out infinite 0.5s, fadeInUp 0.5s ease-out 0.8s both;
}
@keyframes floatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes floatC {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero entry animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Ad Placement: Header Banner --- */
.ad-banner-header {
    padding: 0; min-height: 0; background: var(--gray-100);
    border-bottom: 1px solid var(--border);
}
.ad-banner-header .container {
    display: flex; justify-content: center; align-items: center;
    padding-top: 12px; padding-bottom: 12px;
}
.ad-banner-header img, .ad-banner-header .ad-placeholder {
    max-width: 728px; width: 100%; border-radius: var(--radius);
    display: block;
}
.ad-placeholder {
    background: var(--gray-200); color: var(--gray-400); text-align: center;
    padding: 20px; border-radius: var(--radius); font-size: 13px;
    font-weight: 600; border: 2px dashed var(--gray-300);
}

/* --- How It Works --- */
.how-it-works {
    padding: 90px 20px; background: var(--gray-50);
}
.section-header {
    text-align: center; margin-bottom: 60px;
}
.section-header .section-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; background: #EEF2FF; color: var(--primary);
    border-radius: 20px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px;
}
.section-header h2 {
    font-size: 36px; font-weight: 900; color: var(--gray-900);
    margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-header p {
    font-size: 17px; color: var(--gray-500); max-width: 560px; margin: 0 auto;
    line-height: 1.6;
}
.steps-timeline {
    max-width: 900px; margin: 0 auto; position: relative;
}
.how-it-works { position: relative; overflow: hidden; }
.hiw-bg-shape {
    position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.06;
}
.hiw-bg-1 { width: 300px; height: 300px; background: var(--primary); top: -60px; right: -80px; }
.hiw-bg-2 { width: 200px; height: 200px; background: var(--accent); bottom: -40px; left: -60px; }
.step-item {
    display: flex; gap: 0; position: relative;
}
.step-left {
    flex: 0 0 80px; display: flex; flex-direction: column; align-items: center;
    position: relative;
}
.step-line {
    width: 3px; flex: 1; background: linear-gradient(180deg, var(--primary) 0%, #C7D2FE 100%);
    border-radius: 2px; margin: 8px 0;
}
.step-item:last-child .step-line { display: none; }
.step-icon-wrap {
    position: relative; z-index: 1;
}
.step-icon {
    width: 60px; height: 60px; border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), #6366F1);
    display: grid; place-items: center; color: #fff;
    box-shadow: 0 8px 24px -6px rgba(79,70,229,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover .step-icon {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 32px -6px rgba(79,70,229,0.55);
}
.step-num {
    position: absolute; top: -8px; right: -12px;
    background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
    width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
    box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
.step-right {
    flex: 1; display: flex; align-items: center; gap: 20px;
    padding: 8px 0 32px;
}
.step-content {
    flex: 1;
}
.step-content h3 {
    font-size: 19px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px;
}
.step-content p {
    font-size: 15px; color: var(--gray-500); line-height: 1.65; max-width: 360px;
}
.step-visual {
    flex: 0 0 160px;
}
.step-mini-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 14px;
    padding: 14px; box-shadow: 0 4px 16px -4px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.step-item:hover .step-mini-card { transform: translateY(-2px); }
.smc-avatar {
    width: 32px; height: 32px; border-radius: 10px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF); margin-bottom: 10px;
}
.smc-lines { display: flex; flex-direction: column; gap: 6px; }
.smc-lines span {
    height: 8px; border-radius: 4px; background: #E5E7EB;
}
.smc-lines span:first-child { width: 80%; }
.smc-lines span:last-child { width: 55%; }
.step-mini-tasks { display: flex; flex-direction: column; gap: 8px; }
.smc-task {
    display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
    color: var(--gray-600); padding: 6px 10px; border-radius: 8px; background: #F9FAFB;
}
.smc-check {
    color: #10B981; font-weight: 800; font-size: 11px;
}
.smc-dots { color: var(--accent); font-weight: 800; letter-spacing: 2px; }
.smc-task.active { background: #FFFBEB; border: 1px solid #FDE68A; }
.smc-bal-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-400); font-weight: 700; margin-bottom: 4px; }
.smc-bal-amount { font-size: 20px; font-weight: 900; color: var(--gray-900); margin-bottom: 10px; }
.smc-bar { height: 6px; background: #E5E7EB; border-radius: 3px; overflow: hidden; }
.smc-bar-fill {
    width: 78%; height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1);
}
.step-mini-withdraw {
    display: flex; align-items: center; gap: 12px;
}
.smc-w-icon { font-size: 26px; }
.smc-w-text { display: flex; flex-direction: column; }
.smc-w-label { font-size: 11px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.smc-w-status { font-size: 13px; font-weight: 700; color: #10B981; }

/* --- Ways to Earn --- */
.ways-to-earn {
    padding: 90px 20px; background: var(--gray-50); position: relative; overflow: hidden;
}
.wte-bg-shape { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.04; }
.wte-bg-1 { width: 350px; height: 350px; background: #7C3AED; top: -80px; left: -100px; }
.wte-bg-2 { width: 250px; height: 250px; background: var(--accent); bottom: -60px; right: -60px; }

/* Featured cards */
.wte-featured {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    max-width: 900px; margin: 0 auto 28px;
}
.wte-feat-card {
    padding: 28px; border-radius: var(--radius-lg); position: relative;
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wte-feat-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.wte-feat-primary {
    background: linear-gradient(135deg, var(--primary), #6366F1); color: #fff;
}
.wte-feat-accent {
    background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
}
.wte-feat-icon {
    width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.2);
    display: grid; place-items: center; margin-bottom: 16px;
    backdrop-filter: blur(4px);
}
.wte-feat-badge {
    display: inline-flex; padding: 4px 12px; background: rgba(255,255,255,0.2);
    border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 12px; backdrop-filter: blur(4px);
}
.wte-feat-badge-amber { background: rgba(255,255,255,0.25); }
.wte-feat-card h3 {
    font-size: 20px; font-weight: 800; margin-bottom: 8px;
}
.wte-feat-card p {
    font-size: 14px; opacity: 0.9; line-height: 1.6; margin-bottom: 16px;
}
.wte-feat-stat {
    display: flex; align-items: baseline; gap: 8px;
    padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.2);
}
.wte-fs-val { font-size: 26px; font-weight: 900; }
.wte-fs-label { font-size: 13px; opacity: 0.8; }

/* Regular grid */
.wte-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 1100px; margin: 0 auto;
}
.wte-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 24px;
    border: 1px solid var(--border); transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.wte-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), #7C3AED);
    opacity: 0; transition: opacity 0.3s ease;
}
.wte-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-md);
    border-color: transparent;
}
.wte-card:hover::before { opacity: 1; }
.wte-icon-wrap {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
    display: grid; place-items: center;
}
.wte-icon-green { background: #DCFCE7; color: #16A34A; }
.wte-icon-blue { background: #DBEAFE; color: #2563EB; }
.wte-icon-teal { background: #CCFBF1; color: #0D9488; }
.wte-icon-pink { background: #FCE7F3; color: #DB2777; }
.wte-icon-indigo { background: #E0E7FF; color: #4F46E5; }
.wte-icon-orange { background: #FFEDD5; color: #EA580C; }
.wte-icon-red { background: #FEE2E2; color: #DC2626; }
.wte-icon-cyan { background: #CFFAFE; color: #0891B2; }
.wte-card h3 {
    font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px;
}
.wte-card p {
    font-size: 13px; color: var(--gray-500); line-height: 1.6;
}

/* --- Platform Statistics --- */
.platform-stats {
    padding: 90px 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #1a1a3e 100%);
    color: #fff; position: relative; overflow: hidden;
}
.ps-bg-orb {
    position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.ps-bg-1 { width: 400px; height: 400px; background: rgba(99,102,241,0.15); top: -120px; right: -100px; }
.ps-bg-2 { width: 300px; height: 300px; background: rgba(245,158,11,0.1); bottom: -80px; left: -60px; }
.ps-bg-3 { width: 200px; height: 200px; background: rgba(16,185,129,0.08); top: 40%; left: 50%; }
.ps-grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
.platform-stats .section-header h2 { color: #fff; }
.platform-stats .section-header p { color: rgba(255,255,255,0.6); }
.platform-stats .section-header .section-badge {
    background: rgba(255,255,255,0.1); color: var(--accent);
}

/* Featured stat — ring */
.ps-featured {
    display: flex; align-items: center; gap: 32px;
    max-width: 700px; margin: 0 auto 40px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 28px 32px;
    backdrop-filter: blur(8px);
}
.ps-feat-ring {
    flex: 0 0 120px; position: relative; width: 120px; height: 120px;
}
.ps-ring-svg { width: 120px; height: 120px; }
.ps-feat-inner {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.ps-feat-val {
    font-size: 22px; font-weight: 900;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ps-feat-label {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5); font-weight: 600;
}
.ps-feat-desc {
    font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.7);
}
.ps-feat-desc strong {
    color: var(--accent); font-weight: 800;
}

/* Stats grid */
.ps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 1000px; margin: 0 auto;
}
.ps-card {
    text-align: center; padding: 28px 16px 20px;
    background: rgba(255,255,255,0.04); border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ps-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.ps-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px); border-color: rgba(255,255,255,0.12);
}
.ps-card:hover::before { opacity: 1; }
.ps-icon-wrap {
    width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 16px;
    display: grid; place-items: center;
}
.ps-icon-blue { background: rgba(59,130,246,0.2); color: #60A5FA; }
.ps-icon-green { background: rgba(34,197,94,0.2); color: #4ADE80; }
.ps-icon-purple { background: rgba(139,92,246,0.2); color: #A78BFA; }
.ps-icon-amber { background: rgba(245,158,11,0.2); color: #FBBF24; }
.ps-val {
    font-size: 30px; font-weight: 900; margin-bottom: 4px;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ps-label {
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px;
}
.ps-bar {
    height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px;
    overflow: hidden; margin-top: auto;
}
.ps-bar-fill {
    height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, #60A5FA, #818CF8);
}
.ps-bar-green { background: linear-gradient(90deg, #4ADE80, #10B981); }
.ps-bar-purple { background: linear-gradient(90deg, #A78BFA, #7C3AED); }
.ps-bar-amber { background: linear-gradient(90deg, #FBBF24, #F59E0B); }

/* --- Why Choose Us --- */
.why-choose {
    padding: 90px 20px; background: var(--gray-50); position: relative; overflow: hidden;
}
.wcu-bg-shape {
    position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.05;
}
.wcu-bg-1 { width: 320px; height: 320px; background: var(--primary); top: -60px; right: -80px; }
.wcu-bg-2 { width: 260px; height: 260px; background: var(--accent); bottom: -40px; left: -60px; }

/* Featured cards */
.wcu-featured {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto 20px;
}
.wcu-feat-card {
    padding: 32px; border-radius: var(--radius-lg); position: relative;
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}
.wcu-feat-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.wcu-feat-green { background: linear-gradient(135deg, #10B981, #059669); }
.wcu-feat-blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.wcu-feat-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.wcu-feat-icon {
    width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.2);
    display: grid; place-items: center; margin-bottom: 18px; backdrop-filter: blur(4px);
}
.wcu-feat-card h3 {
    font-size: 19px; font-weight: 800; margin-bottom: 10px;
}
.wcu-feat-card p {
    font-size: 14px; opacity: 0.92; line-height: 1.65; margin-bottom: 16px;
}
.wcu-feat-tag {
    display: inline-flex; align-items: center; padding: 5px 14px;
    background: rgba(255,255,255,0.2); border-radius: 20px;
    font-size: 12px; font-weight: 700; backdrop-filter: blur(4px);
}

/* Grid cards */
.wcu-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 1100px; margin: 0 auto;
}
.wcu-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 24px;
    border: 1px solid var(--border); transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.wcu-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), #7C3AED);
    opacity: 0; transition: opacity 0.3s ease;
}
.wcu-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-md);
    border-color: transparent;
}
.wcu-card:hover::before { opacity: 1; }
.wcu-icon-wrap {
    width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
    display: grid; place-items: center;
}
.wcu-icon-cyan { background: #CFFAFE; color: #0891B2; }
.wcu-icon-pink { background: #FCE7F3; color: #DB2777; }
.wcu-icon-amber { background: #FEF3C7; color: #D97706; }
.wcu-icon-green { background: #DCFCE7; color: #16A34A; }
.wcu-card h3 {
    font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px;
}
.wcu-card p {
    font-size: 13px; color: var(--gray-500); line-height: 1.6;
}

/* --- Payment Proof / Recent Withdrawals --- */
.payment-proof {
    padding: 90px 20px; background: var(--white);
}
.proof-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto;
}
.proof-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 22px;
    border: 1px solid var(--border); display: flex; align-items: center;
    gap: 16px; transition: all 0.3s ease;
}
.proof-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.proof-avatar {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #DCFCE7, #A7F3D0);
    display: grid; place-items: center; font-size: 20px; font-weight: 800;
    color: #065F46;
}
.proof-info { flex: 1; min-width: 0; }
.proof-name {
    font-size: 14px; font-weight: 700; color: var(--gray-800);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.proof-meta {
    font-size: 12px; color: var(--gray-400); font-weight: 600; margin-top: 2px;
}
.proof-amount {
    font-size: 18px; font-weight: 800; color: var(--secondary);
    flex-shrink: 0;
}
.proof-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; background: #DCFCE7; color: #166534;
    border-radius: 20px; font-size: 11px; font-weight: 700;
    margin-top: 4px;
}

/* --- FAQ --- */
.faq-section {
    padding: 90px 20px; background: var(--white);
}
.faq-list {
    max-width: 780px; margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease;
}
.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.08);
}
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; background: var(--white); border: none;
    font-size: 15px; font-weight: 700; color: var(--gray-800);
    cursor: pointer; text-align: left; gap: 16px;
    font-family: inherit; transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-toggle {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: var(--gray-100); display: grid; place-items: center;
    font-size: 14px; color: var(--gray-500); transition: all 0.3s ease;
}
.faq-item.active .faq-toggle {
    background: var(--primary); color: #fff; transform: rotate(180deg);
}
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px; font-size: 14px; color: var(--gray-500);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 50%, #6D28D9 100%);
    color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ""; position: absolute; top: -60px; right: -60px;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(255,255,255,0.06); pointer-events: none;
}
.cta-section::after {
    content: ""; position: absolute; bottom: -40px; left: -40px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
}
.cta-section h2 {
    font-size: 38px; font-weight: 900; margin-bottom: 14px;
    position: relative; z-index: 1;
}
.cta-section p {
    font-size: 17px; opacity: 0.88; max-width: 520px; margin: 0 auto 32px;
    line-height: 1.6; position: relative; z-index: 1;
}
.cta-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    position: relative; z-index: 1;
}
.cta-btn-primary {
    background: var(--accent); color: var(--gray-900); font-size: 16px;
    padding: 16px 40px; font-weight: 800; border-radius: var(--radius);
    box-shadow: 0 8px 24px -4px rgba(245,158,11,0.5);
}
.cta-btn-primary:hover {
    background: #FBBF24; transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px rgba(245,158,11,0.6); color: var(--gray-900);
}
.cta-btn-outline {
    background: rgba(255,255,255,0.1); color: #fff; font-size: 16px;
    padding: 16px 40px; font-weight: 700;
    border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius);
}
.cta-btn-outline:hover {
    background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5);
    color: #fff; transform: translateY(-2px);
}

/* --- Footer --- */
.home-footer {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
    color: var(--gray-600);
    position: relative; overflow: hidden;
}
.footer-glow {
    height: 2px; width: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), #7C3AED, var(--accent), #7C3AED, var(--primary), transparent);
    opacity: 0.5;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

/* Footer main grid */
.footer-main {
    display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px;
    padding: 56px 0 40px;
}

/* Brand column */
.footer-brand { max-width: 340px; }
.footer-logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 21px; font-weight: 800; color: var(--gray-900); text-decoration: none;
    margin-bottom: 16px; transition: transform 0.25s ease;
}
.footer-logo:hover { transform: scale(1.03); }
.footer-logo-icon {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), #FBBF24);
    display: grid; place-items: center; font-size: 16px;
    box-shadow: 0 4px 12px -3px rgba(245,158,11,0.5);
    flex-shrink: 0;
}
.footer-logo-text { color: var(--gray-900); }
.footer-logo-dot { color: var(--accent); }

.footer-tagline {
    font-size: 14px; line-height: 1.75; color: var(--gray-500);
    margin-bottom: 24px; max-width: 300px;
}

/* Social icons */
.footer-socials { display: flex; gap: 8px; }
.footer-social-link {
    width: 40px; height: 40px; border-radius: 11px;
    background: #fff; border: 1px solid var(--border);
    display: grid; place-items: center; color: var(--gray-500);
    text-decoration: none; transition: all 0.28s ease;
}
.footer-social-link:hover {
    background: var(--primary); border-color: var(--primary);
    color: #fff; transform: translateY(-3px);
    box-shadow: 0 6px 20px -4px rgba(79,70,229,0.5);
}
.footer-social-link svg { flex-shrink: 0; }

/* Links group (3 columns) */
.footer-links-group {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.footer-col h4 {
    font-size: 13px; font-weight: 800; color: var(--gray-900);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
    position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 28px; height: 2px; border-radius: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0; }
.footer-col a {
    display: flex; align-items: center; gap: 6px;
    color: var(--gray-500); font-size: 14px; font-weight: 500;
    padding: 7px 0; text-decoration: none; transition: all 0.22s ease;
}
.footer-col a:hover { color: var(--primary); transform: translateX(4px); }
.footer-link-arrow {
    font-size: 16px; font-weight: 700; color: var(--gray-300);
    transition: all 0.22s ease; flex-shrink: 0;
}
.footer-col a:hover .footer-link-arrow {
    color: var(--primary); transform: translateX(2px);
}

/* Footer bottom bar */
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0; border-top: 1px solid var(--border);
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { }
.footer-copyright {
    font-size: 13px; color: var(--gray-400); font-weight: 500;
}
.footer-bottom-right {
    display: flex; align-items: center; gap: 6px;
}
.footer-bottom-right a {
    font-size: 13px; color: var(--gray-400); font-weight: 500;
    text-decoration: none; transition: color 0.2s ease;
}
.footer-bottom-right a:hover { color: var(--primary); }
.footer-dot {
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--gray-300); flex-shrink: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 100;
    width: 46px; height: 46px; border-radius: 14px; border: none;
    background: linear-gradient(135deg, var(--primary), #7C3AED);
    color: #fff; cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 6px 20px -4px rgba(79,70,229,0.5);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all 0.35s cubic-bezier(0.32,0.72,0,1);
}
.back-to-top.visible {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px); color: #fff;
    box-shadow: 0 10px 30px -4px rgba(79,70,229,0.6);
}

/* --- Mobile Nav Overlay --- */
.mobile-overlay {
    display: none; position: fixed; inset: 0; z-index: 299;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* --- Mobile Nav Panel --- */
.mobile-nav {
    display: none; position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw); z-index: 300;
    background: linear-gradient(180deg, #0F172A 0%, #1a1a3e 100%);
    color: var(--sidebar-text); flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.32,0.72,0,1);
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
    padding: 20px 22px; display: flex; align-items: center;
    justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.mobile-nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 19px; font-weight: 800; color: #fff; text-decoration: none;
}
.mobile-nav-logo .logo-icon {
    width: 32px; height: 32px; border-radius: 8px; font-size: 15px;
}

/* Close button (animated X) */
.mobile-close {
    width: 38px; height: 38px; border-radius: 10px; border: none;
    background: rgba(255,255,255,0.06); cursor: pointer;
    display: grid; place-items: center; position: relative;
    transition: background 0.2s ease;
}
.mobile-close:hover { background: rgba(255,255,255,0.12); }
.mobile-close span {
    display: block; width: 18px; height: 2px; background: #fff;
    border-radius: 2px; position: absolute;
    transition: all 0.25s ease;
}
.mobile-close span:first-child { transform: rotate(45deg); }
.mobile-close span:last-child { transform: rotate(-45deg); }

/* Mobile nav body */
.mobile-nav-body { padding: 16px 14px 24px; flex: 1; }
.mobile-nav-section { margin-bottom: 8px; }
.mobile-nav-label {
    display: block; font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 1.2px;
    padding: 12px 14px 6px;
}
.mobile-nav-link {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px; border-radius: 12px; color: rgba(255,255,255,0.75);
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: all 0.22s ease; position: relative;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
    background: rgba(255,255,255,0.07); color: #fff;
    transform: translateX(4px);
}
.mobile-nav-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center; font-size: 16px;
    background: rgba(255,255,255,0.06);
    transition: all 0.22s ease;
}
.mobile-nav-link:hover .mobile-nav-icon {
    background: rgba(255,255,255,0.12); transform: scale(1.05);
}
.mobile-nav-text { flex: 1; }
.mobile-nav-arrow {
    font-size: 20px; color: rgba(255,255,255,0.3); font-weight: 700;
    transition: all 0.2s ease;
}
.mobile-nav-link:hover .mobile-nav-arrow { color: rgba(255,255,255,0.6); transform: translateX(2px); }

/* Highlighted nav item (Dashboard) */
.mobile-nav-highlight {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
    border: 1px solid rgba(16,185,129,0.2);
}
.mobile-nav-highlight:hover {
    background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(16,185,129,0.08));
}

/* Register CTA button at bottom of mobile nav */
.mobile-nav-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 12px 14px 0; padding: 14px 20px; border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #FBBF24);
    color: var(--gray-900); font-size: 15px; font-weight: 800;
    text-decoration: none; text-align: center;
    box-shadow: 0 6px 20px -4px rgba(245,158,11,0.5);
    transition: all 0.25s ease;
}
.mobile-nav-cta:hover {
    transform: translateY(-2px); color: var(--gray-900);
    box-shadow: 0 10px 30px -4px rgba(245,158,11,0.6);
}

/* Stagger animation for mobile nav links */
.mobile-nav.open .mobile-nav-link,
.mobile-nav.open .mobile-nav-cta {
    animation: mobileLinkIn 0.4s cubic-bezier(0.32,0.72,0,1) backwards;
}
.mobile-nav.open .mobile-nav-section:nth-child(1) .mobile-nav-link:nth-child(1) { animation-delay: 0.08s; }
.mobile-nav.open .mobile-nav-section:nth-child(1) .mobile-nav-link:nth-child(2) { animation-delay: 0.12s; }
.mobile-nav.open .mobile-nav-section:nth-child(1) .mobile-nav-link:nth-child(3) { animation-delay: 0.16s; }
.mobile-nav.open .mobile-nav-section:nth-child(1) .mobile-nav-link:nth-child(4) { animation-delay: 0.20s; }
.mobile-nav.open .mobile-nav-section:nth-child(2) .mobile-nav-link:nth-child(1) { animation-delay: 0.24s; }
.mobile-nav.open .mobile-nav-section:nth-child(2) .mobile-nav-link:nth-child(2) { animation-delay: 0.28s; }
.mobile-nav.open .mobile-nav-section:nth-child(3) .mobile-nav-link:nth-child(1) { animation-delay: 0.32s; }
.mobile-nav.open .mobile-nav-section:nth-child(3) .mobile-nav-link:nth-child(2) { animation-delay: 0.36s; }
.mobile-nav.open .mobile-nav-cta { animation-delay: 0.40s; }

@keyframes mobileLinkIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Body scroll lock when mobile nav is open */
body.mobile-nav-open { overflow: hidden; }

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1; transform: translateY(0);
}

/* --- Ad Placement Between Sections --- */
.ad-banner-section {
    padding: 20px; background: var(--gray-50); text-align: center;
}

/* --- Announcement on homepage --- */
.home-announcements .alert { border-radius: 0; margin: 0; }

/* ================================================================
   END HOMEPAGE STYLES
   ================================================================ */

/* Tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab {
    padding: 10px 20px; font-weight: 600; font-size: 14px; color: var(--gray-500);
    border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer;
    transition: var(--transition); background: none; border-top: none; border-left: none; border-right: none;
}
.tab:hover { color: var(--gray-700); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Modal */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white); border-radius: var(--radius-xl); max-width: 500px;
    width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-400); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* Progress */
.progress-bar {
    height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden;
}
.progress-bar .fill {
    height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s ease;
}

/* Spin Wheel */
.spin-container { text-align: center; padding: 40px; }
.wheel-wrapper { position: relative; display: inline-block; margin: 20px 0; }
.wheel-canvas { border-radius: 50%; box-shadow: var(--shadow-lg); }
.wheel-pointer {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent;
    border-top: 30px solid var(--danger); z-index: 2;
}

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); font-size: 14px; margin-bottom: 20px; }

/* --- Leaderboard Page --- */
.lb-page {
    padding: 70px 20px 90px; background: var(--gray-50); position: relative; overflow: hidden;
}
.lb-bg-orb {
    position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: 0.5;
}
.lb-bg-1 { width: 320px; height: 320px; background: rgba(99,102,241,0.12); top: -80px; right: -60px; }
.lb-bg-2 { width: 260px; height: 260px; background: rgba(245,158,11,0.1); bottom: -60px; left: -40px; }
.lb-page .section-header { position: relative; z-index: 1; }

.lb-user-rank {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E;
    padding: 10px 20px; border-radius: 30px; font-size: 14px; font-weight: 600;
    margin: 0 auto 28px; box-shadow: 0 4px 16px -4px rgba(245,158,11,0.3);
    position: relative; z-index: 1; left: 50%; transform: translateX(-50%);
}
.lb-user-rank strong { font-weight: 900; }
.lb-ur-icon { font-size: 16px; }

.lb-tabs {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 28px; position: relative; z-index: 1;
}
.lb-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 30px; font-size: 14px; font-weight: 700;
    background: var(--white); color: var(--gray-600); border: 1px solid var(--border);
    transition: all 0.25s ease; text-decoration: none;
}
.lb-tab:hover { border-color: var(--primary-light); color: var(--primary); transform: translateY(-2px); }
.lb-tab.active {
    background: linear-gradient(135deg, var(--primary), #6366F1); color: #fff;
    border-color: transparent; box-shadow: 0 6px 20px -4px rgba(79,70,229,0.4);
}
.lb-tab-icon { font-size: 15px; }

.lb-card {
    max-width: 760px; margin: 0 auto; background: var(--white);
    border-radius: 22px; padding: 16px 20px; border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06); position: relative; z-index: 1;
}
.lb-list { display: flex; flex-direction: column; }
.lb-item {
    display: flex; align-items: center; gap: 16px; padding: 14px 12px;
    border-radius: 14px; transition: all 0.25s ease;
}
.lb-item + .lb-item { border-top: 1px solid var(--border); }
.lb-item:hover { background: var(--gray-50); }
.lb-item-top {
    background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(245,158,11,0.04));
}
.lb-item-top:hover { background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(245,158,11,0.08)); }
.lb-rank {
    flex: 0 0 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; font-size: 18px; font-weight: 800;
    background: var(--gray-100); color: var(--gray-500);
}
.lb-rank-gold { background: linear-gradient(135deg, #FDE68A, #F59E0B); color: #fff; font-size: 22px; box-shadow: 0 4px 14px -2px rgba(245,158,11,0.4); }
.lb-rank-silver { background: linear-gradient(135deg, #E5E7EB, #9CA3AF); color: #fff; font-size: 22px; box-shadow: 0 4px 14px -2px rgba(156,163,175,0.4); }
.lb-rank-bronze { background: linear-gradient(135deg, #FED7AA, #C2772E); color: #fff; font-size: 22px; box-shadow: 0 4px 14px -2px rgba(194,119,46,0.4); }
.lb-avatar {
    flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--primary), #7C3AED);
}
.lb-avatar-gold { background: linear-gradient(135deg, #F59E0B, #D97706); }
.lb-avatar-silver { background: linear-gradient(135deg, #9CA3AF, #6B7280); }
.lb-avatar-bronze { background: linear-gradient(135deg, #C2772E, #9A5B1E); }
.lb-info { flex: 1; min-width: 0; }
.lb-info h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.lb-info p { font-size: 13px; color: var(--gray-500); }
.lb-amount {
    font-size: 18px; font-weight: 800; color: var(--primary); white-space: nowrap;
}
.lb-empty { text-align: center; padding: 60px 20px; }
.lb-empty-icon { font-size: 48px; margin-bottom: 12px; }
.lb-empty h3 { font-size: 20px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.lb-empty p { font-size: 14px; color: var(--gray-500); }

/* --- Offerwall Page --- */
.ow-page {
    padding: 70px 20px 90px; background: var(--gray-50); position: relative; overflow: hidden;
}
.ow-bg-orb {
    position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: 0.5;
}
.ow-bg-1 { width: 320px; height: 320px; background: rgba(99,102,241,0.12); top: -80px; right: -60px; }
.ow-bg-2 { width: 260px; height: 260px; background: rgba(245,158,11,0.1); bottom: -60px; left: -40px; }
.ow-page .section-header { position: relative; z-index: 1; }

.ow-stats {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 36px; position: relative; z-index: 1;
}
.ow-stat {
    display: flex; flex-direction: column; align-items: center;
    background: var(--white); border: 1px solid var(--border); border-radius: 16px;
    padding: 18px 32px; min-width: 140px; box-shadow: 0 4px 16px -6px rgba(0,0,0,0.05);
}
.ow-stat-val {
    font-size: 26px; font-weight: 900; color: var(--primary);
    background: linear-gradient(135deg, var(--primary), #6366F1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ow-stat-lbl { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

.ow-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
}
.ow-card {
    background: var(--white); border-radius: 20px; padding: 26px;
    border: 1px solid var(--border); box-shadow: 0 8px 30px -8px rgba(0,0,0,0.08);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ow-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), #7C3AED); opacity: 0; transition: opacity 0.3s ease;
}
.ow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ow-card:hover::before { opacity: 1; }
.ow-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ow-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-size: 26px; color: #fff; box-shadow: 0 6px 18px -4px rgba(0,0,0,0.25);
}
.ow-badge {
    display: inline-flex; padding: 4px 12px; background: #DCFCE7; color: #16A34A;
    border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.ow-name { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.ow-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 22px; min-height: 44px; }
.ow-card-foot { display: flex; }
.btn-ow {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary), #6366F1); color: #fff;
    font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 12px;
    text-decoration: none; transition: all 0.25s ease; width: 100%; justify-content: center;
}
.btn-ow:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -6px rgba(79,70,229,0.5); color: #fff; }
.btn-ow svg { transition: transform 0.25s ease; }
.btn-ow:hover svg { transform: translateX(4px); }
.btn-ow-outline {
    display: inline-flex; align-items: center; justify-content: center; width: 100%;
    background: rgba(79,70,229,0.08); color: var(--primary); font-size: 14px; font-weight: 700;
    padding: 12px 22px; border-radius: 12px; text-decoration: none; border: 1px solid var(--primary-light);
    transition: all 0.25s ease;
}
.btn-ow-outline:hover { background: rgba(79,70,229,0.14); transform: translateY(-2px); color: var(--primary); }
.ow-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; }
.ow-empty-icon { font-size: 48px; margin-bottom: 12px; }
.ow-empty h3 { font-size: 20px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.ow-empty p { font-size: 14px; color: var(--gray-500); }

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none; position: fixed; inset: 0; z-index: 99;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(2px);
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }

/* Sidebar Toggle Button (mobile) */
.sidebar-toggle {
    display: none; background: none; border: none; font-size: 22px;
    cursor: pointer; color: var(--gray-700); padding: 6px 8px;
    border-radius: 8px; transition: all 0.2s ease; line-height: 1;
}
.sidebar-toggle:hover { background: var(--gray-100); color: var(--gray-900); }

/* Mobile */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%); box-shadow: none;
        transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.25);
    }
    .sidebar-overlay { display: block; }
    .main-content { margin-left: 0; }
    .sidebar-toggle { display: grid; place-items: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .content { padding: 20px; }

    /* Homepage mobile */
    .desktop-nav { display: none !important; }
    .hamburger { display: grid; place-items: center; }
    .mobile-nav { display: flex; }
    .mobile-overlay { display: block; }
    .home-header .container { height: 62px; }
    .hero-home { padding: 16px 12px 60px; }
    .hero-inner { border-radius: 20px; padding: 36px 18px; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 36px; }
    .hero-copy { max-width: 100%; }
    .hero-copy h1 { font-size: 34px; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual {
        display: flex; position: static; min-height: 0;
        animation: fadeInUpMobile 0.6s ease-out 0.3s both;
    }
    .hero-card-stack { width: 100%; max-width: 320px; margin: 0 auto; }
    .hero-dash-card { padding: 22px; }
    .hdc-balance-amount { font-size: 26px; }
    .hdc-stats { padding: 12px; gap: 8px; }
    .hdc-stat-val { font-size: 14px; }
    .hero-float { display: none; }
    @keyframes fadeInUpMobile {
        from { opacity: 0; transform: translateY(20px) scale(0.95); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    /* Steps mobile — keep timeline but hide mini visuals */
    .steps-timeline { gap: 0; }
    .step-left { flex: 0 0 60px; }
    .step-icon { width: 48px; height: 48px; border-radius: 14px; }
    .step-icon svg { width: 22px; height: 22px; }
    .step-num { width: 20px; height: 20px; font-size: 9px; top: -6px; right: -10px; border-radius: 6px; }
    .step-right { gap: 14px; }
    .step-visual { display: none; }
    .step-content h3 { font-size: 17px; }
    .step-content p { font-size: 14px; max-width: 100%; }
    /* Ways to Earn mobile */
    .wte-featured { grid-template-columns: 1fr; }
    .wte-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    /* Platform Stats mobile */
    .ps-featured { flex-direction: column; text-align: center; padding: 24px; gap: 20px; }
    .ps-feat-ring { flex: 0 0 100px; width: 100px; height: 100px; }
    .ps-ring-svg { width: 100px; height: 100px; }
    .ps-feat-val { font-size: 18px; }
    .ps-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ps-card { padding: 22px 14px 18px; }
    /* Why Choose Us mobile */
    .wcu-featured { grid-template-columns: 1fr; }
    .wcu-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .proof-grid { grid-template-columns: 1fr; }
    /* Leaderboard mobile */
    .lb-page { padding: 40px 14px 60px; }
    .lb-card { padding: 8px 10px; border-radius: 18px; }
    .lb-tab { padding: 9px 16px; font-size: 13px; }
    .lb-item { gap: 12px; padding: 12px 8px; }
    .lb-rank { flex-basis: 38px; height: 38px; font-size: 16px; }
    .lb-avatar { flex-basis: 40px; width: 40px; height: 40px; font-size: 16px; }
    .lb-info h4 { font-size: 15px; }
    .lb-amount { font-size: 16px; }
    /* Offerwall mobile */
    .ow-page { padding: 40px 14px 60px; }
    .ow-stats { gap: 10px; }
    .ow-stat { padding: 14px 20px; min-width: 110px; flex: 1; }
    .ow-grid { grid-template-columns: 1fr; gap: 14px; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 30px; }
    .footer-brand { max-width: 100%; }
    .footer-links-group { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .section-header h2 { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 24px; }
    .steps-timeline { max-width: 100%; }
    .step-left { flex: 0 0 52px; }
    .step-icon { width: 42px; height: 42px; border-radius: 12px; }
    .step-icon svg { width: 20px; height: 20px; }
    .step-num { width: 18px; height: 18px; font-size: 8px; }
    .step-right { padding: 4px 0 24px; }
    .ps-feat-desc { font-size: 14px; }
    .ps-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .ps-val { font-size: 26px; }
    .hero-home { padding: 14px 10px 50px; }
    .hero-inner { border-radius: 16px; padding: 28px 14px; }
    .hero-copy h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
    .hero-card-stack { max-width: 280px; }
    .hero-dash-card { padding: 18px; border-radius: 16px; }
    .hdc-header { margin-bottom: 16px; }
    .hdc-balance { margin-bottom: 16px; }
    .hdc-balance-amount { font-size: 22px; }
    .hdc-stats { margin-bottom: 16px; padding: 10px; }
    .hdc-stat-val { font-size: 13px; }
    .hdc-stat-lbl { font-size: 10px; }
    .wte-featured { gap: 16px; }
    .wte-feat-card { padding: 22px; }
    .wte-feat-card h3 { font-size: 18px; }
    .wte-fs-val { font-size: 22px; }
    .wte-grid { grid-template-columns: 1fr; }
    .wte-card { padding: 20px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .wcu-feat-card { padding: 24px; }
    .wcu-feat-card h3 { font-size: 17px; }
    .wcu-grid { grid-template-columns: 1fr; }
    .wcu-card { padding: 20px; }
    .lb-page { padding: 30px 10px 50px; }
    .lb-card { padding: 4px 6px; }
    .lb-tabs { gap: 8px; }
    .lb-item { gap: 10px; padding: 10px 4px; }
    .lb-rank { flex-basis: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
    .lb-rank-gold, .lb-rank-silver, .lb-rank-bronze { font-size: 18px; }
    .lb-avatar { flex-basis: 36px; width: 36px; height: 36px; font-size: 14px; }
    .lb-info h4 { font-size: 14px; }
    .lb-info p { font-size: 12px; }
    .lb-amount { font-size: 14px; }
    .ow-page { padding: 30px 10px 50px; }
    .ow-stat { padding: 12px 14px; }
    .ow-stat-val { font-size: 22px; }
    .ow-card { padding: 22px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-right { justify-content: center; }
    .footer-logo { font-size: 19px; }
    .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px; }
}
