/* ==============================================
   ТАЙНА ДНЯ - Главные стили сайта
   ============================================== */


/* ============= СБРОС И БАЗОВЫЕ СТИЛИ ============= */

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

:root {
    /* Цвета фона - тёмная мистика */
    --bg-dark-primary: #0F0817;
    --bg-dark-secondary: #1A0F2E;
    --bg-dark-tertiary: #2A1A4A;
    /* Алиасы для совместимости (раньше использовались --bg-primary, --bg-secondary) */
    --bg-primary: #0F0817;
    --bg-secondary: #1A0F2E;
    /* Акцентные цвета - золото и мистический фиолетовый */
    --accent-primary: #D4AF37;
    --accent-secondary: #B8941F;
    --accent-hover: #FFD700;
    --accent-light: rgba(212, 175, 55, 0.1);
    --accent-purple: #9D4EDD;
    --accent-purple-soft: rgba(157, 78, 221, 0.15);
    /* Цвета текста */
    --text-white: #F5F0E1;
    --text-gray-light: rgba(245, 240, 225, 0.85);
    --text-gray: rgba(245, 240, 225, 0.6);
    --text-gray-dark: rgba(245, 240, 225, 0.4);
    /* Цвета бейджей */
    --badge-news: #9D4EDD;
    --badge-guide: #D4AF37;
    --badge-tournament: #C77DFF;
    --badge-live: #FF3366;
    /* Системные цвета */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #D4AF37;
    /* Цвета карточек и границ */
    --bg-card: rgba(212, 175, 55, 0.03);
    --bg-card-hover: rgba(212, 175, 55, 0.06);
    --border-dark: rgba(212, 175, 55, 0.08);
    --border-light: rgba(212, 175, 55, 0.15);
    --border-accent: rgba(212, 175, 55, 0.3);
    --border-accent-bright: rgba(212, 175, 55, 0.6);
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-accent: 0 4px 20px rgba(212, 175, 55, 0.25);
    --shadow-accent-strong: 0 8px 40px rgba(212, 175, 55, 0.45);
}

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, #D4AF37, #FFD700);
    -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(15, 8, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    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(15, 8, 23, 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: #0F0817;
    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: #0F0817;
}

.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;
}

.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(15, 8, 23, 0.92) 0%, rgba(26, 15, 46, 0.4) 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(212, 175, 55, 0.05);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: rgba(245, 240, 225, 0.5);
}

.hero-banner__arrow:hover {
    background-color: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--accent-primary);
}

.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(245, 240, 225, 0.25);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0;
}

.hero-banner__pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-primary);
    width: 60px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}


