/* ===== CSS Variables (Fallbacks — overridden by base.html :root) ===== */
:root {
    --primary-gold: #00E0F9;
    --secondary-gold: #EBEF29;
    --cream: #000000;
    --text-dark: #1a1a1a;
    --text-main: var(--text-dark);
    --primary-rgb: 0, 224, 249;
    --secondary-rgb: 235, 239, 41;
    --soft-brown: var(--primary-gold);
    --dark-brown: #050505;
    --white: rgba(255, 255, 255, 0.9);
    --light-gray: #f8f9fa;
    --border-gray: var(--primary-gold);
    --text-muted: #666666;
    --success: #00ff00;
    --error: #ff003c;
    --accent-glow: rgba(var(--primary-rgb), 0.3);
    --accent-glow-strong: rgba(var(--primary-rgb), 0.6);
    --accent-bg-subtle: rgba(var(--primary-rgb), 0.1);
    --accent-border: rgba(var(--primary-rgb), 0.3);
    --accent-border-strong: rgba(var(--primary-rgb), 0.5);
    --border-subtle: rgba(var(--primary-rgb), 0.2);
    --surface-card: rgba(255, 255, 255, 0.9);
    --surface-dark: rgba(245, 245, 245, 0.95);
    --surface-input: rgba(255, 255, 255, 0.95);
    --surface-input-focus: rgba(255, 255, 255, 1);
    --gradient-dark: #000000;
    --icon-filter: none;
    --purple-gradient: var(--primary-gold);
    --shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
    --shadow-hover: 0 0 20px rgba(var(--primary-rgb), 0.6);
    --bg-gradient: linear-gradient(to bottom, var(--cream), var(--gradient-dark));
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    font-feature-settings: 'liga';
    vertical-align: middle;
    line-height: 1;
}

/* Dark Mode Variables */


/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ===== Header ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-gray);
}



.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    min-width: 0;
    /* Allow flex items to shrink below content size */
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'Orbitron', 'Manrope', sans-serif;
    color: var(--primary-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo-image {
    filter: none !important;
    transition: filter 0.3s ease;
}



.logo:hover {
    color: var(--primary-gold);
    transform: translateY(-1px);
}

/* Navigation - Always visible */
.nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease;
    padding: 10px 20px;
    border-radius: 8px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}



.nav-link:hover {
    color: var(--primary-gold);
    background: var(--accent-bg-subtle);
    transform: translateY(-1px);
}








/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--gradient-dark) 0%, var(--cream) 100%);
    color: var(--primary-gold);
    padding: 80px 20px;
    text-align: center;
    border-radius: 25px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px var(--accent-glow);
    border: 1px solid var(--accent-border-strong);
    position: relative;
    overflow: hidden;
}



.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.badge-icon {
    font-size: 1.3rem;
}

/* ===== Sections & Cards ===== */
.section {
    margin-bottom: 30px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s, background 0.3s;
}



.card:hover {
    box-shadow: var(--shadow-hover);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}



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

.section-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}



/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: var(--surface-input);
    color: var(--text-dark);
}



.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px var(--accent-bg-subtle);
}



.form-input:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ===== Buttons ===== */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: var(--purple-gradient);
    color: var(--text-on-primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow-strong);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-disabled {
    background: var(--surface-dark) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    box-shadow: none !important;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}



/* ===== Verified Info Badge ===== */
.verified-info {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    border-left: 4px solid var(--success);
}



.verified-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-brown);
    font-size: 1rem;
}



.verified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== Product Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* Mobile-specific product grid override */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card.selected,
    .product-card:has(.product-radio:checked) {
        min-height: 180px;
        max-height: 220px;
        grid-column: span 1;
    }
}

.product-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    min-height: 160px;
    max-height: 160px;
    overflow: hidden;
}



.product-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: var(--surface-dark);
}



.product-card.disabled::after {
    content: 'lock';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    font-family: 'Material Symbols Outlined';
    font-weight: 400;
    font-style: normal;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
}

/* Stock Status Badge */
.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.low-stock-badge {
    background: var(--warning);
    color: #000;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.product-card.low-stock {
    border-color: #ffc107;
}





/* Out of Stock Badge and Styling */
.out-of-stock-badge {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    font-weight: 700;
}

.product-card.out-of-stock {
    border-color: #dc3545;
    opacity: 0.6;
    background: var(--surface-dark);
    filter: grayscale(60%);
    cursor: not-allowed !important;
    pointer-events: none;
}





