/* =============================================
   Компоненти сайту baza.mastersmeta.pro
   ============================================= */

/* ─── Навігація ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}

.navbar-logo:hover { color: var(--text-primary); }

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-nav a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Перемикач теми */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--text-secondary);
    font-size: 18px;
}

.theme-toggle:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* Мобільне меню */
.navbar-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.navbar-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-burger.active span:nth-child(2) { opacity: 0; }
.navbar-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-surface);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu.active { display: block; }

.mobile-menu a {
    display: block;
    padding: 16px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-burger { display: flex; }
}

/* ─── Hero Section ─── */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.hero-particle:nth-child(1) {
    width: 300px; height: 300px;
    background: var(--primary);
    top: -100px; right: -50px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.hero-particle:nth-child(2) {
    width: 200px; height: 200px;
    background: var(--accent);
    bottom: -50px; left: 10%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.hero-particle:nth-child(3) {
    width: 150px; height: 150px;
    background: var(--amber);
    top: 30%; right: 20%;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(40px, 10px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(32px, 6vw, 56px);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Пошук в Hero */
.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 56px 18px 24px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all var(--transition);
}

.search-input::placeholder { color: var(--text-muted); }

.search-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.search-btn:hover { transform: translateY(-50%) scale(1.05); }

/* Статистика в Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── Template Cards ─── */
.template-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transform: translateY(-6px);
}

.template-card-accent {
    height: 4px;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.template-card-accent.gradient-apartment { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.template-card-accent.gradient-house { background: linear-gradient(90deg, #10b981, #34d399); }
.template-card-accent.gradient-commercial { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.template-card-accent.gradient-default { background: var(--gradient-primary); }

.template-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.template-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template-card-title a {
    color: inherit;
    text-decoration: none;
}
.template-card-title a:hover { color: var(--primary-light); }

.template-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.template-card-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.template-card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.template-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.template-card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
}

.template-card-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.template-card-action {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--primary-glow);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all var(--transition-fast);
}

.template-card-action:hover {
    background: var(--primary);
    color: #fff;
}

/* ─── Category Cards ─── */
.category-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.category-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.category-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-card-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── Features Section ─── */
.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-icon.blue { background: var(--primary-glow); }
.feature-icon.violet { background: var(--accent-glow); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); }

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── Steps Section ─── */
.steps {
    display: flex;
    gap: 32px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--amber));
    opacity: 0.3;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .steps { flex-direction: column; }
    .steps::before {
        top: 0; bottom: 0;
        left: 39px; right: auto;
        width: 2px;
        height: 100%;
    }
    .step { text-align: left; display: flex; gap: 20px; align-items: flex-start; }
    .step-num { width: 56px; height: 56px; font-size: 22px; flex-shrink: 0; margin: 0; }
}

/* ─── CTA Section ─── */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 56px 40px;
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    position: relative;
}

.cta-box h2 { margin-bottom: 12px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 28px; font-size: 17px; }

/* ─── Filter Bar ─── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.filter-select {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.filter-chip:hover,
.filter-chip.active {
    border-color: var(--primary);
    color: var(--primary-light);
    background: var(--primary-glow);
}

/* ─── Pagination ─── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ─── Footer ─── */
.footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Skeleton Loading ─── */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 320px;
    border-radius: var(--radius-lg);
}

/* ─── Toast Notifications ─── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

/* ─── Table Improvements ─── */
.table-sticky-header th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-surface); /* Must match table bg */
    box-shadow: 0 1px 0 var(--border);
}

.table-zebra tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.table-hover tbody tr:hover {
    background-color: var(--bg-elevated);
}

/* ─── Sidebar & Excel Card ─── */
.excel-card-gradient {
    position: relative;
    padding: 2px; /* Width of the border */
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #107C41, #21A366, #107C41);
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
    box-shadow: 0 10px 30px -10px rgba(16, 124, 65, 0.3);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.excel-card-inner {
    background: var(--bg-card);
    border-radius: calc(var(--radius-xl) - 2px);
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.excel-icon-wrapper {
    width: 72px;
    height: 72px;
    font-size: 36px;
    background: rgba(16, 124, 65, 0.1);
    color: #107C41;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 0 20px rgba(16, 124, 65, 0.1);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: transform 0.2s;
    text-decoration: none;
}
.share-btn:hover { transform: scale(1.1); }
.share-btn.telegram { background: #2AABEE; box-shadow: 0 4px 12px rgba(42, 171, 238, 0.3); }
.share-btn.viber { background: #7360f2; box-shadow: 0 4px 12px rgba(115, 96, 242, 0.3); }
.share-btn.facebook { background: #1877f2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3); }

/* ─── Mobile Sticky CTA ─── */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: rgba(17, 24, 39, 0.95); /* var(--bg-surface) with opacity */
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    z-index: 990;
    display: none; /* Hidden by default */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    animation: slideUp 0.3s ease forwards 0.5s;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    /* Add padding to body so content isn't covered */
    body { padding-bottom: 80px; }
}

.mobile-cta-info {
    flex: 1;
    min-width: 0;
}

.mobile-cta-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.mobile-cta-price {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-light);
}
    backdrop-filter: blur(10px);
}

.toast.success { border-left: 3px solid var(--emerald); }
.toast.error { border-left: 3px solid var(--rose); }
.toast.info { border-left: 3px solid var(--primary); }

.toast-exit { animation: toast-out 0.3s ease forwards; }

@keyframes toast-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-out {
    to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 640px) {
    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 80px;
    }
    .toast { max-width: 100%; }
}

/* ─── Breadcrumbs ─── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px 0;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover { color: var(--primary); }

.breadcrumbs span { color: var(--text-muted); }

/* ─── Empty State ─── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* ─── Login Modal ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-box {
    max-width: 420px;
    width: 100%;
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-box h3 { margin-bottom: 12px; }
.modal-box p { color: var(--text-secondary); margin-bottom: 24px; font-size: 15px; }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
}

/* ─── Mobile Bottom Bar ─── */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 64px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 0 16px;
    align-items: center;
    justify-content: space-around;
}

.mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
}

.mobile-bottom-bar a.active { color: var(--primary); }

.mobile-bottom-bar a span:first-child { font-size: 20px; }

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 64px; }
}