/* 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(212, 175, 55, 0.05) !important;
    color: rgba(245, 240, 225, 0.5) !important;
    font-size: 24px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(212, 175, 55, 0.1) !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(212, 175, 55, 0.15) !important;
    color: var(--accent-primary) !important;
}

.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(212, 175, 55, 0.08) 0%, rgba(157, 78, 221, 0.04) 30%, rgba(157, 78, 221, 0.04) 70%, rgba(212, 175, 55, 0.08) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    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%);
}

.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(212, 175, 55, 0.05);
    border-radius: 100px;
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.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: #0F0817;
}

.wins-ticker__icon--small {
    background: linear-gradient(135deg, #9D4EDD, #7B2CBF);
    color: #fff;
}

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

.wins-ticker__icon--large {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

.wins-ticker__icon--jackpot {
    background: linear-gradient(135deg, #C77DFF, #9D4EDD);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
    animation: jackpot-pulse 2s ease-in-out infinite;
    color: #fff;
}

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

.wins-ticker__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(245, 240, 225, 0.7);
}

.wins-ticker__amount {
    font-size: 0.8125rem;
    font-weight: 800;
}

.wins-ticker__amount--small {
    color: #C77DFF;
}

.wins-ticker__amount--medium {
    color: var(--accent-primary);
}

.wins-ticker__amount--large {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

.wins-ticker__amount--jackpot {
    color: #9D4EDD;
    text-shadow: 0 0 10px rgba(157, 78, 221, 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(26, 15, 46, 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(212, 175, 55, 0.04) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(157, 78, 221, 0.05) 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(42, 26, 74, 0.6) 0%, rgba(26, 15, 46, 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(212, 175, 55, 0.12);
    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-purple));
    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(212, 175, 55, 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(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(42, 26, 74, 0.9) 0%, rgba(26, 15, 46, 0.7) 100%);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15), 0 0 80px rgba(157, 78, 221, 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(212, 175, 55, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.match-card__status[data-status="live"] .match-card__timer {
    background: rgba(157, 78, 221, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(157, 78, 221, 0.3);
    animation: pulse-live 2s ease-in-out infinite;
}

.match-card__status[data-status="finished"] .match-card__timer {
    background: rgba(245, 240, 225, 0.05);
    color: var(--text-gray);
    border: 1px solid rgba(245, 240, 225, 0.1);
}

@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(212, 175, 55, 0.08);
}

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

.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;
}

.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(212, 175, 55, 0.05);
    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;
    color: var(--accent-primary);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.vs-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 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(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15), inset 0 0 8px rgba(212, 175, 55, 0.05);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.match-card:hover .vs-circle {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 0 12px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.6);
    color: #FFD700;
    background: rgba(212, 175, 55, 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(212, 175, 55, 0.08);
}

.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(157, 78, 221, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-purple);
    letter-spacing: 0.05em;
}

.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;
        line-height: 1.2 !important;
        white-space: nowrap;
    }
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .match-card {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }
    .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;
        gap: 0.5rem !important;
    }
    .match-card__tournament-logo {
        width: 20px !important;
        height: 20px !important;
    }
    .match-card__tournament-name {
        font-size: 0.75rem !important;
    }
    .match-card__teams {
        padding: 0.75rem 0 !important;
        gap: 0.75rem !important;
    }
    .match-card__team {
        gap: 0.75rem !important;
    }
    .match-card__team-logo {
        width: 36px !important;
        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;
        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: var(--accent-purple);
    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: var(--accent-purple);
    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;
    }
}


/* ============= 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);
}

.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(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.1);
    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(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 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 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.article-card--featured {
    grid-column: 1 / -1;
    grid-row: span 2;
}

.article-card {
    background: linear-gradient(135deg, rgba(42, 26, 74, 0.6) 0%, rgba(26, 15, 46, 0.4) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    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(212, 175, 55, 0.06) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.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;
}

.article-card--small {
    display: flex;
    flex-direction: row;
    height: 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;
    -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__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--tarot {
    background: rgba(157, 78, 221, 0.85);
    color: white;
}

.article-card__category--horoscope {
    background: rgba(212, 175, 55, 0.85);
    color: #0F0817;
}

.article-card__category--astrology {
    background: rgba(0, 177, 197, 0.85);
    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;
    color: var(--accent-hover);
}

.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;
}

@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(212, 175, 55, 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;
}

.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(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.about-us__feature:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateX(8px);
}

.about-us__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 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);
}

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

.about-us__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 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);
}

@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;
    }
}


/* ============= 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.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-modal__content {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(42, 26, 74, 0.95) 0%, rgba(15, 8, 23, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(212, 175, 55, 0.1);
    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(212, 175, 55, 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 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form__input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    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(212, 175, 55, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.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: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 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;
    color: var(--accent-hover);
}

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

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

body.modal-open {
    overflow: hidden;
}

@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, #0F0817 0%, #1A0F2E 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(212, 175, 55, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
}

.article-category.news {
    background: rgba(157, 78, 221, 0.12);
    color: var(--accent-purple);
    border-color: rgba(157, 78, 221, 0.3);
}

.article-category.guides {
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-primary);
    border-color: rgba(212, 175, 55, 0.3);
}

.article-category.tournaments {
    background: rgba(199, 125, 255, 0.12);
    color: #C77DFF;
    border-color: rgba(199, 125, 255, 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.4);
}

.article-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

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

.article-content {
    color: rgba(245, 240, 225, 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: var(--accent-primary);
}

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

.article-content b,
.article-content strong {
    color: var(--accent-primary);
    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: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #ffffff;
    border-bottom-color: var(--accent-primary);
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
    font-style: italic;
    color: rgba(245, 240, 225, 0.85);
}

.article-content code {
    background: rgba(157, 78, 221, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: var(--accent-purple);
}

.article-content pre {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(212, 175, 55, 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(212, 175, 55, 0.15);
}

.article-meta {
    display: flex;
    gap: 24px;
    color: rgba(245, 240, 225, 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(212, 175, 55, 0.1);
    color: var(--accent-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--accent-primary);
    color: #0F0817;
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 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(245, 240, 225, 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, #0F0817 0%, #050308 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary) 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: var(--accent-primary);
}

.footer__text {
    color: rgba(245, 240, 225, 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(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: var(--accent-primary);
    color: #0F0817;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.footer__links a:hover {
    color: var(--accent-primary);
    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(245, 240, 225, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer__contacts svg {
    flex-shrink: 0;
    color: var(--accent-primary);
}


/* Платёжные иконки */

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

.footer__payment-icons img {
    height: 32px;
    width: auto;
    opacity: 0.85;
    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) {
    height: 100px;
}

.footer__payment-icons img:nth-child(3) {
    height: 100px;
}


/* Юридическая информация */

.footer__legal-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.footer__legal-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 8px;
    color: rgba(245, 240, 225, 0.85);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer__legal-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
    color: var(--accent-primary);
}

.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(245, 240, 225, 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;
        gap: 8px 16px;
    }
    .footer__links li {
        margin-bottom: 0;
    }
}


/* ============= НИЖНИЙ БАР (MOBILE MENU) ============= */

.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 8, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 6px 4px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }
    .header__burger,
    .header__mobile-menu {
        display: none !important;
    }
    /* Padding снизу чтобы меню не перекрывало контент */
    body {
        padding-bottom: 80px;
    }
}

.mobile-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 6px;
    text-decoration: none;
    color: rgba(245, 240, 225, 0.6);
    transition: all 0.3s ease;
    border-radius: 8px;
    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;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mobile-menu__item.active,
.mobile-menu__item:active {
    color: var(--accent-primary);
    background: rgba(212, 175, 55, 0.12);
}

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

.mobile-menu__item--locked {
    opacity: 0.6;
}

.mobile-menu__lock {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 8px;
    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;
    }
    .header__user-info>.btn {
        display: none !important;
    }
}