/* LoneStar Casino landing (home). Mobile first, desktop from 1024px. */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/poppins-800-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/poppins-900-normal.woff2") format("woff2");
}

/* ---------- Tokens & base ---------- */

.page-landing {
    --ls-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --ls-bg: #07090c;
    --ls-bg-2: #0b0e13;
    --ls-surface: #12161c;
    --ls-surface-2: #171c24;
    --ls-border: rgba(255, 255, 255, 0.10);
    --ls-border-2: rgba(255, 255, 255, 0.18);

    --ls-text: #ffffff;
    --ls-muted: #9aa3af;

    --ls-green: #19df5b;
    --ls-green-2: #0cc24a;
    --ls-green-grad: linear-gradient(180deg, #2bf06d 0%, #16d853 52%, #07b840 100%);
    --ls-green-glow: 0 10px 34px -8px rgba(25, 223, 91, 0.55);
    --ls-magenta: #d13ff0;

    --ls-gutter: 20px;
    --ls-container: 1300px;

    background: var(--ls-bg);
    color: var(--ls-text);
    font-family: var(--ls-font);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.page-landing :focus-visible {
    outline: 2px solid var(--ls-green);
    outline-offset: 3px;
}

.page-landing .site-main {
    overflow: clip;
}

.page-landing img {
    max-width: 100%;
    display: block;
}

.ls-container {
    width: 100%;
    max-width: calc(var(--ls-container) + var(--ls-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--ls-gutter);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

/* ---------- Buttons ---------- */

.ls-btn {
    --_fg: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--_fg);
    border: 0;
    border-radius: 999px;
    padding: 12px 26px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

.ls-btn--primary {
    background: var(--ls-green-grad);
    color: #ffffff;
    box-shadow: var(--ls-green-glow);
}

.ls-btn--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 40px -8px rgba(25, 223, 91, 0.7);
}

.ls-btn--ghost {
    background: #e9edf1;
    color: #0a0d12;
}

.ls-btn--ghost:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.ls-btn--xl {
    padding: 17px 40px;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

/* ---------- Header ---------- */

.ls-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(8, 10, 14, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ls-border);
}

.ls-header__inner {
    max-width: calc(var(--ls-container) + var(--ls-gutter) * 2);
    margin-inline: auto;
    padding: 12px var(--ls-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ls-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ls-header__actions .ls-btn {
    padding: 11px 22px;
    font-size: 0.82rem;
}

/* ---------- Logo ---------- */

.ls-logo {
    display: inline-flex;
    text-decoration: none;
    color: var(--ls-text);
    line-height: 1;
}

.ls-logo__mark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.ls-logo__word {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.ls-logo__star {
    display: inline-flex;
    color: var(--ls-green);
    margin-inline: 0.02em;
    filter: drop-shadow(0 0 7px rgba(25, 223, 91, 0.6));
}

.ls-logo__star .ls-star {
    width: 1.18em;
    height: 1.18em;
}

.ls-logo__sub {
    margin-top: 3px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.52em;
    text-indent: 0.52em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.ls-logo__sub::before,
.ls-logo__sub::after {
    content: "—";
    color: rgba(255, 255, 255, 0.32);
    margin-inline: 0.2em;
}

.ls-logo--footer .ls-logo__word {
    font-size: 1.5rem;
}

/* ---------- Hero ---------- */

.ls-hero {
    position: relative;
    isolation: isolate;
    background: var(--ls-bg);
    overflow: hidden;
}

.ls-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    z-index: -2;
}

.ls-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 9, 12, 0.35) 0%, rgba(7, 9, 12, 0) 24%, rgba(7, 9, 12, 0.72) 82%, var(--ls-bg) 100%),
        linear-gradient(90deg, var(--ls-bg) 4%, rgba(7, 9, 12, 0.82) 34%, rgba(7, 9, 12, 0.2) 60%, rgba(7, 9, 12, 0) 82%);
}

.ls-hero__inner {
    display: flex;
    align-items: center;
    min-height: 540px;
    padding-block: 54px 48px;
}

.ls-hero__copy {
    max-width: 560px;
}

.ls-hero__kicker {
    margin: 0 0 18px;
    color: var(--ls-green);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.ls-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--ls-border-2);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.ls-hero__badge-dot {
    display: inline-flex;
    color: var(--ls-green);
}

.ls-hero__title {
    margin: 0 0 20px;
    font-weight: 800;
    font-size: clamp(3rem, 9vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.ls-hero__line {
    display: block;
}

.ls-hero__line--accent {
    color: var(--ls-green);
    text-shadow: 0 0 34px rgba(25, 223, 91, 0.45);
}

.ls-hero__sub {
    margin: 0 0 30px;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    line-height: 1.5;
}

.ls-hero__cta {
    margin-bottom: 18px;
}

.ls-hero__note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    color: var(--ls-green);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ls-store {
    display: inline-flex;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.ls-store:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* ---------- Games — The Lineup ---------- */

.ls-games {
    position: relative;
    isolation: isolate;
    padding-block: 72px 88px;
    background: var(--ls-bg);
    overflow: hidden;
}

.ls-games::before {
    content: "";
    position: absolute;
    inset: auto -10% -40% -10%;
    height: 70%;
    z-index: -1;
    background: radial-gradient(60% 100% at 50% 100%, rgba(25, 223, 91, 0.18) 0%, rgba(25, 223, 91, 0) 70%);
}

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

.ls-eyebrow {
    margin: 0 0 12px;
    color: var(--ls-magenta);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.ls-games__title {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.ls-games__sub {
    margin: 0 auto 48px;
    max-width: 640px;
    color: var(--ls-muted);
    font-size: 1.08rem;
}

.ls-games__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
}

.ls-games__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ls-card {
    display: block;
    width: 100%;
    border-radius: 18px;
    text-decoration: none;
}

.ls-card__frame {
    display: block;
    position: relative;
    aspect-ratio: 430 / 663;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(160deg, rgba(25, 223, 91, 0.9), rgba(25, 223, 91, 0.15) 45%, rgba(255, 255, 255, 0.06));
    box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.9);
    transition: transform 0.18s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.ls-card__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.ls-card:hover .ls-card__frame {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px -16px rgba(25, 223, 91, 0.45);
}

.ls-card__title {
    margin: 16px 0 12px;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.25;
}

.ls-card__play {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ls-surface);
    border: 1px solid var(--ls-border);
    color: var(--ls-text);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.ls-card__play svg {
    color: var(--ls-green);
}

.ls-card__play:hover {
    background: var(--ls-surface-2);
    border-color: rgba(25, 223, 91, 0.5);
    transform: translateX(2px);
}

/* ---------- Footer ---------- */

.ls-footer {
    position: relative;
    background: var(--ls-bg-2);
    border-top: 1px solid var(--ls-border);
}

.ls-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ls-green) 0%, var(--ls-magenta) 100%);
    opacity: 0.85;
}

.ls-footer__main {
    padding-block: 48px;
}

.ls-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.ls-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.ls-footer__badges {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ls-age {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ls-border-2);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ls-text);
}

.ls-footer__links {
    display: flex;
    gap: 56px;
}

.ls-footer__col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ls-footer__col a {
    color: var(--ls-green);
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.ls-footer__col a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.ls-footer__social-title {
    margin: 0 0 18px;
    font-weight: 700;
    font-size: 1.1rem;
}

.ls-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ls-social__link {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--ls-border-2);
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.ls-social__icon {
    width: 19px;
    height: 19px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.ls-social__link:hover {
    color: #06210f;
    background: var(--ls-green);
    border-color: var(--ls-green);
    transform: translateY(-2px);
}

.ls-footer__pay {
    border-top: 1px solid var(--ls-border);
    border-bottom: 1px solid var(--ls-border);
    padding-block: 34px;
}

.ls-pay {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px 40px;
}

.ls-pay__item {
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
}

.ls-pay__item img {
    height: var(--h, 28px);
    width: auto;
}

.ls-footer__legal {
    padding-block: 32px 40px;
}

.ls-footer__legal .ls-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.ls-footer__legal p {
    margin: 0;
    color: var(--ls-muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.ls-footer__legal strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

/* ---------- Desktop ---------- */

@media (min-width: 640px) {
    .ls-games__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ls-hero__bg {
        object-position: center right;
    }

    .ls-hero__scrim {
        background:
            linear-gradient(90deg, var(--ls-bg) 2%, rgba(7, 9, 12, 0.86) 30%, rgba(7, 9, 12, 0.25) 56%, rgba(7, 9, 12, 0) 76%),
            linear-gradient(180deg, rgba(7, 9, 12, 0) 70%, var(--ls-bg) 100%);
    }

    .ls-hero__inner {
        min-height: min(84vh, 760px);
        padding-block: 64px;
    }

    .ls-games__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 22px;
    }

    .ls-footer__grid {
        grid-template-columns: auto 1fr auto;
        gap: 48px;
        align-items: center;
    }

    .ls-footer__social {
        justify-self: end;
    }
}

/* ---------- Small phones ---------- */

@media (max-width: 600px) {
    .page-landing {
        --ls-gutter: 16px;
    }

    .ls-header__inner {
        padding-inline: 14px;
        gap: 8px;
    }

    .ls-logo__word {
        font-size: 1.24rem;
    }

    .ls-logo__sub {
        font-size: 0.5rem;
        letter-spacing: 0.4em;
        text-indent: 0.4em;
    }

    .ls-header__actions {
        gap: 7px;
    }

    .ls-header__actions .ls-btn {
        padding: 9px 13px;
        font-size: 0.72rem;
        letter-spacing: 0.02em;
    }

    .ls-hero__kicker {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
    }

    .ls-hero__badge {
        font-size: 0.72rem;
        padding: 8px 14px;
        letter-spacing: 0.08em;
    }

    .ls-games__sub,
    .ls-hero__sub {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .ls-logo__word {
        font-size: 1.1rem;
    }

    .ls-header__actions .ls-btn {
        padding: 8px 11px;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-landing * {
        transition: none !important;
    }
}
