/* ==========================================================================
   MAIN STYLES - ФРАНЦУЗСКИЙ BOOKMAKERS САЙТ
   ПОСЛЕДНЕЕ ОБНОВЛЕНИЕ: 2025-01-17 - ОБНОВЛЕНЫ СТИЛИ РЕЙТИНГА И ПЛАТЕЖЕЙ
   - font-size: 15px для .bookmaker-card__score на всех экранах
   - gap: 30px для .bookmaker-card__rating на десктопе, 22px на мобильных
   - исправлена ссылка на Star.svg для .bookmaker-card__stars
   - специфичные min-width для .payment-method на экранах ≤360px:
     VISA: 55px, MasterCard: 90px, Bitcoin: 64px, Ethereum: 76px
   - gap: 3px для .payment-methods на экранах ≤360px
   - padding: 5px 1px для .payment-method на экранах ≤360px
   - добавлен hero__update-mobile элемент во все PHP файлы
   - padding-top: 40px для .hero на десктопе (>360px), 0px на мобильных (≤360px)
   - подключены ссылки букмекеров к кнопкам .bookmaker-card__cta и логотипам (.bookmaker-card__logo-img)
   - настроены badge: choice 136x25px, spring 210x25px, иконка 24x24px, Lato bold 10px, сдвиг +20px
   - badge font-size: 8px для экранов ≤360px
   - удалены неиспользуемые стили .bookmaker-card-link
   - цвет фона .payment-method изменен на #0E1B53
   - padding: 0 5px для .payment-methods на экранах ≤360px
   - padding-right: 4px для .payment-method:nth-child(4) на экранах ≤360px
   ========================================================================== */

/* Импорт токенов */
@import url('tokens.css');

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

/* Убираем синие обводки со всех ссылок на сайте */
a,
a:focus,
a:active,
a:visited {
    outline: none !important;
    box-shadow: none !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Убираем горизонтальный скролл */
}

body {
    font-family: var(--font-family-sans);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-image: url('../images/backgrounds/main-background.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    background-color: #1a1a2e; /* Fallback */
    overflow-x: hidden; /* Убираем горизонтальный скролл */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

main {
    background: transparent;
    margin: 0;
    padding: 0 !important;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #00000075;
    transition: background-color var(--transition-normal);
    color: var(--color-neutral);
    padding: var(--spacing-md) 0;
    width: 100%;
}

.header__container {
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    max-width: none !important;
    width: 100% !important;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    outline: none !important;
    border: none !important;
}

.header__logo:hover {
    opacity: 0.8;
}

.header__logo:focus {
    outline: none !important;
    box-shadow: none !important;
}

.header__logo:active {
    outline: none !important;
}

.header__logo,
.header__logo:hover,
.header__logo:focus,
.header__logo:active,
.header__logo:visited {
    text-decoration: none !important;
}

.france-flag {
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.france-flag__blue {
    background: var(--color-france-blue);
    flex: 1;
}

.france-flag__white {
    background: var(--color-france-white);
    flex: 1;
}

.france-flag__red {
    background: var(--color-france-red);
    flex: 1;
}

.header__site-name {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--color-neutral);
    text-decoration: none;
}

.header__disclaimer {
    flex: 1;
    text-align: center;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-tight);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__disclaimer-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--spacing-xs);
}

.header__disclaimer-content {
    display: flex;
    animation: disclaimer-scroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.header__disclaimer-content:hover {
    animation-play-state: paused;
}

.header__disclaimer-text {
    opacity: 0.9;
    white-space: nowrap;
    margin-right: 3rem; /* Пространство между дублированными текстами */
}

.header__phone {
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
}

.header__auth {
    display: flex;
    gap: var(--spacing-md);
}

.header__btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid white;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header__btn--login {
    background: transparent;
    color: var(--color-neutral);
}

.header__btn--login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.header__btn--signup {
    background: transparent;
    color: var(--color-neutral);
}

.header__btn--signup:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */

.hero {
    padding-top: 40px;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.hero__content {
    color: var(--color-neutral);
}

.hero__title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-hero);
    font-weight: 400; /* Regular как на макете */
    line-height: 1.2; /* 120% */
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
}

.hero__subtitle {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-xl);
    font-weight: 400; /* Regular для подзаголовков */
    line-height: 1.4;
    margin-bottom: calc(var(--spacing-xl) + var(--spacing-sm));
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero__cta {
    background: var(--color-accent);
    color: var(--color-neutral);
    border: none;
    padding: var(--spacing-md) calc(var(--spacing-xl) + var(--spacing-sm));
    font-family: var(--font-family-heading);
    font-size: var(--font-size-lg);
    font-weight: 500; /* Medium для обычных кнопок */
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hero__cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-card {
    background: rgba(30, 64, 175, 0.9);
    color: var(--color-neutral);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
}

.feature-card:hover {
    background: rgba(30, 64, 175, 1);
    transform: translateX(5px);
}

.feature-card__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card__icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.feature-card__text {
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
}

.hero__update {
    margin-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

.hero__update-icon {
    font-size: var(--font-size-base);
}

/* ==========================================================================
   TICKER (БЕГУЩАЯ СТРОКА) STYLES
   ========================================================================== */

.ticker-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    z-index: -2;
    pointer-events: none;
    border-radius: 16px;
    /* Обрезка по скругленным углам карточки */
    clip-path: inset(0 round 16px);
}

.ticker {
    position: absolute;
    top: calc(90% - 10px);
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker__content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
    background: transparent;
    padding: var(--spacing-xs) var(--spacing-md);
    transition: all var(--transition-normal);
    pointer-events: auto;
    cursor: pointer;
}

.ticker__item:hover {
    transform: scale(1.05);
}

.ticker__flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ticker__text {
    color: var(--color-neutral);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

/* ==========================================================================
   BOOKMAKERS SECTION STYLES
   ========================================================================== */

.bookmakers {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.bookmakers__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.bookmaker-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--spacing-sm);
    align-items: center;
    margin-top: var(--spacing-lg);
    transition: background-color var(--transition-normal);
    min-height: 150px;
    z-index: 10;
}

.bookmaker-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 69%;
    height: 100%;
    background-image: url('../images/icons/Rectangle 3.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
    border-radius: 16px;
    overflow: hidden;
}

.bookmaker-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 27%;
    height: 100%;
    background-image: url('../images/icons/bluecadr-right.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
    border-radius: 16px;
    overflow: hidden;
}

.bookmaker-card__badge {
    position: absolute;
    top: -12px;
    left: 0;
    background: var(--color-accent);
    color: var(--color-neutral);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 7px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: 30;
}

.badge-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.bookmaker-card__badge--choice {
    background: var(--color-accent);
    width: 136px;
    height: 25px;
    left: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
}

.bookmaker-card__badge--choice .badge-icon {
    width: 24px;
    height: 24px;
}

.bookmaker-card__badge--spring {
    background: var(--color-accent);
    width: 210px;
    height: 25px;
    left: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
}

.bookmaker-card__badge--spring .badge-icon {
    width: 24px;
    height: 24px;
}

.bookmaker-card__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 15;
    border-top-left-radius: var(--radius-md);
}

