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

/* ==========================================================================
   MOBILE-FIRST APP DESIGN SYSTEM (440px Centered Viewport on Laptop/Desktop)
   Deep Emerald + Obsidian Black + Warm Radiant Gold Luxury Theme
   Supports Dark Mode & Light Mode seamlessly
   ========================================================================== */

:root {
    /* App Frame Width */
    --app-width: 440px;

    /* Background & Surfaces (Default Dark Theme) */
    --bg-outside: #040906;
    --bg-app: #08140f;
    --bg-surface: #0e1e17;
    --bg-surface-2: #142920;
    --bg-surface-3: #1a3529;
    --bg-card: rgba(16, 36, 27, 0.85);
    --bg-card-hover: rgba(22, 47, 35, 0.95);
    --bg-header: rgba(8, 20, 15, 0.95);
    --bg-drawer: #08140f;
    --bg-drawer-header: #07130e;
    --bg-drawer-footer: #06110c;
    --bg-dock: rgba(7, 18, 13, 0.96);
    --bg-footer: #050e0a;
    --bg-app-bar: linear-gradient(90deg, #071710 0%, #0d261b 50%, #071710 100%);
    --bg-hero: linear-gradient(145deg, #0d271c 0%, #081710 60%, #040d09 100%);
    --bg-cta: linear-gradient(145deg, #0d271c 0%, #06150e 100%);

    /* Gold Accents (Matched to luxury gold gaming style) */
    --gold: #d4a017;
    --gold-light: #f5cf58;
    --gold-dark: #b8860b;
    --gold-glow: rgba(212, 160, 23, 0.35);
    --gold-soft: rgba(212, 160, 23, 0.12);
    --gold-border: rgba(212, 160, 23, 0.28);
    --gold-gradient: linear-gradient(135deg, #f5cf58 0%, #d4a017 50%, #b8860b 100%);
    --gold-btn-gradient: linear-gradient(180deg, #f5cf58 0%, #d4a017 40%, #b8860b 100%);

    /* Green / Accent Highlights */
    --green-accent: #00d084;
    --green-glow: rgba(0, 208, 132, 0.4);
    --red-hot: #ff4757;

    /* Text Colors */
    --text-white: #ffffff;
    --text-heading: #ffffff;
    --text-light: #f0f4f1;
    --text-muted: #8ea397;
    --text-muted-2: #647a6e;
    --text-gold: #f5cf58;

    /* Borders & Lines */
    --line-subtle: rgba(255, 255, 255, 0.08);
    --line-gold: rgba(212, 160, 23, 0.22);
    --line-gold-bright: rgba(212, 160, 23, 0.5);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 8px 24px rgba(212, 160, 23, 0.28);
    --shadow-app: 0 0 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(212, 160, 23, 0.22);

    /* Typography - Modern & Punchy (Outfit + Plus Jakarta Sans) */
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-theme: background 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================================================
   LIGHT THEME DESIGN SYSTEM (Champagne Gold + Pure Crisp Emerald Ivory)
   ========================================================================== */
[data-theme="light"] {
    --bg-outside: #e5ece7;
    --bg-app: #f4f8f5;
    --bg-surface: #ffffff;
    --bg-surface-2: #e8f0ec;
    --bg-surface-3: #d9e6df;
    --bg-card: rgba(255, 255, 255, 0.96);
    --bg-card-hover: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.96);
    --bg-drawer: #ffffff;
    --bg-drawer-header: #edf5f0;
    --bg-drawer-footer: #f4f8f5;
    --bg-dock: rgba(255, 255, 255, 0.97);
    --bg-footer: #edf3f0;
    --bg-app-bar: linear-gradient(90deg, #133324 0%, #0d261b 50%, #133324 100%);
    --bg-hero: linear-gradient(145deg, #ffffff 0%, #edf6f1 100%);
    --bg-cta: linear-gradient(145deg, #ffffff 0%, #eef5f0 100%);

    /* Gold Accents - High Contrast for Light Mode */
    --gold: #b3820a;
    --gold-light: #9c6e00;
    --gold-dark: #7a5400;
    --gold-glow: rgba(179, 130, 10, 0.2);
    --gold-soft: rgba(179, 130, 10, 0.08);
    --gold-border: rgba(179, 130, 10, 0.32);
    --gold-gradient: linear-gradient(135deg, #d4a017 0%, #b8860b 50%, #996e00 100%);
    --gold-btn-gradient: linear-gradient(180deg, #f5cf58 0%, #d4a017 40%, #b8860b 100%);

    /* Green / Accent Highlights */
    --green-accent: #00875a;
    --green-glow: rgba(0, 135, 90, 0.25);
    --red-hot: #d90429;

    /* Text Colors */
    --text-white: #0d1a13;
    --text-heading: #0d1a13;
    --text-light: #22352a;
    --text-muted: #566c61;
    --text-muted-2: #7b9487;
    --text-gold: #9c6e00;

    /* Borders & Lines */
    --line-subtle: rgba(0, 0, 0, 0.08);
    --line-gold: rgba(179, 130, 10, 0.24);
    --line-gold-bright: rgba(179, 130, 10, 0.55);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 6px 20px rgba(179, 130, 10, 0.2);
    --shadow-app: 0 0 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(179, 130, 10, 0.2);
}

/* ==========================================================================
   RESET & OUTSIDE DESKTOP CANVAS (Centers Mobile App on Laptop)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background-color: var(--bg-outside);
}

body {
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    background-color: var(--bg-outside);
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 40%, rgba(0, 208, 132, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(212, 160, 23, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: var(--transition-theme);
}

[data-theme="light"] body {
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(184, 134, 11, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 10% 40%, rgba(0, 135, 90, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(184, 134, 11, 0.04) 0%, transparent 50%),
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
}

/* ==========================================================================
   CENTERED MOBILE VIEWPORT CONTAINER
   ========================================================================== */
.main-container {
    width: 100%;
    max-width: var(--app-width);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-app);
    box-shadow: var(--shadow-app);
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 74px; /* Space for bottom dock */
}

/* Internal padding container */
.container {
    width: 100%;
    padding: 0 14px;
    margin: 0 auto;
}

/* Section Common */
.section {
    padding: 16px 0;
    width: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.view-all {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 3px;
}

.view-all:hover {
    color: var(--gold);
}

/* ==========================================================================
   TOP MINI APP DOWNLOAD / PROMO STRIP
   ========================================================================== */
.app-download-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-width);
    z-index: 1002;
    background: linear-gradient(90deg, #071710 0%, #0d261b 50%, #071710 100%);
    border-bottom: 1px solid var(--line-gold);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.app-download-bar.dismissed {
    display: none;
}

.app-bar-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-bar-icon {
    width: 26px;
    height: 26px;
    background: var(--gold-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08140f;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.app-bar-text {
    display: flex;
    flex-direction: column;
}

.app-bar-title {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.app-bar-sub {
    font-size: 9.5px;
    color: var(--gold-light);
    line-height: 1.2;
}

.app-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-app-download {
    background: var(--gold-gradient);
    color: #08140f;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(212, 160, 23, 0.3);
}

.btn-app-close {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 2px;
}

/* ==========================================================================
   MAIN HEADER (Fixed to 440px Centered Frame)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 40px; /* Below app download bar */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-width);
    z-index: 1001;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-gold);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.app-download-bar.dismissed ~ .main-header,
body.app-bar-hidden .main-header {
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 12px;
}

/* Header Left: Hamburger Toggle & Theme Toggle */
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    border: 1px solid var(--line-gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gold-light);
}

.mobile-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-surface-3);
    border-color: var(--gold);
}

/* Header Theme Toggle Button */
.btn-theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    border: 1px solid var(--line-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gold-light);
    font-size: 15px;
    flex-shrink: 0;
}

.btn-theme-toggle:hover {
    background: var(--bg-surface-3);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.05);
}

/* Theme Icon Visibility Control */
.theme-icon-light {
    display: none;
}

.theme-icon-dark {
    display: inline-block;
}

[data-theme="light"] .theme-icon-dark {
    display: none;
}

[data-theme="light"] .theme-icon-light {
    display: inline-block;
    color: var(--gold);
}

/* Header Logo */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

/* Header Right: Auth Buttons */
.header-auth {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-gold);
    background: var(--gold-soft);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-login:hover {
    background: rgba(212, 160, 23, 0.2);
    border-color: var(--gold);
    color: var(--text-white);
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
    color: #08140f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(212, 160, 23, 0.35);
    transition: var(--transition);
}

.btn-register:hover {
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.5);
    transform: translateY(-1px);
}

/* Spacer for Fixed Header */
.header-spacer {
    height: 92px; /* 40px app bar + 52px header */
    transition: var(--transition);
}

body.app-bar-hidden .header-spacer {
    height: 52px;
}

/* ==========================================================================
   NAVIGATION DRAWER (EXACT MATCH TO USER'S REFERENCE IMAGE)
   - Header with Compass & "Menu Navigasi" & Close [X]
   - Rounded Card Menu Items with Gold Icons
   - Bottom Sticky "DAFTAR MEMBER VIP" & "Layanan CS 24 Jam Nonstop"
   ========================================================================== */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(calc(-50% - (var(--app-width) / 2) - 100%));
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--bg-drawer);
    border-right: 1px solid var(--line-gold);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    overflow: hidden;
}

/* When active, position inside the 440px viewport */
.nav-drawer.active {
    transform: translateX(calc(-50% - (var(--app-width) / 2)));
    visibility: visible;
}

@media (max-width: 480px) {
    .nav-drawer {
        left: 0;
        transform: translateX(-100%);
    }
    .nav-drawer.active {
        transform: translateX(0);
    }
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--line-gold);
    background: var(--bg-drawer-header);
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.drawer-title i {
    font-size: 18px;
    color: var(--gold);
}

.drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-2);
    border: 1px solid var(--line-gold);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-close:hover {
    background: var(--gold-soft);
    color: var(--text-white);
    border-color: var(--gold);
}

/* Drawer Body & Menu Items */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-body::-webkit-scrollbar {
    width: 4px;
}

.drawer-body::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 23, 0.3);
    border-radius: 4px;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--line-gold);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.drawer-item:hover,
