/* ==============================================
   КИБЕРИГРА - Главные стили сайта
   ============================================== */

/* ============= СБРОС И БАЗОВЫЕ СТИЛИ ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цвета фона */
    --bg-dark-primary: #1D232A;
    --bg-dark-secondary: #2A323C;
    --bg-dark-tertiary: #3D4451;
    
    /* Акцентные цвета */
    --accent-primary: #00E5FF;
    --accent-secondary: #00B8D4;
    --accent-hover: #33EEFF;
    --accent-light: rgba(0, 229, 255, 0.1);
    
    /* Цвета текста */
    --text-white: #ffffff;
    --text-gray-light: rgba(255, 255, 255, 0.8);
    --text-gray: rgba(255, 255, 255, 0.6);
    --text-gray-dark: rgba(255, 255, 255, 0.4);
    
    /* Цвета бейджей */
    --badge-news: #FF3366;
    --badge-guide: #A855F7;
    --badge-tournament: #FFA500;
    --badge-live: #FF3366;
    
    /* Системные цвета */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #00E5FF;
    
    /* Цвета карточек и границ */
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --border-dark: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 229, 255, 0.3);
    --border-accent-bright: rgba(0, 229, 255, 0.6);
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 4px 20px rgba(0, 229, 255, 0.3);
    --shadow-accent-strong: 0 8px 40px rgba(0, 229, 255, 0.5);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark-primary);
    color: var(--text-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============= УТИЛИТЫ ============= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #00E5FF, #00B8D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============= HEADER ============= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 32, 44, 0.7); /* Делаю чуть прозрачнее */
    backdrop-filter: blur(20px); /* Увеличиваю размытие с 10px до 20px */
    -webkit-backdrop-filter: blur(20px); /* Для Safari */
    backdrop-filter: blur(20px) saturate(180%);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.02);
}

.header__nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.header__nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-gray-light);
    transition: color 0.3s ease;
}

.header__nav-link:hover {
    color: var(--accent-primary);
}

.header__buttons {
    display: none;
    align-items: center;
    gap: 1rem;
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
}

.header__mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(29, 35, 42, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-light);
    display: none;
}

.header__mobile-menu.active {
    display: block;
}

.header__mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
}

.header__mobile-link {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-gray-light);
    transition: color 0.3s ease;
}

.header__mobile-link:hover {
    color: var(--accent-primary);
}

.header__mobile-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 2rem;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .header__nav {
        display: flex;
    }
    
    .header__buttons {
        display: flex;
    }
    
    .header__burger {
        display: none;
    }
}

/* СКРЫВАЕМ БУРГЕР НА МОБИЛКАХ (нижний бар вместо него) */
@media (max-width: 768px) {
    .header__burger {
        display: none !important;
    }
    
    .header__mobile-menu {
        display: none !important;
    }
}

/* ============= КНОПКИ ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-dark-primary);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-strong);
}

.btn-secondary {
    background-color: var(--bg-card);
    border: 2px solid var(--border-accent);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: var(--bg-card-hover);
}

/* ============= HERO СЕКЦИЯ ============= */
.hero {
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-dark-primary) 0%, var(--bg-dark-secondary) 100%);
}

.hero__content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero__title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-gray-light);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 4.5rem;
    }
}

/* ============= КАРТОЧКИ ============= */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.card__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.card__badge--news {
    background-color: var(--badge-news);
    color: var(--text-white);
}

.card__badge--guide {
    background-color: var(--badge-guide);
    color: var(--text-white);
}

.card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card__excerpt {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-gray-dark);
}

/* ============= GRID СИСТЕМЫ ============= */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============= СЕКЦИИ ============= */
.section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-gray-light);
    max-width: 42rem;
    margin: 0 auto;
}

/* ============= FOOTER ============= */
.footer {
    background-color: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-dark);
    padding: 3rem 0 2rem;
}

.footer__content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--text-gray-light);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--accent-primary);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============= АНИМАЦИИ ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-fadeInScale {
    animation: fadeInScale 0.3s ease-out forwards;
}

/* ============= RESPONSIVE УТИЛИТЫ ============= */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    
    .md\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }
    
    .lg\:hidden {
        display: none;
    }
}

/* ============= HERO BANNER ============= */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    margin-top: 80px; /* Отступ для header */
}