.product-card.out-of-stock .product-name,
.product-card.out-of-stock .product-price {
    color: #999 !important;
    text-decoration: line-through;
}



/* Prevent out-of-stock products from being selected */
.product-card.out-of-stock:hover {
    transform: none !important;
    border-color: #dc3545 !important;
}

.product-card.out-of-stock .product-radio {
    display: none;
}

.product-card:hover:not(.disabled) {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-card.selected,
.product-card:has(.product-radio:checked) {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, var(--accent-bg-subtle) 0%, var(--surface-card) 100%);
    box-shadow: 0 0 0 3px var(--accent-bg-subtle);
    min-height: 200px;
    max-height: 250px;
    transform: scale(1.02);
    z-index: 10;
}

/* Dark mode selected product styles */


/* Make product name and price both orange in selected cards - Light Mode */
.product-card.selected .product-name,
.product-card:has(.product-radio:checked) .product-name {
    color: var(--primary-gold);
    font-weight: 700;
}

.product-card.selected .product-price,
.product-card:has(.product-radio:checked) .product-price {
    color: var(--primary-gold);
    font-weight: 700;
}

/* Make product name and price both orange in selected cards - Dark Mode */




/* Keep details text readable */


.product-card.selected::before {
    content: 'check';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gold);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
}

.product-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-label {
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.product-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}



.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
}



/* ===== Footer (Premium Multi-Section) ===== */
.site-footer {
    position: relative;
    background: var(--dark-brown);
    color: var(--text-muted);
    margin-top: 12px;
    scroll-margin-top: 80px;
    overflow: hidden;
}

/* Animated glowing top accent bar */
.footer-glow-bar {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--primary-rgb), 0.6) 20%,
        var(--primary-gold) 50%,
        rgba(var(--primary-rgb), 0.6) 80%,
        transparent 100%
    );
    animation: footerGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes footerGlowPulse {
    0%   { opacity: 0.5; filter: blur(0px); }
    100% { opacity: 1;   filter: blur(1px); }
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(var(--primary-rgb), 0.15);
}

.footer-cols-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 30px;
    }
    .footer-brand-col {
        align-items: flex-start;
        text-align: left;
        flex: 1;
        max-width: 350px;
    }
    .footer-divider {
        width: 1px;
        height: auto;
        margin: 0 10px;
    }
    .footer-cols-row {
        flex: 2;
        justify-content: space-evenly;
        align-items: center;
        gap: 30px;
    }
}

.footer-meta-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.7rem;
    opacity: 0.7;
    justify-content: center;
}

.footer-powered-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

/* --- Footer Columns --- */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.footer-col-title {
    margin: 0 0 14px 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-gold);
    text-align: center;
}

/* Brand Column */
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
    width: 100%;
}

.footer-site-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-logo-icon {
    font-size: 28px;
    color: var(--primary-gold);
}

.footer-site-name {
    font-family: 'Orbitron', 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 0.02em;
}

.footer-tagline {
    margin: 0 auto;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 280px;
    text-align: center;
}

/* Quick Links Nav */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, transform 0.2s;
}

.footer-nav a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.4);
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-gold);
    transform: translateX(4px);
}

.footer-nav a:hover::before {
    background: var(--primary-gold);
    transform: scale(1.4);
}

/* Social Chips */
.footer-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.footer-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.footer-social-chip:hover {
    background: rgba(var(--primary-rgb), 0.18);
    border-color: rgba(var(--primary-rgb), 0.5);
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.18);
}

.footer-social-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: var(--icon-filter);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-social-chip:hover .footer-social-img {
    opacity: 1;
}

.footer-social-chip .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary-gold);
}

/* Payment Badges */
.footer-pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footer-pay-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    background: rgba(var(--primary-rgb), 0.05);
}

.footer-pay-badge img {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: var(--icon-filter);
    opacity: 0.8;
}

/* Bottom Bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.75;
}

.footer-powered-text {
    color: var(--text-muted);
}

.footer-powered-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-powered-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: var(--surface-card);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    min-width: 120px;
    box-shadow: var(--shadow);
}

.payment-logo {
    width: 64px;
    height: 26px;
    object-fit: contain;
    filter: var(--icon-filter);
}

.contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--white);
    border-radius: 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
}



.contact-link:hover {
    background: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 183, 51, 0.5);
    border-color: var(--primary-gold);
}



.contact-link .icon {
    font-size: 1.8rem;
    line-height: 1;
}

.contact-link .social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-link .social-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.contact-link:hover .social-logo {
    opacity: 1;
    transform: scale(1.1);
}

.contact-link .social-name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Dark mode specific social logo colors */




