:root {
    --bg-primary: #0F0F0F;
    --bg-secondary: #1A1A1A;
    --accent: #FFD700;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* 🔥 ИСПРАВЛЕНИЕ: Убираем блокировку скролла body */
body.menu-open {
    overflow: hidden;
}

/* Стили для акцентных элементов */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #FFC107);
    color: var(--bg-primary);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFC107, var(--accent));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.text-accent {
    color: var(--accent);
}

.border-accent {
    border-color: var(--accent);
}

/* Стили для меню */
.header-menu a {
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.header-menu a:hover {
    color: var(--accent);
}

.header-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-menu a:hover::after {
    width: 100%;
}

/* Стили для карточек игр */
.game-card {
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.game-image {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

/* Стили для слайдера */
.swiper-button-next, .swiper-button-prev {
    color: var(--accent);
    background: linear-gradient(135deg, var(--bg-secondary), #2a2a2a);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 🔥 ЛЕВЫЙ САЙДБАР (МЕНЮ) */
.left-sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100vh - 80px);
    width: 250px;
    background: linear-gradient(to bottom, var(--bg-secondary), #252525);
    z-index: 30;
    overflow-y: auto;
    padding-bottom: 120px;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
}

/* 🔥 ПРАВЫЙ САЙДБАР (КУПОН) */
.right-sidebar {
    position: fixed;
    right: 0;
    top: 80px;
    height: calc(100vh - 80px);
    width: 320px;
    background: linear-gradient(to bottom, var(--bg-secondary), #252525);
    z-index: 30;
    overflow-y: auto;
    padding-bottom: 120px;
    border-left: 1px solid rgba(255, 215, 0, 0.1);
}

/* Скрываем сайдбары на мобильных, показываем только на десктопе */
.left-sidebar, .right-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .left-sidebar, .right-sidebar {
        display: block;
    }
}

/* Основной контент - смещен с обоих сторон */
.main-content {
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 1024px) {
    .main-content {
        margin-left: 250px;
        margin-right: 320px;
    }
}

/* 🔥 ПРАВИЛЬНЫЙ ФУТЕР - по ширине основного контента */
.footer-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 1024px) {
    .footer-container {
        margin-left: 250px;
        margin-right: 320px;
        width: calc(100% - 250px - 320px);
    }
}

/* Стили для блока купона */
.coupon-box {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 20px;
}

.coupon-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-empty {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
}

.coupon-empty i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.coupon-bonus {
    background: linear-gradient(135deg, var(--accent), #FFC107);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: var(--bg-primary);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.coupon-bonus::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.bonus-percent {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.bonus-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bonus-button {
    background-color: var(--bg-primary);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.bonus-button:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Стили для футера */
.footer-link {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* 🔥 ИСПРАВЛЕННОЕ МОБИЛЬНОЕ МЕНЮ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(to bottom, var(--bg-secondary), #252525);
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* 🔥 Оверлей для мобильного меню */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 45;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Стили для иконок видов спорта */
.sport-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border-radius: 10px;
    background-color: rgba(48, 48, 47, 0.5);
    transition: all 0.3s ease;
}

.sport-icon:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-3px) scale(1.05);
}

.sport-icon i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--accent);
}

/* Прогресс бар для игр */
.progress-bar {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Гарантируем, что футер будет виден */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content-wrapper {
    flex: 1;
}

/* Стили для навигации в левом сайдбаре */
.sidebar-nav {
    padding: 20px;
}

.sidebar-nav h3 {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 10px;
}

.sidebar-nav ul {
    list-style: none;
    margin-bottom: 20px;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    color: var(--text-secondary);
    padding: 8px 10px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    color: var(--accent);
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

/* Кнопка в левом сайдбаре */
.sidebar-btn {
    background: linear-gradient(135deg, var(--accent), #FFC107);
    color: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: block;
    margin: 20px;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: linear-gradient(135deg, #FFC107, var(--accent));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Стили для баннерного слайдера */
.bannerSwiper {
    width: 100%;
    height: auto;
}

.bannerSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.bannerSwiper .swiper-slide > a {
    width: 100%;
    display: block;
}

.bannerSwiper .swiper-slide > a > div {
    width: 100%;
    margin: 0;
}

.bannerSwiper .swiper-slide img {
    transition: transform 8s ease;
    width: 100%;
    height: 100%;
    display: block;
}

.bannerSwiper .swiper-slide-active img {
    transform: scale(1.03);
}

/* Адаптивные отступы */
@media (min-width: 768px) {
    .bannerSwiper .swiper-slide > a > div {
        width: calc(100% - 32px);
        margin: 0 auto;
        background: transparent !important;
    }
}

@media (min-width: 1024px) {
    .bannerSwiper .swiper-slide > a > div {
        width: calc(100% - 64px);
    }
}

@media (min-width: 1280px) {
    .bannerSwiper .swiper-slide > a > div {
        width: calc(100% - 128px);
    }
}

/* Стили для навигационных кнопок слайдера */
.swiper-button-next-banner,
.swiper-button-prev-banner {
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    opacity: 0.9;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.swiper-button-next-banner:hover,
.swiper-button-prev-banner:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, var(--bg-secondary), #2a2a2a);
}

/* Пагинация */
.swiper-pagination-banner {
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.swiper-pagination-banner .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-banner .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.swiper-pagination-banner .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
    transform: scale(1.2);
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .bannerSwiper .swiper-slide > a > div {
        border-radius: 0;
        width: 100%;
    }
    
    .bannerSwiper .swiper-slide img {
        object-fit: contain;
        padding: 0;
    }
    
    .swiper-pagination-banner {
        bottom: 15px !important;
        padding: 4px 8px;
    }
    
    .swiper-pagination-banner .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
    
    .swiper-progress-bar {
        display: none;
    }
    
    .swiper-button-next-banner,
    .swiper-button-prev-banner {
        display: none !important;
    }
}

/* Для очень маленьких экранов (смартфоны) */
@media (max-width: 480px) {
    .bannerSwiper .swiper-slide > a > div {
        height: 45vw;
        min-height: 180px;
        max-height: 220px;
    }
    
    .swiper-pagination-banner {
        bottom: 10px !important;
    }
}

/* Для маленьких смартфонов */
@media (max-width: 375px) {
    .bannerSwiper .swiper-slide > a > div {
        min-height: 160px;
        max-height: 200px;
    }
}

/* Плавная анимация для всех элементов */
.bannerSwiper * {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Декоративная тень для слайдов на десктопе */
@media (min-width: 768px) {
    .bannerSwiper .swiper-slide > a > div {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        transition: box-shadow 0.3s ease;
        background: transparent;
    }
    
    .bannerSwiper .swiper-slide-active > a > div {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }
    
    .bannerSwiper .swiper-slide img {
        object-fit: cover;
    }
}
/* Стили для квадратных изображений слотов */
.slot-image {
    height: 160px;
    width: 100%;
    object-fit: contain;
    background-color: rgba(48, 48, 47, 0.3);
    padding: 10px;
    border-radius: 8px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .slot-image {
        height: 140px;
    }
}
/* КВАДРАТНЫЕ ИЗОБРАЖЕНИЯ ДЛЯ СЛОТОВ */
.slot-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(135deg, rgba(48, 48, 47, 0.4), rgba(28, 29, 28, 0.6));
    border-radius: 8px;
    overflow: hidden;
}

.slot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 8px;
    transition: transform 0.5s ease;
}

.game-card:hover .slot-image {
    transform: scale(1.05);
}

/* СТИЛИ ДЛЯ JACKPOT СЛОТОВ */
#jackpot-slots .game-card {
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

#jackpot-slots .game-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

/* СТИЛИ ДЛЯ ЛАЙВ КАЗИНО */
.live-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(135deg, rgba(28, 29, 28, 0.9), rgba(48, 48, 47, 0.9));
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.live-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent), #FFC107);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.live-play-btn {
    background: linear-gradient(135deg, var(--accent), #FFC107);
    color: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

/* Ховер эффекты для лайв игр */
.game-card:hover .live-image {
    transform: scale(1.08);
}

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

.game-card:hover .live-play-btn {
    transform: translateY(0) scale(1.1);
}

/* СТИЛИ ДЛЯ CRASH ИГР */
.crash-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(135deg, rgba(28, 29, 28, 0.9), rgba(48, 48, 47, 0.9));
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.crash-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.crash-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.crash-play-btn {
    background: linear-gradient(135deg, var(--accent), #FFC107);
    color: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.crash-play-btn:hover {
    background: linear-gradient(135deg, #FFC107, var(--accent));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

/* Ховер эффекты для crash игр */
#crash .game-card:hover .crash-image {
    transform: scale(1.08);
}

/* СТИЛИ ДЛЯ ГОРИЗОНТАЛЬНОГО СЛАЙДЕРА КАТЕГОРИЙ */
.categoriesSwiper {
    padding: 4px 0;
    overflow: visible !important;
}

.categoriesSwiper .swiper-slide {
    width: auto !important;
}

.category-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 70px;
}

.category-slide:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.05));
    transform: translateY(-3px) scale(1.05);
}

.category-slide-image {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--bg-primary), #252525);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 6px;
    padding: 10px;
    transition: all 0.2s ease;
}

.category-slide:hover .category-slide-image {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1));
    transform: scale(1.1);
}

.category-slide-img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.2s ease;
    filter: brightness(0.9);
}

.category-slide:hover .category-slide-img {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.category-slide-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.category-slide:hover .category-slide-label {
    color: var(--accent);
    font-weight: 600;
}

/* Кнопки навигации */
.swiper-button-prev-categories,
.swiper-button-next-categories {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--bg-primary), #252525) !important;
    border-radius: 50% !important;
    color: var(--text-primary) !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.swiper-button-prev-categories:hover,
.swiper-button-next-categories:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1)) !important;
    color: var(--accent) !important;
    transform: scale(1.15);
    border-color: rgba(255, 215, 0, 0.5);
}

.swiper-button-prev-categories:after,
.swiper-button-next-categories:after {
    content: none !important;
}

/* Активные классы для кнопок категорий */
.live-category-btn.active,
.crash-category-btn.active {
    background: linear-gradient(135deg, var(--accent), #FFC107) !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Адаптивность */
@media (max-width: 640px) {
    #jackpot-slots .flex.justify-between,
    #crash .flex.justify-between,
    #live-casino .flex.justify-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .category-slide {
        width: 60px;
    }
    
    .category-slide-image {
        width: 48px;
        height: 48px;
    }
}

/* Premium улучшения */
.prose.prose-invert h3 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.prose.prose-invert ul li {
    position: relative;
    padding-left: 20px;
}

.prose.prose-invert ul li:before {
    content: "▶";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 12px;
}

/* Градиентные тени */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}