/*
 * ============================================================
 * 12 — HERO  (.sg-hero)
 * Operator landing puslapio hero sekcija.
 * Naudojamas page template: new-casino-style.php
 * Vaizdai ir tekstai valdomi per WordPress meta laukus.
 * ============================================================
 */

.spinsgems-background .sg-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: var(--sg-hero-desktop);
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
    filter: saturate(0.85) contrast(0.9);
}

.spinsgems-background .sg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 20, 0.15);
    z-index: 0;
}

/* Overlay */
.spinsgems-background .sg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 56px 22px;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.78),
        rgba(0,0,0,.60),
        rgba(0,0,0,.38),
        rgba(0,0,0,.18)
    );
    backdrop-filter: blur(6px);
}

.spinsgems-background .sg-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    color: #fff;
}

/* Grid */
.spinsgems-background .sg-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

.spinsgems-background .sg-hero__content {
    text-align: left;
}

.spinsgems-background .sg-hero__brand {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.spinsgems-background .sg-hero__logo {
    width: min(360px, 100%);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.45));
}

/* Tekstai */
.spinsgems-background .sg-hero__title {
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.05;
    margin: 0 0 14px;
    font-weight: 900;
    letter-spacing: -.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,.9), 0 14px 34px rgba(0,0,0,.6);
}

.spinsgems-background .sg-hero__subtitle {
    display: inline-block;
    max-width: 720px;
    padding: 14px 18px;
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    color: #eff6ff;
    background: rgba(29, 78, 216, .55);
    border: 1px solid rgba(96, 165, 250, .45);
    border-radius: 14px;
    box-shadow:
        0 12px 30px rgba(0,0,0,.55),
        0 0 28px rgba(37, 99, 235, .35),
        inset 0 0 22px rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.spinsgems-background .sg-hero__points {
    margin: 0 0 26px;
    padding-left: 18px;
}

.spinsgems-background .sg-hero__points li {
    margin: 10px 0;
}

/* CTA mygtukas */
.spinsgems-background .sg-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-size: 19px;
    font-weight: 900;
    border-radius: 999px;
    background: #ff2a2a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0,0,0,.45);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .spinsgems-background .sg-hero {
        min-height: auto;
        padding: 0;
    }

    .spinsgems-background .sg-hero__overlay {
        position: relative;
        inset: auto;
        align-items: flex-start;
        padding: 18px 16px;
        background: linear-gradient(180deg,
            rgba(0,0,0,.82),
            rgba(0,0,0,.66),
            rgba(0,0,0,.52)
        );
    }

    .spinsgems-background .sg-hero__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
        align-items: start;
    }

    .spinsgems-background .sg-hero__content { text-align: center; }

    .spinsgems-background .sg-hero__brand {
        justify-content: center;
        order: -1;
    }

    .spinsgems-background .sg-hero__logo { width: min(200px, 70vw); }

    .spinsgems-background .sg-hero__title {
        font-size: clamp(28px, 7vw, 40px);
        margin: 0 0 10px;
    }

    .spinsgems-background .sg-hero__subtitle {
        max-width: 100%;
        padding: 12px 14px;
        font-size: 17px;
        margin: 0 auto 14px;
    }

    .spinsgems-background .sg-hero__points {
        padding-left: 0;
        list-style: none;
        margin: 0 0 16px;
    }

    .spinsgems-background .sg-hero__points li {
        margin: 8px 0;
        font-size: 15px;
    }

    .spinsgems-background .sg-hero__cta {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 16px 24px;
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .spinsgems-background .sg-hero__overlay {
        padding: 14px 12px;
    }

    .spinsgems-background .sg-hero__cta {
        max-width: 290px;
        font-size: 17px;
        padding: 14px 20px;
    }
}
