/* ==========================================================================
   MRX TOURNAMENTS - Modern Gaming Design System & CSS Framework
   ========================================================================== */

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

:root {
    /* Color Tokens */
    --bg-main: #0b0e14;
    --bg-card: #151921;
    --bg-card-hover: #1c222e;
    --bg-glass: rgba(21, 25, 33, 0.85);
    --border-color: #272f3e;
    --border-glow: rgba(0, 243, 255, 0.3);

    --primary-cyan: #00f3ff;
    --primary-cyan-glow: rgba(0, 243, 255, 0.25);
    --accent-red: #ff3b30;
    --accent-red-glow: rgba(255, 59, 48, 0.25);
    --accent-purple: #7000ff;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing & Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 243, 255, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Scrollbar Removal (Clean UI Experience Across All Browsers) */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html, body, *, ::before, ::after {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    touch-action: manipulation;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 75px; /* Space for mobile bottom nav */
    touch-action: manipulation;
}

.brand-logo, .btn, .nav-link, .bottom-nav-item, .admin-bottom-nav-item {
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #38bdf8;
}

/* Layout Utilities */
.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header & Navbar */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.brand-logo span {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan-glow);
}

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

/* Login & Register buttons in header - Visible ONLY on mobile devices (< 1024px) */
.auth-nav-btn,
.auth-btn {
    display: inline-flex !important;
}

@media (min-width: 1024px) {
    .auth-nav-btn,
    .auth-btn {
        display: none !important;
    }
}

/* Hide Install App buttons and modal across all devices */
#pwa-install-btn,
.pwa-install-btn,
#pwa-modal-install-btn,
.pwa-install-trigger,
#pwa-auto-modal,
.pwa-modal-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wallet-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid var(--primary-cyan-glow);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-cyan);
}

.desktop-nav {
    display: none;
    gap: 20px;
    align-items: center;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

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

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 2px;
    overflow-x: auto;
}

@media (min-width: 1024px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    gap: 2px;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 2px;
    text-align: center;
    white-space: nowrap;
}

.bottom-nav-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.bottom-nav-item.active {
    color: var(--primary-cyan);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, rgba(11, 14, 20, 0.9), rgba(112, 0, 255, 0.15)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230b0e14"/><path d="M0 0l100 100M100 0L0 100" stroke="%231a2230" stroke-width="1"/></svg>');
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-cyan-glow) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(90deg, var(--primary-cyan), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 24px;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), #00b4d8);
    color: #040914;
    box-shadow: 0 4px 15px var(--primary-cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-cyan-glow);
    color: #000;
}

.btn-danger {
    background: linear-gradient(135deg, var(--accent-red), #dc2626);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

.btn-secondary {
    background: #1e2736;
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #283347;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Cards & Tournament Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: var(--border-glow);
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tournament-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
}

.tournament-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.12);
}

.tournament-banner-wrapper {
    width: 100%;
    height: 160px;
    background: #1a2230;
    position: relative;
    overflow: hidden;
}

.tournament-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-mode {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(8px);
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan-glow);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success-green);
    color: #000;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-status.LIVE { background: var(--accent-red); color: #fff; animation: pulse 1.5s infinite; }
.badge-status.FULL { background: var(--warning-yellow); color: #000; }
.badge-status.COMPLETED { background: #64748b; color: #fff; }

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.tournament-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tournament-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.tournament-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.stat-box {
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.stat-value.prize {
    color: var(--success-green);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: #1e2736;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), #a855f7);
    border-radius: var(--radius-full);
}

.slots-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Countdown Timer */
.timer-box {
    background: rgba(0, 243, 255, 0.05);
    border: 1px dashed var(--primary-cyan-glow);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #181f2c;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan-glow);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    padding: 24px;
    box-shadow: var(--shadow-card);
    transform: scale(0.9);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border-left: 4px solid var(--primary-cyan);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    font-size: 0.9rem;
    min-width: 280px;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left-color: var(--success-green); }
.toast.error { border-left-color: var(--accent-red); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

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

.table th, .table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: #181f2c;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

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

/* PWA Auto Install Modal Popup */
.pwa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pwa-modal-card {
    background: linear-gradient(145deg, #151921 0%, #0d1017 100%);
    border: 2px solid var(--primary-cyan);
    box-shadow: 0 0 35px var(--primary-cyan-glow), 0 20px 50px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-modal-overlay.active .pwa-modal-card {
    transform: scale(1) translateY(0);
}

.pwa-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pwa-modal-close:hover {
    background: rgba(255, 59, 48, 0.3);
    color: #fff;
}

.pwa-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px auto;
    border-radius: 20px;
    background: #0b0e14;
    padding: 6px;
    box-shadow: 0 0 20px var(--primary-cyan-glow);
    border: 1px solid var(--primary-cyan);
}

.pwa-modal-icon img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.pwa-modal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pwa-modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.pwa-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pwa-install-trigger {
    background: linear-gradient(135deg, #00f3ff 0%, #00a8ff 100%);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(0, 243, 255, 0.4); }
    50% { box-shadow: 0 0 30px rgba(0, 243, 255, 0.8); }
    100% { box-shadow: 0 0 15px rgba(0, 243, 255, 0.4); }
}

/* Responsive Utility Classes for Layout & Component Grids */
.responsive-grid-320 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

.responsive-grid-280 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 16px;
}

.responsive-grid-220 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
}

.responsive-grid-180 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: 12px;
}

.responsive-grid-110 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 95px), 1fr));
    gap: 10px;
}