.hero-banner__slider {
    width: 100%;
    height: 600px;
}

.hero-banner__slide {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(29, 35, 42, 0.9) 0%, rgba(29, 35, 42, 0.3) 100%);
    z-index: 1;
}

.hero-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem 0;
    margin-top: 120px; /* Опускаем контент ниже */
    
    /* ФИКСАЦИЯ КОНТЕНТА */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 400px;
}

.hero-banner__title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
    
    /* ФИКСАЦИЯ ВЫСОТЫ */
    min-height: 120px;
    display: flex;
    align-items: center;
}

.hero-banner__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-gray-light);
    margin-bottom: auto; /* Автоматический отступ вниз */
    
    /* ФИКСАЦИЯ ВЫСОТЫ */
    min-height: 60px;
    display: flex;
    align-items: center;
}

.hero-banner .btn-primary,
.hero-banner__btn {
    padding: 0.875rem 1.75rem !important; /* Уменьшили */
    font-size: 0.9375rem !important;
    min-width: 200px !important;
    max-width: 250px !important;
    
    /* ФИКСАЦИЯ ПОЗИЦИИ */
    margin-top: 40px !important;
}

/* Навигация (стрелки) */
.hero-banner__navigation {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    margin-left: -570px; /* Чуть левее центра */
}

.hero-banner__arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%; /* Круглые */
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
}

.hero-banner__arrow:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.hero-banner__arrow.swiper-button-disabled {
    opacity: 0.15;
    cursor: not-allowed;
}

.hero-banner__arrow svg {
    width: 18px;
    height: 18px;
}

/* Индикаторы (точки) */
.hero-banner__pagination {
    position: absolute;
    bottom: 40px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    display: flex;
    gap: 0.75rem;
    width: auto !important;
}

.hero-banner__pagination .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0;
}

.hero-banner__pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-primary);
    width: 60px;
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-banner {
        min-height: 500px;
    }

    .hero-banner__slider {
        height: 500px;
    }

    .hero-banner__title {
        font-size: 2.25rem;
    }

    .hero-banner__subtitle {
        font-size: 1.125rem;
    }

    .hero-banner__navigation {
        margin-left: -450px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 550px;
        margin-top: 60px;
    }

    .hero-banner__slider {
        height: 550px;
    }

    .hero-banner__content {
        text-align: center;
        max-width: 100%;
        padding: 1rem;
        margin-top: 0; /* Убрали отступ сверху */
        
        /* ОПУСКАЕМ КОНТЕНТ ВНИЗ */
        min-height: 450px !important;
        justify-content: flex-end !important; /* Прижимаем к низу */
        padding-bottom: 20px !important; /* Отступ снизу */
    }

    .hero-banner__title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        min-height: auto !important; /* Убрали фикс высоты */
        margin-bottom: 16px !important;
        text-align: center !important; /* Центрируем */
    }

    .hero-banner__subtitle {
        font-size: 15px !important;
        line-height: 1.4 !important;
        min-height: auto !important; /* Убрали фикс высоты */
        margin-bottom: 24px !important; /* Фикс отступ до кнопки */
        text-align: center !important; /* Центрируем */
    }

    .hero-banner__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto !important; /* Центрируем кнопку */
        padding: 14px 28px !important;
        font-size: 15px !important;
    }

    /* Убираем стрелки на мобилке */
    .hero-banner__navigation {
        display: none;
    }

    .hero-banner__pagination {
        bottom: 60px; /* Поднимаем выше чтобы не перекрывало контент */
    }

    .hero-banner__pagination .swiper-pagination-bullet {
        width: 30px;
        height: 3px;
    }

    .hero-banner__pagination .swiper-pagination-bullet-active {
        width: 45px;
    }
}