.drawer-item.active {
    background: var(--bg-surface-2);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateX(3px);
}

.drawer-item.active {
    border: 1px solid var(--line-gold-bright);
    background: linear-gradient(90deg, var(--gold-soft) 0%, var(--bg-surface) 100%);
}

.drawer-item i {
    font-size: 16px;
    color: var(--gold-light);
    width: 20px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

/* Theme Switcher Item inside Drawer */
.drawer-theme-item {
    background: var(--bg-surface-2);
    border-color: var(--line-gold);
    justify-content: flex-start;
    width: 100%;
    text-align: left;
}

.drawer-theme-item .theme-mode-badge {
    margin-left: auto;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--gold-soft);
    color: var(--gold-light);
    border: 1px solid var(--line-gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Drawer Footer (Sticky Bottom VIP CTA from User's Image) */
.drawer-footer {
    padding: 16px 14px;
    border-top: 1px solid var(--line-gold);
    background: var(--bg-drawer-footer);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-drawer-vip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--gold-btn-gradient);
    color: #08140f;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(212, 160, 23, 0.35);
    transition: var(--transition);
}

.btn-drawer-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 160, 23, 0.5);
}

.drawer-cs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #8ea397;
    font-weight: 600;
}

.drawer-cs-badge i {
    color: var(--green-accent);
    font-size: 13px;
}

