/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/roboto-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/roboto-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Base
   ========================================================================== */

:root {
    --yellow: #ffe500;
    --gold: #debf14;
    --gold-btn: #dbbb12;
    --green: #5ab02d;
    --green-btn: #56ad2a;
    --ink: #0e1f04;
    --muted: #cfcfcf;
    --footer-bg: #143006;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.icon {
    display: block;
    width: auto;
    height: 1em;
    fill: currentColor;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section heading: big light line + bold line */
.section-title {
    text-align: center;
    font-weight: 400;
    color: #fff;
}

.section-title__sub {
    display: block;
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
}

.section-title__main {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.section-title--yellow .section-title__main {
    color: var(--yellow);
}

/* Pill buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 1;
    border-radius: 15px;
    transition: all .3s;
}

.btn--gold {
    background: var(--gold-btn);
    color: var(--ink);
}

.btn--green {
    background: var(--green-btn);
    color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    padding-bottom: 214px;
    color: #fff;
    background: #10260a url(../img/bg-hero.jpg) 0 0 / max(1920px, 100%) auto no-repeat;
}

.social-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 2px solid rgba(255, 255, 255, .4);
}

.social-bar a {
    display: flex;
    padding: 12px;
    font-size: 24px;
    background: rgba(255, 255, 255, .2);
    border-radius: 5px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.logo img,
.footer-top__logo {
    width: 168px;
    height: 35px;
    object-fit: contain;
}

.topbar__buttons {
    display: flex;
    gap: 20px;
    width: 428px;
}

.btn-top {
    flex: 1;
    padding: 10px 20px;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    transition: background-color .3s, color .3s;
}

.btn-top--register {
    background: var(--gold);
    color: var(--ink);
}

.btn-top--register:hover {
    background: var(--green);
    color: #fff;
}

.btn-top--login {
    background: var(--green);
    color: #fff;
}

.btn-top--login:hover {
    background: var(--gold);
    color: var(--ink);
}

.hero__content {
    max-width: 651px;
    margin-top: 20px;
}

.hero h1 {
    font-size: 55px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -3px;
}

.hero h1 strong,
.hero h1 .accent {
    font-weight: 400;
}

.hero h1 .accent {
    color: var(--yellow);
}

.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #f9c407, #9e8321);
    border-radius: 4px;
}

.cta .icon {
    height: 1.5em;
}

.hero p {
    margin-top: 16px;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--muted);
}

/* ==========================================================================
   Games
   ========================================================================== */

/* The background PNG has transparent torn edges (top ~40px, bottom ~27px at natural size,
   scaled by `cover`), so this section overlaps the hero above and the bonuses below. */
.games {
    position: relative;
    z-index: 1;
    margin-top: min(-3%, -42px);
    padding: 5% 0 7%;
    color: #fff;
    background: url(../img/bg-canli-casino.png) 0 0 / cover no-repeat;
}

.games .section-title {
    margin-top: 20px;
}

.games__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

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

.game-card img {
    margin: 0 auto;
}

.game-card h3 {
    margin: 24px 0 10px;
    font-size: 24px;
    font-weight: 700;
}

.game-card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
}

.game-card .btn {
    margin-top: 20px;
}

/* ==========================================================================
   Bonuses
   ========================================================================== */

.bonuses {
    position: relative;
    margin-top: -4%;
    padding: 100px 0 50px;
    color: #fff;
    background: #132f06 url(../img/bg-bonuslar.jpg) 0 0 / max(1920px, 100%) auto;
}

.bonuses .section-title {
    margin-top: 20px;
}

.bonuses__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 60px;
}

.bonuses__text h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.bonuses__text p {
    margin: 42px 0 22px;
    font-size: 22px;
    color: var(--muted);
}

.bonuses__text .btn {
    margin-top: 20px;
}

.bonuses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 60px 0 20px;
}

.bonus-card h3 {
    margin: 39px 0 10px;
    font-size: 23px;
    font-weight: 600;
}

.bonus-card p {
    font-size: 16px;
    text-align: justify;
    color: var(--muted);
}

/* ==========================================================================
   Providers
   ========================================================================== */

.providers {
    padding: 51px 0 40px;
    background: #fff;
}

.providers h2 {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}

.providers h2 strong {
    font-weight: 400;
}

.providers p {
    margin-top: 36px;
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
}

.providers__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: 70px 0;
    color: #fff;
    background: var(--footer-bg);
    line-height: 1.5;
}

.footer-top {
    display: grid;
    grid-template-columns: 188px 208px 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
}

.footer-top__logo {
    margin: 0 auto;
}

.footer-top__social {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.footer-top__social a {
    padding: 12.5px;
    font-size: 25px;
}

.footer-top__social a:hover {
    color: #ffe700;
}

.footer-top__notice {
    padding-left: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--muted);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 20px;
}

.footer-block h4 {
    margin: 20px 0;
    font-size: 20px;
    font-weight: 400;
}

.footer-block p {
    font-size: 14px;
    color: #eee;
}

.responsible {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 28px;
}

.responsible__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.responsible p {
    margin: 14px 0 35px;
    color: #fff;
}

.responsible__link {
    font-size: 14px;
    text-decoration: underline;
}

/* ==========================================================================
   Hover animations
   ========================================================================== */

@keyframes pop {
    50% { transform: scale(1.2); }
}

@keyframes push {
    50% { transform: scale(.8); }
    100% { transform: scale(1); }
}

@keyframes bob-float {
    100% { transform: translateY(-8px); }
}

@keyframes bob {
    0% { transform: translateY(-8px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(-8px); }
}

.anim-pop:hover {
    animation: pop .3s linear;
}

.anim-push:hover {
    animation: push .3s linear;
}

.anim-bob:hover {
    animation: bob-float .3s ease-out forwards, bob 1.5s ease-in-out .3s infinite alternate;
}

.anim-grow {
    transition: transform .3s;
}

.anim-grow:hover {
    transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Tablet (≤ 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .btn-top {
        font-size: 15px;
    }

    .hero__content {
        max-width: none;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p {
        font-size: 18px;
    }

    .games {
        margin-top: -80px;
        padding-top: 80px;
    }

    .games .section-title__sub {
        font-size: 35px;
    }

    .bonuses {
        margin-top: -60px;
        padding-top: 110px;
    }

    .games__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .bonuses .section-title__sub {
        font-size: 26px;
    }

    .bonuses .section-title__main {
        font-size: 24px;
    }

    .bonuses__text h3 {
        font-size: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-top__notice {
        padding-left: 0;
        line-height: 2;
    }

    .responsible {
        grid-template-columns: 1fr;
    }

    .responsible__logos {
        justify-content: center;
    }
}

/* ==========================================================================
   Mobile (≤ 767px)
   ========================================================================== */

@media (max-width: 767px) {
    .hero {
        padding-bottom: 180px;
    }

    .topbar {
        flex-direction: column;
    }

    .topbar__buttons {
        width: 100%;
        gap: 12px;
    }

    .games {
        margin-top: -140px;
        padding: 130px 0 110px;
    }

    .games__grid {
        grid-template-columns: 1fr;
    }

    .bonuses {
        margin-top: -100px;
        padding-top: 130px;
    }

    .bonuses__intro {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .bonuses__text p {
        font-size: 18px;
    }

    .bonuses__text .btn {
        display: block;
        text-align: center;
    }

    .bonuses__grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
        margin-top: 40px;
    }

    .providers h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .site-footer {
        padding: 60px 0;
    }
}