.footer-bottom {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-family: 'Manrope', sans-serif;
}



/* ===== Toast Notifications ===== */
#toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: var(--surface-card);
    color: var(--text-main);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--info);
}

#toast.success {
    border-left-color: var(--success);
}

#toast.error {
    border-left-color: var(--error);
}

#toast.show {
    display: flex;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Loading Overlay ===== */
#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    /* Higher than toast */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(2px);
}

#loading-overlay.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

#loading-overlay p {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Responsive Design ===== */

/* Tablets and large phones (landscape) */
@media (max-width: 1024px) {
    .container {
        padding: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
}

/* Tablets and larger phones (portrait) */
@media (max-width: 768px) {
    .container {
        padding: 14px;
    }

    .header-content {
        padding: 12px 14px;
        gap: 6px;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .logo {
        font-size: 0.95rem;
        font-weight: 800;
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 0;
    }

    /* Navigation stays visible on mobile */
    .nav {
        gap: 4px;
        flex: 1;
        justify-content: flex-end;
        flex-shrink: 1;
    }

    .nav-link {
        padding: 10px 8px;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: -0.2px;
        white-space: nowrap;
        min-width: 44px;
        /* Minimum touch target */
        text-align: center;
    }

    .hero {
        padding: 30px 14px;
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .hero-icon {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    .hero-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-features {
        gap: 12px;
        justify-content: center;
    }

    .feature-badge {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 44px;
        /* Touch target */
    }

    .section {
        margin-bottom: 24px;
    }

    .card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .section-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-input {
        padding: 16px 18px;
        /* Larger touch target */
        font-size: 1rem;
        min-height: 50px;
    }

    .btn {
        padding: 16px 28px;
        /* Minimum 44px height */
        font-size: 1rem;
        min-height: 50px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 14px 10px;
        min-height: 160px;
    }

    .product-icon {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    .product-name {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 1.05rem;
        font-weight: 700;
    }

    /* Quantity selector mobile optimization */
    .quantity-selector {
        gap: 10px;
        padding: 6px;
        margin-top: 10px;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
        min-width: 44px;
        /* Touch target */
        min-height: 44px;
    }

    .qty-input {
        width: 65px;
        height: 40px;
        font-size: 1rem;
        min-height: 44px;
    }

    /* Category filters mobile optimization */
    .category-filters {
        padding: 12px;
        gap: 8px;
        margin-bottom: 20px;
    }

    .category-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 44px;
        /* Touch target */
    }

    .footer-inner {
        padding: 16px 16px 0;
    }

    .footer-grid {
        gap: 0;
        padding-bottom: 16px;
    }

    .footer-cols-row {
        gap: 28px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    #toast {
        right: 10px;
        left: 10px;
        top: 70px;
        min-width: auto;
        max-width: calc(100vw - 20px);
    }
}

/* Medium phones */
@media (max-width: 640px) {
    .container {
        padding: 12px;
    }

    .header-content {
        padding: 12px 14px;
        gap: 6px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 6px;
    }

    .nav {
        gap: 3px;
    }

    .nav-link {
        padding: 9px 11px;
        font-size: 0.8rem;
        min-width: 44px;
    }

    .hero {
        padding: 45px 16px;
        border-radius: 16px;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .feature-badge {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 14px;
    }

    .product-icon {
        font-size: 2rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .header-content {
        padding: 11px 12px;
        gap: 5px;
    }

    .logo {
        font-size: 1rem;
        font-weight: 800;
        gap: 5px;
    }

    .hero {
        padding: 40px 14px;
        border-radius: 14px;
        margin-bottom: 24px;
    }

    .hero-icon {
        font-size: 2.8rem;
        margin-bottom: 14px;
    }

    .hero-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .hero-features {
        gap: 10px;
    }

    .feature-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .badge-icon {
        font-size: 1.15rem;
    }

    /* Compact navigation for small screens */
    .nav {
        gap: 2px;
        flex: 1;
        justify-content: flex-end;
    }

    .nav-link {
        padding: 8px 9px;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: -0.2px;
        min-width: 44px;
    }

    .section {
        margin-bottom: 20px;
    }

    .card {
        padding: 20px 14px;
        border-radius: 12px;
    }

    .section-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 0.78rem;
        margin-bottom: 12px;
    }

    .section-note {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .form-input {
        padding: 15px 16px;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .btn {
        padding: 15px 24px;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card {
        padding: 10px 8px;
        min-height: 155px;
    }

    .product-icon {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .product-name {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 1rem;
    }

    /* Quantity selector for small phones */
    .quantity-selector {
        gap: 8px;
        padding: 5px;
        margin-top: 8px;
        border-radius: 8px;
    }

    .qty-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 6px;
    }

    .qty-input {
        width: 55px;
        height: 38px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    /* Category filters for small phones */
    .category-filters {
        padding: 10px;
        gap: 7px;
        margin-bottom: 18px;
        border-radius: 10px;
    }

    .category-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 44px;
        border-radius: 20px;
    }

    /* Stock badges smaller */
    .stock-badge {
        top: 8px;
        left: 8px;
        padding: 3px 10px;
        font-size: 0.7rem;
    }

/* Mobile/Tablet Compact view */
@media (max-width: 768px) {
    .footer-inner {
        padding: 12px 16px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding-bottom: 12px;
    }

    .footer-brand-col {
        padding-bottom: 8px;
    }

    .footer-meta-compact {
        flex-direction: column;
        gap: 2px;
    }

    .footer-social-grid {
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: nowrap !important;
    }

    .footer-social-chip span:not(.material-symbols-outlined) {
        display: none !important;
    }

    .footer-social-chip {
        padding: 6px !important;
        min-width: auto !important;
        gap: 0 !important;
    }

    .footer-social-chip .material-symbols-outlined {
        font-size: 16px !important;
    }

    .footer-social-img {
        width: 16px !important;
        height: 16px !important;
    }
}

    #toast {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Extra small phones and narrow viewports */
@media (max-width: 375px) {
    .header-content {
        padding: 10px 11px;
        gap: 4px;
    }

    .logo {
        font-size: 0.75rem;
        font-weight: 800;
        gap: 3px;
        letter-spacing: -0.5px;
        flex-shrink: 0;
    }

    .nav-link {
        padding: 7px 8px;
        font-size: 0.7rem;
        min-width: 44px;
    }

    .hero-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 0.92rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .feature-badge {
        padding: 9px 14px;
        font-size: 0.8rem;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .section-title {
        font-family: 'Orbitron', sans-serif;
        text-transform: uppercase;
        font-size: 0.72rem;
    }
}

/* ===== Cyberpunk Additions ===== */

/* Header / Navbar */
.header {
    background: var(--white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-border);
    box-shadow: 0 4px 20px var(--accent-bg-subtle);
}

.logo {
    color: var(--primary-gold);
    text-shadow: 0 0 10px var(--accent-border-strong);
}

.nav-link {
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-gold);
    background: var(--accent-bg-subtle);
    box-shadow: 0 0 10px var(--accent-border);
}

/* ===== Instant Status Check FAB ===== */
.status-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #000);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 224, 249, 0.5);
    border: 2px solid rgba(0, 224, 249, 0.8);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.status-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 224, 249, 0.8);
    background: var(--primary-gold);
}

.status-fab .fab-icon {
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .status-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .status-fab .fab-icon {
        font-size: 1.4rem;
    }
}

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--surface-card);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.75);
    animation: none;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 4px 24px rgba(255, 255, 255, 0.2); }
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* ===== GLOBAL VISIBILITY FIXES (CYBERPUNK) ===== */

body {
    background: var(--bg-gradient);
    color: var(--text-dark) !important;
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Headings only — body color handles plain text inheritance.
   Keeping p/label/span OUT of this !important rule so class-specific colors
   (e.g. .lb-rank, .lb-amount using --secondary-gold) can apply correctly. */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title,
.product-name {
    color: var(--text-dark) !important;
}

.product-price,
.logo {
    color: var(--primary-gold) !important;
}

.info-label {
    color: var(--text-muted) !important;
}

.info-value {
    color: var(--text-dark) !important;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--surface-input) !important;
    color: var(--text-dark) !important;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: var(--text-muted) !important;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px var(--accent-glow);
    background: var(--surface-input-focus) !important;
}

.btn {
    padding: 14px 24px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-on-primary) !important;
    /* Color auto-calculated based on primary color brightness */
}

/* Hide native radio button circles in category labels */
.category-radio {
    display: none;
}

/* FIX CONTACT AND CATEGORY TEXT VISIBILITY */
.contact-link,
.category-btn {
    background: var(--surface-card) !important;
    border-color: var(--accent-border) !important;
    color: var(--text-dark) !important;
}

.contact-link span,
.category-btn span {
    color: var(--text-dark) !important;
}

.contact-link:hover,
.category-btn:hover {
    background: var(--accent-bg-subtle) !important;
    border-color: var(--primary-gold) !important;
}

.contact-link:hover span,
.category-btn:hover span {
    color: var(--text-dark) !important;
}

.category-btn.active {
    background: linear-gradient(135deg, var(--gradient-dark) 0%, var(--cream) 100%) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 15px var(--accent-glow-strong) !important;
}

.category-btn.active span {
    color: var(--primary-gold) !important;
}

/* Ensure the contact icons remain intact */
.contact-link .icon {
    color: var(--primary-gold) !important;
}

/* Make product names in grid readable */
.product-name {
    color: var(--text-dark) !important;
}

/* =========================================
   USER REQUESTED STYLES (GLOBALLY APPLIED)
   ========================================= */

/* Unified Section Titles (Accent Left Border + Uppercase) — smaller to match nav logo */
.section-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--text-dark) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    padding-left: 10px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    border-left: 3px solid var(--primary-gold) !important;
    background: linear-gradient(90deg, var(--accent-bg-subtle) 0%, transparent 100%) !important;
}

/* Fix Social Logos (filter adapts to dark/light based on --icon-filter) */
.social-logo {
    filter: var(--icon-filter) !important;
    opacity: 0.9;
}

.contact-link:hover .social-logo {
    opacity: 1;
    filter: var(--icon-filter) drop-shadow(0 0 5px var(--primary-gold)) !important;
}

/* Runtime theme switching overrides */
html.dark-mode,
body.dark-mode {
    --cream: #0d121b;
    --gradient-dark: #060910;
    --surface-card: rgba(19, 25, 35, 0.92);
    --surface-dark: rgba(8, 11, 18, 0.95);
    --surface-input: rgba(17, 22, 33, 0.92);
    --surface-input-focus: rgba(22, 28, 41, 0.98);
    --text-dark: #f2f6ff;
    --text-muted: #a9b4ca;
    --dark-brown: #0a0f18;
    --light-gray: #121927;
    --icon-filter: brightness(0) invert(1);
    --shadow: 0 0 14px rgba(var(--primary-rgb), 0.24);
    --shadow-hover: 0 0 24px rgba(var(--primary-rgb), 0.45);
    --bg-gradient: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.16) 0%, transparent 36%), linear-gradient(180deg, #060a12 0%, #0d1420 100%);
}