/* ==========================================================================
   FIXED BOTTOM NAVIGATION DOCK (Native App Feel)
   ========================================================================== */
.bottom-nav-dock {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-width);
    height: 60px;
    background: var(--bg-dock);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line-gold);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    padding: 0 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition-theme);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    flex: 1;
}

.dock-item i {
    font-size: 18px;
    transition: var(--transition);
}

.dock-item:hover,
.dock-item.active {
    color: var(--gold-light);
}

.dock-item.active i {
    transform: translateY(-2px);
    color: var(--gold);
    filter: drop-shadow(0 2px 6px rgba(212, 160, 23, 0.4));
}

/* Floating Customer Service Button */
.floating-cs-btn {
    position: fixed;
    bottom: 74px;
    right: max(16px, calc(50% - 220px + 14px));
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #08140f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.45);
    z-index: 999;
    transition: var(--transition);
    animation: cs-pulse 2.5s infinite;
}

.floating-cs-btn:hover {
    transform: scale(1.1);
}

.floating-cs-btn .cs-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green-accent);
    border: 2px solid var(--bg-app);
}

@keyframes cs-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(212, 160, 23, 0.45);
    }
    50% {
        box-shadow: 0 4px 30px rgba(212, 160, 23, 0.8), 0 0 0 6px rgba(212, 160, 23, 0.2);
    }
}

/* ==========================================================================
   AD BANNER CONTAINER
   ========================================================================== */
.ad-banner-container {
    padding: 10px 14px;
    width: 100%;
}

.ad-banner-container a {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line-gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.ad-banner-container a:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER (Mobile Optimized)
   ========================================================================== */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--line-gold);
    padding: 24px 14px 18px;
    margin-top: 24px;
    transition: var(--transition-theme);
}

.footer-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-subtle);
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-badge-item i {
    color: var(--gold-light);
    font-size: 13px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-col p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}

.footer-col ul li a {
    font-size: 11px;
    color: var(--text-muted);
    display: inline-block;
    padding: 2px 0;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    font-size: 10px;
    color: var(--text-muted-2);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   RESPONSIVENESS (Seamless Scaling Under 440px)
   ========================================================================== */
@media (max-width: 440px) {
    :root {
        --app-width: 100vw;
    }

    body {
        background-color: var(--bg-app);
    }

    .main-container {
        box-shadow: none;
    }

    .main-header,
    .app-download-bar,
    .bottom-nav-dock {
        left: 0;
        transform: none;
        max-width: 100%;
    }

    .floating-cs-btn {
        right: 14px;
    }
}