:root {
    --color-bg: #E6F3F5;
    --color-bg-gradient: linear-gradient(180deg, #E6F3F5 0%, #A8E0E0 100%);
    --color-dark-blue: #1B2838;
    --color-red: #E63946;
    --color-orange: #FF6B2C;
    --color-orange-gradient: linear-gradient(90deg, #FF8C42 0%, #FF6B2C 100%);
    --color-white: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --max-width: 1000px;
}

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

body {
    font-family: Arial, sans-serif;
    background: var(--color-bg-gradient);
    background-image: url('../img/back.jpg');
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    margin: 20px auto 0;
    max-width: 1000px;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(27, 40, 56, 0.95), rgb(56 102 158 / 80%));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.header__logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header__logo-text {
    color: var(--color-red);
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.header__logo {
   /* background: rgba(255, 255, 255, 0.1);*/
    padding: 8px 15px;
    border-radius: 4px;
}

.header__logo-img {
    height: 30px;
    width: auto;
}

.header__right {
    display: flex;
    align-items: center;
}

.header__contact-btn {
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-orange) 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.header__contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Main Content */
.main {
   /* margin-top: 70px;*/
    flex: 1;
    padding: 30px 0;
}

.hero {
    text-align: left;
    padding: 40px 0;
}

.hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.hero__title {
    color: var(--color-dark-blue);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.hero__subtitle {
    color: #4A5568;
    font-size: 16px;
    text-align: left;
    line-height: 1.6;
    max-width: 800px;
}

/* Bookmakers */
.bookmakers__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.bookmaker-card {
    background: linear-gradient(160deg, rgba(27, 40, 56, 0.95), rgb(56 102 158 / 80%));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 15px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--color-red);
}

.bookmaker-card__left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bookmaker-card__left::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: -20px;
    width: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.bookmaker-card__position,
.bookmaker-card__rating {
    position: relative;
    z-index: 1;
}

.bookmaker-card__position {
    background: var(--color-red);
    color: #fff;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.bookmaker-card__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.bookmaker-card__rating i {
    color: var(--color-red);
    font-size: 16px;
    margin-bottom: 3px;
}

.bookmaker-card__rating span {
    font-size: 14px;
    font-weight: bold;
}

.bookmaker-card__middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bookmaker-card__label {
    background: var(--color-red);
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 8px;
    width: fit-content;
}

.bookmaker-card__bonus {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

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

.bookmaker-card__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.bookmaker-card__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
}

.bookmaker-card__payment {
    display: flex;
    gap: 8px;
}

.bookmaker-card__payment img {
    height: 18px;
    filter: brightness(0.9);
}

.bookmaker-card__btn {
    background: linear-gradient(90deg, #FF8C42 0%, #FF6B2C 100%);
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.bookmaker-card__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.bookmaker-card__btn:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: var(--color-dark-blue);
    padding: 30px 0;
    margin-top: auto;
}

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

.footer__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.footer__link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    text-transform: uppercase;
    font-weight: 500;
}

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

.footer__legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer__legal-img {
    height: 35px;
    opacity: 0.8;
}

.footer__copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

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

    .footer__link {
        font-size: 13px;
    }

    .footer__legal {
        gap: 15px;
    }

    .footer__legal-img {
        height: 30px;
    }
}

/* Modals */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.age-verification__content {
    background: linear-gradient(135deg, rgba(27, 40, 56, 0.95), rgb(56 102 158 / 80%));
    backdrop-filter: blur(8px);
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.age-verification__content h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.age-verification__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.age-verification__btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-verification__btn--yes {
    background: var(--color-red);
    color: #fff;
}

.age-verification__btn--yes:hover {
    background: #d62f3b;
    transform: translateY(-2px);
}

.age-verification__btn--no {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.age-verification__btn--no:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 2000;
    background: rgba(27, 40, 56, 0.9);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner__content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner__text {
    color: #fff;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
}

.cookie-banner__btn {
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-banner__btn--accept {
    background: var(--color-red);
    color: #fff;
    border: none;
}

.cookie-banner__btn--accept:hover {
    background: #d62f3b;
    transform: translateY(-2px);
}

.cookie-banner__btn--settings {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--settings:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

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

    .age-verification__content {
        padding: 30px 20px;
    }

    .age-verification__buttons {
        flex-direction: column;
    }

    .age-verification__btn {
        width: 100%;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .bookmakers__container {
        padding: 0 10px;
    }

    .bookmaker-card {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 10px;
    }

    .bookmaker-card__left {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .bookmaker-card__left::before {
        display: none;
    }

    .bookmaker-card__middle {
        text-align: center;
        padding: 5px 0;
    }

    .bookmaker-card__logo {
        max-width: 120px;
        margin: 8px auto;
    }

    .bookmaker-card__right {
        align-items: center;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .bookmaker-card__payment {
        margin-bottom: 8px;
    }

    .bookmaker-card__btn {
        width: auto;
        min-width: 200px;
    }

    .disclaimer__text {
        border-left-width: 2px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .header__menu {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .navbar-collapse {
        background: var(--color-dark-blue);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0 15px;
    }

    .header__menu-item {
        text-align: center;
    }

    .info-blocks {
        grid-template-columns: 1fr;
    }

    .header {
        margin-top: 0;
    }
}

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

    .header__logo {
        padding: 6px 12px;
    }

    .header__logo-img {
        height: 25px;
    }

    .header__contact-btn {
        font-size: 12px;
        padding: 6px 15px;
    }

    .bookmaker-card {
        padding: 10px;
        gap: 10px;
    }

    .bookmaker-card__left {
        gap: 10px;
    }

    .bookmaker-card__bonus {
        font-size: 14px;
    }

    .bookmaker-card__logo {
        max-width: 120px;
    }

    .bookmaker-card__payment {
        gap: 8px;
    }

    .bookmaker-card__payment img {
        height: 18px;
    }

    .bookmaker-card__btn {
        font-size: 12px;
        padding: 6px 15px;
        min-width: 180px;
    }
}

/* Policy Page */
.policy {
    padding: 40px 0;
}

.policy__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.policy__title {
    color: var(--color-dark-blue);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.policy__content {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy__section {
    margin-bottom: 30px;
}

.policy__section:last-child {
    margin-bottom: 0;
}

.policy__section h2 {
    color: var(--color-dark-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.policy__section p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .policy__title {
        font-size: 2rem;
    }
    
    .policy__content {
        padding: 20px;
    }
    
    .policy__section h2 {
        font-size: 1.3rem;
    }
}

/* Contact Page */
.contact {
    padding: 40px 0;
}

.contact__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact__title {
    color: var(--color-dark-blue);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.contact__content {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact__form-group {
    margin-bottom: 20px;
}

.contact__input,
.contact__textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact__input:focus,
.contact__textarea:focus {
    outline: none;
    border-color: var(--color-dark-blue);
}

.contact__textarea {
    min-height: 150px;
    resize: vertical;
}

.contact__submit {
    width: 100%;
    padding: 15px;
    background: var(--color-red);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.contact__submit:hover {
    background: #d62f3b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact__title {
        font-size: 2rem;
    }
    
    .contact__content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact__title {
        font-size: 1.5rem;
    }
    
    .contact__input,
    .contact__textarea {
        padding: 10px;
    }
}

/* Disclaimer */
.disclaimer {
    max-width: var(--max-width);
    margin: 30px auto;
    padding: 0 15px;
}

.disclaimer__text {
    background: rgba(230, 57, 70, 0.15);
    backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* Добавляем информационные блоки */
.info-blocks {
    max-width: var(--max-width);
    margin: 30px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-block {
    background: linear-gradient(145deg, rgba(27, 40, 56, 0.9), rgb(56 102 158 / 80%));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    color: #fff;
    border-left: 4px solid var(--color-red);
}

.info-block__title {
    color: var(--color-red);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.info-block__text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Медиа-запросы для информационных блоков */
@media (max-width: 768px) {
    .info-blocks {
        grid-template-columns: 1fr;
    }
}

/* Добавляем блок с иконками ставок */
.betting-types {
    max-width: var(--max-width);
    margin: 30px auto;
    padding: 20px;
    background: rgba(27, 40, 56, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.betting-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    gap: 10px;
}

.betting-type__icon {
    width: 40px;
    height: 40px;
    opacity: 0.9;
}

.betting-type__text {
    font-size: 12px;
    text-align: center;
}

/* Добавляем предупреждающий текст */
.warning-text {
    max-width: var(--max-width);
    margin: 30px auto;
    padding: 20px;
    background: rgba(230, 57, 70, 0.15); /* Полупрозрачный красный фон */
    backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* Обновляем футер */
.footer__policies {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer__policy {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
}

.footer__policy-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.footer__policy-text {
    color: #fff;
    font-size: 12px;
}

/* Стили для модального окна благодарности */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.thank-you-modal__content {
    background: linear-gradient(135deg, rgba(27, 40, 56, 0.95), rgba(27, 40, 56, 0.85));
    backdrop-filter: blur(8px);
    padding: 30px;
    text-align: center;
    max-width: 400px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-modal__btn {
    background: var(--color-red);
    color: #fff;
    border: none;
    padding: 10px 25px;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.thank-you-modal__btn:hover {
    background: #d62f3b;
}

.info-text {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 15px;
}

.info-text__title {
    color: var(--color-dark-blue);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.info-text__content {
    background: linear-gradient(145deg, rgba(27, 40, 56, 0.9), rgb(56 102 158 / 80%));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    color: #fff;
    line-height: 1.6;
    border-left: 4px solid var(--color-red);
}

.info-text__content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.info-text__content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.info-text__content li {
    margin-bottom: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .info-text__title {
        font-size: 20px;
    }
    
    .info-text__content {
        padding: 20px;
    }
}

/* Общие стили */
p {
    margin-bottom: 0;
} 