/* ===================================================================
   live.css
   فایل کامل و مستقل برای live.html — شامل قوانین پایه،
   هدر کامل (نوار بالا، لوگو، منو، جستجو، تم، همبرگری)،
   استایل‌های اختصاصی همین صفحه، و فوتر کامل (شامل نوار پایین موبایل).
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}


:root {
    --ink: #0b0c10;
    --ink2: #111318;
    --card: #161820;
    --card2: #1c1f2a;
    --border: rgba(255, 255, 255, 0.06);
    --border2: rgba(255, 255, 255, 0.1);
    --ruby: #c0392b;
    --ruby2: #e74c3c;
    --ruby-glow: rgba(192, 57, 43, 0.25);
    --live: #ff4444;
    --live-glow: rgba(255, 68, 68, 0.3);
    --silver: #b0bec5;
    --silver2: #cfd8dc;
    --muted: #5a6070;
    --muted2: #7a8090;
    --white: #f0f2f5;
}


body {
    background: var(--ink);
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

body.light-theme {
    --ink: #f0ede8;
    --ink2: #e6e2db;
    --card: #ffffff;
    --card2: #f5f2ed;
    --border: rgba(0, 0, 0, 0.10);
    --border2: rgba(0, 0, 0, 0.18);
    --silver: #374151;
    --silver2: #111827;
    --muted: #6b7280;
    --muted2: #4b5563;
    --white: #0f172a;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    mix-blend-mode: overlay;
}

.radial-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 68, 68, 0.1) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

.nav-live {
    display: flex !important;
    align-items: center;
    gap: 0.45rem;
    color: var(--live) !important;
    font-weight: 700 !important;
}

.nav-live.active, .nav-live:hover {
    background: rgba(255, 68, 68, 0.12) !important;
    color: #ff6666 !important;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--live);
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--live);
    animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: 0.55;
        transform: scale(0.75)
    }
}

/* ═══ LIVE PAGE ═══ */
.page-wrap {
    position: relative;
    z-index: 2;
}

/* هدر پخش زنده */
.live-header {
    padding: 2rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, rgba(255, 68, 68, 0.05), transparent);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--live);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    box-shadow: 0 0 20px var(--live-glow);
    animation: badgePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 12px var(--live-glow)
    }
    50% {
        box-shadow: 0 0 28px var(--live-glow)
    }
}

.live-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: livePulse 1.4s ease-in-out infinite;
}

.live-title-wrap {
}

.live-program-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

body.light-theme .live-program-name {
    color: #0f172a;
}

.live-program-sub {
    font-size: 0.78rem;
    color: var(--muted2);
    margin-top: 0.15rem;
}

.live-viewers {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--muted2);
}

.live-viewers svg {
    width: 15px;
    height: 15px;
    color: var(--live);
}

/* ─── پلیر ویدیو ─── */
.live-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border2);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

/* وقتی آفلاینه */
.offline-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, #0d0d10, #1a1020);
}

.offline-icon {
    font-size: 3.5rem;
    opacity: 0.5;
}

.offline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--muted2);
}

.offline-sub {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    max-width: 300px;
    line-height: 1.7;
}

.next-live-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: var(--ruby);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 18px var(--ruby-glow);
    transition: all 0.2s;
    text-decoration: none;
}

.next-live-btn:hover {
    background: var(--ruby2);
    transform: translateY(-1px);
}

/* iframe پخش زنده واقعی */
.live-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.live-iframe.active {
    display: block;
}

/* کنترل‌های روی پلیر */
.player-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.2rem 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.25s;
}

.player-wrap:hover .player-controls-overlay {
    opacity: 1;
}

.ctrl-live {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--live);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
}

.ctrl-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live);
    animation: livePulse 1.4s ease-in-out infinite;
}

.ctrl-spacer {
    flex: 1;
}

.ctrl-btn-ol {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.ctrl-btn-ol:hover {
    background: rgba(255, 255, 255, 0.28);
}

.ctrl-btn-ol svg {
    width: 15px;
    height: 15px;
}

/* ─── اطلاعات برنامه ─── */
.live-info-row {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: start;
}

.live-desc {
    font-size: 0.88rem;
    color: var(--muted2);
    line-height: 1.8;
}

body.light-theme .live-desc {
    color: #4b5563;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border: 1px solid var(--border2);
    background: var(--card);
    border-radius: 10px;
    color: var(--silver2);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.share-btn:hover {
    border-color: var(--ruby);
    color: var(--white);
}

body.light-theme .share-btn {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #374151;
}

/* ─── برنامه‌های آینده ─── */
.schedule-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.section-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ruby);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border2);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.22s;
    cursor: pointer;
}

