:root {
    --primary-color: #ff0000;
    --secondary-color: #1a1a1a;
    --text-color: #000000;
    --card-bg: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: url('../img/back.jpg') no-repeat right bottom fixed;
    background-size: cover;
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    position: relative;
}

/* Шапка */
.header {
    background-color: transparent;
    position: relative;
}

.header__warning {
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.header__main {
    background-color: rgb(8 14 7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 0;
}

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

.header__logo {
    display: block;
}

.header__logo-img {
    max-height: 50px;
}

/* Герой секция */
.hero {
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 36px;
    font-weight: bold;
    margin: 30px 0;
    color: #000000;
}

.hero__subtitle {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #000000;
}

/* Особенности */
.features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.features__item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 0, 0, 0.5);
    padding: 8px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
}

.features__item i {
    color: var(--primary-color);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Карточки казино */
.casino-list {
    padding: 40px 0;
}

.casino-card {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.casino-card__header {
    background-color: var(--primary-color);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 15px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-card__content {
    display: grid;
    grid-template-columns: 150px 1fr 100px auto;
    gap: 20px;
    padding: 20px;
    align-items: center;
    border-left: 5px solid rgba(255, 0, 0, 0.8);
}

.casino-card__logo {
    padding: 10px;
  /*   background: rgba(248, 248, 248, 0.7);
   backdrop-filter: blur(5px);*/
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-card__logo img {
    max-width: 130px;
    height: auto;
}

.casino-card__info {
    padding-right: 20px;
}

.casino-card__bonus {
    margin-bottom: 15px;
}

.casino-card__bonus h3 {
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.casino-card__bonus p {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 3px;
}

.casino-card__bonus span {
    color: #999;
    font-size: 11px;
}

.casino-card__features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.casino-card__features ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
}

.casino-card__features ul li::before {
    font-family: "Font Awesome 6 Free";
    content: "\f058";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 14px;
}

.casino-card__rating {
    text-align: center;
    padding: 15px;
  /*  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)); */
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-width: 100px;
   /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    border-radius: 2px;
}

.casino-card__rating .stars {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.casino-card__rating span {
    font-size: 38px;
    font-weight: 800;
    display: block;
    line-height: 1;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #434343 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.1);
    letter-spacing: -1px;
    position: relative;
}

.casino-card__rating span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

.casino-card__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-play::before {
    font-family: "Font Awesome 6 Free";
    content: "\f144";
    font-weight: 900;
    font-size: 16px;
}

.btn-play:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 8px;
  /*  background: rgba(248, 248, 248, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); */
}

.payment-methods img {
    height: 18px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Контентные секции */
.content-sections {
    padding: 40px 0;
}

.content-section {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    margin-bottom: 30px;
}

/* Стили для единого текстового блока */
.content-section:first-child {
    margin-bottom: 0;
    border-bottom: none;
}

.content-section:not(:first-child):not(:last-child) {
    margin-top: 0;
    margin-bottom: 0;
    border-top: none;
    border-bottom: none;
}

.content-section:last-child {
    margin-top: 0;
    border-top: none;
}

/* Убираем лишние отступы между секциями */
.content-section + .content-section {
    padding-top: 20px;
}

/* Обновляем стили для заголовков и текста */
.content-section h2 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #000;
}

.content-section p {
    color: #000;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

/* Стили для списков */
.content-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.content-section ul li {
    margin-bottom: 10px;
    color: #000;
    font-size: 14px;
}

/* Футер */
.footer {
    background-color: rgb(10 15 8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 0;
    margin-top: 60px;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer__logo-img {
    max-height: 40px;
    margin-bottom: 20px;
}

.footer__nav {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer__nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 0;
    transition: background-color 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}

.footer__nav-link--active {
    background-color: var(--primary-color);
}

.footer__nav-link:hover {
    background-color: rgba(255, 0, 0, 0.8);
    color: #ffffff;
}

.footer__text {
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.footer__text p {
    margin-bottom: 15px;
}

.footer__licenses {
  /*  background-color: rgba(255, 255, 255, 0.05);*/
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer__license-img {
    height: 55px;
    object-fit: contain;
}

/* Медиа запросы */
@media (max-width: 1200px) {
    .casino-card__content {
        grid-template-columns: 130px 1fr 90px auto;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .casino-card__content {
        grid-template-columns: 120px 1fr 90px auto;
        gap: 15px;
        padding: 15px;
    }

    .casino-card__logo img {
        max-width: 110px;
    }

    .casino-card__bonus p {
        font-size: 18px;
    }

    .hero__title {
        font-size: 28px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-position: right bottom;
        background-size: auto 100%;
        background-repeat: no-repeat;
    }

    .casino-list {
        padding: 20px 0;
    }

    .content-sections {
        padding: 20px 0;
        padding-bottom: 60px;
    }

    .casino-card {
        margin: 15px 10px;
    }

    .casino-card__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    .casino-card__logo {
        margin: 0 auto;
        padding: 0;
    }

    .casino-card__logo img {
        max-width: 120px;
    }

    .casino-card__info {
        padding: 0;
    }

    .casino-card__bonus h3 {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .casino-card__bonus p {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .casino-card__bonus span {
        font-size: 11px;
    }

    .casino-card__features ul {
        display: inline-block;
        text-align: left;
        margin: 10px auto 0;
    }

    .casino-card__features ul li {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .casino-card__rating {
        margin: 5px auto;
        padding: 10px;
        min-width: 80px;
    }

    .casino-card__rating .stars {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .casino-card__rating span {
        font-size: 28px;
    }

    .casino-card__action {
        width: 100%;
        gap: 10px;
    }

    .btn-play {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 8px 15px;
    }

    .payment-methods {
        justify-content: center;
        gap: 10px;
    }

    .payment-methods img {
        height: 16px;
    }

    .casino-card {
        margin-bottom: 15px;
    }

    .casino-card__header {
        font-size: 10px;
        padding: 3px 10px;
    }

    /* Улучшаем отображение features */
    .features {
        flex-direction: column;
        padding: 0 20px;
    }

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

    /* Улучшаем footer на мобильных */
    .footer__nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer__nav-link {
        display: block;
        text-align: center;
        padding: 10px;
    }

    .footer__text {
        font-size: 12px;
        padding: 0 15px;
    }

    .footer__licenses {
        flex-wrap: wrap;
        padding: 15px;
    }

    .footer__license-img {
        height: 40px;
    }

    /* Улучшаем отображение useful links */
    .footer__useful-links {
        padding: 0 15px;
    }

    .footer__title {
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .casino-card {
        margin: 15px 10px;
    }

    .casino-card__header {
        font-size: 10px;
        padding: 4px 10px;
    }

    .casino-card__bonus h3 {
        font-size: 10px;
    }

    .casino-card__bonus p {
        font-size: 18px;
    }

    .casino-card__features ul li {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .casino-card__rating {
        padding: 10px;
    }

    .casino-card__rating span {
        font-size: 32px;
    }

    .btn-play {
        font-size: 12px;
        padding: 8px 15px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__subtitle {
        font-size: 14px;
        padding: 0 15px;
    }

    /* Улучшаем контентные секции */
    .content-section {
        padding: 20px 15px;
    }

    .content-section h2 {
        font-size: 18px;
    }

    .content-section p {
        font-size: 13px;
    }
}

@media (max-width: 375px) {
    .casino-card__content {
        padding: 12px;
        gap: 12px;
    }

    .casino-card__logo img {
        max-width: 100px;
    }

    .casino-card__bonus p {
        font-size: 14px;
    }

    .casino-card__features ul li {
        font-size: 11px;
    }

    .casino-card__rating {
        min-width: 70px;
    }

    .casino-card__rating span {
        font-size: 24px;
    }

    .btn-play {
        font-size: 11px;
        padding: 6px 12px;
    }

    .payment-methods img {
        height: 14px;
    }

    .footer__license-img {
        height: 35px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .page-wrapper {
        background-image: url('../img/back@2x.jpg');
    }
}

.politics-page {
    padding: 60px 0;
}

.politics-content {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    margin: 0 auto;
    max-width: 900px;
}

.politics-title {
    color: var(--text-color);
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.politics-section {
    margin-bottom: 30px;
}

.politics-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.politics-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .politics-content {
        padding: 20px;
    }

    .politics-title {
        font-size: 28px;
    }

    .politics-section h2 {
        font-size: 20px;
    }
}

.nav-link {
    color: #000000 !important;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.content-section h2,
.content-section p,
.content-section ul li {
    color: #000000;
}

/* Добавляем максимальную ширину для контейнера */
.container {
    max-width: 1000px !important;
    margin: 0 auto;
    padding: 0 15px;
}

/* Добавим иконки для футера */
.footer__nav-link[href="/"]::before {
    font-family: "Font Awesome 6 Free";
    content: "\f015";
    font-weight: 900;
    margin-right: 8px;
}

.footer__nav-link[href="/politique-relative-aux-cookies"]::before {
    font-family: "Font Awesome 6 Free";
    content: "\f563";
    font-weight: 900;
    margin-right: 8px;
}

.footer__nav-link[href="/politique-de-confidentialite"]::before {
    font-family: "Font Awesome 6 Free";
    content: "\f023";
    font-weight: 900;
    margin-right: 8px;
}

.footer__nav-link[href="/conditions"]::before {
    font-family: "Font Awesome 6 Free";
    content: "\f02d";
    font-weight: 900;
    margin-right: 8px;
}

/* Стили для ссылок в политиках */
.politics-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.politics-nav__link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.politics-nav__link:hover,
.politics-nav__link.active {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .politics-nav {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .politics-nav__link {
        text-align: center;
    }
}

/* Стили для секции политик */
.politics-links {
    padding: 40px 0;
}

.politics-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.politics-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.politics-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.politics-link:hover {
    color: #fff;
    transform: translateX(10px);
}

/* Убираем старые стили */
.politics-nav {
    display: none;
}

.politics-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
}

/* Стили для полезных ссылок в футере */
.footer__useful-links {
    text-align: left;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.footer__title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer__links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer__link:hover {
    color: #fff;
    transform: translateX(10px);
}

/* Медиа запрос для мобильных устройств */
@media (max-width: 768px) {
    .footer__useful-links {
        text-align: center;
        margin: 30px auto;
    }

    .footer__links-list {
        align-items: center;
    }
} 