/* ================================
   АДАПТИВНЫЕ СТИЛИ
   ================================ */

/* Поддержка старых браузеров */
@media(min-width:768px) {
    .header {
        padding: 0 var(--container-padding);
    }

    .header__bar {
        padding: 0 var(--container-padding);
    }

    .header .header__button,
    .header .header__search {
        margin-right: 12px;
    }

    .top-menu__item {
        display: inline-block;
        margin-right: 25px;
        font-size: 13px;
        letter-spacing: 0.3px;
    }
}

/* Десктопные стили */
@media(min-width:1248px) {
    .header .header__menu {
        display: flex;
        align-items: center;
        gap: 30px;
        flex: 1;
        margin-left: 40px;
        color: var(--text-secondary);
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* Промежуточные большие экраны 1200px - 1600px */
@media (max-width: 1600px) and (min-width: 1200px) {
    :root {
        --container-padding: 50px;
    }
    
    .games-section {
        padding: 0 40px;
    }
    
    .game-filters {
        padding: 18px 40px;
        margin: 20px 0;
        gap: 14px;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .providers-dropdown {
        padding: 10px 16px;
        font-size: 13px;
    }

    .categories-dropdown-trigger {
        padding: 10px 16px;
        font-size: 13px;
    }

    .categories-dropdown-menu {
        min-width: 200px;
    }

    .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .promo-banner {
        width: calc((100vw - (2 * var(--container-padding)) - (3 * 24px)) / 4);
        max-width: 300px;
        min-width: 250px;
        padding: 25px;
    }
    
    .promo-image {
        width: 120px;
        height: 120px;
        margin-left: 15px;
        overflow: hidden;
        border-radius: var(--border-radius);
    }
    
    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Декоративные элементы для экранов до 1600px */
    .promo-decoration .admin-image-animation {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .promo-decoration .admin-promo-image {
        width: 120px;
        height: 120px;
        object-fit: cover;
        object-position: center;
    }
    
    .why-play-grid {
        padding: 0 50px;
        max-width: 1400px;
        margin: 50px auto 0;
    }
    
    .section-title-center {
        font-size: 1.2rem;
    }
    
    .section-subtitle-center {
        font-size: 0.75rem;
    }
    
    .why-play-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .why-play-card {
        width: calc((100vw - (2 * var(--container-padding)) - (3 * 16px)) / 4);
        max-width: 280px;
        min-width: 220px;
        padding: 18px 14px;
        min-height: 110px;
    }
    
    .why-play-card:hover {
        transform: none;
        box-shadow: none;
        background: rgb(59, 35, 75);
    }
    
    .why-play-card__header {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .why-play-card__icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .why-play-card__title {
        font-size: 0.8rem;
    }
    
    .why-play-card__description {
        font-size: 0.7rem;
    }

    /* Адаптивные стили для провайдеров */
    .provider-card {
        min-width: 120px;
        max-width: 120px;
        width: 120px;
        padding: 12px 16px;
        min-height: 50px;
    }

    .provider-logo {
        font-size: 12px;
    }
}

/* Средние экраны 900px - 1199px */
@media (max-width: 1199px) and (min-width: 900px) {
    :root {
        --container-padding: 40px;
    }
    
    .games-section {
        padding: 0 30px;
    }
    
    .game-filters {
        padding: 16px 30px;
        margin: 18px 0;
        gap: 12px;
    }
    
    .filter-tab {
        padding: 9px 14px;
        font-size: 12px;
    }
    
    .providers-dropdown {
        padding: 9px 14px;
        font-size: 12px;
    }

    .categories-dropdown-trigger {
        padding: 9px 14px;
        font-size: 12px;
    }

    .dropdown-item {
        padding: 9px 14px;
        font-size: 12px;
    }
    
    /* Показываем 3 баннера вместо 4 */
    .promo-banner {
        width: calc((100vw - (2 * var(--container-padding)) - (2 * 24px)) / 3);
        max-width: 320px;
        min-width: 260px;
        padding: 22px;
        min-height: 180px;
    }
    
    .promo-image {
        width: 120px;
        height: 120px;
        margin-left: 15px;
        overflow: hidden;
        border-radius: var(--border-radius);
    }
    
    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .promo-decoration .admin-image-animation {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .promo-decoration .admin-promo-image {
        width: 120px;
        height: 120px;
        object-fit: cover;
        object-position: center;
    }

    .why-play-card {
        width: calc((100vw - (2 * var(--container-padding)) - (2 * 16px)) / 3);
        max-width: 300px;
        min-width: 240px;
        padding: 18px 14px;
        min-height: 110px;
    }
    
    .why-play-card__icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .why-play-card__title {
        font-size: 0.8rem;
    }
    
    .why-play-card__description {
        font-size: 0.7rem;
    }
}

/* Небольшие экраны 769px - 899px */
@media (max-width: 899px) and (min-width: 769px) {
    :root {
        --container-padding: 30px;
    }
    
    .games-section {
        padding: 0 25px;
    }
    
    .game-filters {
        padding: 16px 25px;
        margin: 16px 0;
        gap: 12px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    /* Скрываем десктопную версию */
    .filter-tabs-desktop {
        display: none;
    }
    
    /* Показываем мобильную версию */
    .filter-tabs-mobile {
        display: block;
        flex: 1;
        min-width: 200px;
    }
    
    .providers-section {
        margin-left: auto;
        flex-shrink: 0;
        margin-top: 0;
    }
    
    .providers-dropdown {
        padding: 10px 14px;
        font-size: 12px;
    }

    .categories-dropdown-trigger {
        padding: 12px 16px;
        font-size: 13px;
    }

    .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .promo-banners {
        gap: 16px;
        padding: 0;
    }
    
    /* Показываем 2 баннера вместо 4 */
    .promo-banner {
        width: calc((100vw - (2 * var(--container-padding)) - 24px) / 2);
        max-width: 380px;
        min-width: 300px;
        min-height: 160px;
        padding: 18px;
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .promo-content {
        margin-right: 12px;
        margin-bottom: 0;
        order: 1;
    }
    
    .promo-image {
        width: 100px;
        height: 100px;
        margin-left: 12px;
        order: 2;
        margin-bottom: 0;
        overflow: hidden;
        border-radius: var(--border-radius);
    }
    
    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Декоративные элементы */
    .promo-decoration {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 35%;
        order: 2;
        margin-bottom: 0;
    }
    
    .promo-decoration .admin-image-animation {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .promo-decoration .admin-promo-image {
        width: 100px;
        height: 100px;
        object-fit: cover;
        object-position: center;
    }
    
    .promo-content .promo-label {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .promo-content .title {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.1;
    }
    
    .promo-btn {
        font-size: 10px;
        padding-bottom: 3px;
    }

    .why-play-card {
        width: calc((100vw - (2 * var(--container-padding)) - 16px) / 2);
        max-width: 350px;
        min-width: 280px;
        padding: 16px 12px;
        min-height: 100px;
    }
    
    .why-play-card__icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .why-play-card__title {
        font-size: 0.75rem;
    }
    
    .why-play-card__description {
        font-size: 0.65rem;
    }
    
    .why-play-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Планшеты */
@media (max-width: 768px) {
    :root {
        --container-padding: 30px;
    }
    
    .games-section {
        padding: 0 25px;
    }
    
    .game-filters {
        padding: 16px 25px;
        margin: 16px 0;
        gap: 12px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    /* Скрываем десктопную версию на планшетах */
    .filter-tabs-desktop {
        display: none;
    }
    
    /* Показываем мобильную версию на планшетах */
    .filter-tabs-mobile {
        display: block;
        flex: 1;
        min-width: 200px;
    }
    
    .providers-section {
        margin-left: auto;
        flex-shrink: 0;
        margin-top: 0;
    }
    
    .providers-dropdown {
        padding: 10px 14px;
        font-size: 12px;
    }

    .categories-dropdown-trigger {
        padding: 12px 16px;
        font-size: 13px;
    }

    .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .promo-banners {
        gap: 16px;
        padding: 0;
    }
    
    .promo-banner {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 600px;
        min-width: 400px;
        min-height: 140px;
        padding: 16px;
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .promo-content {
        margin-right: 15px;
        margin-bottom: 0;
        order: 1;
    }
    
    .promo-image {
        width: 100px;
        height: 100px;
        margin-left: 15px;
        order: 2;
        margin-bottom: 0;
        overflow: hidden;
        border-radius: var(--border-radius);
    }
    
    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Декоративные элементы на планшетах */
    .promo-decoration {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 35%;
        order: 2;
        margin-bottom: 0;
    }
    
    .promo-decoration .admin-image-animation {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .promo-decoration .admin-promo-image {
        width: 100px;
        height: 100px;
        object-fit: cover;
        object-position: center;
    }
    
    .promo-content .promo-label {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .promo-content .title {
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.1;
    }
    
    .promo-btn {
        font-size: 10px;
        padding-bottom: 3px;
    }
    
    .promo-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .promo-nav-arrow.prev {
        left: 8px;
    }
    
    .promo-nav-arrow.next {
        right: 8px;
    }
    
    .hero-banner .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .floating-cards {
        width: 200px;
        height: 200px;
    }
    
    .card-item {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .section-title-center {
        font-size: 1.1rem;
    }
    
    .section-subtitle-center {
        font-size: 0.7rem;
    }
    
    .why-play-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px;
    }
    
    .why-play-card {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 500px;
        min-width: 300px;
        padding: 16px 12px;
        min-height: 100px;
    }
    
    .why-play-card__icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .why-play-card__title {
        font-size: 0.75rem;
    }
    
    .why-play-card__description {
        font-size: 0.65rem;
    }
    
    .why-play-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Адаптивные стили для провайдеров на планшетах */
    .provider-card {
        min-width: 100px;
        max-width: 100px;
        width: 100px;
        padding: 10px 14px;
        min-height: 45px;
    }

    .provider-logo {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    .games-grid {
        gap: 12px;
        padding-right: 20px;
    }

    .games-grid.no-slider {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .game-card {
        min-width: 140px;
        max-width: 140px;
        width: 140px;
        flex-shrink: 0;
    }

    .game-image {
        height: 140px;
    }

    /* Стили для провайдеров на мобильных */
    .provider-card {
        min-width: 80px;
        max-width: 80px;
        width: 80px;
        padding: 8px 10px;
        min-height: 40px;
    }

    .provider-logo {
        font-size: 10px;
        letter-spacing: 0.2px;
    }

    /* Слайдер провайдеров на мобильных */
    .providers-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        padding-bottom: 10px;
        margin-bottom: 10px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .providers-grid::-webkit-scrollbar {
        height: 4px;
    }

    .providers-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .providers-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    .providers-grid .provider-card {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 20px;
    }
    
    .games-section {
        padding: 0 15px;
    }
    
    .game-filters {
        padding: 14px 15px;
        margin: 14px 0;
        gap: 10px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    /* Скрываем десктопную версию на мобильных */
    .filter-tabs-desktop {
        display: none;
    }
    
    /* Показываем мобильную версию на мобильных */
    .filter-tabs-mobile {
        display: block;
        flex: 1;
        min-width: 150px;
    }
    
    .providers-section {
        margin-left: auto;
        flex-shrink: 0;
        margin-top: 0;
        gap: 8px;
    }
    
    .providers-dropdown {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 20px;
    }

    .categories-dropdown-trigger {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 20px;
    }

    .dropdown-item {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .promo-banners {
        gap: 12px;
        padding: 0;
    }
    
    .promo-banner {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 450px;
        min-width: 320px;
        padding: 12px;
        min-height: 120px;
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .promo-content {
        margin-right: 10px;
        margin-bottom: 0;
        order: 1;
    }
    
    .promo-image {
        width: 80px;
        height: 80px;
        margin-left: 10px;
        margin-bottom: 0;
        overflow: hidden;
        border-radius: var(--border-radius);
        order: 2;
    }
    
    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Декоративные элементы на мобильных */
    .promo-decoration {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 35%;
        order: 2;
        margin-bottom: 0;
    }
    
    .promo-decoration .admin-image-animation {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .promo-decoration .admin-promo-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        object-position: center;
    }
    
    .promo-content .promo-label {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .promo-content .title {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.1;
    }
    
    .promo-btn {
        font-size: 9px;
        padding-bottom: 2px;
    }
    
    .promo-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(139, 92, 246, 0.9);
        border: 2px solid rgba(139, 92, 246, 1);
    }
    
    .promo-nav-arrow:hover {
        background: rgba(139, 92, 246, 1);
        transform: translateY(-50%) scale(1.05);
    }
    
    .promo-nav-arrow.prev {
        left: 6px;
    }
    
    .promo-nav-arrow.next {
        right: 6px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .section-title-center {
        font-size: 1.1rem;
    }
    
    .section-subtitle-center {
        font-size: 0.7rem;
    }
    
    .why-play-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 15px;
    }
    
    .why-play-card {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 400px;
        min-width: 280px;
        padding: 14px 12px;
        min-height: 90px;
    }
    
    .why-play-card__icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .why-play-card__title {
        font-size: 0.7rem;
    }
    
    .why-play-card__description {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .why-play-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(139, 92, 246, 0.9);
        border: 2px solid rgba(139, 92, 246, 1);
    }
    
    .why-play-nav-arrow:hover {
        background: rgba(139, 92, 246, 1);
        transform: translateY(-50%) scale(1.05);
    }
    
    .why-play-nav-arrow.prev {
        left: 6px;
    }
    
    .why-play-nav-arrow.next {
        right: 6px;
    }

    /* Адаптивные стили для провайдеров на мобильных */
    .provider-card {
        min-width: 90px;
        max-width: 90px;
        width: 90px;
        padding: 8px 12px;
        min-height: 40px;
    }

    .provider-logo {
        font-size: 10px;
        letter-spacing: 0.2px;
    }

    /* Принудительно включаем скроллинг для провайдеров */
    .providers-grid {
        display: flex !important;
        gap: 10px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 12px;
        margin-bottom: 12px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .providers-grid::-webkit-scrollbar {
        height: 4px;
    }

    .providers-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .providers-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    .providers-grid .provider-card {
        flex-shrink: 0;
    }

    /* СКРЫВАЕМ СТРЕЛОЧКИ СЛАЙДЕРОВ НА МОБИЛЬНЫХ */
    /* Скрываем контролы слайдера игр на мобильных */
    .games-section .slider-controls {
        display: none !important;
    }
    
    /* Скрываем контролы слайдера провайдеров на мобильных */
    .providers-section-main .slider-controls {
        display: none !important;
    }

    /* Принудительно включаем скроллинг для игр */
    .games-grid {
        display: flex !important;
        gap: 10px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 12px;
        margin-bottom: 12px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .games-grid::-webkit-scrollbar {
        height: 4px;
    }

    .games-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .games-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    .games-grid.no-slider {
        display: flex !important;
        gap: 10px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 12px;
        margin-bottom: 12px;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .game-card {
        min-width: 120px;
        max-width: 120px;
        width: 120px;
        flex-shrink: 0;
    }

    .game-image {
        height: 120px;
    }

    /* СКРЫВАЕМ СТРЕЛОЧКИ СЛАЙДЕРОВ НА МОБИЛЬНЫХ */
    /* Скрываем контролы слайдера игр на мобильных */
    .games-section .slider-controls {
        display: none !important;
    }
    
    /* Скрываем контролы слайдера провайдеров на мобильных */
    .providers-section-main .slider-controls {
        display: none !important;
    }
    
    /* Принудительно включаем скроллинг для игр */
    .games-grid {
        display: flex !important;
        gap: 10px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 12px;
        margin-bottom: 12px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .games-grid::-webkit-scrollbar {
        height: 4px;
    }

    .games-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .games-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    /* Принудительно включаем скроллинг для провайдеров */
    .providers-grid {
        display: flex !important;
        gap: 10px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 12px;
        margin-bottom: 12px;
        padding-right: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .providers-grid::-webkit-scrollbar {
        height: 4px;
    }

    .providers-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .providers-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    .providers-grid .provider-card {
        flex-shrink: 0;
    }
}

/* ================================
   WELCOME SECTION (About Page) - Enhanced Typography
   ================================ */
.welcome-section {
    margin: 32px 0;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

.welcome-content {
    background: rgb(59, 35, 75);
    border-radius: var(--border-radius-large);
    padding: 40px 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 140px;
    box-shadow: none;
    transition: none;
}

.welcome-content::before {
    display: none;
}

.welcome-content:hover::before {
    display: none;
}

.welcome-content:hover {
    transform: none;
    box-shadow: none;
}

.welcome-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    margin-right: 40px;
    max-width: 80%;
}

/* Enhanced Typography for Welcome Title - Design System Approach */
.welcome-title {
    /* Fluid typography using design system variables */
    font-size: var(--font-size-4xl); /* 28px - 36px responsive */
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-lg); /* 16px - consistent spacing */
    line-height: var(--line-height-tight); /* Optimal for headlines */
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider); /* Better scaling */
    
    /* Enhanced text rendering */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* Better text wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

.welcome-subtitle {
    display: none;
}

/* Enhanced Typography for Welcome Description - Design System Approach */
.welcome-description {
    color: var(--text-secondary);
    
    /* Responsive body text using design system variables */
    font-size: var(--font-size-base); /* 14px - 16px responsive */
    line-height: var(--line-height-relaxed); /* Optimal reading line height */
    margin: 0;
    
    /* Enhanced spacing and readability using design system */
    max-width: var(--measure-base); /* Optimal reading line length */
    
    /* Better text rendering */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* Enhanced text wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    white-space: normal;
}

.welcome-visual {
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.welcome-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    animation: none;
}

/* Enhanced Responsive Typography - Tablet Breakpoint */
@media (max-width: 768px) {
    .welcome-content {
        flex-direction: column;
        text-align: center;
        padding: var(--space-4xl) var(--space-3xl); /* 40px 32px - better breathing room */
        min-height: 120px;
    }
    
    .welcome-text {
        margin-right: 0;
        margin-bottom: var(--space-xl); /* 20px - consistent spacing */
        align-items: center;
        max-width: 100%;
    }
    
    .welcome-visual {
        width: 160px; /* Slightly larger on tablets */
        height: 160px;
    }
    
    .welcome-title {
        /* Tablet-specific typography using design system */
        font-size: var(--font-size-3xl); /* 24px - 28px responsive */
        margin-bottom: var(--space-md); /* 12px */
        letter-spacing: var(--letter-spacing-wide); /* Adjusted for smaller size */
        line-height: var(--line-height-tight);
    }
    
    .welcome-subtitle {
        display: none;
    }
    
    .welcome-description {
        font-size: var(--font-size-sm); /* 13px - 14px responsive */
        text-align: center;
        max-width: var(--measure-narrow); /* Adjusted for center alignment */
        margin: 0 auto; /* Center the text block */
        line-height: var(--line-height-relaxed);
    }
}

/* Enhanced Mobile Typography - 480px Breakpoint */
@media (max-width: 480px) {
    .welcome-content {
        padding: var(--space-3xl) var(--space-2xl); /* 32px 24px - optimized mobile padding */
    }
    
    .welcome-text {
        max-width: 100%;
        margin-bottom: var(--space-lg); /* 16px - consistent spacing */
    }
    
    .welcome-visual {
        width: 140px;
        height: 140px;
    }
    
    .welcome-title {
        /* Mobile-specific typography using design system */
        font-size: var(--font-size-2xl); /* 20px - 24px responsive */
        margin-bottom: var(--space-sm); /* 8px - tighter for mobile */
        letter-spacing: var(--letter-spacing-normal); /* Reduced for mobile */
        line-height: var(--line-height-snug); /* Tighter for mobile */
    }
    
    .welcome-description {
        font-size: var(--font-size-xs); /* 12px - 13px responsive */
        line-height: var(--line-height-normal); /* Slightly tighter for mobile */
        max-width: var(--measure-narrow); /* Shorter lines for mobile */
    }
}

/* Enhanced Typography for Very Small Screens - 320px Breakpoint */
@media (max-width: 320px) {
    .welcome-content {
        padding: var(--space-2xl) var(--space-lg); /* 24px 16px - minimal but usable */
    }
    
    .welcome-title {
        font-size: var(--font-size-xl); /* 18px - 20px - constrained for very small screens */
        margin-bottom: var(--space-sm); /* 8px */
        letter-spacing: var(--letter-spacing-tight); /* Tighter for small screens */
        line-height: var(--line-height-snug);
    }
    
    .welcome-description {
        font-size: 0.75rem; /* 12px - fixed minimum size for readability */
        line-height: var(--line-height-snug); /* 1.375 - compact but readable */
        max-width: var(--measure-narrow); /* Constrained for very small screens */
    }
    
    .welcome-visual {
        width: 120px;
        height: 120px;
    }
}

/* ================================
   АДАПТИВНЫЕ СТИЛИ ДЛЯ ХЕДЕРА И ФУТЕРА
   ================================ */

/* Мобильное меню для хедера */
.header__mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-main);
    padding: 80px 20px 20px 20px;
    z-index: 2000;
    height: 100vh;
    width: 100vw;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-direction: column;
    justify-content: flex-start;
    visibility: hidden;
    pointer-events: none;
}

.header__mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Кнопка закрытия мобильного меню */
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 12px;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-purple);
    transform: rotate(90deg);
}

.mobile-menu__close:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* Секции мобильного меню */
.mobile-menu__section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-menu__title {
    color: var(--accent-purple);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    margin-top: 0;
}

/* Поиск в мобильном меню */
.mobile-menu__search {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-menu__search .game-search {
    flex: 1;
    margin: 0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
}

.mobile-search-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn:hover {
    background: var(--gradient-secondary);
    transform: scale(1.02);
}

/* Кнопки в мобильном меню */
.mobile-menu__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu__btn {
    display: block;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-menu__btn--primary {
    background: rgb(184, 15, 255);
    color: var(--text-primary);
}

.mobile-menu__btn--primary:hover {
    background: rgba(184, 15, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 15, 255, 0.3);
}

.mobile-menu__btn--secondary {
    background: rgb(0, 0, 0);
    color: var(--text-primary);
    border: 2px solid rgb(184, 15, 255);
}

.mobile-menu__btn--secondary:hover {
    background: rgba(184, 15, 255, 0.1);
    border-color: rgb(184, 15, 255);
    transform: translateY(-1px);
}

/* Языки в мобильном меню */
.mobile-menu__languages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-menu__lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu__lang-item--active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border-color: rgba(139, 92, 246, 0.3);
}

.mobile-menu__lang-item img {
    width: 24px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

/* Навигационное меню в мобильном */
.mobile-menu__section .top-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.mobile-menu__section .top-menu__item {
    padding: 0;
    border-bottom: none;
    width: 100%;
}

.mobile-menu__section .top-menu__link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.mobile-menu__section .top-menu__link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-purple);
}

.mobile-menu__section .top-menu__link:after {
    display: none;
}

/* Выпадающие списки в мобильном меню */
.mobile-menu__section .top-menu__item--has-dropdown {
    position: relative;
}

.mobile-menu__section .top-menu__link--has-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.mobile-menu__section .top-menu__link--has-dropdown::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 0 8px 8px 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu__section .top-menu__link--has-dropdown:hover::after {
    opacity: 1;
}

.mobile-menu__section .top-menu__dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    opacity: 0.7;
    padding: 8px;
    margin: -8px;
    cursor: pointer;
    border-radius: 4px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Скрываем стрелки выпадающих меню когда мобильное меню неактивно */
.header__mobile-menu:not(.active) .top-menu__dropdown-arrow {
    opacity: 0;
    pointer-events: none;
}

/* Показываем стрелки когда меню активно */
.header__mobile-menu.active .top-menu__dropdown-arrow {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__section .top-menu__dropdown-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-purple);
    opacity: 1;
}

.mobile-menu__section .top-menu__item--has-dropdown.active .top-menu__dropdown-arrow {
    transform: rotate(180deg);
    color: var(--accent-purple);
    opacity: 1;
}

.mobile-menu__section .top-menu__dropdown {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    border: none;
}

.mobile-menu__section .top-menu__item--has-dropdown.active .top-menu__dropdown {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
    padding: 4px 0;
}

.mobile-menu__section .top-menu__dropdown-item {
    padding: 0;
}

.mobile-menu__section .top-menu__dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu__section .top-menu__dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent-purple);
    color: var(--text-primary);
    padding-left: 24px;
}

/* Принудительное скрытие неактивных выпадающих меню */
.mobile-menu__section .top-menu__item--has-dropdown:not(.active) .top-menu__dropdown {
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.header__hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    transition: all 0.3s ease;
    z-index: 2001;
}

.header__hamburger:focus {
    outline: none;
}

.header__hamburger.active {
    color: var(--accent-purple);
    transform: rotate(90deg);
}

.header__hamburger.active i {
    transform: rotate(45deg);
}

/* Блокировка скролла при открытом мобильном меню */
body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .header__hamburger {
    opacity: 0;
    pointer-events: none;
}

/* Адаптивные стили для десктопа (1200px+) */
@media (min-width: 1200px) {
    .header {
        padding: 0 var(--container-padding);
    }
    
    .header__left {
        flex: 1;
        max-width: none;
        display: flex;
        align-items: center;
    }
    
    .header__right {
        flex-shrink: 0;
    }
    
    .header .header__menu {
        display: flex;
        flex: 1;
        margin-left: 40px;
    }
    
    .header__hamburger {
        display: none;
    }
    
    /* Фильтры на больших экранах */
    .filter-tabs-desktop {
        display: flex;
    }
    
    .filter-tabs-mobile {
        display: none;
    }
    
    /* Промо-баннеры на больших экранах */
    .promo-banner {
        min-height: 220px;
        padding: 35px;
    }
    
    .promo-image {
        width: 160px;
        height: 160px;
        overflow: hidden;
        border-radius: var(--border-radius);
    }
    
    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Декоративные элементы на больших экранах */
    .promo-decoration .admin-image-animation {
        width: 100%;
        height: 100%;
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .promo-decoration .admin-promo-image {
        width: 160px;
        height: 160px;
        object-fit: cover;
        object-position: center;
    }
    
    .footer__content {
        grid-template-columns: 300px 1fr 250px;
        gap: 80px;
    }
    
    .footer__links-section {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .footer-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 40px;
    }
}

/* Планшеты и небольшие ноутбуки (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
    .header {
        padding: 0 var(--container-padding);
    }
    
    .header__left {
        flex: 1;
    }
    
    .header .header__menu {
        display: none;
    }
    
    .header .header__button,
    .header .header__search {
        margin-right: 12px;
    }
    
    .header .header__locales {
        margin-right: 12px;
    }
    
    .header__hamburger {
        display: block;
    }
    
    .header__desktop-controls {
        display: flex;
    }
    
    .header__mobile-menu {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    /* Фильтры на средних экранах - показываем дропдаун */
    .filter-tabs-desktop {
        display: none;
    }
    
    .filter-tabs-mobile {
        display: block;
    }
    
    .footer__content {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 40px;
        padding: 50px 0;
    }
    
    .footer__links-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 30px;
    }
    
    .footer__social {
        align-items: center;
    }
}

/* Планшеты (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .header {
        padding: 0 20px;
        height: 60px;
    }
    
    :root {
        --header-height: 60px;
    }
    
    .header__left {
        flex: 1;
    }
    
    .header .header__logo img {
        height: 30px;
    }
    
    .header .header__menu {
        display: none;
    }
    
    /* Скрываем десктопные элементы */
    .header__desktop-controls {
        display: none;
    }
    
    .header__hamburger {
        display: block;
    }
    
    /* Мобильное меню */
    .header__mobile-menu {
        padding: 15px 20px;
    }
    
    .footer {
        margin-top: 60px;
    }
    
    .footer__content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 40px 0;
        text-align: center;
    }
    
    .footer__brand {
        align-items: center;
        order: 1;
    }
    
    .footer__links-section {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer__navigation {
        order: 2;
    }
    
    .footer-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
        max-width: none;
    }
    
    .footer__social {
        align-items: center;
        order: 3;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
        gap: 20px;
    }
}

/* Мобильные устройства (320px - 480px) */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
        height: 55px;
    }
    
    :root {
        --header-height: 55px;
        --container-padding: 15px;
    }
    
    .header__left {
        flex: 1;
        min-width: 0;
    }
    
    .header .header__logo {
        margin-right: 10px;
    }
    
    .header .header__logo img {
        height: 28px;
        max-width: 120px;
    }
    
    .header .header__menu {
        display: none;
    }
    
    /* Скрываем десктопные элементы */
    .header__desktop-controls {
        display: none;
    }
    
    .header__hamburger {
        display: block;
        font-size: 20px;
        padding: 6px;
    }
    
    .header__right {
        flex-shrink: 0;
        justify-content: flex-end;
    }
    
    /* Мобильное меню */
    .header__mobile-menu {
        padding: 15px;
    }
    
    /* Футер для мобильных */
    .footer {
        margin-top: 40px;
    }
    
    .footer__content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
        text-align: center;
    }
    
    .footer__brand {
        align-items: center;
        gap: 15px;
    }
    
    .footer__description {
        max-width: 100%;
        font-size: 13px;
    }
    
    .footer__links-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer__link-block {
        text-align: center;
        gap: 12px;
    }
    
    .footer__link-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .footer__link {
        font-size: 13px;
        padding: 2px 0;
    }
    
    .footer-menu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer-menu .menu-item a {
        font-size: 13px;
        padding: 5px 0;
        display: block;
    }
    
    .footer__social {
        align-items: center;
        gap: 15px;
    }
    
    .footer__section-title {
        font-size: 14px;
    }
    
    .footer__social-links {
        gap: 12px;
    }
    
    .footer__social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .footer__bottom {
        padding: 20px 0;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer__copyright p {
        font-size: 12px;
    }
    
    .footer__legal {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .footer__legal-link {
        font-size: 12px;
        padding: 4px 0;
    }
}

/* Очень маленькие экраны (до 320px) */
@media (max-width: 320px) {
    .header {
        padding: 0 10px;
        height: 50px;
    }
    
    :root {
        --header-height: 50px;
        --container-padding: 10px;
    }
    
    .header .header__logo img {
        height: 25px;
        max-width: 100px;
    }
    
    .header__hamburger {
        font-size: 18px;
        padding: 4px;
    }
    
    .header .header__button,
    .header .header__search {
        min-width: 28px;
        min-height: 28px;
        font-size: 14px;
        margin-right: 4px;
    }
    
    .link-btn {
        font-size: 9px;
        min-width: 60px;
        min-height: 28px;
        padding: 3px 8px;
    }
    
    .header .header__locales {
        transform: scale(0.7);
        margin-right: 4px;
    }
    
    /* Промо-баннеры на очень маленьких экранах */
    .promo-banner {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 300px;
        min-width: 280px;
        min-height: 100px;
        padding: 8px;
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .promo-content {
        margin-right: 8px;
        margin-bottom: 0;
        order: 1;
    }
    
    .promo-image {
        width: 60px;
        height: 60px;
        margin-left: 8px;
        margin-bottom: 0;
        order: 2;
    }
    
    .promo-decoration {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 35%;
        order: 2;
        margin-bottom: 0;
    }
    
    .promo-decoration .admin-image-animation {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .promo-decoration .admin-promo-image {
        width: 60px;
        height: 60px;
    }
    
    .promo-content .promo-label {
        font-size: 8px;
        margin-bottom: 4px;
    }
    
    .promo-content .title {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .promo-btn {
        font-size: 9px;
        padding-bottom: 2px;
    }
    
    /* СКРЫВАЕМ СТРЕЛОЧКИ СЛАЙДЕРОВ НА ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНАХ */
    .games-section .slider-controls {
        display: none !important;
    }

    .games-grid {
        display: flex !important;
        gap: 8px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 15px;
        margin-bottom: 15px;
        padding-right: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .games-grid::-webkit-scrollbar {
        height: 3px;
    }

    .games-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .games-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    .games-grid.no-slider {
        display: flex !important;
        gap: 8px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 15px;
        margin-bottom: 15px;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .game-card {
        min-width: 100px;
        max-width: 100px;
        width: 100px;
        flex-shrink: 0;
    }

    .game-image {
        height: 100px;
    }

    .game-title {
        font-size: 12px;
    }

    .game-provider {
        font-size: 10px;
    }

    /* Стили для провайдеров на очень маленьких экранах */
    .provider-card {
        min-width: 70px;
        max-width: 70px;
        width: 70px;
        padding: 6px 8px;
        min-height: 35px;
    }

    .provider-logo {
        font-size: 9px;
        letter-spacing: 0.1px;
    }

    /* Принудительно включаем скроллинг для провайдеров на очень маленьких экранах */
    .providers-grid {
        display: flex !important;
        gap: 8px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        padding-bottom: 10px;
        margin-bottom: 10px;
        padding-right: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        transform: none !important; /* Отключаем трансформации слайдера */
    }

    .providers-grid::-webkit-scrollbar {
        height: 3px;
    }

    .providers-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }

    .providers-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 2px;
    }

    .providers-grid .provider-card {
        flex-shrink: 0;
    }

    /* Скрываем контролы слайдера на очень маленьких экранах */
    .providers-section-main .slider-controls {
        display: none !important;
    }
    
    .footer__content {
        padding: 25px 0;
        gap: 25px;
    }
    
    .footer__brand {
        gap: 12px;
    }
    
    .footer__description {
        font-size: 12px;
    }
    
    .footer-menu .menu-item a {
        font-size: 12px;
    }
    
    .footer__section-title {
        font-size: 13px;
    }
    
    .footer__social-link {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .footer__bottom {
        padding: 15px 0;
    }
    
    .footer__copyright p,
    .footer__legal-link {
        font-size: 11px;
    }
}

/* Высокие экраны (адаптация для ландшафтной ориентации мобильных) */
@media (max-width: 767px) and (orientation: landscape) {
    .header {
        height: 50px;
    }
    
    :root {
        --header-height: 50px;
    }
    
    .header .header__logo img {
        height: 26px;
    }
    
    .header__mobile-menu {
        max-height: calc(100vh - 50px);
    }
    
    .footer {
        margin-top: 30px;
    }
    
    .footer__content {
        padding: 25px 0;
    }
}

/* ================================
   WHY PLAY SLIDER RESPONSIVE STYLES
   ================================ */

/* Промежуточные большие экраны 1200px - 1600px */
@media (max-width: 1600px) and (min-width: 1200px) {
    .why-play-card {
        width: calc((100vw - (2 * var(--container-padding)) - (3 * 16px)) / 4);
        max-width: 280px;
        min-width: 220px;
        padding: 18px 14px;
        min-height: 110px;
    }
    
    .why-play-card__icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .why-play-card__title {
        font-size: 0.8rem;
    }
    
    .why-play-card__description {
        font-size: 0.7rem;
    }
}

/* Средние экраны 900px - 1199px */
@media (max-width: 1199px) and (min-width: 900px) {
    .why-play-card {
        width: calc((100vw - (2 * var(--container-padding)) - (2 * 16px)) / 3);
        max-width: 300px;
        min-width: 240px;
        padding: 18px 14px;
        min-height: 110px;
    }
    
    .why-play-card__icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .why-play-card__title {
        font-size: 0.8rem;
    }
    
    .why-play-card__description {
        font-size: 0.7rem;
    }
}

/* Небольшие экраны 769px - 899px */
@media (max-width: 899px) and (min-width: 769px) {
    .why-play-card {
        width: calc((100vw - (2 * var(--container-padding)) - 16px) / 2);
        max-width: 350px;
        min-width: 280px;
        padding: 16px 12px;
        min-height: 100px;
    }
    
    .why-play-card__icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .why-play-card__title {
        font-size: 0.75rem;
    }
    
    .why-play-card__description {
        font-size: 0.65rem;
    }
    
    .why-play-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Планшеты */
@media (max-width: 768px) {
    .why-play-card {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 500px;
        min-width: 300px;
        padding: 16px 12px;
        min-height: 100px;
    }
    
    .why-play-card__icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .why-play-card__title {
        font-size: 0.75rem;
    }
    
    .why-play-card__description {
        font-size: 0.65rem;
    }
    
    .why-play-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .why-play-nav-arrow.prev {
        left: 8px;
    }
    
    .why-play-nav-arrow.next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .why-play-card {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 400px;
        min-width: 280px;
        padding: 14px 12px;
        min-height: 90px;
    }
    
    .why-play-card__icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .why-play-card__title {
        font-size: 0.7rem;
    }
    
    .why-play-card__description {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .why-play-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(139, 92, 246, 0.9);
        border: 2px solid rgba(139, 92, 246, 1);
    }
    
    .why-play-nav-arrow:hover {
        background: rgba(139, 92, 246, 1);
        transform: translateY(-50%) scale(1.05);
    }
    
    .why-play-nav-arrow.prev {
        left: 6px;
    }
    
    .why-play-nav-arrow.next {
        right: 6px;
    }
}

/* Очень маленькие экраны (до 320px) */
@media (max-width: 320px) {
    .why-play-card {
        width: calc(100vw - (2 * var(--container-padding)));
        max-width: 280px;
        min-width: 260px;
        padding: 12px 10px;
        min-height: 80px;
    }
    
    .why-play-card__icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .why-play-card__title {
        font-size: 0.65rem;
    }
    
    .why-play-card__description {
        font-size: 0.55rem;
        line-height: 1.1;
    }
    
    .why-play-nav-arrow {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .why-play-nav-arrow.prev {
        left: 4px;
    }
    
    .why-play-nav-arrow.next {
        right: 4px;
    }
} 