/* Theme Toggle Button - Smaller & Beautiful */
.theme-toggle {
    background: transparent !important;
    border: 1.5px solid var(--primary-gold) !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin-left: 8px !important;
    position: relative !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 10px var(--accent-glow) !important;
    color: var(--primary-gold) !important;
}

.theme-toggle:hover {
    background: var(--accent-bg-subtle) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.theme-icon {
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    font-family: 'Material Symbols Outlined' !important;
    font-feature-settings: 'liga' !important;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24 !important;
}

body:not(.dark-mode) .theme-icon {
    color: var(--primary-gold) !important;
}

body.dark-mode .theme-icon {
    color: var(--secondary-gold) !important;
}

/* =========================================================
   V2 OPTION B MOBILE & NAVIGATION ADDITIONS
   ========================================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition, all 0.3s ease);
}
.nav-link.active { color: var(--primary-gold); }
.nav-link:hover { color: var(--primary-gold); }

.divider {
    width: 1px;
    height: 24px;
    background: #333;
}

.logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Wallet Pill */
.wallet-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 224, 249, 0.05); /* Will use dynamic mostly, but good fallback */
    border: 1px solid var(--accent-border, rgba(0, 224, 249, 0.3));
    padding: 6px 12px;
    border-radius: 50px;
    color: var(--primary-gold);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 10px rgba(0,0,0,0);
    min-width: 0;
}