.bookmaker-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    padding-right: 50px;
}

.bookmaker-card__logo-img {
    max-height: 90px;
    max-width: 200px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.bookmaker-card__logo-img:hover {
    transform: scale(1.05);
}

.bookmaker-card__name {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-neutral);
}

.bookmaker-card__rating {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: auto;
    padding-right: 50px;
    line-height: 12px;
    white-space: nowrap;
}

.bookmaker-card__score {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-neutral);
    line-height: 12px;
}

.bookmaker-card__stars {
    background-image: url('../images/icons/Star.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    width: 85px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    transform: scale(1.5);
}

.bookmaker-card__bonus {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    color: var(--color-neutral);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.bookmaker-card__center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    z-index: 15;
    position: relative;
}

.bookmaker-card__bonus-label {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 10px;
    color: #ffec1e;
    margin-bottom: var(--spacing-xs);
}

.bookmaker-card__bonus-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-neutral);
    line-height: var(--line-height-tight);
}

.bookmaker-card__bonus-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.bookmaker-card__bonus-details span {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.5);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.bookmaker-card__right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    position: relative;
    z-index: 15;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.bookmaker-card__info-block {
    background: transparent;
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    width: 100%;
    backdrop-filter: blur(5px);
    border: none;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    width: 100%;
}

.payment-method {
    font-size: var(--font-size-xs);
    color: var(--color-neutral);
    background: #0e1b53;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-method img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.bookmaker-card__cta {
    background: var(--color-accent);
    color: var(--color-neutral);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.bookmaker-card:hover {
    background: rgba(0, 0, 0, 0.7);
}

.bookmaker-card__cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   ADVANTAGES SECTION STYLES
   ========================================================================== */

.advantages {
    padding: var(--spacing-3xl) 0;
}

.advantages__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.advantages__title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-section);
    font-weight: 400; /* Regular как на макете */
    color: var(--color-neutral);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.advantage-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    background: rgba(0, 0, 0, 0.5);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.advantage-card__title {
    background: rgba(30, 64, 175, 0.9);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-card);
    font-weight: 700; /* Bold для заголовков карточек */
    color: var(--color-neutral);
    margin: 0;
    padding: var(--spacing-lg);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    line-height: 1.3;
}

.advantage-card__text {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: var(--spacing-lg);
}

/* ==========================================================================
   CONTACT FORM SECTION STYLES
   ========================================================================== */

.contact {
    padding: var(--spacing-3xl) 0;
}

.contact__container {
    width: 100%;
    margin: 0;
    padding: var(--spacing-3xl) var(--spacing-lg);
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.contact__title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-section);
    font-weight: 400; /* Regular как на макете */
    color: var(--color-neutral);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.contact__subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-3xl);
    line-height: var(--line-height-relaxed);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.contact__input,
.contact__textarea {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    font-size: var(--font-size-base);
    color: var(--color-gray-dark);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact__input:focus,
.contact__textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
    color: rgba(107, 114, 128, 0.7);
}

.contact__textarea {
    resize: none;
    min-height: 120px;
    font-family: inherit;
}

.contact__submit {
    background: var(--color-accent);
    color: var(--color-neutral);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.contact__submit:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   FAQ SECTION STYLES
   ========================================================================== */

.faq {
    padding: var(--spacing-3xl) 0;
}

.faq__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.faq__title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-section);
    font-weight: 400; /* Regular как на макете */
    color: var(--color-neutral);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-item__question {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-neutral);
    margin: 0 0 var(--spacing-md) 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.faq-item__answer {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.faq-item__link {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color var(--transition-normal);
}

.faq-item__link:hover {
    color: var(--color-accent-light);
}

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

.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: var(--spacing-3xl) 0 var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer__top {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    flex-wrap: wrap;
}

.footer__link {
    color: var(--color-neutral);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
}

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

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer__column {
    color: rgba(255, 255, 255, 0.9);
}

.footer__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-neutral);
    margin-bottom: var(--spacing-lg);
}

.footer__subtitle {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-neutral);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.footer__text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.footer__item {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-xs);
}