/* Hero Banner - принудительные стили для стрелок */
.hero-banner__navigation .swiper-button-prev,
.hero-banner__navigation .swiper-button-next {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 24px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-banner__navigation .swiper-button-prev::after,
.hero-banner__navigation .swiper-button-next::after {
    content: '' !important;
    display: none !important;
}

.hero-banner__navigation .swiper-button-prev:hover,
.hero-banner__navigation .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Hero Banner - фикс кликов по стрелкам */
.hero-banner__navigation {
    pointer-events: auto !important;
    z-index: 100 !important;
}

.hero-banner__navigation .swiper-button-prev,
.hero-banner__navigation .swiper-button-next {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 100 !important;
}

.hero-banner__navigation .swiper-button-disabled {
    pointer-events: none !important;
    opacity: 0.2 !important;
}

/* ============= WINS TICKER (бегущая строка выигрышей) ============= */
.wins-ticker {
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,
        rgba(0, 229, 255, 0.08) 0%,
        rgba(0, 229, 255, 0.03) 30%,
        rgba(0, 229, 255, 0.03) 70%,
        rgba(0, 229, 255, 0.08) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    position: relative;
    overflow: hidden;
    height: 56px;
}

/* Лейбл ВЫИГРЫШИ */
.wins-ticker__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-dark-primary);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.wins-ticker__label svg {
    flex-shrink: 0;
}

.wins-ticker__label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    bottom: 0;
    width: 12px;
    background: var(--accent-secondary);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Область прокрутки */
.wins-ticker__overflow {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.wins-ticker__overflow::before,
.wins-ticker__overflow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.wins-ticker__overflow::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark-primary) 0%, transparent 100%);
}

.wins-ticker__overflow::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-dark-primary) 0%, transparent 100%);
}

/* Дорожка — БЕЗ паузы при hover */
.wins-ticker__track {
    display: flex;
    gap: 0.75rem;
    animation: ticker-scroll 120s linear infinite;
    width: max-content;
    padding: 0 1rem;
}

/* Элемент выигрыша */
.wins-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.3rem 0.75rem 0.3rem 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Иконка-тир */
.wins-ticker__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 800;
    flex-shrink: 0;
    color: #fff;
}

.wins-ticker__icon--small {
    background: linear-gradient(135deg, #10B981, #059669);
}

.wins-ticker__icon--medium {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.wins-ticker__icon--large {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

.wins-ticker__icon--jackpot {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    animation: jackpot-pulse 2s ease-in-out infinite;
}

@keyframes jackpot-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.8); }
}

/* Ник */
.wins-ticker__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Сумма */
.wins-ticker__amount {
    font-size: 0.8125rem;
    font-weight: 800;
}

.wins-ticker__amount--small { color: #10B981; }
.wins-ticker__amount--medium { color: var(--accent-primary); }
.wins-ticker__amount--large { color: #F59E0B; text-shadow: 0 0 6px rgba(245, 158, 11, 0.2); }
.wins-ticker__amount--jackpot { color: #EF4444; text-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
    .wins-ticker {
        height: 44px;
    }

    .wins-ticker__label {
        padding: 0 0.75rem;
        font-size: 0.5rem;
        letter-spacing: 0.1em;
        gap: 0.25rem;
    }

    .wins-ticker__label svg {
        width: 10px;
        height: 10px;
    }

    .wins-ticker__label::after {
        right: -8px;
        width: 8px;
    }

    .wins-ticker__track {
        gap: 0.5rem;
        animation-duration: 80s;
    }

    .wins-ticker__item {
        padding: 0.2rem 0.5rem 0.2rem 0.3rem;
        gap: 0.35rem;
    }

    .wins-ticker__icon {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }

    .wins-ticker__name {
        font-size: 0.6875rem;
    }

    .wins-ticker__amount {
        font-size: 0.6875rem;
    }

    .wins-ticker__overflow::before,
    .wins-ticker__overflow::after {
        width: 30px;
    }
}

@media (max-width: 360px) {
    .wins-ticker__label span {
        display: none;
    }

    .wins-ticker__label {
        padding: 0 0.5rem;
    }
}

/* ============= UPCOMING MATCHES ============= */
.upcoming-matches {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(17, 24, 39, 0.8) 100%);
    position: relative;
}

.upcoming-matches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Match Card */
.match-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.match-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.match-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 229, 255, 0.4);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15),
                0 0 80px rgba(0, 229, 255, 0.1);
}

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

.match-card:hover::after {
    width: 600px;
    height: 600px;
}

.match-card > * {
    position: relative;
    z-index: 1;
}

/* Status Badge */
.match-card__status {
    display: inline-flex;
    align-self: flex-start;
}