.wallet-icon {
    flex: 0 0 auto;
}

.wallet-amount {
    display: inline-block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.wallet-pill-mobile {
    max-width: 130px;
}

.wallet-pill-mobile .wallet-amount {
    max-width: clamp(52px, 22vw, 90px);
}
.wallet-pill:hover {
    background: var(--accent-bg-subtle, rgba(0, 224, 249, 0.15));
    box-shadow: 0 0 15px var(--accent-glow, rgba(0, 224, 249, 0.4));
    transform: translateY(-1px);
}

/* Auth page responsive sizing */
.auth-container {
    width: 100%;
}

.auth-card {
    width: min(100%, 460px);
}

@media (max-width: 480px) {
    .auth-container {
        padding: 0.85rem !important;
        align-items: flex-start !important;
        min-height: calc(100vh - 90px) !important;
    }

    .auth-card {
        padding: 1.35rem 1rem !important;
        border-radius: 14px !important;
    }

    .auth-card h2 {
        font-size: 1.45rem !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.25;
    }

    .auth-card form {
        gap: 1rem !important;
    }
}

@media (max-width: 375px) {
    .auth-container {
        padding: 0.6rem !important;
    }

    .auth-card {
        padding: 1rem 0.85rem !important;
    }

    .auth-card h2 {
        font-size: 1.28rem !important;
    }
}

/* Profile Dropdown (Desktop) */
.profile-container {
    position: relative;
}

.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 2px solid var(--primary-gold, #00E0F9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    color: var(--text-dark);
}

.profile-circle .material-symbols-outlined {
    font-size: 22px;
}

.profile-circle:hover {
    box-shadow: 0 0 15px var(--accent-glow, rgba(0, 224, 249, 0.4));
}

.desktop-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: var(--surface-dark);
    border: 1px solid var(--accent-border, rgba(0, 224, 249, 0.2));
    border-radius: 12px;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
    z-index: 1000;
}
.desktop-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary-gold);
}
.dropdown-item.danger { color: #ff4444; border-top: 1px solid rgba(255,255,255,0.1); }
.dropdown-item.danger:hover { background: rgba(255,68,68,0.1); }

/* MOBILE OVERRIDES (< 768px) */
.mobile-only {
    display: none;
}

.bottom-sheet-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--surface-dark);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-top: 1px solid var(--accent-border);
    padding: 24px 24px 40px;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    scrollbar-width: none;
}

