/*
Theme Name: Fonbet Multisite
Theme URI: https://fonbet.com
Description: Профессиональная WordPress-тема для букмекерской платформы с поддержкой мультисайтовости, мультиязычности и гибкой системой меню через админку WordPress
Version: 1.0.8
Author: Fonbet Team
Author URI: https://fonbet.com
Text Domain: fonbet
Domain Path: /languages
Network: true
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Fonbet Multisite - WordPress тема для мультисайтовой букмекерской платформы
Changelog v1.0.6: Максимальная локализация - хедер, футер, кнопки, навигация (80+ переводов для каждого языка)
Changelog v1.0.5: Реализована система автоматической локализации контента для 4 языков (EN/PL/IT/ES)
Changelog v1.0.4: Упрощен хедер - удалены Settings и ACCESS TO SITE, добавлены кнопки в мобильное меню
Changelog v1.0.3: Заменены текстовые заглушки на красивые SVG иконки для 11 платежных систем + 3 криптовалют
Changelog v1.0.2: Добавлено переключение контента вкладок Featured Games (Top/New/Drops & Wins) + SVG иконки в карточках игр
Changelog v1.0.1: Добавлена полная поддержка меню через админку (5 позиций)
*/

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

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1d21;
    color: #ffffff;
    overflow-x: hidden;
    min-width: 320px;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   HEADER - УЛУЧШЕННАЯ ВЕРСИЯ
   ================================================ */

.header {
    background-color: #121416;
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 121px);
}

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

.header__logo {
    display: flex;
    align-items: center;
    margin-right: 50px;
    flex-shrink: 0;
}

.header__logo svg {
    height: 26px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-right: auto;
}

.header__nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav-menu .menu-item {
    margin: 0;
    padding: 0;
}

.header__nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.header__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.header__nav-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.header__nav-link:hover,
.header__nav-link.active {
    color: #b02321;
}

.current-menu-item .header__nav-link {
    color: #b02321;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__action-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.header__action-link:hover {
    color: #b02321;
}

.header__action-link svg {
    width: 16px;
    height: 16px;
    color: currentColor;
}

.header__icon-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.header__icon-btn:hover {
    color: #b02321;
}

.header__icon-btn svg {
    width: 20px;
    height: 20px;
}

.header__lang-wrapper {
    position: relative;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}

.header__lang:hover {
    color: #b02321;
}

.header__lang svg {
    width: 16px;
    height: 16px;
}

.header__lang-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.header__lang-wrapper.active .header__lang-arrow {
    transform: rotate(180deg);
}

.header__lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background-color: #1f2226;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.header__lang-wrapper.active .header__lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background-color: #1f2226;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.header__lang-dropdown-inner {
    padding: 8px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3a3d41 transparent;
}

.header__lang-dropdown-inner::-webkit-scrollbar {
    width: 6px;
}

.header__lang-dropdown-inner::-webkit-scrollbar-track {
    background: transparent;
}

.header__lang-dropdown-inner::-webkit-scrollbar-thumb {
    background-color: #3a3d41;
    border-radius: 3px;
}

.header__lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    text-decoration: none;
}

.header__lang-option:hover {
    background-color: rgba(232, 0, 36, 0.1);
    color: #e80024;
}

.header__lang-option.active {
    background-color: rgba(232, 0, 36, 0.15);
    color: #e80024;
}

.header__lang-flag {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.header__lang-option > span:nth-child(2) {
    flex: 1;
}

.header__lang-code {
    font-size: 11px;
    font-weight: 600;
    color: #6b6d70;
    text-transform: uppercase;
}

.header__divider {
    width: 1px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.12);
}

.header__btn {
    padding: 10px 28px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: capitalize;
    white-space: nowrap;
    text-decoration: none; /* Для ссылок */
    display: inline-block; /* Для корректного отображения ссылок */
}

.header__btn--login {
    background-color: #4b4c4e;
    color: #ffffff;
}

