/* =========================================
   1. БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-body: #0f0b08;
    --bg-card: #1c1410;
    --bg-header: #15100c;
    --bg-elevated: #23140c;
    --gold: #e5a93d;
    --gold-light: #f7c85a;
    --orange: #f28c28;
    --orange-hover: #ff9f43;
    --orange-glow: rgba(242, 140, 40, 0.6);
    --text-main: #ffffff;
    --text-light: #f5e6d3;
    --text-muted: #9e8e82;
    --border: #2c1e17;
    --border-light: #3d2a20;
    --border-glow: rgba(229, 169, 61, 0.3);
    --shadow-deep: 0 15px 40px rgba(0, 0, 0, 0.7);
    --gradient-gold: linear-gradient(135deg, #ffc857 0%, #e5a93d 50%, #b07d1f 100%);
    --gradient-orange: linear-gradient(135deg, #ff9f43 0%, #f28c28 50%, #d9771f 100%);
    --gradient-wood: linear-gradient(180deg, #2a170d 0%, #1a0f0a 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 20% 0%, rgba(242, 140, 40, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(229, 169, 61, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Кастомный скроллбар */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb {
    background: var(--gradient-orange);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =========================================
   2. ШАПКА САЙТА (HEADER)
   ========================================= */
header {
    background: rgba(21, 16, 12, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(229, 169, 61, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(242, 140, 40, 0.4));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(242, 140, 40, 0.7));
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

/* =========================================
   3. КНОПКИ (BUTTONS)
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1.5px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    color: var(--gold-light);
    box-shadow: 0 0 20px rgba(229, 169, 61, 0.3);
    transform: translateY(-2px);
}

.btn-register {
    background: var(--gradient-orange);
    color: #fff;
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-register:hover {
    box-shadow: 0 8px 30px rgba(242, 140, 40, 0.7), 0 0 40px rgba(242, 140, 40, 0.4);
    transform: translateY(-2px);
}

.play-btn {
    display: inline-block;
    background: var(--gradient-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.5);
    border: 1px solid rgba(255, 200, 87, 0.4);
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(242, 140, 40, 0.8);
    background: var(--gradient-gold);
    color: #1a0f0a;
}

.btn-show-more {
    display: inline-block;
    background: var(--gradient-wood);
    color: var(--gold);
    border: 1.5px solid var(--gold);
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-show-more:hover {
    background: var(--gradient-gold);
    color: #1a0f0a;
    box-shadow: 0 0 30px rgba(229, 169, 61, 0.6);
    transform: translateY(-3px);
}

/* =========================================
   4. ГЛАВНЫЙ БАННЕР (HERO)
   ========================================= */
.hero {
    background: transparent;
    padding: 20px 0;
    border-bottom: none;
    text-align: center;
}

.hero-banner-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    border: 2px solid rgba(229, 169, 61, 0.3);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(242, 140, 40, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner-img:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(242, 140, 40, 0.4);
}

/* =========================================
   5. СТАТИСТИКА ВЫИГРЫШЕЙ
   ========================================= */
.stats-bar {
    background: linear-gradient(180deg, rgba(26, 20, 16, 0.95) 0%, rgba(15, 11, 8, 0.95) 100%);
    padding: 15px 0;
    border-bottom: 1px solid rgba(229, 169, 61, 0.15);
}

.stats-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 20px;
    border-radius: 10px;
    background: rgba(229, 169, 61, 0.05);
    border: 1px solid rgba(229, 169, 61, 0.15);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(229, 169, 61, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.stat-amount {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.1rem;
}

.stat-user {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =========================================
   6. ПОИСК И ФИЛЬТРЫ (CONTROLS)
   ========================================= */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box input,
.filter-box select {
    width: 100%;
    background: rgba(28, 20, 16, 0.8);
    border: 1.5px solid var(--border);
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

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

.search-box input:focus,
.filter-box select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(229, 169, 61, 0.15), 0 0 20px rgba(229, 169, 61, 0.2);
    background: rgba(28, 20, 16, 0.95);
}

.filter-box {
    flex: 0 0 220px;
}

.filter-box select {
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                      linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) center, calc(100% - 15px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.category-tabs {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.tab {
    background: rgba(28, 20, 16, 0.8);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.tab.active,
.tab:hover {
    background: var(--gradient-gold);
    color: #1a0f0a;
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(229, 169, 61, 0.4);
    transform: translateY(-2px);
}

/* =========================================
   7. СЕТКА ИГР (GAME GRID)
   ========================================= */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.game-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border);
    background-color: var(--bg-card);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(229, 169, 61, 0.2) 0%, transparent 50%, rgba(242, 140, 40, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 169, 61, 0.4);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover img {
    transform: scale(1.08);
}

.game-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

/* =========================================
   8. БЛОК "ПОКАЗАТЬ ВСЕ"
   ========================================= */
.show-more-container {
    text-align: center;
    margin: 40px auto;
}

/* =========================================
   9. SEO ТЕКСТ И ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================= */
.seo-text,
.page-content {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(180deg, rgba(28, 20, 16, 0.7) 0%, rgba(15, 11, 8, 0.9) 100%);
    border: 1px solid rgba(229, 169, 61, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.seo-text::before,
.page-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0.7;
}

.seo-text h1,
.page-content h1 {
    color: var(--gold);
    font-size: 1.9rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.page-content h1 {
    font-size: 2.2rem;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(229, 169, 61, 0.2);
}

.seo-text h2,
.page-content h2 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(229, 169, 61, 0.2);
    font-weight: 700;
}

.seo-text p,
.page-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.seo-text ul,
.page-content ul {
    padding-left: 0;
    margin-bottom: 20px;
}

.seo-text ul li,
.page-content ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    line-height: 1.7;
}

.seo-text ul li::before,
.page-content ul li::before {
    content: "🍺";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.1rem;
}

.seo-text strong,
.page-content strong {
    color: var(--text-light);
    font-weight: 700;
}

.cta-block {
    text-align: center;
    margin-top: 35px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(42, 23, 13, 0.8) 0%, rgba(28, 20, 16, 0.9) 100%);
    border-radius: 14px;
    border: 1px solid rgba(229, 169, 61, 0.3);
    box-shadow: inset 0 0 30px rgba(242, 140, 40, 0.1);
}

.cta-block .btn-register {
    padding: 16px 45px;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* =========================================
   10. ПОДВАЛ (FOOTER)
   ========================================= */
footer {
    background: linear-gradient(180deg, #2a170d 0%, #1a0f0a 100%);
    padding: 50px 0 20px;
    border-top: 2px solid rgba(229, 169, 61, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.footer-col h4 {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 10px rgba(242, 140, 40, 0.4));
}

.pay-icons span {
    display: inline-block;
    background: rgba(15, 11, 8, 0.8);
    padding: 8px 14px;
    border-radius: 6px;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    border: 1px solid var(--border);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pay-icons span:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(229, 169, 61, 0.15);
    padding-top: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.age-limit {
    border: 2px solid var(--gold);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: var(--gold);
    box-shadow: 0 0 15px rgba(229, 169, 61, 0.3);
}

/* =========================================
   11. НИЖНЕЕ МОБИЛЬНОЕ МЕНЮ
   ========================================= */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 12px 15px;
    background: rgba(15, 11, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(229, 169, 61, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
    gap: 10px;
}

.mobile-bottom-bar .btn {
    flex: 1;
    padding: 14px 10px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.mobile-bottom-bar .btn-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--gold);
    color: var(--gold);
}

.mobile-bottom-bar .btn-register {
    background: var(--gradient-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.5);
}

/* =========================================
   12. ПРОМО-БЛОК С ПРОМОКОДОМ TOPWIN
   ========================================= */
.promo-highlight {
    margin: 40px auto;
    padding: 0;
}

.promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, #2a170d 0%, #1a0f0a 50%, #3d2314 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(242, 140, 40, 0.3),
        inset 0 0 60px rgba(229, 169, 61, 0.08);
    position: relative;
    overflow: hidden;
}

.promo-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.1) 0%, transparent 60%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.promo-text {
    position: relative;
    z-index: 1;
    flex: 1;
}

.promo-text h2 {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.promo-text h2 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(229, 169, 61, 0.6));
    display: inline-block;
}

.promo-text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.promo-code {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 4px 12px;
    background: rgba(229, 169, 61, 0.15);
    border: 2px dashed var(--gold);
    border-radius: 8px;
    display: inline-block;
    margin: 0 4px;
    animation: blinkCode 1.5s ease-in-out infinite;
}

@keyframes blinkCode {
    0%, 100% { box-shadow: 0 0 0 rgba(229, 169, 61, 0); }
    50% { box-shadow: 0 0 20px rgba(229, 169, 61, 0.8); }
}

.promo-btn {
    position: relative;
    z-index: 1;
    padding: 18px 35px;
    font-size: 1.05rem;
    white-space: nowrap;
    animation: pulseButton 2s ease-in-out infinite;
}

@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(242, 140, 40, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 35px rgba(242, 140, 40, 0.9), 0 0 50px rgba(242, 140, 40, 0.5);
    }
}

/* =========================================
   13. АДАПТИВНОСТЬ (MOBILE RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .hero-banner-img {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 85px;
    }

    header .auth-buttons {
        display: none;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    .header-content {
        justify-content: center;
        padding: 5px 0;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding: 10px 0;
    }

    .hero-banner-img {
        border-radius: 10px;
        border-width: 1px;
    }

    .stats-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .stat-item {
        padding: 6px 12px;
        flex: 1;
        min-width: 100px;
    }

    .stat-amount { font-size: 0.9rem; }
    .stat-user { font-size: 0.7rem; }

    .controls {
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .filter-box {
        flex: 1;
    }

    .category-tabs {
        justify-content: center;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .category-tabs::-webkit-scrollbar { display: none; }

    .tab {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

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

    .game-card {
        border-radius: 10px;
    }

    .seo-text,
    .page-content {
        padding: 20px 15px;
        border-radius: 12px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .seo-text h1,
    .page-content h1 { font-size: 1.4rem; }

    .seo-text h2,
    .page-content h2 { font-size: 1.15rem; }

    .seo-text p,
    .page-content p,
    .seo-text li,
    .page-content li { font-size: 0.9rem; }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

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

    .cta-block {
        padding: 20px 15px;
    }

    .cta-block .btn-register {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Промо-блок на мобильных */
    .promo-inner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }

    .promo-text h2 {
        font-size: 1.35rem;
    }

    .promo-text p {
        font-size: 0.9rem;
    }

    .promo-code {
        font-size: 1.1rem;
        padding: 3px 10px;
    }

    .promo-btn {
        padding: 15px 25px;
        font-size: 0.95rem;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .stat-item {
        min-width: 90px;
        padding: 5px 8px;
    }

    .stat-amount { font-size: 0.8rem; }
    .stat-user { font-size: 0.65rem; }
}