/* ========================================================
   BidhaaPost - Custom Theme Stylesheet
   Theme: Midnight Sapphire & Solar Gold / Electric Cobalt
   ======================================================== */

:root {
    --bg-main: #080E1E;
    --bg-surface: #0F172A;
    --bg-card: #131D36;
    --bg-card-hover: #172445;
    --bg-card-border: #1E293B;
    
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-glow: rgba(37, 99, 235, 0.4);
    
    --accent-gold: #F59E0B;
    --accent-gold-light: #FBBF24;
    --accent-gold-glow: rgba(245, 158, 11, 0.4);
    
    --accent-teal: #06B6D4;
    --accent-emerald: #10B981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.35);
    
    --accent-coral: #EF4444;
    --accent-coral-glow: rgba(239, 68, 68, 0.4);
    
    --text-pure: #FFFFFF;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px var(--primary-glow);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* ==================== GLOBAL SCROLLBAR STYLING ==================== */
html {
    scrollbar-width: thin;
    scrollbar-color: #1E293B #080E1E;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #080E1E;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

::-webkit-scrollbar-thumb:hover {
    background: #3B82F6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

html, body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Ambient Lighting */
body::before {
    content: '';
    position: fixed;
    top: -150px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.app-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 100px;
}

/* ==================== LANDING PAGE GATE (WELCOME SPLASH) ==================== */
.landing-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 7, 16, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.landing-gate-overlay.hidden-gate {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.landing-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 7, 16, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow-y: auto;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.landing-gate-overlay.hidden-gate {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.landing-gate-card {
    background: #0B1120;
    border: 2px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 430px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(37, 99, 235, 0.2);
    animation: scaleUp 0.25s ease;
}

.gate-image-wrap {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.gate-image-wrap img {
    width: 100%;
    max-height: 130px;
    object-fit: cover;
    display: block;
}

.gate-image-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(4, 7, 16, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gate-image-badge .dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    flex-shrink: 0;
}

.gate-info-box {
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #E2E8F0;
}

.gate-info-box b.brand-glow {
    color: #10B981;
    font-weight: 800;
}

.gate-prompt-box {
    background: #131E3D;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gate-prompt-box .hand-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.gate-prompt-box .prompt-text {
    font-size: 0.76rem;
    color: #F8FAFC;
    line-height: 1.4;
}

.gate-prompt-box .btn-inline-text {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 800;
    color: #60A5FA;
}

.gate-checkbox-card {
    background: #0F172A;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.gate-checkbox-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.gate-checkbox-card.checked {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.12);
}

.gate-checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gate-checkbox-card.checked .gate-checkbox-custom {
    background: #2563EB;
    border-color: #2563EB;
}

.gate-checkbox-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.btn-enter-gate {
    width: 100%;
    background: #1E293B;
    color: #64748B;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-enter-gate.active {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 25px var(--primary-glow);
}

.btn-enter-gate.active:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.gate-security-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: -4px;
}

/* ==================== Top Navbar ==================== */
.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 17, 32, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    margin: 0 -16px 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-fallback-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), #1D4ED8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Nav Actions & Balance */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-badge {
    background: rgba(19, 29, 54, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.balance-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
}

.balance-amount {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--accent-gold-light);
    letter-spacing: 0.5px;
}

/* GLOWING SIGNUP BUTTON IN HEADER */
.btn-signup-header {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
    border: 1px solid rgba(147, 197, 253, 0.5);
    transition: all 0.25s ease;
    animation: pulseButtonGlow 2.5s infinite;
}

@keyframes pulseButtonGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 28px rgba(59, 130, 246, 0.9), 0 0 12px rgba(245, 158, 11, 0.5);
        transform: scale(1.02);
    }
}

.btn-signup-header:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.btn-withdraw-header {
    background: linear-gradient(135deg, var(--accent-gold), #D97706);
    color: #080E1E;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-withdraw-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-gold-glow);
    filter: brightness(1.1);
}

/* ==================== Audio Player Bar ==================== */
.audio-guide-bar {
    background: linear-gradient(90deg, #101B36, #142347);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.audio-guide-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.audio-icon-pulse {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 16px;
}

.audio-text-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
}

.audio-text-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play-audio {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-play-audio:hover {
    background: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Sound Wave animation */
.sound-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
}

.wave-bar {
    width: 3px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: height 0.2s ease;
}

.sound-waves.active .wave-bar {
    animation: waveBounce 0.8s ease-in-out infinite alternate;
}
.sound-waves.active .wave-bar:nth-child(2) { animation-delay: 0.2s; }
.sound-waves.active .wave-bar:nth-child(3) { animation-delay: 0.4s; }
.sound-waves.active .wave-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes waveBounce {
    0% { height: 4px; }
    100% { height: 18px; }
}

/* ==================== Hero Announcement ==================== */
.hero-card {
    background: linear-gradient(135deg, #131E3D 0%, #0F172A 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #93C5FD;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 10px;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 780px;
}

.hero-actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), #1D4ED8);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-hero-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.btn-hero-gold {
    background: linear-gradient(135deg, var(--accent-gold), #D97706);
    color: #080E1E;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}
.btn-hero-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-hero-whatsapp {
    background: #25D366;
    color: #000;
    font-weight: 800;
}
.btn-hero-whatsapp:hover {
    filter: brightness(1.1);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}
.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ==================== Live Marquee Ticker ==================== */
.ticker-bar {
    background: #0D162C;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-label {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    margin-right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-content {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    animation: scrollTicker 35s linear infinite;
}

.ticker-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-highlight {
    color: var(--accent-emerald);
    font-weight: 700;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== Statistics Overview ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.stat-icon.blue { background: rgba(37, 99, 235, 0.15); color: #60A5FA; }
.stat-icon.gold { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.stat-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }

.stat-meta .stat-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-meta .stat-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== Country Filter Bar ==================== */
.catalog-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.catalog-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.catalog-title-wrap p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.filter-pills-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.filter-pills-bar::-webkit-scrollbar { display: none; }

.filter-pill {
    background: var(--bg-surface);
    border: 1px solid var(--bg-card-border);
    color: var(--text-secondary);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* ==================== Products Grid ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.2);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 190px;
    background: #090E1D;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Country badge with real flag */
.badge-country {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 19, 43, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.badge-country .flag-icon {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.badge-code {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.owner-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.price-earning-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-part .sub-label,
.earning-part .sub-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.price-part .val {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.earning-part {
    text-align: right;
}

.earning-part .val {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--accent-gold-light);
}

.btn-verify-order {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #1D4ED8);
    color: #fff;
    border: 1px solid rgba(96, 165, 250, 0.4);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
    margin-top: auto;
}

.btn-verify-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.15);
}

.btn-verify-order.verified {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    color: var(--accent-emerald);
    cursor: default;
    box-shadow: none;
    transform: none;
}

/* ==================== Modals ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 7, 16, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #0E172E;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 490px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.25);
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-primary);
    padding: 24px;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.modal-header-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.modal-header-icon.red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-coral);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.modal-header-icon.blue {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Modal Form Controls */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: #090E1F;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Network Selector Grid */
.network-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.network-opt {
    background: #090E1F;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.network-opt:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.network-opt.selected {
    border-color: var(--primary-light);
    background: rgba(37, 99, 235, 0.15);
}

.network-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}
.network-dot.vodacom { background: #E60000; }
.network-dot.tigo { background: #00377B; }
.network-dot.airtel { background: #FF0000; }
.network-dot.halo { background: #FF7900; }

.network-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

/* Modal Action Buttons */
.btn-submit-action {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-gold), #D97706);
    color: #080E1E;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-submit-action:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* SINGLE SECTION PAYMENT GUIDE MODAL */
.payment-guide-clean-content {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #E2E8F0;
    white-space: pre-line;
    margin-bottom: 20px;
    padding: 0 4px;
}

/* High-Impact Pending Alert Styling */
.pending-alert-box {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.45);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.pending-alert-title {
    color: #F87171;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pending-alert-text {
    font-size: 0.82rem;
    color: #FECACA;
    line-height: 1.55;
    white-space: pre-line;
}

.activation-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-signup-now {
    background: linear-gradient(135deg, #EF4444, #B91C1C);
    color: #fff;
    padding: 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--accent-coral-glow);
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ==================== CUSTOM ADMIN PANEL STYLES ==================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #080E1E;
    position: relative;
    box-sizing: border-box;
}

.admin-sidebar {
    width: 250px;
    background: #0B1120;
    border-right: 1px solid rgba(59, 130, 246, 0.2);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.admin-main {
    margin-left: 250px;
    width: calc(100% - 250px);
    max-width: calc(100% - 250px);
    padding: 24px 30px;
    min-height: 100vh;
    box-sizing: border-box;
}

.btn-action-edit {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--accent-gold-light);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-action-edit:hover {
    background: rgba(245, 158, 11, 0.3);
    color: #fff;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #fff;
}

.admin-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.admin-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60A5FA;
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Admin Dashboard Tables */
.admin-card {
    background: #0E172E;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.admin-table th {
    background: #090E1F;
    color: var(--text-secondary);
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #E2E8F0;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.status-badge.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ==================== Footer ==================== */
.footer-wrap {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==================== AUDIO CONTROL POPUP & FLOATING BUTTON ==================== */
.floating-audio-pill {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 900;
    background: #00E676;
    color: #04120B;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.5);
    cursor: pointer;
    transition: all 0.25s ease;
    animation: bounceSlow 3s infinite;
}

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

.floating-audio-pill:hover {
    filter: brightness(1.15);
    transform: scale(1.05);
}

.audio-control-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 950;
    display: none;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-control-popup.active {
    display: block;
}

.audio-popup-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 16px 20px;
    width: 270px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 230, 118, 0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.audio-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-popup-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.audio-popup-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.audio-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.audio-popup-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 4px 0;
}

.btn-audio-mute {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1F2937;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-audio-mute:hover {
    transform: scale(1.06);
}

.btn-audio-mute.muted {
    border-color: #EF4444;
    color: #EF4444;
}

.btn-audio-big-play {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #00E676;
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 230, 118, 0.4);
    transition: all 0.2s;
}

.btn-audio-big-play:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.audio-volume-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.audio-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #374151;
    outline: none;
    cursor: pointer;
}

.audio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00E676;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
}

/* ==================== PENDING ORDER LIVE NOTIFICATION TOAST ==================== */
.pending-order-toast {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 920;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-left: 4px solid #F59E0B;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    max-width: 330px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.pending-order-toast.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #FBBF24;
    margin-bottom: 2px;
}

.toast-desc {
    font-size: 0.74rem;
    color: #E2E8F0;
    line-height: 1.35;
}

.toast-earning {
    font-size: 0.72rem;
    color: #10B981;
    font-weight: 800;
    margin-top: 4px;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ==================== RESPONSIVE RULES (MOBILE OPTIMIZATION) ==================== */
.admin-hamburger-btn {
    display: none;
}

@media (min-width: 901px) {
    .admin-hamburger-btn {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .admin-hamburger-btn {
        display: inline-flex !important;
    }

    .admin-layout {
        position: relative;
        width: 100%;
        overflow-x: hidden;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 260px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.85);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        z-index: 999;
        display: none;
    }

    .admin-sidebar-backdrop.active {
        display: block;
    }

    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 12px !important;
        box-sizing: border-box !important;
    }

    .admin-card {
        padding: 16px 12px !important;
        margin-bottom: 20px !important;
        border-radius: var(--radius-md) !important;
    }

    .admin-table-wrap {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

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

    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.btn-install-header {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34D399;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-install-header:hover {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.mobile-sub-bar {
    display: none;
}

@media (max-width: 640px) {
    .brand-title { font-size: 1.1rem; }
    .brand-tagline { font-size: 0.58rem; }
    
    /* On mobile view header: ONLY logo and signup button */
    .navbar-sticky {
        padding: 10px 14px !important;
    }

    .navbar-sticky .balance-badge,
    .navbar-sticky .btn-withdraw-header,
    .navbar-sticky .btn-install-header {
        display: none !important;
    }

    .btn-signup-header {
        padding: 8px 16px !important;
        font-size: 0.82rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.3px !important;
    }

    /* Mobile Sub-Header: Balance and Toa Pesa below the header */
    .mobile-sub-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(11, 17, 32, 0.95));
        border: 1px solid rgba(59, 130, 246, 0.35);
        border-radius: var(--radius-lg);
        padding: 10px 14px;
        margin: 8px 0 16px 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .mobile-sub-balance {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    .mobile-sub-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(245, 158, 11, 0.15);
        border: 1px solid rgba(245, 158, 11, 0.4);
        color: var(--accent-gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .mobile-sub-text {
        display: flex;
        flex-direction: column;
    }

    .mobile-sub-label {
        font-size: 0.65rem;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .mobile-sub-amount {
        font-family: var(--font-heading);
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--accent-gold-light);
        line-height: 1.2;
    }

    .btn-mobile-withdraw {
        background: linear-gradient(135deg, #10B981, #059669);
        color: #fff;
        border: 1px solid rgba(52, 211, 153, 0.5);
        padding: 8px 16px;
        border-radius: var(--radius-full);
        font-family: var(--font-heading);
        font-size: 0.8rem;
        font-weight: 800;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
        transition: all 0.2s;
    }

    .btn-mobile-withdraw:active {
        transform: scale(0.96);
    }
    
    .hero-title { font-size: 1.25rem; }
    .hero-card { padding: 18px; }
    
    /* Hide non-essential duplicate stats on mobile */
    .stats-grid { display: none; }
    
    /* EXACT REQUIREMENT: 2 PRODUCT CARDS PER ROW ON MOBILE (Screenshot 3) */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-card {
        border-radius: var(--radius-md) !important;
    }

    .product-image-container {
        height: 120px !important;
    }

    .badge-country {
        top: 6px !important;
        left: 6px !important;
        padding: 2px 6px !important;
        font-size: 0.62rem !important;
        gap: 3px !important;
    }

    .badge-code {
        top: 6px !important;
        right: 6px !important;
        padding: 2px 5px !important;
        font-size: 0.58rem !important;
    }

    .product-body {
        padding: 10px 8px !important;
    }

    .product-title {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        height: 2.5em !important;
    }

    .owner-info {
        font-size: 0.66rem !important;
        margin-bottom: 6px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .price-earning-box {
        padding: 6px 8px !important;
        margin-bottom: 8px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .price-part .sub-label, .earning-part .sub-label {
        font-size: 0.58rem !important;
    }

    .price-part .val {
        font-size: 0.78rem !important;
    }

    .earning-part {
        text-align: left !important;
        width: 100% !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
        padding-top: 3px !important;
    }

    .earning-part .val {
        font-size: 0.82rem !important;
    }

    .btn-verify-order {
        padding: 8px 6px !important;
        font-size: 0.7rem !important;
        gap: 4px !important;
        letter-spacing: 0 !important;
    }

    .audio-guide-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 14px;
    }
    
    .audio-controls {
        width: 100%;
        justify-content: space-between;
    }

    .landing-gate-card {
        padding: 12px;
        gap: 8px;
    }

    .gate-image-wrap img {
        max-height: 110px !important;
    }

    .gate-info-box {
        font-size: 0.75rem;
        padding: 8px 10px;
    }

    .btn-enter-gate {
        padding: 10px;
        font-size: 0.85rem;
    }

    .floating-audio-pill {
        bottom: 16px;
        right: 14px;
        padding: 8px 14px;
        font-size: 0.74rem;
    }

    .audio-control-popup {
        right: 14px;
        left: 14px;
        bottom: 70px;
    }

    .audio-popup-card {
        width: 100%;
    }

    .pending-order-toast {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 14px;
    }
}

