body {
    background-color: #111111;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container,
.container-lg {
    max-width: 1200px;
}

/* Navbar */
.navbar {
    background-color: #111111 !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-toggler {
    border: none;
    box-shadow: none;
}

.navbar-toggler:focus,
.navbar-toggler:hover,
.navbar-toggler:active {
    box-shadow: none;
    background-color: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-logo {
    width: 154px;
    height: 31px;
}

.nav-link {
    text-transform: uppercase;
    color: #8F2248;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: #ffffff !important;
}

.navbar .form-control {
    background-color: rgba(143, 34, 72, 0.97);
    color: #000000;
    padding-left: 38px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-color: transparent;
    border-radius: 999px;
    width: 245px;
    height: 29px;
}

.navbar .form-control:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.2rem rgba(143, 34, 72, 0.4);
    outline: none;
    background-color: rgba(143, 34, 72, 0.97);
    color: #000000;
}

.navbar .form-control::placeholder {
    color: #000000;
}

.navbar .form-control:focus::placeholder {
    color: transparent;
}

.navbar .form-control::-webkit-search-cancel-button,
.navbar .form-control::-webkit-search-decoration {
    -webkit-appearance: none;
    display: none;
}

.navbar .form-control {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000000;
    fill: none;
    stroke: #000000;
}

/* Home hero */
.home-header {
    position: relative;
    background-image: url('/images/backgrounds/first_section_bg.webp');
    background-size: cover;
    background-position: center;
    background-color: #000000;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.home-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(143, 34, 72, 0.7) 0%, transparent 33%);
    pointer-events: none;
}

.home-caption {
    position: relative;
    z-index: 1;
    max-width: 513px;
    padding: 40px 20px;
}

.home-caption h1 {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
    margin: 0 0 16px 0;
}

.home-caption h4 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
    margin: 0 0 16px 0;
}

.home-caption p {
    font-size: 25px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

/* News page hero */
.news-header {
    position: relative;
    background-image: url('/images/backgrounds/news_page_bg.webp');
    background-size: cover;
    background-position: center 12%;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.news-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(143, 34, 72, 0.7) 0%, rgba(143, 34, 72, 0.7) 50%, transparent 90%);
    pointer-events: none;
}

.news-header-caption {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 40px 20px;
}

.news-header-caption h1 {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1;
    margin: 0 0 16px 0;
}

