:root {
    --primary-color: #1a1f25;
    --secondary-color: #ffd700;
    --text-color: #ffffff;
    --button-color: #ff4b2b;
    --card-bg: #ffffff;
}

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

body {
    font-family: Arial, sans-serif;
    background: var(--primary-color) url('../img/back.jpg') no-repeat center/cover;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.header {
    padding: 20px 0;
    background-color: transparent;
}

.header__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    text-decoration: none;
}

.header__logo-img {
    height: 60px;
}

.header__contact {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    background: var(--button-color);
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.header__contact:hover {
    background: #ff6b4a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.3);
}

.hero {
    text-align: center;
    padding: 40px 0;
    position: relative;
}


.hero__container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero__title {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero__subtitle {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 30px;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 40px;
    color:#ff5473;
    font-size: 14px;
}

.casino-list {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.casino-card {
    background: #fff;
    border-radius: 8px;
    display: flex;
    margin-bottom: 15px;
    overflow: hidden;
}

.casino-card__side {
    width: 180px;
    padding: 20px;
    position: relative;
    text-align: center;
}

.casino-card__number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
}

.casino-card__label {
    background: var(--secondary-color);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
    display: inline-block;
}

.casino-card__logo {
    max-width: 120px;
    margin-bottom: 10px;
}

.casino-card__name {
    font-size: 14px;
    color: #333;
}

.casino-card__info {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
}

.casino-card__rating {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-right: 20px;
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.3);
    position: relative;
}

.casino-card__rating::after {
    content: '';
    position: absolute;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border: 2px solid #ff4b2b;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

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

.casino-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 14px;
}

.casino-card__features li {
    margin-bottom: 5px;
}

.casino-card__bonus {
    width: 200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    text-align: center;
}

.casino-card__bonus-text {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.casino-card__button {
    background: var(--button-color);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: transform 0.2s;
}

.casino-card__button:hover {
    transform: scale(1.05);
}

.footer {
    background-color: #000;
    padding: 40px 0;
    margin-top: 60px;
}

.footer__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__certificates {
    margin-bottom: 30px;
}

.footer__cert-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.footer__cert-img {
    height: 40px;
    object-fit: contain;
}

.footer__text {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    line-height: 1.6;
}

.footer__bottom {
    text-align: center;
    margin-bottom: 20px;
}

.footer__bottom a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    margin: 0 10px;
}

.footer__copyright {
    text-align: center;
    color: #666;
    font-size: 12px;
}

@media (max-width: 768px) {
    .header__container {
        padding: 0 15px;
    }

    .header__logo-img {
        height: 55px;
    }

    .footer__cert-row {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer__cert-img {
        height: 30px;
    }

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

    .footer__bottom a {
        display: block;
        margin: 5px 0;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__features {
        flex-direction: column;
        gap: 15px;
    }

    .casino-card {
        flex-direction: column;
    }

    .casino-card__side {
        width: 100%;
    }

    .casino-card__info {
        padding: 15px;
    }

    .casino-card__bonus {
        width: 100%;
    }
}

/* Добавляем стили для страниц политик */
.policy {
    padding: 80px 0;
}

.policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy__title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.policy__link {
    color: #666;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.policy__link:hover {
    color: #fff;
}

.policy__link_active {
    color: #fff;
}

@media (max-width: 768px) {
    .policy {
        padding: 60px 0;
    }

    .policy__title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .policy__link {
        font-size: 16px;
    }
}

/* Contact styles */
.contact {
    padding: 60px 0;
}

.contact__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact__title {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.contact__subtitle {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
}

.contact__form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.contact__group {
    margin-bottom: 20px;
}

.contact__label {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact__input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.contact__input_textarea {
    min-height: 120px;
    resize: vertical;
}

.contact__button {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s;
}

.contact__button:hover {
    transform: scale(1.02);
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.contact__info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.contact__info-title {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.contact__info-text {
    color: var(--text-color);
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }

    .contact__title {
        font-size: 24px;
    }

    .contact__info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Policy page styles */
.policy-page {
    padding: 60px 0;
}

.policy-page__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-page__title {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.policy-page__content {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
}

.policy-page__subtitle {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.policy-page__heading {
    color: #fff;
    font-size: 20px;
    margin: 30px 0 15px;
}

.policy-page__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.policy-page__list li {
    color: #fff;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.policy-page__list li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.policy-page p {
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 40px 0;
    }

    .policy-page__title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .policy-page__subtitle {
        font-size: 20px;
    }

    .policy-page__heading {
        font-size: 18px;
    }
}

/* Стили для поп-апа */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup__content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    position: relative;
    animation: popupShow 0.3s ease;
}

@keyframes popupShow {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup__title {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.popup__text {
    color: #666;
    margin-bottom: 20px;
}

.popup__button {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup__button:hover {
    background: #ff6b4a;
    transform: translateY(-2px);
}

/* Дополнительные стили для поп-апов */
.popup__content_cookie,
.popup__content_age {
    max-width: 500px;
    padding: 30px;
}

.popup__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.popup__button_secondary {
    background: transparent;
    border: 2px solid var(--button-color);
    color: var(--button-color);
}

.popup__button_secondary:hover {
    background: rgba(255, 75, 43, 0.1);
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .popup__content_cookie,
    .popup__content_age {
        margin: 20px;
        padding: 20px;
    }

    .popup__buttons {
        flex-direction: column;
    }

    .popup__button {
        width: 100%;
    }
}

/* Стили для куки баннера */
#cookiePopup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: none;
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.popup__content_cookie {
    max-width: 1200px;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
}

.popup__content_cookie .popup__title {
    margin: 0;
    font-size: 18px;
}

.popup__content_cookie .popup__text {
    margin: 0;
    font-size: 14px;
    flex-grow: 1;
}

.popup__content_cookie .popup__buttons {
    margin: 0;
    flex-shrink: 0;
}

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

    .popup__content_cookie .popup__buttons {
        flex-direction: row;
        width: 100%;
        margin-top: 15px;
    }

    .popup__content_cookie .popup__button {
        flex: 1;
    }
} 