.schedule-card:hover {
    background: var(--card2);
    border-color: var(--border2);
}

.schedule-card.next {
    border-color: rgba(255, 68, 68, 0.35);
    background: rgba(255, 68, 68, 0.05);
}

body.light-theme .schedule-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
}

body.light-theme .schedule-card.next {
    background: rgba(255, 68, 68, 0.04);
}

.sch-time {
    min-width: 70px;
    text-align: center;
    flex-shrink: 0;
}

.sch-time-main {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    direction: ltr;
}

body.light-theme .sch-time-main {
    color: #0f172a;
}

.sch-time-day {
    font-size: 0.68rem;
    color: var(--muted2);
}

.sch-divider {
    width: 1px;
    height: 40px;
    background: var(--border2);
    flex-shrink: 0;
}

.sch-emoji {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.sch-body {
    flex: 1;
    min-width: 0;
}

.sch-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light-theme .sch-title {
    color: #0f172a;
}

.sch-reciter {
    font-size: 0.76rem;
    color: var(--muted2);
}

.sch-tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.sch-tag.live-soon {
    background: rgba(255, 68, 68, 0.15);
    border: 1px solid rgba(255, 68, 68, 0.35);
    color: #ff8888;
}

.sch-tag.scheduled {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border2);
    color: var(--muted2);
}

body.light-theme .sch-tag.scheduled {
    background: rgba(0, 0, 0, 0.05);
}

.bnav-item.active {
    color: var(--live);
}

@media (max-width: 900px) {
    .hamburger {
        display: none !important;
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .live-section, .schedule-section {
        padding: 1rem;
    }

    .live-info-row {
        grid-template-columns:1fr;
    }
}

@media (max-width: 600px) {
    nav.top-nav {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .theme-label {
        display: none !important;
    }

    .btn-theme-toggle {
        padding: 0.4rem 0.65rem;
    }

    .live-header {
        padding: 1rem;
    }

    .live-viewers {
        display: none;
    }
}

/* ─── NAV ─── */
nav.top-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    height: 68px;
    background: rgba(11, 12, 16, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border2);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ruby), #7b1a10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Scheherazade New', serif;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 0 16px var(--ruby-glow);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--muted2);
    font-weight: 400;
    display: block;
}

.nav-tabs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px;
}

.nav-tabs a {
    display: block;
    padding: 0.38rem 1.1rem;
    border-radius: 40px;
    color: var(--muted2);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s;
    white-space: nowrap;
}

.nav-tabs a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.nav-tabs a.active {
    background: var(--ruby);
    color: #fff;
    box-shadow: 0 2px 12px var(--ruby-glow);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: relative;
}

.btn-theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 1.1rem;
    border: 1px solid var(--border2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--silver2);
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.btn-theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-theme-toggle:hover {
    border-color: var(--ruby);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--ruby-glow);
}

.btn-theme-toggle:hover::before {
    opacity: 1;
}

.btn-theme-toggle:active {
    transform: scale(0.97);
}

.theme-icon {
    font-size: 1rem;
    transition: transform 0.5s ease;
    display: inline-block;
}

.btn-theme-toggle:hover .theme-icon {
    transform: rotate(20deg) scale(1.2);
}

.theme-label {
    font-size: 0.82rem;
}

.btn-search-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border2);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-search-mobile svg {
    width: 17px;
    height: 17px;
    color: var(--silver2);
    transition: color 0.2s;
}

.btn-search-mobile:hover {
    border-color: var(--ruby);
    background: rgba(192, 57, 43, 0.1);
}

.btn-search-mobile:hover svg {
    color: var(--ruby);
}

.btn-search-mobile.active {
    border-color: var(--ruby);
    background: rgba(192, 57, 43, 0.12);
}

.btn-search-mobile.active svg {
    color: var(--ruby);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border2);
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    transition: all 0.3s ease;
    width: 240px;
    position: relative;
}

.nav-search:focus-within {
    border-color: var(--ruby);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px var(--ruby-glow);
    width: 290px;
}