.match-card__timer {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.match-card__status[data-status="upcoming"] .match-card__timer {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.match-card__status[data-status="live"] .match-card__timer {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: pulse-live 2s ease-in-out infinite;
}

.match-card__status[data-status="finished"] .match-card__timer {
    background: rgba(156, 163, 175, 0.1);
    color: var(--text-gray);
    border: 1px solid rgba(156, 163, 175, 0.2);
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Tournament Info */
.match-card__tournament {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-card__tournament-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9);
}

.match-card__tournament-name {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Teams */
.match-card__teams {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.match-card__team {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.match-card__team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
}

.match-card__team-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    flex: 1;
}

/* VS Separator — светящийся круг */
.match-card__vs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.vs-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}

.vs-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15),
                inset 0 0 8px rgba(0, 229, 255, 0.05);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.match-card:hover .vs-circle {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3),
                inset 0 0 12px rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.5);
    color: #fff;
    background: rgba(0, 229, 255, 0.15);
}

.match-card__score {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 0.05em;
}

/* Match Info */
.match-card__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.match-card__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.match-card__date svg {
    color: var(--accent-primary);
}

.match-card__format {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray-light);
    letter-spacing: 0.05em;
}

/* Button */
.match-card__btn {
    width: 100%;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 1280px) {
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .upcoming-matches {
        padding: 50px 0 30px; /* Уменьшили отступы */
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 2rem; /* Уменьшили */
    }

    .section-title {
        font-size: 1.5rem !important; /* Уменьшили с 2rem до 1.5rem */
        line-height: 1.2 !important;
        white-space: nowrap; /* Запрещаем перенос */
    }

    .matches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* КОМПАКТНАЯ КАРТОЧКА */
    .match-card {
        padding: 1rem !important; /* Уменьшили с 1.5rem */
        gap: 0.75rem !important; /* Уменьшили с 1rem */
    }

    .match-card__status {
        margin-bottom: -0.25rem; /* Убираем лишний отступ */
    }

    .match-card__timer {
        padding: 0.375rem 0.75rem !important; /* Уменьшили */
        font-size: 0.75rem !important; /* Уменьшили */
    }

    .match-card__tournament {
        padding-bottom: 0.75rem !important; /* Уменьшили с 1rem */
        gap: 0.5rem !important;
    }

    .match-card__tournament-logo {
        width: 20px !important; /* Уменьшили с 24px */
        height: 20px !important;
    }

    .match-card__tournament-name {
        font-size: 0.75rem !important; /* Уменьшили */
    }

    .match-card__teams {
        padding: 0.75rem 0 !important; /* Уменьшили с 1rem */
        gap: 0.75rem !important;
    }

    .match-card__team {
        gap: 0.75rem !important;
    }

    .match-card__team-logo {
        width: 36px !important; /* Уменьшили с 40px */
        height: 36px !important;
        padding: 0.375rem !important;
    }

    .match-card__team-name {
        font-size: 0.875rem !important; /* Уменьшили */
    }

     .match-card__vs {
        padding: 0.125rem 0 !important;
        gap: 0.5rem !important;
    }

    .vs-circle {
        width: 30px;
        height: 30px;
        font-size: 0.625rem;
    }

    .match-card__info {
        padding: 0.75rem 0 !important; /* Уменьшили с 1rem */
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .match-card__date {
        font-size: 0.75rem !important; /* Уменьшили */
        gap: 0.375rem !important;
    }

    .match-card__date svg {
        width: 14px !important;
        height: 14px !important;
    }

    .match-card__format {
        padding: 0.25rem 0.625rem !important; /* Уменьшили */
        font-size: 0.6875rem !important; /* Уменьшили */
    }

    .match-card__btn {
        padding: 0.75rem 1.25rem !important; /* Уменьшили */
        font-size: 0.8125rem !important;
        margin-top: 0.5rem !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .section-title {
        font-size: 1.375rem !important; /* Еще меньше для малых экранов */
    }

    .match-card {
        padding: 0.875rem !important;
    }

    .match-card__team-logo {
        width: 32px !important;
        height: 32px !important;
    }
}

/* LIVE Dot — пульсирующая точка */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
    vertical-align: middle;
}

.live-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: live-ping 1.5s ease-out infinite;
}

@keyframes live-ping {
    0% {
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        width: 24px;
        height: 24px;
        opacity: 0;
    }
}
```

То есть структура будет:
```
...
@media (max-width: 360px) {
    .match-card__team-logo { ... }
}