.news-header-caption p {
    font-size: 25px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

/* Article banner */
.article-banner {
    width: 100%;
    height: 849px;
    background-size: cover;
    background-position: center;
}

/* Teaser (bonuses) */
.teaser {
    background-color: #111111;
    padding: 50px 0;
    overflow: hidden;
}

.teaser .swiper-slide {
    width: 520px;
}

.teaser .swiper-slide img {
    width: 520px;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Latest news section (home) */
.latest-news {
    background-image: url('/images/backgrounds/latest_news.webp');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}

.latest-news-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(to right, #111111, #000000);
    padding: 25px;
}

.latest-news-title {
    text-align: center;
    color: #8F2248;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* News cards */
.news-list {
    background: linear-gradient(to right, #111111, #000000);
    padding: 60px 0;
}

.news-card {
    padding: 22px 0;
}

.news-card + .news-card {
    border-top: 5px solid #8F2248;
}

.news-card img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.news-card h5 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 16px;
}

.news-card p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.3;
    text-align: justify;
    white-space: pre-line;
}

.news-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card.reversed {
    background-color: #8F2248;
    padding: 20px;
    border-top: none;
}

.news-card.reversed + .news-card {
    border-top: none;
}

.news-card.reversed h5,
.news-card.reversed p {
    color: #ffffff;
}

/* Buttons */
.btn-outline-primary {
    color: #8F2248;
    border-color: #8F2248;
    font-size: 16px;
    font-weight: 400;
    padding: 4px 24px;
    align-self: flex-start;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: #8F2248 !important;
    border-color: #8F2248 !important;
    color: #000000 !important;
}

.news-card.reversed .btn-outline-primary {
    color: #ffffff;
    border-color: #ffffff;
}

.news-card.reversed .btn-outline-primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* Pagination */
.news-pagination {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 40px 0 20px;
}

.news-pagination a {
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.news-pagination a.active {
    color: #8F2248;
}

.news-pagination svg {
    cursor: pointer;
}

/* Article */
.article {
    background: linear-gradient(to right, #111111, #000000);
    padding: 60px 0;
}

.article h1 {
    color: #ffffff;
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 30px;
}

.article-body p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    text-align: justify;
    white-space: pre-line;
    margin-bottom: 12px;
}

.article .latest-news-title {
    margin-top: 68px;
}

.article-related {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Blacklist */
.blacklist {
    background-color: #111111;
    padding: 50px 25px 0 25px;
    text-align: center;
}

.blacklist h2 {
    color: #8F2248;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.blacklist p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.blacklist-links {
    margin-bottom: 15px;
}

.blacklist-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
}

.scammer-link {
    color: #ffffff;
    text-decoration: underline;
}

/* Useful websites (footer top) */
.useful-websites-title {
    color: #8F2248;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    padding-top: 30px;
    padding-bottom: 25px;
    margin-bottom: 0;
    background-color: #111111;
}

.useful-websites {
    background: linear-gradient(to right, #B52457, #4F1026);
    padding: 50px 20px;
}

.useful-websites-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.useful-websites img {
    display: block;
    object-fit: contain;
}

.useful-websites .logo-sportgate { width: 203px; height: 50px; }
.useful-websites .logo-pokergate { width: 204px; height: 50px; }
.useful-websites .logo-jokerclub { width: 196px; height: 50px; }
.useful-websites .logo-playgate { width: 175px; height: 50px; }
.useful-websites .logo-casinoreviews { width: 164px; height: 103px; }

/* Footer */
.site-footer {
    background-color: #000000;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.site-footer p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 22px;
        text-align: center;
    }

    .nav-link {
        font-size: 18px;
    }

    .navbar .form-control {
        width: 110px;
    }

    .home-header {
        min-height: 369px;
    }

    .home-header::before {
        background: linear-gradient(to top, #8F2248 0%, transparent 100%);
    }

    .home-caption {
        max-width: 380px;
        text-align: center;
        padding: 30px 25px 10px;
        margin-top: 140px;
    }

    .home-caption h1 {
        font-size: 32px;
    }

    .home-caption h4 {
        font-size: 24px;
    }

    .home-caption p {
        font-size: 18px;
    }

    .news-header {
        min-height: 321px;
        align-items: flex-end;
    }

    .news-header::before {
        background: linear-gradient(to top, rgba(143, 34, 72, 0.7) 0%, transparent 100%);
    }

    .news-header-caption {
        max-width: 380px;
        text-align: center;
        padding: 25px;
    }

    .news-header-caption h1 {
        font-size: 32px;
    }

    .news-header-caption p {
        font-size: 18px;
    }

    .article-banner {
        height: 260px;
    }

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

    .article-body p {
        font-size: 16.5px;
    }

    .news-card h5 {
        font-size: 20px;
        text-align: center;
    }

    .news-card p {
        font-size: 16.5px;
    }

    .news-card .btn-outline-primary {
        align-self: center;
        padding: 8px 40px;
        font-size: 20px;
    }

    .news-card-body {
        align-items: center;
    }

    .latest-news {
        background-image: none;
        background-color: #111111;
        padding-bottom: 0;
    }

    .latest-news-inner {
        background: transparent;
        padding: 20px 20px 0;
    }

    .latest-news-inner .news-card:nth-of-type(5) {
        padding-bottom: 0;
    }

    .latest-news-inner .news-card:nth-of-type(6) {
        display: none;
    }

    .blacklist {
        padding-top: 60px;
    }

    .useful-websites-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        gap: 30px;
        padding: 0 30px;
        scrollbar-width: none;
    }

    .useful-websites-inner::-webkit-scrollbar {
        display: none;
    }

    .useful-websites-inner > a {
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .useful-websites .logo-sportgate,
    .useful-websites .logo-pokergate,
    .useful-websites .logo-jokerclub,
    .useful-websites .logo-playgate {
        width: auto;
        height: 60px;
    }

    .useful-websites .logo-casinoreviews {
        width: auto;
        height: 124px;
    }

    .latest-news-title {
        font-size: 24px;
    }

    .useful-websites img {
        max-height: 50px;
    }

    .teaser {
        position: relative;
        background-image: url('/images/backgrounds/mobile_bonuses_bg.webp');
        background-size: cover;
        background-position: center;
        margin-top: 60px;
    }

    body {
        background-color: #111111;
    }

    .teaser::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(1, 29, 41, 0.5);
        pointer-events: none;
    }

    .teaser .swiper {
        position: relative;
        z-index: 1;
    }

    .teaser .swiper-slide,
    .teaser .swiper-slide img {
        width: 320px;
    }

    .teaser .swiper-slide img {
        height: 185px;
    }
}