.header__btn--login:hover {
    background-color: #5a5b5d;
}

.header__btn--join {
    background-color: #b02321;
    color: #ffffff;
}

.header__btn--join:hover {
    background-color: #c92e2b;
}

/* ================================================
   MAGAZINE HERO SECTION
   ================================================ */

.magazine-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.magazine-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 clamp(16px, 5vw, 40px);
}

.magazine-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.magazine-hero__title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.magazine-hero__highlight {
    color: #ffffff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.magazine-hero__subtitle {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
}

.magazine-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.magazine-hero__btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    text-decoration: none; /* Для ссылок */
    display: inline-block; /* Для корректного отображения ссылок */
}

.magazine-hero__btn--primary {
    background-color: #ffffff;
    color: #b02321;
}

.magazine-hero__btn--primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.magazine-hero__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.magazine-hero__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.magazine-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.magazine-hero__scroll:hover {
    color: #ffffff;
    transform: translateX(-50%) translateY(4px);
}

.magazine-hero__scroll svg {
    width: 20px;
    height: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ================================================
   MAGAZINE STATS BAR
   ================================================ */

.magazine-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px clamp(16px, 5vw, 121px);
    background-color: #0f1011;
    border-top: 1px solid rgba(232, 0, 36, 0.2);
    border-bottom: 1px solid rgba(232, 0, 36, 0.2);
}

.magazine-stats__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.magazine-stats__icon {
    font-size: 32px;
    filter: grayscale(50%);
    transition: all 0.3s ease;
}