.bottom-sheet::-webkit-scrollbar {
    display: none;
}

.bottom-sheet-overlay.active .bottom-sheet {
    bottom: 0;
}

.bs-title {
    margin-bottom: 20px;
    color: var(--primary-gold);
    font-family: 'Orbitron', sans-serif;
}

.bs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.bs-card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 6px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    min-height: 60px;
    justify-content: center;
}

.bs-card:hover {
    border-color: var(--accent-border);
    box-shadow: 0 0 12px var(--accent-glow);
}

.bs-card:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.96);
}

.bs-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.bs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bs-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface-card);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.bs-list-item:hover {
    border: 1px solid var(--accent-border);
}

.bs-list-item:active {
    background: rgba(255, 255, 255, 0.1);
}

.bs-close-wrap {
    text-align: center;
    margin-top: 25px;
}

.bs-close-btn {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

@media (min-width: 769px) {
    .bottom-sheet-overlay,
    .bottom-sheet-overlay.active {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex; }
    .bottom-sheet-overlay.active { display: block; }
    
    .nav-right {
        gap: 8px;
        min-width: 0;
    }

    .nav-right.mobile-only {
        flex-shrink: 0;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo-text {
        margin-left: 6px;
        max-width: none;
    }
    
    .wallet-pill {
        padding: 6px 10px;
        font-size: 0.8rem;
        gap: 4px;
        max-width: 130px;
    }

    .wallet-pill-mobile .wallet-amount {
        max-width: clamp(52px, 22vw, 82px);
    }

    .profile-circle {
        width: 36px;
        height: 36px;
    }

    .bs-grid {
        gap: 12px;
        margin-bottom: 24px;
    }

    .bs-list {
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .logo-text {
        margin-left: 4px;
        max-width: none;
    }

    .wallet-pill {
        padding: 5px 8px;
        font-size: 0.74rem;
    }

    .wallet-pill-mobile .wallet-amount {
        max-width: clamp(46px, 18vw, 62px);
        font-size: 0.72rem;
    }

    .profile-circle {
        width: 34px;
        height: 34px;
        font-size: 0.86rem;
    }
}
