/**
 * Ardatiev-Next - Mobile App Shell Styles
 */

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for bottom tab bar */
    }

    /* --- Bottom Tab Bar --- */
    .bottom-tab-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: rgba(15, 16, 20, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        padding: 0 10px;
    }

    .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--color-text-muted);
        font-size: 10px;
        font-weight: 500;
        transition: 0.2s;
        flex: 1;
    }

    .tab-item svg {
        margin-bottom: 4px;
        width: 22px;
        height: 22px;
        opacity: 0.7;
    }

    .tab-item:active {
        transform: scale(0.9);
    }

    .tab-item.active {
        color: var(--color-primary);
    }

    .tab-item.active svg {
        opacity: 1;
        stroke: var(--color-primary);
    }

    /* --- Mobile Category Scroller --- */
    .mobile-category-nav {
        background: #0f1014;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: sticky;
        top: 60px; /* Below header */
        z-index: 900;
    }

    .category-scroller {
        display: flex;
        overflow-x: auto;
        padding: 0 15px;
        gap: 10px;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }

    .category-scroller::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    .cat-chip {
        white-space: nowrap;
        background: #1a1c23;
        color: var(--color-white);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 13px;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .cat-chip.highlight {
        background: rgba(255, 127, 80, 0.1);
        color: var(--color-primary);
        border-color: rgba(255, 127, 80, 0.3);
    }

    /* --- App Header Tweaks --- */
    .site-header {
        height: 60px;
        padding: 0;
    }

    .main-logo {
        height: 35px;
    }

    /* Hide unnecessary mobile elements */
    .mobile-nav-drawer .drawer-header {
        background: var(--color-dark-gray);
    }
}
