:root {
    --color-main: #2547fd;
    --color-secondary: #2547fd;
    --color-dash: #ffffff;
    --color-stripe: #111114;
    --color-bg: #000000;
    --color-banner-bg: #000000;
    --color-submenu-bg: #111114;
    --color-page-header-bg: #000000;
    --color-banner-transparent-bg: #00000047;
    --color-text-main: #ffffff;
    --color-text-headers: #ffffff;
    --color-text-subheaders: #ffffff;
    --color-text-accent: #ffffff;
    --color-text-button: #ffffff;
    --color-text-header-footer: #ffffff;
    --color-border-button: linear-gradient(95.31deg, #000000 0%, #ffffff 99.49%);
    --color-svg-banner: linear-gradient(95.31deg, #000000 0%, #2547fd 99.49%);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    color: var(--color-text-header-footer);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity .2s;
}

.footer-nav a:hover {
    opacity: .7;
}

.footer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-payments img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-disclaimer {
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-header-footer);
    opacity: .7;
    max-width: 800px;
    margin: 0 auto 20px;
}

.footer-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-pages a {
    color: var(--color-text-header-footer);
    text-decoration: underline;
    font-size: 14px;
    transition: opacity .2s;
}

.footer-pages a:hover {
    opacity: .7;
}

.footer__copyright {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-header-footer);
    opacity: .6;
}

.header__button {
    height: 48px;
    padding: 0 36px;
    font-size: 16px;
}

/* Main content pages: index, bonus, login */

.page-main h1 {
    font-size: 58px;
}

.page-main h2 {
    font-size: 42px;
}

.page-main h3 {
    font-size: 30px;
}

.page-main table,
.page-main table p {
    font-size: 16px;
}

.banner-two__title {
    margin-bottom: 16px;
}

.banner-two__bonus .custom-button {
    width: 100%;
    height: auto;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
    border-radius: 12px;
    animation: banner-pulse 1.5s ease-in-out infinite;
}

@keyframes banner-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 71, 253, 0.6); }
    50% { box-shadow: 0 0 20px 8px rgba(37, 71, 253, 0.4); }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 16px;
    }
    .footer-nav {
        gap: 20px;
    }
    .footer-payments {
        gap: 16px;
    }
    .footer-pages {
        flex-wrap: wrap;
        gap: 16px;
    }
    .page-main h1 {
        font-size: 36px;
    }
    .page-main h2 {
        font-size: 30px;
    }
    .page-main .banner-two__image {
        display: none;
    }
    .page-main .features-two {
        display: none;
    }
}

@media (max-width: 576px) {
    .header__button {
        height: 36px;
        padding: 0 14px;
        font-size: 14px;
    }
    .page-main h1 {
        font-size: 34px;
    }
    .page-main h2 {
        font-size: 26px;
    }
    .page-main h3 {
        font-size: 22px;
    }
}

/* Legal pages: disclaimer, privacy, gioco-responsabile */

.page-legal h1 {
    font-size: 32px;
}

.page-legal h2 {
    font-size: 24px;
}

.page-legal h3 {
    font-size: 20px;
}

.page-legal .page-header__inner {
    padding: 48px 0 32px;
}

@media (max-width: 576px) {
    .page-legal h1 {
        font-size: 26px;
    }
    .page-legal h2 {
        font-size: 21px;
    }
    .page-legal h3 {
        font-size: 18px;
    }
}

/* 404 page */

.page-404 {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-container {
    max-width: 600px;
    padding: 40px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    color: var(--color-main);
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.error-text {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 32px;
    line-height: 1.6;
}

.error-button {
    display: inline-block;
    background-color: var(--color-main);
    color: var(--color-text-button);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.2s;
}

.error-button:hover {
    opacity: 0.85;
}

/* Utility classes */

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

.img-preview {
    max-width: 350px;
}