.magazine-stats__item:hover .magazine-stats__icon {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.magazine-stats__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.magazine-stats__label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magazine-stats__value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

/* ================================================
   MAGAZINE CATEGORIES
   ================================================ */

.magazine-categories {
    padding: 80px clamp(16px, 5vw, 121px);
    background-color: #1a1d21;
}

.magazine-categories__container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.magazine-categories__card--large {
    grid-column: span 6;
    grid-row: span 2;
    min-height: 400px;
}

.magazine-categories__card--medium {
    grid-column: span 6;
    min-height: 190px;
}

.magazine-categories__card--small {
    grid-column: span 4;
    min-height: 180px;
}

.magazine-categories__card {
    position: relative;
    border-radius: 16px;
    padding: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none; /* Для ссылок */
    color: inherit; /* Наследуем цвет текста */
}

.magazine-categories__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.magazine-categories__card-icon {
    font-size: 64px;
    opacity: 0.2;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.magazine-categories__card-content {
    position: relative;
    z-index: 2;
}

.magazine-categories__card-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.magazine-categories__card-count {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.magazine-categories__card-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magazine-categories__card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

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

/* ================================================
   MAGAZINE FEATURED
   ================================================ */

.magazine-featured {
    padding: 80px clamp(16px, 5vw, 121px);
    background-color: #0f1011;
}

.magazine-featured__container {
    max-width: 1600px;
    margin: 0 auto;
}

.magazine-featured__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.magazine-featured__title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.magazine-featured__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.magazine-featured__tabs {
    display: flex;
    gap: 8px;
}

.magazine-featured__tab {
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.magazine-featured__tab:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.magazine-featured__tab--active {
    background-color: #e80024;
    border-color: #e80024;
    color: #ffffff;
}

.magazine-featured__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.magazine-featured__card--large {
    grid-column: span 6;
}

.magazine-featured__card {
    grid-column: span 3;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.magazine-featured__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.magazine-featured__card-bg {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.magazine-featured__card-label {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Иконка игры в карточке */
.magazine-featured__card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.magazine-featured__card-icon svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Увеличенная иконка для большой карточки */
.magazine-featured__card--large .magazine-featured__card-icon svg {
    width: 160px;
    height: 160px;
}

.magazine-featured__card-info {
    padding: 20px;
    background-color: #2a2d31;
}

.magazine-featured__card-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(232, 0, 36, 0.15);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #e80024;
    margin-bottom: 8px;
}

.magazine-featured__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.magazine-featured__card-provider {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.magazine-featured__card-btn {
    width: 100%;
    padding: 10px;
    background-color: rgba(232, 0, 36, 0.1);
    border: 1px solid rgba(232, 0, 36, 0.3);
    border-radius: 6px;
    color: #e80024;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none; /* Для ссылок */
    display: block; /* Для корректного отображения ссылок */
    text-align: center; /* Центрируем текст */
    cursor: pointer;
    transition: all 0.3s ease;
}

.magazine-featured__card-btn:hover {
    background-color: #e80024;
    border-color: #e80024;
    color: #ffffff;
}

.magazine-featured__more {
    text-align: center;
}

.magazine-featured__more-btn {
    padding: 16px 48px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none; /* Для ссылок */
    display: inline-block; /* Для корректного отображения ссылок */
    transition: all 0.3s ease;
}

.magazine-featured__more-btn:hover {
    border-color: #e80024;
    background-color: rgba(232, 0, 36, 0.1);
    color: #e80024;
}

/* ================================================
   MAGAZINE LIVE
   ================================================ */

.magazine-live {
    padding: 80px clamp(16px, 5vw, 121px);
    background-color: #1a1d21;
}

.magazine-live__container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
}

.magazine-live__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.magazine-live__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.magazine-live__pulse {
    width: 12px;
    height: 12px;
    background-color: #e74c3c;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.8);
}

.magazine-live__title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.magazine-live__description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.magazine-live__stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background-color: #2a2d31;
    border-radius: 12px;
}

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

.magazine-live__stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.magazine-live__stat-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.magazine-live__cta {
    width: 100%;
    padding: 16px;
    background-color: #e80024;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none; /* Для ссылок */
    display: block; /* Для корректного отображения ссылок */
    text-align: center; /* Центрируем текст */
    cursor: pointer;
    transition: all 0.3s ease;
}

.magazine-live__cta:hover {
    background-color: #c92e2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 0, 36, 0.4);
}

.magazine-live__events {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.magazine-live__event {
    background-color: #2a2d31;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.magazine-live__event:hover {
    background-color: #34373c;
    transform: translateX(4px);
}

.magazine-live__event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.magazine-live__event-sport {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.magazine-live__event-time {
    font-size: 14px;
    font-weight: 700;
    color: #e74c3c;
}

.magazine-live__event-match {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.magazine-live__event-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.magazine-live__event-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.magazine-live__event-score {
    font-size: 20px;
    font-weight: 700;
    color: #e80024;
}

.magazine-live__event-odds {
    display: flex;
    gap: 8px;
}

.magazine-live__odd {
    flex: 1;
    background-color: rgba(232, 0, 36, 0.1);
    border: 1px solid rgba(232, 0, 36, 0.3);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* Для ссылок */
    cursor: pointer; /* Указатель при наведении */
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.magazine-live__odd:hover {
    background-color: rgba(232, 0, 36, 0.2);
    border-color: rgba(232, 0, 36, 0.5);
    transform: scale(1.05);
}

.magazine-live__odd span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.magazine-live__odd strong {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
}

.magazine-live__casino-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.magazine-live__casino-banner:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.magazine-live__casino-icon {
    font-size: 48px;
}

.magazine-live__casino-info {
    flex: 1;
}

.magazine-live__casino-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.magazine-live__casino-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.magazine-live__casino-btn {
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none; /* Для ссылок */
    display: inline-block; /* Для корректного отображения ссылок */
    transition: all 0.3s ease;
}

.magazine-live__casino-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* ================================================
   MAGAZINE PROMO
   ================================================ */

.magazine-promo {
    padding: 80px clamp(16px, 5vw, 121px);
    background-color: #0f1011;
}

.magazine-promo__card {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    padding: 60px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 300px;
}

.magazine-promo__content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.magazine-promo__badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.magazine-promo__title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.magazine-promo__text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.magazine-promo__btn {
    padding: 16px 32px;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    color: #7c3aed;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none; /* Для ссылок */
    display: inline-block; /* Для корректного отображения ссылок */
    transition: all 0.3s ease;
}

.magazine-promo__btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.magazine-promo__visual {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.magazine-promo__icon {
    font-size: 180px;
    opacity: 0.2;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background-color: #0f1011;
    padding: 80px clamp(16px, 5vw, 121px) 48px;
    border-top: 2px solid rgba(232, 0, 36, 0.15);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(232, 0, 36, 0.4) 20%, 
        rgba(232, 0, 36, 0.6) 50%, 
        rgba(232, 0, 36, 0.4) 80%, 
        transparent 100%
    );
}

.footer__container {
    max-width: 1678px;
    margin: 0 auto;
}

.footer__top {
    display: flex;
    gap: 140px;
    margin-bottom: 60px;
}

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

.footer__title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    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: 32px;
    height: 2px;
    background: linear-gradient(90deg, #e80024 0%, transparent 100%);
    border-radius: 2px;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    padding-left: 0;
}

.footer__link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #e80024;
    transition: width 0.3s ease;
}

.footer__link:hover {
    color: rgba(255, 255, 255, 1);
    padding-left: 8px;
}

.footer__link:hover::before {
    width: 100%;
}

.footer__email {
    font-size: 15px;
    color: #e80024;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.2s;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer__email:hover {
    color: #ff1a3a;
    transform: translateX(4px);
}

.footer__telegram {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
    font-weight: 600;
}

.footer__telegram:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.footer__telegram svg {
    width: 22px;
    height: 22px;
    opacity: 0.9;
}

.footer__payments {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer__payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.footer__payment-icon svg {
    display: block;
    transition: all 0.3s ease;
}

.footer__payment-icon:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer__payment-icon:hover svg {
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.footer__crypto {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer__crypto-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.footer__crypto-icon svg {
    display: block;
    transition: all 0.3s ease;
}

.footer__crypto-icon:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
}

.footer__crypto-icon:hover svg {
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.3));
}

.footer__bottom {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding-top: 8px;
}

.footer__age {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(232, 0, 36, 0.1) 0%, rgba(232, 0, 36, 0.05) 100%);
    border: 2px solid rgba(232, 0, 36, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(232, 0, 36, 0.15);
}

.footer__text {
    flex: 1;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer__badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.footer__badge {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0.7;
    filter: grayscale(50%);
}

.footer__badge:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ================================================
   FLOATING SUPPORT BUTTON
   ================================================ */

.floating-support {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
}

.floating-support__btn {
    width: 56px;
    height: 56px;
    background-color: #1e5ba8;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-support__btn:hover {
    background-color: #2465b8;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-support__btn svg {
    width: 24px;
    height: 24px;
}

/* ================================================
   WORDPRESS CONTENT AREA
   ================================================ */

.content-area {
    padding: 80px clamp(16px, 5vw, 121px);
    background-color: #1a1d21;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.entry-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: #ffffff;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content a {
    color: #e80024;
    text-decoration: none;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #ff1a3a;
}

/* ================================================
   PAGE TEMPLATE - MODERN CREATIVE DESIGN
   ================================================ */

/* Page Hero с Featured Image */
.page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 0, 36, 0.9) 0%, rgba(26, 29, 33, 0.95) 100%);
    z-index: 2;
}

.page-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 80px clamp(16px, 5vw, 121px);
}

.page-hero__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Simple Hero без изображения */
.page-hero--simple {
    min-height: 300px;
    background: linear-gradient(135deg, #1a1d21 0%, #2a2d31 100%);
}

/* Breadcrumbs */
.page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.page-breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumbs a:hover {
    color: #e80024;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Title */
.page-hero__title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Meta */
.page-hero__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.page-hero__date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-hero__date svg {
    opacity: 0.7;
}

/* Page Content */
.page-content {
    background-color: #1a1d21;
    padding: 60px clamp(16px, 5vw, 121px);
}

.page-content__container {
    max-width: 900px;
    margin: 0 auto;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.reading-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #e80024 0%, #ff1a3a 100%);
    width: 0%;
    transition: width 0.1s ease;
}

/* Page Article */
.page-article {
    background: #23262b;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.page-article__content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.8;
}

/* Улучшенная типографика для контента */
.page-article__content h1,
.page-article__content h2,
.page-article__content h3,
.page-article__content h4 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.page-article__content h1 {
    font-size: 36px;
    border-bottom: 2px solid rgba(232, 0, 36, 0.3);
    padding-bottom: 16px;
}

.page-article__content h2 {
    font-size: 28px;
    position: relative;
    padding-left: 20px;
}

.page-article__content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(180deg, #e80024 0%, #ff1a3a 100%);
    border-radius: 2px;
}

.page-article__content h3 {
    font-size: 22px;
    color: #e80024;
}

.page-article__content p {
    margin-bottom: 1.5em;
}

.page-article__content p:first-of-type {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
}

/* Списки */
.page-article__content ul,
.page-article__content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.page-article__content li {
    margin-bottom: 0.75em;
    color: rgba(255, 255, 255, 0.85);
}

.page-article__content ul li {
    position: relative;
}

.page-article__content ul li::marker {
    color: #e80024;
    font-size: 1.2em;
}

.page-article__content ol li::marker {
    color: #e80024;
    font-weight: 600;
}

/* Ссылки в контенте */
.page-article__content a {
    color: #e80024;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.page-article__content a:hover {
    color: #ff1a3a;
    text-underline-offset: 5px;
}

/* Blockquote */
.page-article__content blockquote {
    margin: 2em 0;
    padding: 24px 32px;
    background: rgba(232, 0, 36, 0.05);
    border-left: 4px solid #e80024;
    border-radius: 8px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Code блоки */
.page-article__content code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #ff1a3a;
}

.page-article__content pre {
    background: #1a1d21;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.page-article__content pre code {
    background: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Таблицы */
.page-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.page-article__content th,
.page-article__content td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-article__content th {
    background: rgba(232, 0, 36, 0.1);
    color: #ffffff;
    font-weight: 600;
}

.page-article__content tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Изображения в контенте */
.page-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Page Pagination */
.page-pagination {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.page-pagination__title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.page-pagination__link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.page-pagination__link:hover {
    background: #e80024;
    color: #ffffff;
}

.page-pagination .current .page-pagination__link {
    background: #e80024;
    color: #ffffff;
}

/* Edit Link */
.page-article__footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.edit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edit-link:hover {
    background: rgba(232, 0, 36, 0.1);
    color: #e80024;
}

/* Call to Action Block */
.page-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, #e80024 0%, #ff1a3a 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

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

.page-cta__content {
    position: relative;
    z-index: 2;
}

.page-cta__icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.page-cta__title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.page-cta__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.page-cta__btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cta__btn--primary {
    background: #ffffff;
    color: #e80024;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.page-cta__btn--primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.page-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.page-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Comments Section */
.page-comments {
    background-color: #1a1d21;
    padding: 60px clamp(16px, 5vw, 121px);
}

.page-comments__container {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive для страниц */
@media (max-width: 768px) {
    .page-hero {
        min-height: 400px;
    }
    
    .page-hero__title {
        font-size: 32px;
    }
    
    .page-article {
        padding: 32px 24px;
    }
    
    .page-article__content {
        font-size: 16px;
    }
    
    .page-article__content h1 {
        font-size: 28px;
    }
    
    .page-article__content h2 {
        font-size: 24px;
    }
    
    .page-article__content h3 {
        font-size: 20px;
    }
    
    .page-cta {
        padding: 32px 24px;
    }
    
    .page-cta__title {
        font-size: 24px;
    }
    
    .page-cta__text {
        font-size: 16px;
    }
    
    .page-cta__actions {
        flex-direction: column;
    }
    
    .page-cta__btn {
        width: 100%;
    }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Адаптация для ноутбуков и средних экранов (от 1020px до 1400px) */
@media (max-width: 1400px) {
    /* Уменьшаем размер шрифта и элементов header */
    .header__content {
        gap: 12px;
    }
    
    /* Уменьшаем размер логотипа */
    .header__logo svg {
        height: 20px;
    }
    
    /* Уменьшаем навигацию */
    .header__nav {
        gap: 16px;
    }
    
    .header__nav-menu {
        gap: 14px;
    }
    
    .header__nav-link {
        font-size: 11px;
        gap: 5px;
        letter-spacing: 0.3px;
    }
    
    .header__nav-icon {
        width: 13px;
        height: 13px;
    }
    
    .header__nav-icon svg {
        width: 13px;
        height: 13px;
    }
    
    /* Уменьшаем actions */
    .header__actions {
        gap: 12px;
    }
    
    .header__action-link {
        font-size: 10px;
        gap: 5px;
    }
    
    .header__action-link svg {
        width: 13px;
        height: 13px;
    }
    
    /* Уменьшаем кнопки */
    .header__btn {
        padding: 7px 14px;
        font-size: 11px;
        letter-spacing: 0.2px;
    }
    
    /* Уменьшаем переключатель языков */
    .header__lang {
        font-size: 10px;
        gap: 2px;
    }
    
    .header__lang svg {
        width: 13px;
        height: 13px;
    }
    
    /* Скрываем Settings рано */
    .header__icon-btn:nth-of-type(2) {
        display: none;
    }
}

/* Дополнительное сжатие для ноутбуков 1020px - 1280px */
@media (max-width: 1280px) {
    .header__content {
        gap: 10px;
    }
    
    .header__nav-menu {
        gap: 12px;
    }
    
    .header__nav-link {
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    
    .header__nav-icon {
        width: 12px;
        height: 12px;
    }
    
    .header__nav-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .header__actions {
        gap: 10px;
    }
    
    .header__action-link {
        font-size: 9px;
    }
    
    .header__btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    /* Скрываем Search и Settings */
    .header__icon-btn {
        display: none;
    }
    
    /* Скрываем текст у ACCESS TO SITE */
    .header__action-link span {
        display: none;
    }
}

/* Для маленьких ноутбуков 1020px - 1100px */
@media (max-width: 1100px) {
    .header__nav-menu {
        gap: 12px;
    }
    
    .header__nav-link {
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    
    .header__nav-icon {
        width: 12px;
        height: 12px;
    }
    
    .header__nav-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .header__actions {
        gap: 10px;
    }
    
    .header__action-link span {
        display: none; /* Скрываем текст, оставляем только иконки */
    }
    
    .header__icon-btn {
        padding: 4px;
    }
    
    .header__btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    /* Компактный переключатель языков */
    .header__lang-dropdown {
        min-width: 160px;
    }
}

/* Мобильные устройства до 1024px */
@media (max-width: 1024px) {
    /* Показываем кнопку-гамбургер */
    .header__mobile-toggle {
        display: flex !important;
    }
    
    /* Скрываем десктопную навигацию */
    .header__nav {
        display: none !important;
    }
    
    /* Скрываем второстепенные действия */
    .header__action-link,
    .header__icon-btn {
        display: none !important;
    }
    
    /* Уменьшаем отступ справа у логотипа */
    .header__logo {
        margin-right: 16px;
    }
}

@media (max-width: 1200px) {
    .magazine-categories__container {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .magazine-categories__card--large {
        grid-column: span 6;
    }
    
    .magazine-categories__card--medium {
        grid-column: span 3;
    }
    
    .magazine-categories__card--small {
        grid-column: span 2;
    }
    
    .magazine-featured__grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .magazine-featured__card--large {
        grid-column: span 6;
    }
    
    .magazine-featured__card {
        grid-column: span 3;
    }
    
    .magazine-live__container {
        grid-template-columns: 300px 1fr;
    }
}

/* Мобильное меню - гамбургер */
.header__mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header__mobile-toggle-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header__mobile-toggle.active .header__mobile-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.header__mobile-toggle.active .header__mobile-toggle-line:nth-child(2) {
    opacity: 0;
}

.header__mobile-toggle.active .header__mobile-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Мобильное меню - overlay */
.header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.header__mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.header__mobile-menu-content {
    padding: 80px 20px 40px;
    max-width: 480px;
    margin: 0 auto;
}

.header__mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__mobile-nav-menu .menu-item {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__mobile-nav-menu .header__nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.header__mobile-nav-menu .header__nav-link:hover {
    color: #b02321;
}

.header__mobile-nav-menu .header__nav-icon {
    width: 24px;
    height: 24px;
}

.header__mobile-nav-menu .header__nav-icon svg {
    width: 24px;
    height: 24px;
}

.header__mobile-actions {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Кнопки в мобильном меню */
.header__mobile-actions .header__btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 14px 24px;
    font-weight: 600;
    transition: all 0.2s;
}

@media (max-width: 768px) {
    /* Показываем гамбургер */
    .header__mobile-toggle {
        display: flex !important;
    }
    
    /* Скрываем десктопное меню */
    .header__nav {
        display: none !important;
    }
    
    .header__action-link {
        display: none !important;
    }
    
    .header__icon-btn {
        display: none !important;
    }
    
    /* Уменьшаем отступы */
    .header__content {
        gap: 16px;
    }
    
    .header__actions {
        gap: 12px;
    }
    
    .header__divider {
        display: none;
    }
    
    .header__btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .magazine-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .magazine-hero__title {
        font-size: 40px;
    }
    
    .magazine-hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .magazine-hero__btn {
        width: 100%;
    }
    
    .magazine-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .magazine-stats__item {
        flex: 1 1 calc(50% - 12px);
        min-width: 140px;
    }
    
    .magazine-categories__container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .magazine-categories__card--large,
    .magazine-categories__card--medium,
    .magazine-categories__card--small {
        grid-column: span 1;
        min-height: 150px;
    }
    
    .magazine-featured__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .magazine-featured__title {
        font-size: 32px;
    }
    
    .magazine-featured__tabs {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .magazine-featured__grid {
        grid-template-columns: 1fr;
    }
    
    .magazine-featured__card--large,
    .magazine-featured__card {
        grid-column: span 1;
    }
    
    .magazine-live__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .magazine-live__title {
        font-size: 28px;
    }
    
    .magazine-promo__card {
        padding: 40px 24px;
        min-height: auto;
    }
    
    .magazine-promo__title {
        font-size: 32px;
    }
    
    .magazine-promo__visual {
        display: none;
    }
    
    .footer__top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer__bottom {
        flex-direction: column;
    }
}

/* Для маленьких телефонов 360px - 480px */
@media (max-width: 480px) {
    /* Header для маленьких экранов */
    .header__logo svg {
        height: 20px;
        width: auto;
    }
    
    .header__content {
        gap: 12px;
        padding: 0 12px;
    }
    
    .header__btn {
        padding: 6px 10px;
        font-size: 10px;
        min-width: 60px;
    }
    
    .header__lang {
        font-size: 9px;
    }
    
    .header__lang svg {
        width: 12px;
        height: 12px;
    }
    
    /* Мобильное меню для маленьких экранов */
    .header__mobile-menu-content {
        padding: 70px 16px 30px;
    }
    
    .header__mobile-nav-menu .header__nav-link {
        padding: 16px 0;
        font-size: 16px;
        gap: 12px;
    }
    
    .header__mobile-nav-menu .header__nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .header__mobile-nav-menu .header__nav-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .header__mobile-action-btn {
        padding: 14px;
        font-size: 14px;
    }
    
    .header__mobile-actions {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    /* Magazine styles */
    .magazine-hero__title {
        font-size: 32px;
    }
    
    .magazine-hero__subtitle {
        font-size: 14px;
    }
    
    .magazine-stats__item {
        flex: 1 1 100%;
    }
    
    .magazine-featured__title {
        font-size: 24px;
    }
    
    .magazine-promo__title {
        font-size: 24px;
    }
}

/* Для очень маленьких телефонов 320px - 360px */
@media (max-width: 360px) {
    /* Container padding */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Header максимальное сжатие */
    .header {
        padding: 12px 0;
    }
    
    .header__content {
        gap: 6px;
        padding: 0 4px 0 8px;
    }
    
    .header__logo svg {
        height: 18px;
    }
    
    .header__mobile-toggle {
        width: 24px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .header__btn {
        padding: 5px 6px;
        font-size: 8px;
        min-width: 42px;
        letter-spacing: 0;
        white-space: nowrap;
    }
    
    .header__lang {
        font-size: 8px;
        gap: 2px;
        flex-shrink: 0;
    }
    
    .header__lang svg {
        width: 10px;
        height: 10px;
    }
    
    /* Мобильное меню для 320px */
    .header__mobile-menu-content {
        padding: 60px 12px 24px;
    }
    
    .header__mobile-nav-menu .header__nav-link {
        padding: 14px 0;
        font-size: 15px;
        gap: 10px;
    }
    
    .header__mobile-nav-menu .header__nav-icon {
        width: 18px;
        height: 18px;
    }
    
    .header__mobile-nav-menu .header__nav-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .header__mobile-action-btn {
        padding: 12px;
        font-size: 13px;
        gap: 10px;
    }
    
    .header__mobile-action-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .header__mobile-actions {
        margin-top: 24px;
        padding-top: 24px;
    }
    
    /* Magazine для 320px */
    .magazine-hero {
        min-height: 400px;
        padding: 40px 0 60px;
    }
    
    .magazine-hero__content {
        max-width: 100%;
        padding: 0 12px;
    }
    
    .magazine-hero__title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .magazine-hero__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .magazine-hero__cta {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .magazine-stats {
        padding: 30px 0;
    }
    
    .magazine-stats__item {
        padding: 16px;
    }
    
    .magazine-stats__value {
        font-size: 28px;
    }
    
    .magazine-stats__label {
        font-size: 11px;
    }
    
    .magazine-featured__title {
        font-size: 20px;
    }
    
    .magazine-promo__title {
        font-size: 20px;
    }
    
    /* Floating support для 320px */
    .floating-support {
        bottom: 16px;
        right: 16px;
    }
    
    .floating-support__btn {
        width: 48px;
        height: 48px;
    }
    
    .floating-support__btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Для экстра маленьких экранов 320px */
@media (max-width: 320px) {
    /* Header - экстремальное сжатие */
    .header__content {
        gap: 4px;
        padding: 0 2px 0 6px;
    }
    
    .header__logo {
        flex-shrink: 0;
        max-width: 60px;
    }
    
    .header__logo svg {
        height: 16px;
        width: auto;
        max-width: 100%;
    }
    
    .header__mobile-toggle {
        width: 22px;
        height: 16px;
        flex-shrink: 0;
        order: -1;
    }
    
    .header__btn {
        padding: 4px 5px;
        font-size: 7px;
        min-width: 38px;
        flex-shrink: 1;
    }
    
    .header__lang {
        font-size: 7px;
        padding: 4px 6px;
        flex-shrink: 0;
    }
    
    .header__lang svg {
        width: 9px;
        height: 9px;
    }
    
    /* Мобильное меню для 320px */
    .header__mobile-menu-content {
        padding: 50px 10px 20px;
    }
}