/* LIVE Dot — пульсирующая точка */     ← ВСТАВЛЯЕШЬ СЮДА
.live-dot { ... }
...

/* ============= ARTICLES SECTION ============= */
.articles {
    padding: 80px 0;
    background: var(--bg-primary);
}

.section-header__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header__icon {
    color: var(--accent-primary);
}

/* Filters */
.articles-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.articles-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.articles-filter svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.articles-filter:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.articles-filter.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

.articles-filter.active svg {
    transform: rotate(360deg);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Featured Article (Large) */
.article-card--featured {
    grid-column: 1 / -1;
    grid-row: span 2;
}

/* Article Card */
.article-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    backdrop-filter: blur(10px);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

/* Featured Card Specific */
.article-card--featured {
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

.article-card--featured .article-card__image {
    flex: 1;
    min-height: 500px;
}

.article-card--featured .article-card__content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card--featured .article-card__title {
    font-size: 2rem;
    line-height: 1.3;
}

.article-card--featured .article-card__description {
    font-size: 1rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Small Card Specific */
.article-card--small {
    display: flex;
    flex-direction: row;
    height: 340px; /* УВЕЛИЧИЛИ до 340px */
    position: relative;
}

.article-card--small .article-card__image {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
}

.article-card--small .article-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.article-card--small .article-card__title {
    font-size: 1.125rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card--small .article-card__description {
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* УВЕЛИЧИЛИ до 4 строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card--small .article-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

/* Article Card Elements */
.article-card__image {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.article-card__category--news {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.article-card__category--guides {
    background: rgba(139, 92, 246, 0.9);
    color: white;
}

.article-card__category--tournaments {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.article-card__content {
    position: relative;
    z-index: 1;
}

.article-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-card__description {
    color: var(--text-gray-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.article-card__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-card__time,
.article-card__views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.article-card__time svg,
.article-card__views svg {
    color: var(--accent-primary);
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: gap 0.3s ease;
}

.article-card__link:hover {
    gap: 0.75rem;
}

/* Small card link */
.article-card__link-small {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: gap 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 15;
}

.article-card__link-small:hover {
    gap: 0.625rem;
}

.article-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card--featured {
        flex-direction: column;
        min-height: auto;
    }

    .article-card--featured .article-card__image {
        height: 300px;
        min-height: auto;
    }

    .article-card--featured .article-card__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .articles {
        padding: 60px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .articles-filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .articles-filter {
        white-space: nowrap;
    }

    .article-card--featured .article-card__content {
        padding: 1.5rem;
    }

    .article-card--featured .article-card__title {
        font-size: 1.5rem;
    }

    .article-card--featured .article-card__description {
        font-size: 1rem;
    }

    .article-card--small {
        flex-direction: column;
        height: auto;
    }

    .article-card--small .article-card__image {
        width: 100%;
        height: 200px;
    }

    .article-card__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============= ABOUT US SECTION ============= */
.about-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-us__content {
    max-width: 600px;
}

.about-us__title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.about-us__subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.about-us__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray-light);
    margin-bottom: 2.5rem;
}

.about-us__text strong {
    font-weight: 700;
    color: var(--text-white);
}

.about-us__text--final {
    margin-bottom: 0;
    margin-top: 2.5rem;
}

/* Features */
.about-us__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
}

.about-us__feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.about-us__feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(8px);
}

.about-us__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all 0.4s ease;
}

.about-us__feature:hover .about-us__feature-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: rotate(5deg) scale(1.1);
}

.about-us__feature-content {
    flex: 1;
}

.about-us__feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.about-us__feature-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Image */
.about-us__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-us__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.about-us__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-us__image:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-us__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-us__image {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-us__content {
        max-width: 100%;
    }

    .about-us__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 60px 0;
    }

    .about-us__title {
        font-size: 2rem;
    }

    .about-us__subtitle {
        font-size: 1.125rem;
    }

    .about-us__text {
        font-size: 1rem;
    }

    .about-us__feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-us__feature-icon {
        margin: 0 auto;
    }
}

/* ============= MOBILE MENU ============= */
.mobile-menu {
    display: none; /* Скрыто на десктопе */
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(29, 35, 42, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.75rem 0;
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.375rem;
        padding: 0.5rem 1rem;
        color: var(--text-gray);
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .mobile-menu__item svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .mobile-menu__item span {
        font-size: 0.6875rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .mobile-menu__item:active,
    .mobile-menu__item.active {
        color: var(--accent-primary);
        background: rgba(0, 229, 255, 0.1);
    }

    /* Добавляем padding снизу для контента, чтобы меню не перекрывало */
    body {
        padding-bottom: 80px;
    }
}

/* ============= AUTH MODALS ============= */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal.active {
    display: flex;
}

.auth-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-modal__content {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(20, 30, 45, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.auth-modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.auth-modal__close:hover {
    color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.1);
    transform: rotate(90deg);
}

.auth-modal__title {
    font-size: 1.75rem;
    font-weight: 900;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form__input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.auth-form__input::placeholder {
    color: var(--text-gray);
}

.auth-form__input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.auth-form__button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.auth-form__button:hover {
    background: #00d4e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

.auth-form__button:active {
    transform: translateY(0);
}

.auth-form__footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

.auth-form__link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-form__link:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-modal__content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .auth-modal__title {
        font-size: 1.5rem;
    }
}

/* ========================================
   СТРАНИЦА СТАТЬИ
   ======================================== */

.article-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0e1a 0%, #1a1f2e 100%);
    padding: 140px 20px 60px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Категория плашка */
.article-category {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
    border: 1px solid rgba(0, 229, 255, 0.3);
    letter-spacing: 0.5px;
}

.article-category.news {
    background: rgba(255, 59, 48, 0.1);
    color: #FF3B30;
    border-color: rgba(255, 59, 48, 0.3);
}

.article-category.guides {
    background: rgba(52, 199, 89, 0.1);
    color: #34C759;
    border-color: rgba(52, 199, 89, 0.3);
}

.article-category.tournaments {
    background: rgba(255, 159, 10, 0.1);
    color: #FF9F0A;
    border-color: rgba(255, 159, 10, 0.3);
}

/* Заголовок статьи */
.article-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 32px 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Изображение статьи */
.article-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.article-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 48px;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h1 {
    font-size: 36px;
}

.article-content h2 {
    font-size: 32px;
}

.article-content h3 {
    font-size: 24px;
    color: #00E5FF;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content b,
.article-content strong {
    color: #00E5FF;
    font-weight: 700;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content a {
    color: #00E5FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #ffffff;
    border-bottom-color: #00E5FF;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    background: rgba(0, 229, 255, 0.05);
    border-left: 4px solid #00E5FF;
    border-radius: 8px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.article-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #00E5FF;
}

.article-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Футер статьи: кнопка и мета рядом */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Мета информация (справа) */
.article-meta {
    display: flex;
    gap: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Кнопка назад (слева) */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #00E5FF;
    color: #0a0e1a;
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

/* Статья не найдена */
.article-not-found {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.article-not-found h1 {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 16px;
}

.article-not-found p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    margin-bottom: 32px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-page {
        padding: 100px 16px 40px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 24px;
    }
    
    .article-content {
        font-size: 15px;
    }
}

/* ========================================
   ФУТЕР
   ======================================== */

.footer {
    background: linear-gradient(180deg, #0a0e1a 0%, #050812 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00E5FF 50%, transparent);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00E5FF;
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Социальные сети */
.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: #00E5FF;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #00E5FF;
    color: #0a0e1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.3);
}

/* Ссылки */
.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__links a:hover {
    color: #00E5FF;
    transform: translateX(5px);
}

/* Контакты */
.footer__contacts {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer__contacts svg {
    flex-shrink: 0;
    color: #00E5FF;
}

.footer__payment-icons img {
    height: auto;
    width: 60px; /* Фиксированная ширина вместо высоты */
    max-height: 32px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.footer__payment-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer__payment-icons img {
    height: 32px; /* Увеличил с 24px до 32px */
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    object-fit: contain; /* Сохраняет пропорции */
}

.footer__payment-icons img:hover {
    opacity: 1;
}

/* Если нужна точная настройка каждой иконки */
.footer__payment-icons img:nth-child(1) { /* МИР */
    height: 18px;
}

.footer__payment-icons img:nth-child(2) { /* VISA */
    height: 100px;
}

.footer__payment-icons img:nth-child(3) { /* MasterCard или PCI */
    height: 100px;
}

/* Юридическая информация (раскрывающийся блок) */
.footer__legal-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__legal-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer__legal-toggle:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.2);
    color: #00E5FF;
}

.footer__legal-toggle svg {
    transition: transform 0.3s ease;
}

.footer__legal-toggle.active svg {
    transform: rotate(180deg);
}

.footer__legal-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 20px;
}

.footer__legal-content.active {
    max-height: 2000px;
    padding: 20px;
}

.footer__legal-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}
/* Адаптивность футера для мобильных */
@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__column {
        width: 100%;
    }
    
    /* Компактные списки ссылок для РАЗДЕЛЫ и ДОКУМЕНТЫ */
    .footer__links {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 колонки */
        gap: 8px 16px; /* Уменьшил отступы */
    }
    
    .footer__links li {
        margin-bottom: 0; /* Убрал нижний отступ */
    }
}
/* ============================================
   НИЖНИЙ БАР (MOBILE MENU) - ИСПРАВЛЕННЫЙ
   ============================================ */

.mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(29, 35, 42, 0.95) 0%, rgba(29, 35, 42, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 6px 4px; /* Уменьшили с 8px 0 */
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* Показываем только на мобилках */
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
  
  /* Прячем бургер-меню на мобилках */
  .header__burger,
  .header__mobile-menu {
    display: none !important;
  }
}

/* Кнопки - АДАПТИВНЫЕ */
.mobile-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px; /* Уменьшили с 4px */
  padding: 4px 6px; /* Уменьшили с 8px 12px */
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  border-radius: 8px; /* Уменьшили с 12px */
  position: relative;
  flex: 1; /* Кнопки занимают равное пространство */
  max-width: 70px; /* Ограничиваем ширину */
}

.mobile-menu__item svg {
  width: 22px; /* Оставили размер иконки */
  height: 22px;
  transition: all 0.3s ease;
  flex-shrink: 0; /* Иконка не сжимается */
}

.mobile-menu__item span {
  font-size: 9px; /* Уменьшили с 11px */
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Активная кнопка */
.mobile-menu__item.active,
.mobile-menu__item:active {
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.1);
}

.mobile-menu__item:hover {
  color: #00E5FF;
}

/* Заблокированные кнопки */
.mobile-menu__item--locked {
  opacity: 0.6;
}

.mobile-menu__lock {
  position: absolute;
  top: 4px; /* Уменьшили с 6px */
  right: 6px; /* Уменьшили с 8px */
  font-size: 8px; /* Уменьшили с 10px */
  opacity: 0.8;
}

/* Для ОЧЕНЬ маленьких экранов */
@media (max-width: 360px) {
  .mobile-menu__item {
    padding: 4px 4px;
    max-width: 60px;
  }
  
  .mobile-menu__item svg {
    width: 20px;
    height: 20px;
  }
  
  .mobile-menu__item span {
    font-size: 8px;
  }
}
/* ===== МОБИЛЬНЫЙ HEADER С НИКНЕЙМОМ ===== */
@media (max-width: 768px) {
  /* ПОКАЗЫВАЕМ блок с пользователем на мобилке */
  .header__buttons {
    display: flex !important;
  }
  
  .header__user-info {
    display: flex !important;
    gap: 0 !important;
  }
  
  .header__user-simple {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  
  /* Скрываем кнопки ВХОД/РЕГИСТРАЦИЯ на мобилке */
  .header__buttons > .btn-secondary,
  .header__buttons > .btn-primary {
    display: none !important;
  }
  
  /* Скрываем кнопку "Личный кабинет" внутри user-info */
  .header__user-info > .btn {
    display: none !important;
  }
}
/* ===== Нижний бар ЛК (мобайл) ===== */
.mobile-menu-lk {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(29,35,42,.95) 0%, rgba(29,35,42,.98) 100%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,229,255,.12);
  display: none; flex-direction: row; justify-content: space-around;
  padding: 8px 4px; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
@media (max-width: 768px) { .mobile-menu-lk { display: flex; } }
.mobile-menu-lk__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 6px; text-decoration: none; color: rgba(255,255,255,.6);
  transition: all .3s ease; border-radius: 8px; flex: 1; max-width: 74px; min-height: 48px;
}
.mobile-menu-lk__item svg { width: 22px; height: 22px; }
.mobile-menu-lk__item span { font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.mobile-menu-lk__item.active { color: #00E5FF; background: rgba(0,229,255,.12); }