.footer__contact {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.footer__contact-link {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer__contact-link:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

.footer__disclaimer {
    font-size: var(--font-size-xs);
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-lg);
}

.footer__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__logo-circle {
    width: 50px;
    height: 50px;
    background: var(--color-neutral);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.footer__logo-img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.footer__logo-img:hover {
    opacity: 1;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top__arrow {
    width: 20px;
    height: 20px;
    transform: rotate(-135deg);
    filter: brightness(0) invert(1);
}

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

/* Адаптивность для планшетов и мобильных устройств */
@media (max-width: 1300px) {
    /* Букмекерские карточки - адаптивная версия */
    .bookmaker-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
        padding: var(--spacing-md);
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible;
        position: relative;
        grid-template-areas:
            'header center'
            'ticker ticker'
            'actions actions';
    }

    /* Первая секция: логотип+рейтинг 50% + бонус 50% */
    .bookmaker-card__header {
        grid-area: header;
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
        padding: var(--spacing-sm);
        padding-top: 35px;
        padding-bottom: 10px;
        max-width: 100%;
        width: 100%;
        flex: 1 1 50%;
        align-items: stretch;
        justify-content: center;
        background: #1f41b0;
        border-top-left-radius: var(--radius-md);
    }

    .bookmaker-card__logo {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .bookmaker-card__logo-img {
        max-height: 80px;
        max-width: 140px;
        object-fit: contain;
    }

    .bookmaker-card__rating {
        padding-left: 0;
        padding-right: 0;
        margin-top: var(--spacing-xs);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 22px;
        width: 100%;
        flex-wrap: nowrap;
        white-space: nowrap;
        line-height: 12px;
    }

    .bookmaker-card__score {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 15px;
        color: var(--color-neutral);
        flex-shrink: 0;
        line-height: 12px;
    }

    .bookmaker-card__stars {
        background-image: url('../images/icons/Star.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left center;
        width: 58px;
        height: 10px;
        display: inline-block;
        flex-shrink: 0;
    }

    /* Вторая секция: бегущая строка на всю ширину */
    .ticker-wrapper {
        grid-area: ticker;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        height: auto;

        margin: 0;
        overflow: hidden;
        border-radius: 12px;
        display: flex;
        align-items: center;
    }

    .ticker {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        min-height: 32px;
    }

    .ticker__content {
        animation: ticker-scroll 20s linear infinite;
        gap: var(--spacing-sm);
        width: max-content;
    }

    .ticker__item {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .ticker__text {
        font-size: var(--font-size-xs);
    }

    /* Центральная секция: бонус */
    .bookmaker-card__center {
        grid-area: center;
        align-items: stretch;
        text-align: left;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
        padding: var(--spacing-sm);
        padding-bottom: 0;
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .bookmaker-card__bonus {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        flex: 1;
        min-width: 0;
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 16px;
    }

    /* Третья секция: кнопка + payment methods */
    .bookmaker-card__right {
        grid-area: actions;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        min-width: 0;
        overflow: hidden;
        padding-top: 0;
        margin-top: 0;
        background: #1f41b0;
        border-bottom-left-radius: var(--radius-md);
        border-bottom-right-radius: var(--radius-md);
        border-top-right-radius: 0;
        padding: var(--spacing-md);
    }

    .bookmaker-card__cta {
        width: 100%;
        margin-bottom: 0;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        box-sizing: border-box;
    }

    .bookmaker-card__info-block {
        width: 100%;
        padding: var(--spacing-xs);
        box-sizing: border-box;
    }

    .payment-methods {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .payment-method {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs);
        text-align: center;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-sizing: border-box;
    }

    /* Скрываем фоновые изображения на мобильных */
    .bookmaker-card::before,
    .bookmaker-card::after {
        display: none;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 770px) {
    .bookmaker-card__right {
        border-top-right-radius: 0;
    }

    .hero__container {
        gap: 0;
    }

    .feature-card {
        justify-content: center;
        text-align: center;
    }

    .header__container {
        gap: var(--spacing-xs);
    }

    .bookmakers__container {
        padding: 0 12px;
    }

    .payment-methods {
        display: flex;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0;
        /* Плавная прокрутка */
        scroll-behavior: smooth;
        /* Скрываем скроллбар */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        /* Равномерное распределение когда помещается */
        justify-content: space-between;
    }

    /* Скрываем скроллбар для WebKit браузеров */
    .payment-methods::-webkit-scrollbar {
        display: none;
    }

    .payment-method {
        flex: 1 0 auto;
        white-space: nowrap;
        text-align: center;
        /* Максимальная ширина для предотвращения слишком широких элементов */
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    main {
        margin: 0;
        padding: 0 !important;
    }

    .header__container {
        flex-direction: column;
        gap: var(--spacing-xs);
        padding: 0 var(--spacing-md);
    }

    .header__disclaimer {
        order: -1;
        text-align: center;
    }

    .header__disclaimer-content {
        animation: disclaimer-scroll 20s linear infinite;
    }

    .header__phone {
        display: none;
    }

    .header__logo {
        margin-bottom: 10px;
    }

    .header__auth {
        width: 100%;
        justify-content: center;
    }

    .hero__cta {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 12px;
    }

    .bookmakers__container {
        padding: 0 12px;
    }

    .hero__container {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 var(--spacing-md);
    }

    .hero__content {
        display: contents;
    }

    .hero__title {
        font-family: var(--font-family-heading);
        font-size: calc(var(--font-size-3xl) + var(--spacing-sm));
        font-weight: 400; /* Regular */
        line-height: 1.2;
        text-align: center;
        order: 1;
    }

    .hero__subtitle {
        font-size: var(--font-size-lg);
        text-align: center;
        order: 2;
        align-self: center;
    }

    .hero__cta {
        width: 100%;
        text-align: center;
        order: 4;
        margin-top: var(--spacing-lg);
    }

    .hero__sidebar {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: var(--spacing-xs);
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    /* Feature cards в один ряд - тоньше */
    .hero__sidebar .feature-card {
        flex: 1;
        min-width: 0;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    /* Скрываем hero__update из sidebar */
    .hero__sidebar .hero__update {
        display: none;
    }

    .hero__sidebar .feature-card__text {
        font-size: var(--font-size-xs);
        line-height: var(--line-height-tight);
    }

    .hero__sidebar .feature-card__icon {
        width: 20px;
        height: 20px;
    }

    .hero__sidebar .feature-card__icon img {
        width: 16px;
        height: 16px;
    }

    /* Переопределяем стили badge для мобильных */
    .bookmaker-card__badge--choice {
        width: auto;
        height: auto;
        left: 0;
        font-size: 8px;
    }

    .bookmaker-card__badge--choice .badge-icon {
        width: 16px;
        height: 16px;
    }

    .bookmaker-card__badge--spring {
        width: auto;
        height: auto;
        left: 0;
        font-size: 8px;
    }

    .bookmaker-card__badge--spring .badge-icon {
        width: 16px;
        height: 16px;
    }

    /* Показываем мобильный элемент обновления даты */
    .hero__update-mobile {
        display: flex !important;
        order: 5;
        margin-top: var(--spacing-md);
        text-align: center;
        justify-content: center;
        align-items: center;
        align-self: center;
        gap: var(--spacing-sm);
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.8);
    }

    /* Ticker адаптивность */
    .ticker__item {
        padding: 0 1rem;
    }

    .ticker__text {
        font-size: var(--font-size-xs);
    }

    .ticker__flag {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 600px) {
    .bookmakers__container {
        padding: 0 12px;
    }

    .payment-method {
        padding: 0 10px;
    }
}

@media (max-width: 500px) {
    .bookmakers__container {
        padding: 0 12px;
    }
    .bookmaker-card__bonus {
        gap: 0;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    /* Дополнительные ограничения для букмекерских карточек на очень маленьких экранах */
    .bookmaker-card {
        gap: 0;
        padding: var(--spacing-sm);
    }

    .hero__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400; /* Regular */
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: var(--font-size-lg);
    }

    .feature-card {
        padding: var(--spacing-md) 12px;
    }

    .header__container {
        padding: 0 var(--spacing-md);
    }

    .bookmakers__container {
        padding: 0 12px;
    }

    .bookmaker-card__badge {
        left: 0;
        transform: none;
        top: -12px;
        z-index: 30;
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 8px;
        padding: var(--spacing-xs) var(--spacing-sm);
        border-radius: 7px;
    }

    .payment-methods {
        /* Наследуем flex стили от 770px медиа-запроса */
        gap: var(--spacing-xs);
    }

    .advantages__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .advantage-card__title {
        padding: var(--spacing-md);
    }

    .advantage-card__text {
        padding: var(--spacing-md);
    }

    .contact__container {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .contact__form {
        gap: var(--spacing-md);
    }

    .contact__input,
    .contact__textarea {
        padding: var(--spacing-md);
    }

    .contact__submit {
        padding: var(--spacing-md) var(--spacing-xl);
    }

    .faq__container {
        padding: 0 var(--spacing-md);
    }

    .faq-item {
        padding: var(--spacing-lg);
    }

    .faq-item__question {
        font-size: var(--font-size-lg);
    }

    .footer__container {
        padding: 0 var(--spacing-md);
    }

    .footer__links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer__logos {
        gap: var(--spacing-md);
    }

    .footer__logo-circle {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }

    .footer__logo-img {
        max-height: 40px;
        max-width: 100px;
    }
}

/* ==========================================================================
   AUTH MODAL STYLES
   ========================================================================== */

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.auth-modal.show {
    opacity: 1;
    visibility: visible;
}

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

.auth-modal__container {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.auth-modal__container--small {
    max-width: 350px;
}

.auth-modal.show .auth-modal__container {
    transform: scale(1);
}

.auth-modal__content {
    background: rgba(30, 64, 175, 0.95);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    position: relative;
}

.auth-modal__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    transition: color var(--transition-normal);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal__close:hover {
    color: var(--color-neutral);
}

.auth-modal__title {
    color: var(--color-neutral);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-xl) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-modal__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-xl) 0;
}

.auth-modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.auth-modal__input {
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    transition: all var(--transition-normal);
    min-height: 48px;
    box-sizing: border-box;
}

.auth-modal__input::placeholder {
    color: rgba(15, 23, 42, 0.6);
}

.auth-modal__input:focus {
    outline: none;
    background: var(--color-neutral);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.auth-modal__btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal__btn--primary {
    background: var(--color-accent);
    color: var(--color-neutral);
    font-family: var(--font-family-heading);
    font-weight: 700; /* Bold для кнопок модальных окон как на макете */
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.auth-modal__btn--primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.auth-modal__link-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    margin: 0;
}

.auth-modal__link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
}

.auth-modal__link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Mobile styles for auth modals */
@media (max-width: 768px) {
    .auth-modal__container {
        max-width: 350px;
    }

    .auth-modal__container--small {
        max-width: 320px;
    }

    .auth-modal__content {
        padding: var(--spacing-lg);
    }

    .auth-modal__title {
        font-size: var(--font-size-xl);
    }

    .auth-modal__input {
        padding: var(--spacing-sm);
        font-size: var(--font-size-sm);
        min-height: 44px;
    }

    .auth-modal__btn {
        padding: var(--spacing-sm) 12px;
        font-size: var(--font-size-sm);
        min-height: 44px;
    }

    .auth-modal__description {
        font-size: var(--font-size-xs);
    }
}

/* ==========================================================================
   PRIVACY POLICY PAGE STYLES
   ========================================================================== */

.privacy-page {
    background: url('../images/backgrounds/main-background.webp') center/cover no-repeat;
    min-height: 100vh;
}

.privacy-page .hero {
    background: transparent;
}

.privacy-page .hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.privacy-page .hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.privacy-content {
    padding: 100px 0;
}

.privacy-content__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.privacy-policy {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.privacy-policy__header {
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.privacy-policy__title {
    color: var(--color-neutral);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.privacy-policy__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    margin: 0 0 var(--spacing-xs) 0;
}

.privacy-policy__date {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin: 0;
}

.privacy-policy__content {
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
}

.privacy-policy__intro {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-xl) 0;
    color: rgba(255, 255, 255, 0.95);
}

.privacy-section {
    margin-bottom: var(--spacing-xl);
}

.privacy-section__title {
    color: var(--color-neutral);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-md) 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.privacy-section__text {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-md) 0;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-section__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.privacy-section__list li {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.85);
    padding-left: var(--spacing-sm);
}

.privacy-section__link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
}

.privacy-section__link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Mobile styles for privacy policy */
@media (max-width: 768px) {
    /* Hero section responsive styles for privacy page */
    .privacy-page .hero {
        padding: var(--spacing-2xl) 0 var(--spacing-3xl) 0;
    }

    .privacy-page .hero__container {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 var(--spacing-md);
    }

    .privacy-page .hero__content {
        display: contents;
    }

    .privacy-page .hero__title {
        font-family: var(--font-family-heading);
        font-size: calc(var(--font-size-3xl) + var(--spacing-sm));
        font-weight: 400; /* Regular */
        line-height: 1.2;
        text-align: center;
        order: 1;
    }

    .privacy-page .hero__subtitle {
        font-size: var(--font-size-lg);
        text-align: center;
        order: 2;
        align-self: center;
    }

    .privacy-page .hero__cta {
        width: 100%;
        text-align: center;
        order: 4;
        margin-top: var(--spacing-lg);
    }

    .privacy-page .hero__sidebar {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: var(--spacing-xs);
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    /* Feature cards в один ряд - тоньше */
    .privacy-page .hero__sidebar .feature-card {
        flex: 1;
        min-width: 0;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    /* Скрываем hero__update из sidebar */
    .privacy-page .hero__sidebar .hero__update {
        display: none;
    }

    .privacy-page .hero__sidebar .feature-card__text {
        font-size: var(--font-size-xs);
        line-height: var(--line-height-tight);
    }

    .privacy-page .hero__sidebar .feature-card__icon {
        width: 20px;
        height: 20px;
    }

    .privacy-page .hero__sidebar .feature-card__icon img {
        width: 16px;
        height: 16px;
    }

    /* Показываем мобильный элемент обновления даты для privacy page */
    .privacy-page .hero__update-mobile {
        display: flex !important;
        order: 5;
        margin-top: var(--spacing-md);
        text-align: center;
        justify-content: center;
        align-items: center;
        align-self: center;
        gap: var(--spacing-sm);
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.8);
    }

    /* Privacy content styles */
    .privacy-content {
        padding: 60px 0;
    }

    .privacy-policy {
        padding: var(--spacing-xl);
        border-radius: var(--radius-lg);
    }

    .privacy-policy__title {
        font-size: var(--font-size-xl);
    }

    .privacy-policy__subtitle {
        font-size: var(--font-size-sm);
    }

    .privacy-section__title {
        font-size: var(--font-size-base);
    }

    .privacy-section__text,
    .privacy-section__list li {
        font-size: var(--font-size-sm);
    }

    .privacy-policy__intro {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    /* Hero section responsive styles for privacy page - small screens */
    .privacy-page .hero__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400; /* Regular */
        line-height: 1.2;
    }

    .privacy-page .hero__subtitle {
        font-size: var(--font-size-base);
    }

    .privacy-page .hero__container {
        padding: 0 var(--spacing-sm);
    }

    .privacy-page .hero__sidebar .feature-card {
        padding: var(--spacing-xs);
    }

    .privacy-page .hero__sidebar .feature-card__text {
        font-size: var(--font-size-2xs);
    }

    /* Privacy content styles for small screens */
    .privacy-content {
        padding: 40px 0;
    }

    .privacy-policy {
        padding: var(--spacing-lg);
        border-radius: var(--radius-md);
    }

    .privacy-policy__header {
        margin-bottom: var(--spacing-lg);
    }

    .privacy-section {
        margin-bottom: var(--spacing-lg);
    }
}

/* ==========================================================================
   COOKIES POLICY PAGE STYLES
   ========================================================================== */

.cookies-page {
    background: url('../images/backgrounds/main-background.webp') center/cover no-repeat;
    min-height: 100vh;
}

.cookies-page .hero {
    background: transparent;
}

.cookies-page .hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.cookies-page .hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cookies-content {
    padding: 100px 0;
}

.cookies-content__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.cookies-policy {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.cookies-policy__header {
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.cookies-policy__title {
    color: var(--color-neutral);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cookies-policy__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    margin: 0 0 var(--spacing-xs) 0;
}

.cookies-policy__date {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin: 0;
}

.cookies-policy__content {
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
}

.cookies-policy__intro {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-xl) 0;
    color: rgba(255, 255, 255, 0.95);
}

.cookies-section {
    margin-bottom: var(--spacing-xl);
}

.cookies-section__title {
    color: var(--color-neutral);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-md) 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cookies-section__text {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-md) 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookies-section__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.cookies-section__list li {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.85);
    padding-left: var(--spacing-sm);
}

.cookies-section__link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
}

.cookies-section__link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Mobile styles for cookies policy */
@media (max-width: 768px) {
    /* Hero section responsive styles for cookies page */
    .cookies-page .hero {
        padding: var(--spacing-2xl) 0 var(--spacing-3xl) 0;
    }

    .cookies-page .hero__container {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 var(--spacing-md);
    }

    .cookies-page .hero__content {
        display: contents;
    }

    .cookies-page .hero__title {
        font-family: var(--font-family-heading);
        font-size: calc(var(--font-size-3xl) + var(--spacing-sm));
        font-weight: 400; /* Regular */
        line-height: 1.2;
        text-align: center;
        order: 1;
    }

    .cookies-page .hero__subtitle {
        font-size: var(--font-size-lg);
        text-align: center;
        order: 2;
        align-self: center;
    }

    .cookies-page .hero__cta {
        width: 100%;
        text-align: center;
        order: 4;
        margin-top: var(--spacing-lg);
    }

    .cookies-page .hero__sidebar {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: var(--spacing-xs);
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    /* Feature cards в один ряд - тоньше */
    .cookies-page .hero__sidebar .feature-card {
        flex: 1;
        min-width: 0;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    /* Скрываем hero__update из sidebar */
    .cookies-page .hero__sidebar .hero__update {
        display: none;
    }

    .cookies-page .hero__sidebar .feature-card__text {
        font-size: var(--font-size-xs);
        line-height: var(--line-height-tight);
    }

    .cookies-page .hero__sidebar .feature-card__icon {
        width: 20px;
        height: 20px;
    }

    .cookies-page .hero__sidebar .feature-card__icon img {
        width: 16px;
        height: 16px;
    }

    /* Показываем мобильный элемент обновления даты для cookies page */
    .cookies-page .hero__update-mobile {
        display: flex !important;
        order: 5;
        margin-top: var(--spacing-md);
        text-align: center;
        justify-content: center;
        align-items: center;
        align-self: center;
        gap: var(--spacing-sm);
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.8);
    }

    /* Cookies content styles */
    .cookies-content {
        padding: 60px 0;
    }

    .cookies-policy {
        padding: var(--spacing-xl);
        border-radius: var(--radius-lg);
    }

    .cookies-policy__title {
        font-size: var(--font-size-xl);
    }

    .cookies-policy__subtitle {
        font-size: var(--font-size-sm);
    }

    .cookies-section__title {
        font-size: var(--font-size-base);
    }

    .cookies-section__text,
    .cookies-section__list li {
        font-size: var(--font-size-sm);
    }

    .cookies-policy__intro {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    /* Hero section responsive styles for cookies page - small screens */
    .cookies-page .hero__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400; /* Regular */
        line-height: 1.2;
    }

    .cookies-page .hero__subtitle {
        font-size: var(--font-size-base);
    }

    .cookies-page .hero__container {
        padding: 0 var(--spacing-sm);
    }

    .cookies-page .hero__sidebar .feature-card {
        padding: var(--spacing-xs);
    }

    .cookies-page .hero__sidebar .feature-card__text {
        font-size: var(--font-size-2xs);
    }

    /* Cookies content styles for small screens */
    .cookies-content {
        padding: 40px 0;
    }

    .cookies-policy {
        padding: var(--spacing-lg);
        border-radius: var(--radius-md);
    }

    .cookies-policy__header {
        margin-bottom: var(--spacing-lg);
    }

    .cookies-section {
        margin-bottom: var(--spacing-lg);
    }
}

/* ==========================================================================
   RESPONSIBLE GAMING PAGE STYLES
   ========================================================================== */

.responsible-page {
    background: url('../images/backgrounds/main-background.webp') center/cover no-repeat;
    min-height: 100vh;
}

.responsible-page .hero {
    background: transparent;
}

.responsible-page .hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.responsible-page .hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.responsible-content {
    padding: 100px 0;
}

.responsible-content__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.responsible-policy {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.responsible-policy__header {
    margin-bottom: var(--spacing-2xl);
    text-align: left;
}

.responsible-policy__title {
    color: var(--color-neutral);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.responsible-policy__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    margin: 0 0 var(--spacing-xs) 0;
}

.responsible-policy__date {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin: 0;
}

.responsible-policy__content {
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
}

.responsible-policy__intro {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-xl) 0;
    color: rgba(255, 255, 255, 0.95);
}

.responsible-section {
    margin-bottom: var(--spacing-xl);
}

.responsible-section__title {
    color: var(--color-neutral);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-md) 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.responsible-section__text {
    font-size: var(--font-size-base);
    margin: 0 0 var(--spacing-md) 0;
    color: rgba(255, 255, 255, 0.9);
}

.responsible-section__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.responsible-section__list li {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.85);
    padding-left: var(--spacing-sm);
}

.responsible-section__link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
}

.responsible-section__link:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Стили для всех ссылок в разделе ответственной игры */
.responsible-policy a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-normal);
    outline: none !important;
    border: none !important;
}

.responsible-policy a:hover {
    color: var(--color-neutral) !important;
    text-decoration: none !important;
    outline: none !important;
}

.responsible-policy a:focus {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.responsible-policy a:visited {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
}

/* Убираем точки из списков в разделе ответственной игры */
.responsible-policy ul,
.responsible-policy .help-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.responsible-policy ul li,
.responsible-policy .help-list li {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Mobile styles for responsible gaming policy */
@media (max-width: 768px) {
    /* Hero section responsive styles for responsible page */
    .responsible-page .hero {
        padding: var(--spacing-2xl) 0 var(--spacing-3xl) 0;
    }

    .responsible-page .hero__container {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 var(--spacing-md);
    }

    .responsible-page .hero__content {
        display: contents;
    }

    .responsible-page .hero__title {
        font-family: var(--font-family-heading);
        font-size: calc(var(--font-size-3xl) + var(--spacing-sm));
        font-weight: 400; /* Regular */
        line-height: 1.2;
        text-align: center;
        order: 1;
    }

    .responsible-page .hero__subtitle {
        font-size: var(--font-size-lg);
        text-align: center;
        order: 2;
        align-self: center;
    }

    .responsible-page .hero__cta {
        width: 100%;
        text-align: center;
        order: 4;
        margin-top: var(--spacing-lg);
    }

    .responsible-page .hero__sidebar {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: var(--spacing-xs);
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    /* Feature cards в один ряд - тоньше */
    .responsible-page .hero__sidebar .feature-card {
        flex: 1;
        min-width: 0;
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    /* Скрываем hero__update из sidebar */
    .responsible-page .hero__sidebar .hero__update {
        display: none;
    }

    .responsible-page .hero__sidebar .feature-card__text {
        font-size: var(--font-size-xs);
        line-height: var(--line-height-tight);
    }

    .responsible-page .hero__sidebar .feature-card__icon {
        width: 20px;
        height: 20px;
    }

    .responsible-page .hero__sidebar .feature-card__icon img {
        width: 16px;
        height: 16px;
    }

    /* Показываем мобильный элемент обновления даты для responsible page */
    .responsible-page .hero__update-mobile {
        display: flex !important;
        order: 5;
        margin-top: var(--spacing-md);
        text-align: center;
        justify-content: center;
        align-items: center;
        align-self: center;
        gap: var(--spacing-sm);
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.8);
    }

    /* Responsible content styles */
    .responsible-content {
        padding: 60px 0;
    }

    .responsible-policy {
        padding: var(--spacing-xl);
        border-radius: var(--radius-lg);
    }

    .responsible-policy__title {
        font-size: var(--font-size-xl);
    }

    .responsible-policy__subtitle {
        font-size: var(--font-size-sm);
    }

    .responsible-section__title {
        font-size: var(--font-size-base);
    }

    .responsible-section__text,
    .responsible-section__list li {
        font-size: var(--font-size-sm);
    }

    .responsible-policy__intro {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    /* Hero section responsive styles for responsible page - small screens */
    .responsible-page .hero__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400; /* Regular */
        line-height: 1.2;
    }

    .responsible-page .hero__subtitle {
        font-size: var(--font-size-base);
    }

    .responsible-page .hero__container {
        padding: 0 var(--spacing-sm);
    }

    .responsible-page .hero__sidebar .feature-card {
        padding: var(--spacing-xs);
    }

    .responsible-page .hero__sidebar .feature-card__text {
        font-size: var(--font-size-2xs);
    }

    /* Responsible content styles for small screens */
    .responsible-content {
        padding: 40px 0;
    }

    .responsible-policy {
        padding: var(--spacing-lg);
        border-radius: var(--radius-md);
    }

    .responsible-policy__header {
        margin-bottom: var(--spacing-lg);
    }

    .responsible-section {
        margin-bottom: var(--spacing-lg);
    }
}

/* ==========================================================================
   AGE VERIFICATION MODAL STYLES
   ========================================================================== */

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.age-modal.show {
    opacity: 1;
    visibility: visible;
}

.age-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 64, 175, 0.95) 50%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px);
}

.age-modal__container {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.age-modal.show .age-modal__container {
    transform: scale(1);
}

.age-modal__content {
    background: rgba(30, 64, 175, 0.95);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
}

.age-modal__title {
    color: var(--color-neutral);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-lg) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.age-modal__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-xl) 0;
}

.age-modal__actions {
    display: flex;
    justify-content: center;
}

.age-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
    min-height: 48px;
    width: 100%;
}

.age-modal__btn--primary {
    background: var(--color-accent);
    color: var(--color-neutral);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.age-modal__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    background: #f59e0b;
}

/* Mobile styles for age modal */
@media (max-width: 768px) {
    .age-modal__container {
        max-width: 350px;
    }

    .age-modal__content {
        padding: var(--spacing-lg);
    }

    .age-modal__title {
        font-size: var(--font-size-xl);
    }

    .age-modal__description {
        font-size: var(--font-size-xs);
    }

    .age-modal__btn {
        padding: var(--spacing-sm) 12px;
        font-size: var(--font-size-sm);
        min-height: 44px;
    }
}

/* ==========================================================================
   COOKIE BANNER STYLES
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    z-index: 1000;
    transform: translateY(150%);
    transition: transform var(--transition-normal);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    margin: 0 auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner__container {
    padding: var(--spacing-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.cookie-banner__title {
    color: var(--color-neutral);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin: 0 0 var(--spacing-md) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cookie-banner__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-lg) 0;
}

.cookie-banner__actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cookie-banner__btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner__btn--primary {
    background: var(--color-accent);
    color: var(--color-neutral);
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cookie-banner__btn--primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.cookie-banner__btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-banner__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-neutral);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

/* Mobile styles for cookie banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: var(--spacing-md);
        left: var(--spacing-md);
        right: var(--spacing-md);
    }

    .cookie-banner__container {
        padding: var(--spacing-lg);
    }

    .cookie-banner__title {
        font-size: var(--font-size-lg);
    }

    .cookie-banner__description {
        font-size: var(--font-size-xs);
    }

    .cookie-banner__btn {
        padding: var(--spacing-sm) 12px;
        font-size: var(--font-size-sm);
        min-height: 44px;
    }
}

/* Экраны менее 360px - дополнительные исправления для текста бонуса */
@media (max-width: 360px) {
    .bookmaker-card__badge--choice,
    .bookmaker-card__badge--spring {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 8px;
    }

    .hero {
        padding-top: 0;
    }

    .hero__title {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 24px;
        font-size: 0;
    }

    .hero__title::after {
        content: 'DÉCOUVREZ LES MEILLEURS BOOKMAKERS FRANÇAIS 2025';
        font-size: 24px;
    }

    .header__site-name {
        font-size: initial;
    }

    .hero__subtitle {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 12px;
        font-size: 0;
        margin-bottom: 16px;
    }

    .hero__subtitle::after {
        content: 'Sites licenciés ANJ - Comparaisons expertes - Jeu responsable';
        font-size: 11px;
    }

    .hero__cta {
        border-radius: 10px;
        font-size: 0;
        text-transform: none;
        padding: 0;
        margin-top: 0;
        height: 34px;
    }

    .hero__cta::after {
        content: 'Voir le Classement Complet';
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 12px;
    }

    .hero__sidebar {
        gap: 5px;
    }

    .hero__sidebar .feature-card {
        border-radius: 3px;
        font-family: 'Lato', sans-serif;
        font-weight: 500;
        font-size: 10px;
        height: 26px;
        padding: 4px 8px;
        display: flex;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        gap: 5px;
        box-shadow: 0 0 20px 0 rgba(0, 178, 255, 0.25);
    }

    .hero__sidebar .feature-card__icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .hero__sidebar .feature-card__icon img {
        width: 16px;
        height: 16px;
    }

    .hero__sidebar .feature-card__text {
        font-size: 0;
        display: flex;
        align-items: center;
    }

    .hero__sidebar .feature-card:nth-child(1) .feature-card__text::after {
        content: 'Gros bonus';
        font-size: 10px;
    }

    .hero__sidebar .feature-card:nth-child(2) .feature-card__text::after {
        content: 'Site sécurisé';
        font-size: 10px;
    }

    .hero__sidebar .feature-card:nth-child(3) .feature-card__text::after {
        content: 'Retrait rapide';
        font-size: 10px;
    }

    .hero__update-mobile {
        margin-top: 16px;
    }

    .hero__container {
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .bookmakers {
        padding: 0;
    }

    .bookmaker-card {
        grid-template-columns: minmax(0, calc(50% - 5px)) minmax(0, calc(50% + 5px));
        gap: 0;
        padding: 0;
    }

    .bookmaker-card__cta {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 0;
        border-radius: 10px;
        margin-bottom: 0;
    }

    .bookmaker-card__cta::after {
        content: 'Jouer Maintenant';
        font-size: 14px;
        text-transform: none;
    }

    .bookmaker-card__header {
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .bookmaker-card__logo {
        order: 1;
        align-self: center;
    }

    .bookmaker-card__rating {
        order: 2;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 22px;
        line-height: 12px;
        font-size: 15px;
    }

    .bookmaker-card__right {
        gap: 8px;
        padding: 10px 8px 5px 8px;
    }

    .payment-methods {
        width: calc(100% - 8px);
        padding: 0 5px;
        box-sizing: border-box;
        gap: 3px;
    }

    .bookmaker-card__bonus-text {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 20px;
        word-break: break-word;
        overflow-wrap: anywhere;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }

    .bookmaker-card__stars {
        transform: scale(1.5);
    }

    .bookmaker-card__score {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 15px;
        text-align: center;
        line-height: 12px;
    }

    .payment-method img {
        width: 16px;
        height: 16px;
        vertical-align: middle;
    }

    .bookmaker-card__logo-img {
        max-height: 48px;
        max-width: 140px;
    }

    .payment-method {
        padding: 5px 1px;
    }

    /* Специфичные ширины для разных платежных методов */
    .payment-method:nth-child(1) {
        /* VISA */
        min-width: 55px;
    }

    .payment-method:nth-child(2) {
        /* MasterCard */
        min-width: 90px;
    }

    .payment-method:nth-child(3) {
        /* Bitcoin */
        min-width: 64px;
    }

    .payment-method:nth-child(4) {
        /* Ethereum */
        min-width: 76px;
        padding-right: 4px;
    }

    .payment-method:nth-child(5) {
        /* Skrill */
        min-width: 54px;
    }

    .payment-method:nth-child(6) {
        /* Neteller */
        min-width: 64px;
    }

    .ticker-wrapper {
        max-height: 25px;
    }

    .bookmakers__container {
        gap: 0;
    }

    .bookmaker-card {
        margin-top: 12px;
    }

    .bookmaker-card__rating {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 22px;
        line-height: 12px;
        white-space: nowrap;
        margin-top: 20px;
        margin-right: 10px;
    }

    .bookmaker-card__score {
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        font-size: 15px;
        text-align: center;
        line-height: 12px;
    }
}

/* Экраны менее 290px - hero sidebar в колонну */
@media (max-width: 290px) {
    .hero__sidebar {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* Экраны менее 320px - дополнительные отступы */
@media (max-width: 320px) {
    .hero {
        margin-bottom: 50px;
        clear: both;
        display: block;
    }

    .hero__container {
        margin-bottom: 0;
    }

    .bookmakers {
        margin-top: 0;
        clear: both;
        display: block;
    }
}

/* Экраны менее 350px - минимальный gap у hero sidebar, убираем gap у feature-card */
@media (max-width: 350px) {
    .hero__sidebar {
        gap: 2px;
    }

    .feature-card {
        gap: 0;
    }
}

/* Очень маленькие экраны */
@media (max-width: 320px) {
    .bookmaker-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0;
    }

    .bookmaker-card__bonus-text {
        font-size: 11px;
        word-break: break-word;
        overflow-wrap: anywhere;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        line-height: 1.2;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        display: block;
        box-sizing: border-box;
    }

    .bookmaker-card__logo-img {
        max-height: 45px;
        max-width: 90px;
    }

    .hero__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-2xl);
        font-weight: 400; /* Regular */
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: var(--font-size-base);
    }

    .feature-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .advantages__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        line-height: 1.2;
    }

    .advantage-card__title {
        font-size: var(--font-size-lg);
        padding: var(--spacing-sm);
    }

    .advantage-card__text {
        padding: var(--spacing-sm);
    }

    .contact__container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .contact__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        line-height: 1.2;
    }

    .contact__subtitle {
        font-size: var(--font-size-base);
    }

    .contact__input,
    .contact__textarea {
        padding: var(--spacing-sm);
    }

    .contact__submit {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-base);
    }

    .faq__title {
        font-family: var(--font-family-heading);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        line-height: 1.2;
    }

    .faq-item {
        padding: var(--spacing-md);
    }

    .faq-item__question {
        font-size: var(--font-size-base);
    }

    .faq-item__answer {
        font-size: var(--font-size-sm);
    }

    .footer__title {
        font-size: var(--font-size-lg);
    }

    .footer__subtitle {
        font-size: var(--font-size-base);
    }

    .footer__text,
    .footer__item {
        font-size: var(--font-size-xs);
    }

    .footer__logo-circle {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-sm);
    }

    .footer__logo-img {
        max-height: 35px;
        max-width: 80px;
    }
}