.auth-page-wrapper {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px calc(85px + env(safe-area-inset-bottom, 0px));
    margin: 0 auto;
}

.auth-card {
    max-width: 440px;
    width: 100%;
    padding: 28px 20px;
    margin: 0 auto;
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINTS & SMARTPHONE OPTIMIZATION ENGINE
   ========================================================================== */

/* 1. Global Touch Target & iOS Safari Auto-Zoom Fix */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important; /* Prevents unwanted iOS Safari auto-zoom on input focus */
    }
}

/* 2. Mobile Layout & Safe Areas (< 1024px) */
@media (max-width: 1023px) {
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    }
    .desktop-nav {
        display: none !important;
    }
}

/* 3. Standard Smartphone Breakpoint (< 768px) */
@media (max-width: 768px) {
    .app-container {
        padding: 0 12px;
    }

    .hero-banner {
        padding: 28px 16px;
        margin: 14px 0;
    }

    .hero-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .form-control {
        font-size: 16px;
        padding: 11px 14px;
        min-height: 46px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.88rem;
        min-height: 44px;
    }

    .tournament-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
        gap: 14px;
    }

    /* Make tables horizontally scrollable with touch momentum */
    .table-container, .table-responsive, table {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-md);
    }

    .modal-content, .pwa-modal-card {
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px 16px;
    }
}

/* 4. Compact Smartphone Breakpoint (< 576px) */
@media (max-width: 576px) {
    .app-header {
        padding: 8px 10px;
    }

    .brand-logo {
        font-size: clamp(0.95rem, 4vw, 1.15rem);
        gap: 5px;
        white-space: nowrap;
    }

    .header-actions {
        gap: 6px;
    }

    .auth-nav-btn {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        min-height: 36px !important;
        letter-spacing: 0.2px;
    }

    .wallet-badge {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .btn-sm {
        padding: 6px 10px;
        font-size: 0.76rem;
        min-height: 36px;
    }

    .tournament-stats-row {
        gap: 8px;
        padding: 10px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .mobile-bottom-nav {
        padding: 6px 2px;
        padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
    }

    .bottom-nav-item {
        font-size: clamp(0.58rem, 2.3vw, 0.65rem);
        padding: 3px 1px;
    }

    .bottom-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .auth-card {
        padding: 22px 14px;
    }
}

/* 5. Ultra-Narrow Small Phones (< 360px) */
@media (max-width: 360px) {
    .app-header {
        padding: 6px 8px;
    }

    .brand-logo {
        font-size: 0.9rem;
    }

    .brand-logo span {
        font-size: 0.95rem;
    }

    .header-actions {
        gap: 4px;
    }

    .auth-nav-btn {
        padding: 5px 8px !important;
        font-size: 0.72rem !important;
        min-height: 32px !important;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .wallet-badge {
        font-size: 0.72rem;
        padding: 3px 6px;
    }

    .bottom-nav-item {
        font-size: 0.56rem;
    }

    .bottom-nav-item svg {
        width: 16px;
        height: 16px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Admin Mobile Bottom Navigation Bar */
.admin-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 2px;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
}

@media (min-width: 1024px) {
    .admin-bottom-nav {
        display: none !important;
    }
}

.admin-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    gap: 2px;
    color: var(--text-muted);
    font-size: clamp(0.58rem, 2.3vw, 0.65rem);
    font-weight: 600;
    padding: 4px 2px;
    text-align: center;
    white-space: nowrap;
}

.admin-bottom-nav-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.admin-bottom-nav-item.active {
    color: var(--primary-cyan);
}