.search-icon-inline {
    width: 16px;
    height: 16px;
    color: var(--muted2);
    flex-shrink: 0;
    transition: color 0.2s;
}

.nav-search:focus-within .search-icon-inline {
    color: var(--ruby);
}

.search-input {
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.83rem;
    width: 100%;
    min-width: 0;
}

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

.search-clear {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    display: none;
    transition: color 0.2s;
    flex-shrink: 0;
}

.search-clear:hover {
    color: var(--ruby);
}

.search-input:not(:placeholder-shown) ~ .search-clear {
    display: block;
}

.mobile-search-panel {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: rgba(11, 12, 16, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border2);
    z-index: 199;
    animation: slideDown 0.22s ease;
}

.mobile-search-panel.open {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
}

.mobile-search-inner:focus-within {
    border-color: var(--ruby);
    box-shadow: 0 0 0 3px var(--ruby-glow);
}

.mobile-search-inner svg {
    width: 16px;
    height: 16px;
    color: var(--muted2);
    flex-shrink: 0;
}

.mobile-search-input {
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    width: 100%;
}

.mobile-search-input::placeholder {
    color: var(--muted);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--silver2);
    border-radius: 2px;
    transition: 0.3s;
}

@keyframes liveDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: 0.5;
        transform: scale(0.7)
    }
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.srp-popular-tag {
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border2);
    color: var(--muted2);
    font-size: 0.74rem;
    cursor: pointer;
    transition: all 0.18s;
    font-family: 'Vazirmatn', sans-serif;
}

.srp-popular-tag:hover {
    border-color: var(--ruby);
    color: var(--white);
    background: rgba(192, 57, 43, 0.1);
}

/* تم روشن */
body.light-theme nav.top-nav {
    background: rgba(240, 237, 232, 0.95);
}

body.light-theme .logo-text {
    color: #0f172a;
}

body.light-theme .logo-sub {
    color: #4b5563;
}

body.light-theme .nav-tabs a {
    color: #374151;
}

body.light-theme .nav-tabs a:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .nav-tabs {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
    color: #2d3748;
}

body.light-theme .btn-theme-toggle:hover {
    border-color: var(--ruby);
    color: var(--ruby);
    background: rgba(192, 57, 43, 0.07);
}

body.light-theme .nav-search {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .nav-search:focus-within {
    background: #fff;
}

body.light-theme .search-input {
    color: #0f172a;
}

body.light-theme .mobile-search-panel {
    background: rgba(240, 237, 232, 0.98);
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .mobile-search-inner {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .mobile-search-input {
    color: #0f172a;
}

body.light-theme .srp-popular-tag {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #4b5563;
}

body.light-theme .srp-popular-tag:hover {
    color: #0f172a;
    border-color: var(--ruby);
}

body.light-theme #searchPanel {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ریسپانسیو */
@media (max-width: 900px) {
    .nav-tabs {
        display: none !important;
    }

    .nav-search {
        display: none !important;
    }

    .btn-search-mobile {
        display: flex !important;
    }

    .theme-label {
        display: inline !important;
        font-size: 0.82rem;
    }
}

@media (max-width: 600px) {
    nav.top-nav {
        padding: 0 1rem;
        gap: 0.5rem;
    }

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

    .logo-sub {
        font-size: 0.6rem;
    }

    .theme-label {
        display: none !important;
    }

    .btn-theme-toggle {
        padding: 0.4rem 0.65rem;
    }

    .theme-icon {
        font-size: 1.1rem;
    }
}

/* ─── FOOTER ─── */
footer {
    background: #070809;
    border-top: 1px solid var(--border);
    padding: 2rem 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Scheherazade New', serif;
    font-size: 1.3rem;
    color: var(--ruby);
    margin-bottom: 0.4rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--muted);
}

body.light-theme footer {
    background: #e6e2db;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .footer-logo {
    color: var(--ruby);
}

body.light-theme .footer-copy {
    color: #4b5563;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: 64px;
    background: rgba(11, 12, 16, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border2);
    padding: 0 0.5rem;
}

.bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--muted2);
    padding: 6px 10px;
    border-radius: 12px;
    transition: all 0.2s;
    min-width: 52px;
    flex: 1;
}

.bnav-item:hover,
.bnav-item.active {
    color: var(--ruby2);
    background: rgba(192, 57, 43, 0.1);
}

.bnav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.bnav-label {
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 64px;
    }
}