/* ================= OPTIMIZED CSS - UNIFIED PROVIDER GALLERIES ================= */

/* CSS Custom Properties (Variables) */
:root {
    --brand: #ff9900;
    --stroke: #e6ebf4;
    --ink: #0f1220;
    --paper: #fff;
    --hdr-h-m: 68px;
    --hdr-h-d: 74px;
    --hdr-bg: #fff;
    --hdr-border: #eef2f7;
    --lang-bg: #f3f6fb;
    --lang-border: #e6ebf4;
    --lang-text: #0f1220;
    --lang-hover: #eef3fb;
    --tile-flag: 36px;
    --tile-font: 13px;
    --tile-gap: 16px;
    --tile-pad: 10px;
    --tile-bg: #fff;
    --tile-border: #e8edf6;
    --tile-hover: #f7faff;
    --tile-shadow: 0 6px 16px rgba(0,0,0,.06);
    --slide-radius: 18px;
    --slide-shadow: 0 10px 26px rgba(0,0,0,.12);
    --arrow-bg: rgba(255,255,255,.96);
    --arrow-bd: rgba(0,0,0,.1);
    --card-bg: #fff;
    --card-bd: #e6ecf5;
    --card-hover: #f8fbff;
    --card-shadow: 0 14px 34px rgba(20,27,51,.12);
    --card-media-bg: #0b0d18;
    --panel-bg: #f3f6fb;
    --panel-card: #eef3f9;
    --faq-bg: #071b4b;
    --faq-row: #09225d;
    --faq-text: #fff;
    --ft-bg: #fff;
    --ft-ink: #0f1220;
    --ft-border: #e8edf6;
    --ft-dim: #6b7280;

    /* Typography Tokens */
    --font-primary: Inter, "Noto Sans", "Noto Sans Thai", "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Standardized Spacing Variables */
    --section-padding-desktop: 60px;
    --section-padding-tablet: 48px;
    --section-padding-mobile: 36px;
    --content-gap: 24px;
    --element-gap: 16px;
    --small-gap: 8px;
}

/* Universal Box Sizing & Reset */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* ================= GLOBAL TYPOGRAPHY ================= */

body {
    font-family: var(--font-primary);
    color: #111;
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}

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

/* Consolidated Headings with Consistent Spacing */
h1 {
    font-family: inherit;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--ink);
}

h2 {
    font-family: inherit;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--ink);
}

h3 {
    font-family: inherit;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    margin: 0 0 12px;
    color: var(--ink);
}

h4 {
    font-family: inherit;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    margin: 0 0 12px;
    color: var(--ink);
}

h5 {
    font-family: inherit;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--ink);
}

h6 {
    font-family: inherit;
    font-size: clamp(.9rem, 1.2vw, 1rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--ink);
}

p {
    font-family: inherit;
    font-size: clamp(.875rem, 1.2vw, 1rem);
    line-height: 1.6;
    margin: 0 0 14px;
    color: #2b2f3a;
}

/* Global Form Elements */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
    font-size: clamp(.8rem, 1vw, .9rem);
    line-height: 1.2;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: clamp(.85rem, 1vw, .9rem);
    line-height: 1.4;
}

/* Small Text Elements */
label,
small,
caption {
    font-family: inherit;
    font-size: clamp(.7rem, .9vw, .75rem);
    line-height: 1.3;
}

/* Badge Elements */
.badge,
.game-badge,
.tab-badge,
.new-badge {
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
    font-size: clamp(.6rem, .8vw, .65rem);
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1;
}

/* Navigation Elements */
nav {
    font-family: inherit;
}

/* Layout Utilities */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* ================= CONSOLIDATED BUTTON STYLES ================= */

.btn,
.btn--primary,
.btn--secondary,
.btn--play,
.btn--join,
.cta,
.qr__btn,
.signup-btn,
.promotion-btn,
.provider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
    font-size: clamp(.8rem, 1vw, .9rem);
    line-height: 1.2;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s ease;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
}

/* Specific Button Variants */
.btn {
    padding: 10px 16px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--stroke);
}

.btn--primary {
    background: #1a73e8;
    color: #fff;
    padding: 10px 18px;
    gap: 6px;
}

.btn--primary:hover {
    background: #155fbe;
    transform: translateY(-1px);
}

.btn--play {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: #ff8a00;
    color: #fff;
    padding: 8px 14px;
    box-shadow: 0 4px 12px rgba(255, 138, 0, .3);
}

.btn--play:hover {
    background: #e47700;
    transform: translateY(-1px);
}

.btn--join {
    background: var(--brand);
    color: #101015;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 16px rgba(255, 153, 0, .3);
    animation: pulseGlow 2s ease-in-out infinite;
    padding: 10px 18px;
}

.btn--join::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transition: left .6s ease;
}

.btn--join:hover::before {
    left: 100%;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 16px rgba(255, 153, 0, .3);
    }
    50% {
        box-shadow: 0 0 24px rgba(255, 153, 0, .5), 0 0 32px rgba(255, 153, 0, .2);
    }
}

/* ================= HEADER STYLES ================= */

.hdr {
    position: relative;
    z-index: 50;
    background: var(--hdr-bg);
    border-bottom: 1px solid var(--hdr-border);
}

.hdr__inner {
    height: var(--hdr-h-m);
    display: grid;
    grid-template-columns: 40px 1fr 44px;
    align-items: center;
    gap: 12px;
}

.hdr__brand {
    justify-self: center;
}

.hdr__brand img {
    height: 38px;
    width: auto;
}

.hdr__burger {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hdr__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0e7db3;
    border-radius: 2px;
}

.hdr__lang {
    justify-self: end;
}

.hdr__nav,
.hdr__right {
    display: none;
}

.hdr__login {
    color: var(--ink);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: .8rem;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}

.hdr__login:hover {
    background: #f8fafc;
    color: #0e7db3;
}

/* Desktop Header */
@media (min-width: 1100px) {
    .hdr__inner {
        grid-template-columns: auto 1fr auto auto;
        height: var(--hdr-h-d);
    }

    .hdr__burger {
        display: none;
    }

    .hdr__brand {
        justify-self: start;
    }

    .hdr__nav {
        display: flex;
        gap: 12px;
        justify-content: flex-start;
        align-items: center;
    }

    .hdr__right {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: 12px;
    }
}

/* Header Navigation Links */
.hdr__nav a {
    position: relative;
    font-weight: var(--font-weight-semibold);
    font-size: .8rem;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
    border: 1px solid transparent;
    letter-spacing: .02em;
}

.hdr__nav a:hover {
    background: #f6f8fb;
    border-color: #e8edf6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}

.hdr__nav a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: transparent;
    transition: background .15s ease;
}

.hdr__nav a:hover::after {
    background: #0e7db3;
}

/* Mobile Menu */
.mob[hidden] {
    display: none;
}

.mob {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.mob__nav {
    display: flex;
    flex-direction: column;
}

.mob__nav a {
    padding: 14px 20px;
    text-decoration: none;
    color: var(--ink);
    font-weight: var(--font-weight-semibold);
    font-size: .85rem;
    border-top: 1px solid #eee;
    transition: background .15s ease, color .15s ease;
}

.mob__nav a:hover {
    background: #f8fafc;
    color: #0e7db3;
}

/* ================= LANGUAGE SELECTOR ================= */

.lang {
    position: relative;
}

.lang__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    padding: 8px 28px 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--lang-border);
    background: var(--lang-bg);
    color: var(--lang-text);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    font-size: .8rem;
}

.lang__btn:hover {
    background: var(--lang-hover);
}

.lang__flag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
}

.lang__code {
    font-weight: var(--font-weight-bold);
    font-size: .75rem;
    letter-spacing: .1px;
}

.caret {
    position: absolute;
    right: 8px;
    width: 10px;
    height: 10px;
    opacity: .75;
}

.lang__list {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 6px;
    display: none;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
    min-width: 200px;
}

.lang__list a {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    color: #111;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: .8rem;
}

.lang__list a:hover {
    background: #f6f8fb;
}

/* ================= HERO SECTIONS ================= */

.heroimg {
  position: relative;
  overflow: hidden;
}

.heroimg__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page-Specific Heroes */
.page--home .heroimg,
.page--sport .heroimg,
.page--casino .heroimg,
.page--slots .heroimg,
.page--lottery .heroimg,
.page--promotion .heroimg,
.page--aff .heroimg {
    position: relative;
    overflow: hidden;
}

.hero-title-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: flex-start;   /* left aligned */
  z-index: 10;
  pointer-events: none;
padding: 0 32px;}

.hero-title {
    font-family: inherit;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-extrabold);
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -.02em;
    max-width: 600px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .9), 0 1px 3px rgba(0, 0, 0, 1);
    animation: slideInFromLeft .8s ease-out;
    pointer-events: none;
}

.hero-subtitle {
    font-family: inherit;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -.01em;
    max-width: 600px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .9), 0 1px 3px rgba(0, 0, 0, 1);
    animation: slideInFromLeft .9s ease-out;
    pointer-events: none;
    opacity: .95;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page--home .heroimg__img,
.page--sport .heroimg__img,
.page--casino .heroimg__img,
.page--slots .heroimg__img,
.page--lottery .heroimg__img,
.page--promotion .heroimg__img,
.page--aff .heroimg__img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    filter: brightness(.85) contrast(1.15);
}

.page--sport .heroimg:hover .heroimg__img,
.page--casino .heroimg:hover .heroimg__img,
.page--slots .heroimg:hover .heroimg__img,
.page--lottery .heroimg:hover .heroimg__img,
.page--promotion .heroimg:hover .heroimg__img,
.page--aff .heroimg:hover .heroimg__img {
    transform: scale(1.02);
    transition: transform .6s ease;
}

/* ================= CTA BAR (MOBILE) ================= */

.cta-bar {
    display: none;
}

@media (max-width: 759.98px) {
    .cta-bar {
        display: block;
        background: #fff;
        border-bottom: 1px solid #eef2f7;
    }

    .cta__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 16px;
    }

    .cta {
        text-align: center;
        padding: 10px 8px;
        border-radius: 8px;
    }

    .cta--join {
        background: #e41d23;
        color: #fff;
    }

    .cta--login {
        background: #1573e6;
        color: #fff;
    }
}

/* ================= COUNTRY SECTION ================= */

.country-sec {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-bottom: 1px solid #eef2f7;
}

.country__ttl {
    text-align: center;
    margin-bottom: 32px;
}

.flaggrid {
    display: grid;
    gap: var(--tile-gap);
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.flagtile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
    font-weight: var(--font-weight-semibold);
    font-size: clamp(.7rem, .9vw, .75rem);
    background: var(--tile-bg);
    border: 1px solid var(--tile-border);
    border-radius: 12px;
    padding: 12px 8px;
    box-shadow: var(--tile-shadow);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.flagtile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.flagtile:hover {
    background: var(--tile-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(39, 94, 254, .12);
}

.flagtile--active {
    border-color: #dbe7ff;
    box-shadow: 0 0 0 2px #dbe7ff inset;
}

@media (max-width: 1099.98px) {
    .flagtile img {
        width: 28px;
        height: 28px;
    }

    .flaggrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================= SLIDER SYSTEM ================= */

.promo-sec {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
}

.promo-sec h2 {
    margin-bottom: 32px;
}

.slider {
    position: relative;
}

.slider__viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

ul.slider__track {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slider__track {
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.slide {
    flex: 0 0 auto;
}

.promo {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.promo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Slider Arrows */
.slider__arrow {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .8);
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .8);
    z-index: 10;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    transform-origin: center;
}

.slider__arrow:hover {
    transform: scale(1.1);
    border-color: var(--brand);
    background: linear-gradient(135deg, #fff, #f8f9fa);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2), 0 0 0 3px rgba(255, 153, 0, .3);
}

.slider__arrow:active {
    transform: scale(.95);
}

.slider__arrow:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: scale(.9);
}

.slider__arrow svg {
    stroke: #1b2a57;
    stroke-width: 2.5;
    transition: all .2s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .1));
}

.slider__arrow:hover svg {
    stroke: var(--brand);
    transform: scale(1.1);
}

.slider__arrow--prev {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.slider__arrow--next {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.slider__arrow--prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider__arrow--next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Slider Dots */
.slider__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.slider__dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: #c9d3e8;
    cursor: pointer;
    transition: all .2s ease;
}

.slider__dots button[aria-selected="true"] {
    background: #1a73e8;
    width: 20px;
    border-radius: 6px;
}

/* ================= RESPONSIVE SLIDER LAYOUTS ================= */

/* Mobile Slider Arrows */
@media (max-width: 759.98px) {
    .slider__arrow {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 12px;
        transform: none;
    }

    .slider__arrow--prev {
        left: 12px;
    }

    .slider__arrow--next {
        right: 12px;
    }

    .slider__arrow:hover {
        transform: scale(1.1);
    }

    /* Promo Slider */
    .slider--promo .slide {
        width: 100%;
    }

    /* Game Slider */
    .slider--games .slide {
        width: calc((100% - 16px) / 2);
    }

    /* Testimonial Slider */
    .slider--testi .slide {
        width: 100%;
    }

    /* Signup Slider */
    .slider--signup .slide {
        width: 100%;
    }
}

@media (min-width: 760px) and (max-width: 1099.98px) {
    .slider--promo .slide {
        width: calc((100% - 16px) / 2);
    }

    .slider--games .slide {
        width: calc((100% - 2 * 16px) / 3);
    }

    .slider--testi .slide {
        width: calc((100% - 16px) / 2);
    }
}

@media (min-width: 1100px) {
    .slider--promo .slide {
        width: calc((100% - 3 * 16px) / 4);
    }

    .slider--games .slide {
        width: calc((100% - 3 * 16px) / 4);
    }

    .slider--testi .slide {
        width: calc((100% - 2 * 16px) / 3);
    }
}

/* Game Slider Specific Layout */
.slider--games {
    position: relative;
    padding-bottom: 56px;
}

.slider--games .slider__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    margin: 0;
}

.slider--games .slider__arrow {
    top: auto;
    bottom: 16px;
    transform: none;
}

.slider--games .slider__arrow--prev {
    left: 12px;
}

.slider--games .slider__arrow--next {
    right: 12px;
}

/* ================= CONTENT SECTIONS ================= */

.content-intro {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
}

.content-intro .wrap {
    width: 100%;
}

.content-intro h2 {
    margin-bottom: 20px;
}

.content-intro p {
    margin-bottom: 12px;
}

.content-intro p:last-child {
    margin-bottom: 0;
}

/* Products Section */
.products {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
}

.products h2 {
    margin-bottom: 12px;
}

.products__lead {
    color: #2b2f3a;
    margin-top: 0;
    margin-bottom: 32px;
}

.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px;
}

.cards--banner {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
}

@media (max-width: 640px) {
    .cards--banner {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-bd);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
    border-color: #dbe7ff;
    background: var(--card-hover);
}

.card__media {
    position: relative;
    background: var(--card-media-bg);
}

.card__media img {
    width: 100%;
    height: auto;
    display: block;
}

.card__body {
    padding: 20px;
}

.card__title {
    margin: 0 0 8px;
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
}

.card__text {
    margin: 0;
    color: #3a4050;
}

/* ================= APP SECTION ================= */

.app-sec {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
}

.app {
    display: grid;
    gap: 40px;
    align-items: center;
}

.app__copy h2 {
    margin: 0 0 16px;
}

.app__copy p {
    color: #2b2f3a;
    margin: 0 0 24px;
}

.app__qrs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 460px;
}

.qr {
    display: grid;
    justify-items: center;
    gap: 12px;
    background: #f6f8fc;
    border: 1px solid #e6ecf5;
    border-radius: 16px;
    padding: 20px;
}

.qr__img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.qr__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6e9f2;
    color: var(--ink);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    border-radius: 999px;
    padding: 8px 14px;
    transition: background .15s ease, color .15s ease, filter .15s ease;
}

.qr__btn:hover,
.qr__btn:focus {
    background: var(--brand);
    color: #101015;
    filter: none;
}

.ico-img {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.app__art {
    display: grid;
    justify-items: center;
}

.app__rightimg {
    max-width: 420px;
    width: 100%;
}

@media (min-width: 980px) {
    .app {
        grid-template-columns: 1.1fr .9fr;
    }
}

@media (max-width: 979.98px) {
    .app {
        grid-template-columns: 1fr;
    }

    .app__copy {
        text-align: center;
    }

    .app__qrs {
        margin: 0 auto;
    }

    .app__art {
        display: none;
    }
}

/* ================= USEFUL INFO SECTION (refined, free-floating image) ================= */

.useful-info {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    position: relative; /* ensure image can overlap */
}

.useful-info .wrap {
    position: relative;
    background: linear-gradient(180deg, #eef6ff 0%, #f8f0ff 40%, #fff0f2 100%);
    border-radius: 18px;
    max-width: 1280px;
    width: min(92vw, 1280px);
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
    z-index: 1; /* keep content above image if overlap occurs */
}

/* ===== Heading + intro ===== */
.useful-info__text {
    display: grid;
    gap: 18px;
}

.useful-info__text > h2 {
    margin: 0 0 14px;
    line-height: 1.3;
}

.useful-info__text > p {
    margin: 0 0 22px;
    max-width: 70ch;
    line-height: 1.6;
    color: #2d3748;
}

/* ===== Info cards ===== */
.useful-info__grid {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
    background: #fff;
    border: 1px solid #e8edf6;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
    transition: box-shadow .15s ease;
}

.info-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.info-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.3;
}

.info-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #4a5568;
}

/* ===== Mobile ===== */
@media (max-width: 719.98px) {
    .useful-info__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .info-card { padding: 14px; }

    /* Hide girl image on mobile */
    .useful-info__image { display: none; }
}

/* ===== Desktop ===== */
@media (min-width: 980px) {
    .useful-info .wrap { padding: 44px; }

    .useful-info__text {
        padding-right: clamp(240px, 28vw, 420px);
    }

    .useful-info__image {
        position: absolute;
        right: 24px;
        bottom: 0;
        z-index: 2; /* float above the box */
        background: none; /* no container background */
        border: none;
    }

    .useful-info__image img {
        height: clamp(320px, 36vw, 480px); /* slightly taller */
        width: auto;
        border-radius: 0; /* free-floating, no box */
        box-shadow: none; /* optional: remove shadow if you want it even cleaner */
    }
}




/* ================= GAME ROWS SECTION ================= */

.game-rows {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
}

.game-rows h2 {
    margin-bottom: 32px;
}

.row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
}

.row-head h3 {
    margin: 0;
}

.row-more {
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    color: var(--ink);
    opacity: .9;
    transition: opacity .2s ease;
}

.row-more:hover {
    opacity: 1;
}

.gamecard {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.gamecard img {
    display: block;
    width: 100%;
    height: auto;
}

/* ================= TOP GAMES SECTION ================= */

.top-games {
    padding: var(--section-padding-desktop) 0;
    background: none;
    border-top: 1px solid #eef2f7;
}

.top-games h2 {
    margin-bottom: 32px;
    text-align: center;
}

.top-games__container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 20px 16px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-games__container::-webkit-scrollbar {
    display: none;
}

.game-item {
    flex: 0 0 auto;
    width: 150px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.game-thumbnail {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #f8fafc;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game-item:hover .game-thumbnail img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.play-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: clamp(.7rem, .9vw, .75rem);
    line-height: 1.2;
}

.play-button:hover {
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.play-button:focus,
.play-button:active {
    color: white;
    text-decoration: none;
}

.new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: .3px;
    z-index: 2;
}

.game-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.game-name {
    font-weight: var(--font-weight-semibold);
    color: #1f2937;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.game-provider {
    color: #6b7280;
    font-weight: var(--font-weight-medium);
    margin: 0;
}

.game-rtp {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: var(--font-weight-semibold);
    margin-top: 4px;
    font-size: clamp(.6rem, .8vw, .65rem);
}

/* ================= RESPONSIVE TOP GAMES ================= */

/* Desktop - Grid Layout */
@media (min-width: 1024px) {
    .top-games {
        padding: var(--section-padding-desktop) 0;
    }

    .top-games__container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
        padding: 0;
        overflow: visible;
    }

    .game-item {
        width: 100%;
    }

    .game-thumbnail {
        height: 140px;
    }

    .game-info {
        padding: 16px;
        gap: 8px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .top-games__container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 0;
    }

    .game-item {
        width: 100%;
    }

    .game-thumbnail {
        height: 130px;
    }
}

/* Mobile Portrait */
@media (max-width: 767px) {
    .top-games {
        padding: var(--section-padding-mobile) 0;
    }

    .game-item {
        width: 130px;
    }

    .game-thumbnail {
        height: 95px;
    }

    .game-info {
        padding: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-games {
        padding: var(--section-padding-mobile) 0;
    }

    .top-games__container {
        gap: 12px;
        padding: 0 16px 12px 16px;
    }

    .game-item {
        width: 120px;
    }

    .game-thumbnail {
        height: 85px;
    }

    .game-info {
        padding: 10px;
        gap: 4px;
    }

    .play-button {
        font-size: .65rem;
        padding: 6px 12px;
        border-radius: 10px;
    }
}

/* ================= UNIFIED PROVIDER GALLERIES ================= */
/* unify provider galleries to Slots template */

.providers-gallery {
    background: none;
    padding: var(--section-padding-desktop) 0;
    border: none;
}

.providers-gallery h2 {
    margin-bottom: 40px;
    text-align: center;
}

.providers-gallery__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    background: none;
}

.providers-gallery__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.providers-gallery__card {
    display: block;
    width: 80%;
    text-decoration: none;
    margin-bottom: 12px;
    transition: transform .3s ease;
}

.providers-gallery__card:hover {
    transform: translateY(-2px);
}

.providers-gallery__logo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s ease;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
}

.providers-gallery__card:hover .providers-gallery__logo {
    transform: scale(1.02);
}

.providers-gallery__name {
    color: var(--ink);
    font-weight: var(--font-weight-semibold);
    margin: 8px 0 0 0;
    line-height: 1.3;
    text-align: center;
}

/* Legacy class support for backward compatibility */
.slots-providers,
.casino-providers-gallery,
.lottery-providers-gallery {
    background: none;
    padding: var(--section-padding-desktop) 0;
    border: none;
}

.slots-providers h2,
.casino-providers-gallery h2,
.lottery-providers-gallery h2 {
    margin-bottom: 40px;
    text-align: center;
}

.slots-providers .providers-grid,
.casino-providers-gallery .providers-grid,
.lottery-providers-gallery .providers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    background: none;
}

.slots-providers .provider-item,
.casino-providers-gallery .provider-item,
.lottery-providers-gallery .provider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slots-providers .provider-card,
.casino-providers-gallery .provider-card,
.lottery-providers-gallery .provider-card {
    display: block;
    width: 80%;
    text-decoration: none;
    margin-bottom: 12px;
    transition: transform .3s ease;
}

.slots-providers .provider-card:hover,
.casino-providers-gallery .provider-card:hover,
.lottery-providers-gallery .provider-card:hover {
    transform: translateY(-2px);
}

.slots-providers .provider-image,
.casino-providers-gallery .provider-image,
.lottery-providers-gallery .provider-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s ease;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
}

.slots-providers .provider-card:hover .provider-image,
.casino-providers-gallery .provider-card:hover .provider-image,
.lottery-providers-gallery .provider-card:hover .provider-image {
    transform: scale(1.02);
}

.slots-providers .provider-name,
.casino-providers-gallery .provider-name,
.lottery-providers-gallery .provider-name {
    color: var(--ink);
    font-weight: var(--font-weight-semibold);
    margin: 8px 0 0 0;
    line-height: 1.3;
    text-align: center;
}

/* Slot Providers Showcase */
.slot-providers-showcase {
    background: #f8fafc;
    padding: 80px 0;
    border: none;
}

.slot-providers-showcase .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slot-providers-showcase .providers-header {
    text-align: center;
    margin-bottom: 60px;
}

.slot-providers-showcase .providers-header h2 {
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.slot-providers-showcase .providers-subtitle {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.slot-providers-showcase .providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.slot-providers-showcase .provider-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    transition: all .3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.slot-providers-showcase .provider-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
    border-color: #cbd5e1;
}

.slot-providers-showcase .provider-image {
    width: 100%;
    height: 200px;
    overflow: visible;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    flex-shrink: 0;
}

.slot-providers-showcase .provider-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    transition: transform .3s ease;
}

.slot-providers-showcase .provider-item:hover .provider-image img {
    transform: scale(1.05);
}

.slot-providers-showcase .provider-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.slot-providers-showcase .provider-name {
    margin: 0 0 16px 0;
    line-height: 1.3;
    text-align: center;
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
}

.slot-providers-showcase .provider-description {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* Casino showcase - different design but reuses unified classes where possible */
.casino-showcase {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    padding: 20px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.casino-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    pointer-events: none;
}

.casino-showcase__header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.casino-showcase__header h2 {
    margin: 0 0 24px 0;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.casino-showcase__description {
    max-width: 600px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.7;
}

.casino-showcase__video {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.featured-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 32px 32px;
    color: white;
}

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

.video-title {
    margin: 0 0 12px 0;
    color: white;
    font-weight: var(--font-weight-bold);
}

.video-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.9;
}

.providers-showcase {
    position: relative;
    z-index: 2;
}

.providers-title {
    text-align: center;
    margin: 0 0 50px 0;
    color: #1f2937;
    position: relative;
}

.providers-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.casino-showcase .providers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.casino-showcase .provider-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.casino-showcase .provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.casino-showcase .provider-card:hover::before {
    transform: scaleX(1);
}

.casino-showcase .provider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

.provider-image-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.provider-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-showcase .provider-card:hover .provider-image-container::after {
    opacity: 1;
}

.provider-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1);
}

.casino-showcase .provider-card:hover .provider-logo {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.provider-info {
    padding: 20px 24px;
    text-align: center;
    background: white;
    border-top: 1px solid #f3f4f6;
}

.casino-showcase .provider-name {
    margin: 0;
    color: #111827;
    font-weight: var(--font-weight-semibold);
    transition: color 0.3s ease;
}

.casino-showcase .provider-card:hover .provider-name {
    color: #3b82f6;
}

.casino-showcase__footer {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ================= LOTTERY PROVIDERS SECTION ================= */

.lottery-providers {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
}

.lottery-providers .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lottery-providers-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lottery-providers-header h2 {
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.lottery-providers-subtitle {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.lottery-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    justify-items: center;
}

.lottery-provider-item {
    width: 75%;
    max-width: 190px;
    text-align: center;
}

.lottery-provider-card {
    cursor: pointer;
    transition: transform .3s ease;
}

.lottery-provider-card:hover {
    transform: translateY(-5px);
}

.lottery-provider-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

.lottery-provider-card:hover .lottery-provider-image {
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.lottery-provider-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s ease;
}

.lottery-provider-card:hover .lottery-provider-image img {
    transform: scale(1.05);
}

.lottery-provider-content {
    padding: 0;
}

.lottery-provider-name {
    margin: 0;
    line-height: 1.2;
    letter-spacing: .5px;
    text-align: center;
    color: #2d3748;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================= LOTTERY GAMES DETAIL SECTION ================= */

.lottery-games-detail {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
}

.lottery-games-detail .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lottery-games-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lottery-games-header h2 {
    margin: 0 0 24px 0;
}

.lottery-games-header p {
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
}

.lottery-games-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lottery-game-item {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.lottery-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #e2e8f0;
}

.game-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.game-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    min-height: 200px;
}

.game-text h3 {
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2d3748;
}

.game-text p {
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
}

/* Image + CTA column */
.game-image {
    display: flex;
    flex-direction: column;      /* stack image and button */
    align-items: center;
    justify-content: center;
    gap: 16px;                   /* space between image and button */
    min-height: 200px;
    position: relative;
}

.game-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
    object-fit: contain;
}

/* Use your existing button system without creating a new style */
.game-image .btn {
    margin-top: 0;               /* rely on gap for spacing */
}

/* Optional: make primary button slightly roomier in this card */
.game-image .btn--primary {
    padding: 12px 20px;
    border-radius: 10px;
}

.lottery-game-item:hover .game-image img {
    transform: scale(1.05);
}

/* FIX: lottery games detail mobile – proper spacing and layout */
@media (max-width: 759.98px) {
    .lottery-games-detail {
        padding: var(--section-padding-mobile) 0;
    }

    .lottery-games-detail .wrap {
        padding: 0 16px;
    }

    .lottery-games-header {
        margin-bottom: 32px;
    }

    .lottery-games-header h2 {
        margin: 0 0 16px 0;
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .lottery-games-grid {
        gap: 24px;
    }

    .lottery-game-item {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .game-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-text {
        min-height: auto;
        gap: 12px;
    }

    .game-text h3 {
        font-size: clamp(1rem, 2.5vw, 1.125rem);
        letter-spacing: 0.3px;
    }

    .game-text p {
        font-size: clamp(.875rem, 1.2vw, .95rem);
        line-height: 1.6;
    }

    .game-image {
        min-height: auto;
        order: -1;
    }

    .game-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: contain;
        border-radius: 12px;
    }

    /* Mobile: make the CTA full width for easy tapping */
    .game-image .btn {
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= SIGNUP SECTION ================= */

.signup-section {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.signup-header {
    text-align: center;
    margin-bottom: 48px;
}

.signup-title {
    margin: 0 0 16px;
    letter-spacing: -.01em;
}

.signup-subtitle {
    color: #4a5568;
    margin: 0;
    font-weight: var(--font-weight-normal);
}

/* FIX: signup slider desktop – prevent double-slide bleed and ensure proper single slide display */
.signup-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Add slider viewport container for proper overflow control */
.slider--signup {
    position: relative;
}

.slider--signup .slider__viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.slider--signup .slider__track {
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

/* Desktop: exactly one slide visible */
@media (min-width: 1100px) {
    .slider--signup .slide {
        width: 100%;
        flex: 0 0 100%;
    }
}

.signup-slide {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: all .3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    min-height: 320px;
}

.signup-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
    border-color: #dbe7ff;
}

.signup-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.signup-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
    transition: transform .3s ease;
}

.signup-slide:hover .signup-image img {
    transform: scale(1.02);
}

.signup-content {
    padding: 12px;
}

.signup-step-title {
    font-weight: var(--font-weight-bold);
    margin: 0 0 16px;
    color: var(--ink);
    line-height: 1.3;
}

.signup-text {
    color: #4a5568;
    margin: 0 0 24px;
    line-height: 1.6;
}

.signup-btn {
    background: var(--brand);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, .3);
    border: 2px solid transparent;
    align-self: flex-start;
    min-width: 120px;
    margin-top: 8px;
}

.signup-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 153, 0, .4);
    border-color: rgba(255, 255, 255, .2);
}

.signup-btn:active {
    transform: translateY(0);
}

/* Ensure arrows are properly positioned for signup slider */
.slider--signup .slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider--signup .slider__arrow--prev {
    left: 0;
}

.slider--signup .slider__arrow--next {
    right: 0;
}

.slider--signup .slider__arrow--prev:hover,
.slider--signup .slider__arrow--next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Ensure dots are properly positioned */
.slider--signup .slider__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

/* ================= TESTIMONIALS SECTION ================= */

.testi-sec {
    background: #f7f9fd;
    padding: var(--section-padding-desktop) 0;
}

.testi-sec h2 {
    margin: 0 0 32px;
    text-align: center;
}

.testi {
    background: #eef3f9;
    border: 1px solid #e3ebf7;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    min-height: 280px;
    transition: transform .3s ease, box-shadow .3s ease;
    justify-content: space-between;
}

.testi:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.testi__title {
    line-height: 1.2;
    margin: 0 0 12px;
    text-align: center;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
}

.testi__text {
    color: #2b2f3a;
    margin: 0 auto 16px;
    max-width: 52ch;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}

.testi__stars {
    text-align: center;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    flex-shrink: 0;
}

.stars {
    display: inline-block;
    color: #f5b301;
    font-size: 18px;
    letter-spacing: 3px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 0 6px rgba(245, 179, 1, .15);
}

/* ================= FAQ SECTION ================= */

.faq-sec {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
}

.faq-sec h2 {
    margin: 0 0 32px;
    text-align: center;
}

.faq {
    border-radius: 14px;
    overflow: hidden;
    background: var(--faq-bg);
    color: var(--faq-text);
}

.faq__item + .faq__item {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.faq__btn {
    width: 100%;
    text-align: left;
    border: 0;
    cursor: pointer;
    background: var(--faq-row);
    color: var(--faq-text);
    padding: 18px 20px;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: inherit;
}

.faq__btn:hover {
    filter: brightness(1.02);
}

.faq__sign {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    border-radius: 3px;
    background: #0c2a74;
    position: relative;
    flex: 0 0 16px;
}

.faq__sign::before,
.faq__sign::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 1px;
}

.faq__sign::before {
    width: 10px;
    height: 2px;
}

.faq__sign::after {
    width: 2px;
    height: 10px;
    transition: transform .15s ease;
}

.faq__btn[aria-expanded="true"] .faq__sign::after {
    transform: scaleY(0);
}

.faq__panel {
    background: #fff;
    padding: 20px 24px;
    color: var(--ink);
}

/* ================= SPORTS PROVIDERS SECTION ================= */

.sports-providers {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.sports-providers h2 {
    margin-bottom: 40px;
    text-align: center;
}

.providers-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.providers-tabs::-webkit-scrollbar {
    display: none;
}

.provider-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #e6ecf5;
    border-radius: 50px;
    background: #fff;
    color: #6b7280;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all .3s ease;
    white-space: nowrap;
    min-width: 120px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    font-family: inherit;
}

.provider-tab:hover {
    border-color: #dbe7ff;
    background: #f8fbff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.provider-tab.active {
    border-color: var(--brand);
    background: linear-gradient(135deg, #fff8f0, #fff);
    color: var(--ink);
    font-weight: var(--font-weight-bold);
    box-shadow: 0 6px 16px rgba(255, 153, 0, .15);
}

.tab-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.tab-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
}

.tab-name {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.tab-badge {
    padding: 3px 6px;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: .3px;
}

.tab-badge.new {
    background: #f44;
    color: #fff;
}

.tab-badge.featured {
    background: #00c851;
    color: #fff;
}

.tab-badge.hot {
    background: #ff6900;
    color: #fff;
}

.providers-content {
    position: relative;
    min-height: 500px;
}

.provider-panel {
    display: none;
    opacity: 0;
    transition: opacity .4s ease;
}

.provider-panel.active {
    display: block;
    opacity: 1;
}

.provider-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 50%, #fff8f0 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
    border: 1px solid #f0f4f8;
    min-height: 420px;
}

.provider-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(248, 251, 255, .95) 0%, rgba(255, 255, 255, .98) 100%);
}

.provider-title {
    margin: 0;
    line-height: 1.2;
}

.provider-subtitle {
    margin: 0;
}

.provider-desc {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.provider-btn {
    background: var(--brand);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(255, 153, 0, .3);
    border: 2px solid transparent;
    align-self: flex-start;
    min-width: 120px;
    margin-top: 12px;
}

.provider-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 153, 0, .4);
    border-color: rgba(255, 255, 255, .2);
}

.provider-btn:active {
    transform: translateY(-1px);
}

.provider-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b0d18 0%, #1a1d2e 100%);
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 153, 0, .1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(59, 130, 246, .1) 0%, transparent 50%);
}

.provider-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all .6s ease;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.provider-panel.active .provider-hero:hover .provider-hero-img {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.15) saturate(1.15);
}

.provider-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 153, 0, .05) 0%, transparent 30%, transparent 70%, rgba(59, 130, 246, .05) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity .3s ease;
}

.provider-hero:hover .provider-image::before {
    opacity: .7;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.provider-panel.active .provider-hero-img {
    animation: slideInRight .8s ease-out;
}

.provider-panel.active .provider-content {
    animation: slideInLeft .8s ease-out;
}

/* ================= BETTING MARKET SECTION (2-col, equal height) ================= */

.betting-market {
    background: #fff;
    padding: var(--section-padding-desktop) 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.betting-market .wrap {
    position: relative;
    background: linear-gradient(135deg, #eef6ff 0%, #f8f0ff 40%, #fff0f2 100%);
    border-radius: 20px;
    padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.betting-market__text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.betting-market__text > h2 {
    margin: 0 0 18px;
}

.betting-market__text > p {
    margin: 0 0 32px;
    color: #4a5568;
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

/* 2 columns on desktop, 1 on mobile */
.betting-market__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch; /* stretch rows so cards align in height */
}

/* Equal-height cards with flex layout */
.market-card {
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;              /* make card content flexible */
    flex-direction: column;
    justify-content: flex-start; /* content sits at the top */
}

.market-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
    border-color: #e2e8f0;
}

.market-card h3 {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.35;
    word-break: break-word;
    flex-shrink: 0; /* never squish titles */
}

.market-card p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
    flex-grow: 1;   /* paragraphs expand to fill height evenly */
}

/* Mobile: single column for max readability */
@media (max-width: 719.98px) {
    .betting-market__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .market-card { padding: 20px; }
}




/* ================= REWARDS & BONUSES SECTION ================= */

.rewards-bonuses {
    background: #000f4c;
    padding: var(--section-padding-desktop) 0;
    position: relative;
}

.rewards-bonuses .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rewards-content {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 300px;
}

.rewards-image {
    flex: 0 0 300px;
    text-align: center;
    position: relative;
}

.rewards-image img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

.rewards-text {
    flex: 1;
}

.rewards-text h2 {
    margin: 0 0 24px 0;
    line-height: 1.3;
    color: #fff;
}

.rewards-description {
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
}

.rewards-description strong {
    color: #fbbf24;
    font-weight: var(--font-weight-semibold);
}

/* ================= EXCLUSIVE PROMOTIONS SECTION (FINAL, HTML UNCHANGED) ================= */

.exclusive-promotions {
  background: #fff;
  padding: var(--section-padding-desktop) 0;
  border-top: 1px solid #eef2f7;
}

.exclusive-promotions .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.exclusive-promotions h2 {
  font-weight: var(--font-weight-extrabold);
  color: var(--ink);
  text-align: center;
  margin: 0 0 48px 0;
  line-height: 1.3;
}

/* Stack of cards */
.exclusive-promotions .promotions-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
  max-width: 900px;
  margin: 0 auto;
}

.exclusive-promotions .promotion-item { width: 100%; }

/* Card base */
.exclusive-promotions .promotion-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  display: flex;
  align-items: center;
  min-height: 200px;
  column-gap: clamp(12px, 2.5vw, 24px); /* space between image & content */
}

@media (hover:hover) and (pointer:fine) {
  .exclusive-promotions .promotion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .12);
    border-color: #e2e8f0;
  }
}

/* Image block — no outer margin; responsive basis */
.exclusive-promotions .promotion-image {
  flex: 0 0 clamp(240px, 42vw, 450px);
  height: clamp(160px, 28vw, 200px);
  position: relative;
  margin: 0; /* remove the 20px that caused big gaps */
  display: flex;
  align-items: center;
  justify-content: center;
}

.exclusive-promotions .promotion-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* always show full image */
  display: block;
  border-radius: 16px;
  transition: transform .3s ease;
}

@media (hover:hover) and (pointer:fine) {
  .exclusive-promotions .promotion-card:hover .promotion-image img { transform: scale(1.05); }
}

/* Content */
.exclusive-promotions .promotion-content {
  flex: 1;
  padding: clamp(16px, 3.2vw, 28px) clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 10px);
}

.exclusive-promotions .promotion-title {
  font-weight: var(--font-weight-bold);
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.exclusive-promotions .promotion-desc {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* Button */
.exclusive-promotions .promotion-btn {
  background: #ff9900;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(255, 153, 0, .3);
  border: 2px solid transparent;
  align-self: flex-start;     /* desktop: align left with text */
  min-width: 120px;
  width: fit-content;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

@media (hover:hover) and (pointer:fine) {
  .exclusive-promotions .promotion-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 153, 0, .4);
    border-color: rgba(255, 255, 255, .2);
  }
}

.exclusive-promotions .promotion-btn:active { transform: translateY(0); }

/* ---------------- Mobile fixes (HTML unchanged) ---------------- */
@media (max-width: 768px) {
  .exclusive-promotions h2 { margin-bottom: 28px; }

  /* Wrap instead of forcing column change in HTML */
  .exclusive-promotions .promotion-card {
    flex-wrap: wrap;            /* lets image go full row cleanly */
    align-items: stretch;
    row-gap: 0;
    min-height: auto;
  }

  /* Image takes full width row, no crop, no extra margin */
  .exclusive-promotions .promotion-image {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .exclusive-promotions .promotion-image img {
    width: auto;                /* keep full image without distortion */
    height: auto;
    max-width: 100%;
    max-height: 260px;          /* keeps card compact on small screens */
    margin: 0 auto;             /* center the image */
    border-radius: 0;           /* full-bleed feel; change to 12px if you prefer */
    object-fit: contain;        /* ensure full image visible */
  }

  /* Content follows under image with tighter padding */
  .exclusive-promotions .promotion-content {
    flex: 1 0 100%;
    padding: 16px 16px 20px;
    align-items: center;        /* center text block for symmetry */
    text-align: center;
  }

  /* Center the CTA and keep it steady */
  .exclusive-promotions .promotion-btn {
    align-self: center;         /* centers button on mobile */
    width: auto;                /* no stretching unless you want full-width */
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .exclusive-promotions .promotion-card,
  .exclusive-promotions .promotion-image img,
  .exclusive-promotions .promotion-btn { transition: none; }
}


/* ================= AD STRIP ================= */

.ad-strip {
    background: #fff;
    padding: 24px 0;
}

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

.ad-strip__link {
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

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

/* ================= FOOTER SECTION ================= */

.ft {
    background: var(--ft-bg);
    color: var(--ft-ink);
    border-top: 1px solid var(--ft-border);
}

.ft .wrap {
    padding-top: 36px;
    padding-bottom: 28px;
}

.ft-logos {
    display: grid;
    gap: 24px;
    align-items: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 16px;
    padding: 20px;
}

.ft-sec__ttl {
    margin: 0 0 12px;
    font-weight: var(--font-weight-bold);
    text-align: center;
    font-size: .8rem;
    color: var(--ft-ink);
}

.ft-logos__col--title {
    order: 1;
}

.ft-logos__col--sponsor {
    order: 2;
}

.ft-logos__col--partners {
    order: 3;
}

.ft-logos__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    justify-items: center;
}

.ft-logo a {
    display: grid;
    justify-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--ft-ink);
}

.ft-logo img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.ft-logo .label {
    display: block;
    font-size: clamp(.75rem, .9vw, .8rem);
    font-weight: var(--font-weight-semibold);
    margin-top: 6px;
    color: #6b7280;
    line-height: 1.3;
    font-family: var(--font-primary);
}

.ft-logos__col--title .ft-logo img,
.ft-logos__col--partners .ft-logo img {
    width: 24px;
}

.ft-prev {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 16px;
    padding: 16px;
}

.ft-prev__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    justify-items: center;
}

.ft-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ft-card img {
    width: 24px;
    object-fit: contain;
    object-position: center;
}

.ft-card .label {
    display: block;
    font-size: clamp(.75rem, .9vw, .8rem);
    font-weight: var(--font-weight-semibold);
    margin-top: 6px;
    text-align: center;
    color: #6b7280;
    line-height: 1.2;
    font-family: var(--font-primary);
}

.ft-card .year {
    display: block;
    font-size: clamp(.75rem, .9vw, .8rem);
    opacity: .7;
    text-align: center;
    color: #6b7280;
    margin-top: 2px;
    font-family: var(--font-primary);
}

.ft-info {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--ft-border);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    gap: 28px;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: start;
}

.ft-info__ttl {
    margin: 0 0 12px;
    font-weight: var(--font-weight-bold);
    font-size: .8rem;
    color: var(--ft-ink);
    text-align: center;
}

.ft-info__col--license {
    grid-column: 1;
}

.ft-license {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ft-license__badge {
    position: relative;
    flex-shrink: 0;
}

.ft-license__img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 2px solid #4caf50;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 8px;
}

.ft-license__checkmark {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: var(--font-weight-bold);
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, .3);
}

.ft-license__text {
    flex: 1;
}

.ft-license__text p {
    font-size: .7rem;
    line-height: 1.3;
    color: #6b7280;
    margin: 0;
}

.ft-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.ft-payments img {
    width: 36px;
    height: 28px;
    object-fit: contain;
    border: 1px solid var(--ft-border);
    border-radius: 6px;
    padding: 4px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
    flex-shrink: 0;
}

.ft-payments img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.ft-social {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.ft-social__link {
    display: block;
    transition: transform .2s ease;
}

.ft-social__link:hover {
    transform: scale(1.1);
}

.ft-social__link img {
    width: 40px;
    height: 32px;
    object-fit: contain;
    border: 1px solid var(--ft-border);
    border-radius: 6px;
    padding: 4px;
    background: #fff;
}

.ft-security {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.ft-security img {
    max-width: 80px;
    height: auto;
    object-fit: contain;
}

.ft-responsible {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.ft-responsible img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ft-main {
    display: grid;
    gap: 20px;
    margin-top: 28px;
    align-items: center;
    grid-template-columns: 1fr;
}

.ft-menu {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.ft-menu a {
    display: block;
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: .8rem;
    color: var(--ft-ink);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.ft-menu a:hover {
    border-color: var(--ft-border);
    background: #f7f9ff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
}

.ft__lang {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    position: relative;
}

.ft__lang .lang__btn {
    padding: 8px 28px 8px 12px;
    font-size: .75rem;
}

.ft__lang .lang__list {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    top: auto;
    bottom: 110%;
    min-width: 220px;
}

.ft-bottom {
    border-top: 1px solid var(--ft-border);
    margin-top: 28px;
    padding-top: 16px;
    text-align: center;
    color: var(--ft-dim);
    font-size: .8rem;
}

/* ================= FLOATING LINE ICON (THAI ONLY) ================= */
/* Base (keep your existing rules) */
.lang--th .floating-line-icon {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer; padding: 0;
  transition: transform .25s ease;
  will-change: transform;
  contain: layout paint; /* isolate for perf */
}

.lang--th .floating-line-icon img {
  width: 64px; height: 64px;
  display: block;
  /* keep only a soft drop shadow; remove animated filters */
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.30));
  transition: transform .25s ease;
  will-change: transform;
}

/* Lightweight glow via pseudo-element */
.lang--th .floating-line-icon::after {
  content: "";
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 999px;
  pointer-events: none;
  /* bright center fading out—no filters */
  background: radial-gradient(circle, rgba(255,153,0,.55) 0%, rgba(255,153,0,.20) 45%, rgba(255,153,0,0) 70%);
  opacity: .8;
  transform: scale(1);
  animation: glowPulse 3s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Hover effect (desktop) */
.lang--th .floating-line-icon:hover img {
  transform: scale(1.06) rotate(3deg);
}

/* New keyframes (transform + opacity only) */
@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(.95); }
  50%      { opacity: .9;  transform: scale(1.08); }
}

/* Mobile tuning: smaller icon, slower/softer pulse */
@media (max-width: 768px) {
  .lang--th .floating-line-icon { bottom: 18px; right: 18px; }
  .lang--th .floating-line-icon img { width: 56px; height: 56px; }
  .lang--th .floating-line-icon::after {
    width: 92px; height: 92px;
    animation-duration: 4s;
    opacity: .6;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lang--th .floating-line-icon::after { animation: none; opacity: .45; transform: none; }
  .lang--th .floating-line-icon img { transition: none; }
}

/* Hide on other languages (keep your rule) */
.lang--vi .floating-line-icon,
.lang--id .floating-line-icon,
.lang--en .floating-line-icon { display: none; }


/* ================= RESPONSIVE BREAKPOINTS CONSOLIDATION ================= */
/* section spacing normalization */

/* Mobile Optimizations */
@media (max-width: 480px) {
    :root {
        --section-padding-desktop: 48px;
        --section-padding-tablet: 40px;
        --section-padding-mobile: 32px;
    }

    .btn--play {
        padding: 6px 12px;
        left: 12px;
        bottom: 12px;
        border-radius: 6px;
    }

    .btn,
    .btn--primary,
    .btn--join {
        padding: 8px 14px;
    }

    .hero-title-overlay {
        padding: 0 16px;
        padding-top: clamp(50px, 12vh, 80px);
    }

    .page--home .heroimg__img,
.page--sport .heroimg__img,
    .page--casino .heroimg__img,
    .page--slots .heroimg__img,
    .page--lottery .heroimg__img,
    .page--promotion .heroimg__img,
    .page--aff .heroimg__img {
        min-height: 260px;
        max-height: 320px;
    }

    .providers-gallery__grid,
    .slots-providers .providers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .slot-providers-showcase {
        padding: 60px 0;
    }

    .slot-providers-showcase .providers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lottery-providers {
        padding: var(--section-padding-mobile) 0;
    }

    .lottery-providers .wrap {
        padding: 0 16px;
    }

    .lottery-providers-header {
        margin-bottom: 28px;
    }

    .lottery-providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }

    .lottery-provider-item {
        max-width: 105px;
    }

    .lottery-provider-image {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .exclusive-promotions {
        padding: var(--section-padding-mobile) 0;
    }

    .exclusive-promotions .wrap {
        padding: 0 12px;
    }

    .promotions-grid {
        gap: 24px;
    }

    .promotion-content {
        padding: 20px;
    }

    .promotion-image {
        width: calc(100% - 20px);
        height: 180px;
        margin: 10px;
    }

    .lang--th .floating-line-icon {
        bottom: 20px;
        right: 20px;
    }

    .lang--th .floating-line-icon img {
        width: 56px;
        height: 56px;
    }
}

/* Tablet Optimizations */
@media (max-width: 768px) {
    :root {
        --section-padding-desktop: 48px;
        --section-padding-tablet: 40px;
        --section-padding-mobile: 36px;
    }

    .hero-title-overlay {
        padding: 0 20px;
        justify-content: flex-start;
        padding-top: clamp(60px, 15vh, 100px);
    }

    .page--home .heroimg__img,
.page--sport .heroimg__img,
    .page--casino .heroimg__img,
    .page--slots .heroimg__img,
    .page--lottery .heroimg__img,
    .page--promotion .heroimg__img,
    .page--aff .heroimg__img {
        min-height: 280px;
        max-height: 350px;
        filter: brightness(.8) contrast(1.2);
    }

    .sports-providers {
        padding: var(--section-padding-tablet) 0;
    }

    .providers-tabs {
        gap: 8px;
        padding: 0 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-padding-left: 20px;
    }

    .provider-tab {
        min-width: 60px;
        padding: 8px 6px;
        gap: 4px;
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .tab-logo {
        width: 24px;
        height: 24px;
    }

    .tab-name {
        display: none;
    }

    .tab-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        border-radius: 6px;
    }

    .provider-hero {
        grid-template-columns: 1fr;
        min-height: 500px;
        gap: 0;
    }

    .provider-content {
        order: 2;
        padding: 40px 24px;
        text-align: center;
        align-items: center;
    }

    .provider-btn {
        align-self: center;
        padding: 10px 20px;
    }

    .provider-image {
        order: 1;
        min-height: 250px;
    }

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

    .betting-market {
        padding: var(--section-padding-tablet) 0;
    }

    .betting-market .wrap {
        padding: 36px 24px;
    }

    .betting-market__text > p {
        margin-bottom: 36px;
    }

    .betting-market__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .market-card {
        padding: 28px 24px;
    }

    .exclusive-promotions {
        padding: var(--section-padding-tablet) 0;
    }

    .exclusive-promotions .wrap {
        padding: 0 16px;
    }

    .exclusive-promotions h2 {
        margin-bottom: 40px;
    }

    .promotions-grid {
        gap: 28px;
    }

    .promotion-card {
        flex-direction: column;
        min-height: auto;
        overflow: hidden;
    }

    .promotion-image {
        flex: none;
        width: calc(100% - 24px);
        height: 200px;
        margin: 12px;
    }

    .promotion-content {
        padding: 24px;
        text-align: center;
    }

    .promotion-btn {
        align-self: stretch;
        text-align: center;
    }

    .rewards-bonuses {
        padding: var(--section-padding-tablet) 0;
    }

    .rewards-content {
        flex-direction: column;
        text-align: center;
        gap: 36px;
        min-height: auto;
    }

    .rewards-text h2 {
        margin-bottom: 20px;
    }

    .rewards-image {
        flex: none;
        order: -1;
    }

    .rewards-image img {
        max-height: 250px;
    }

    .signup-section {
        padding: var(--section-padding-tablet) 0;
    }

    .signup-slider {
        padding: 0 50px;
    }

    .signup-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 24px;
        text-align: center;
        min-height: auto;
    }

    .signup-image {
        order: 1;
        padding: 12px;
    }

    .signup-content {
        order: 2;
        padding: 8px;
    }

    .testi {
        min-height: 260px;
    }

    .stars {
        font-size: 17px;
        letter-spacing: 2.5px;
    }
}

/* Tablet Landscape Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .betting-market__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .providers-gallery__grid,
    .slots-providers .providers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .testi {
        min-height: 270px;
    }
}

/* Desktop Optimizations */
@media (min-width: 1100px) {
    .hero-title-overlay {
        padding: 0 40px;
    }

    .page--home .heroimg__img,
    .page--sport .heroimg__img,
    .page--casino .heroimg__img,
    .page--slots .heroimg__img,
    .page--lottery .heroimg__img,
    .page--promotion .heroimg__img,
    .page--aff .heroimg__img {
        min-height: 400px;
    }

    .ft-prev__grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .providers-gallery__grid,
    .slots-providers .providers-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .betting-market .wrap {
        padding: 56px 48px;
    }

    .betting-market__grid {
        gap: 32px;
    }

    .market-card {
        padding: 36px 32px;
    }

    .casino-showcase {
        padding: 100px 0;
    }

    .casino-showcase .providers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .provider-image-container {
        height: 200px;
        padding: 28px;
    }

    .provider-info {
        padding: 24px 28px;
    }

    .lottery-providers {
        padding: var(--section-padding-desktop) 0;
    }

    .lottery-providers-header {
        margin-bottom: 48px;
    }

    .lottery-providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 40px;
    }

    .lottery-provider-item {
        max-width: 210px;
    }

    .lottery-provider-image {
        margin-bottom: 20px;
    }

    .exclusive-promotions {
        padding: 80px 0;
    }

    .exclusive-promotions h2 {
        margin-bottom: 60px;
    }

    .promotions-grid {
        gap: 40px;
        max-width: 1000px;
    }

    .promotion-image {
        flex: 0 0 500px;
        height: 220px;
        margin: 24px;
    }

    .promotion-content {
        padding: 32px 36px;
    }

    .signup-section {
        padding: var(--section-padding-desktop) 0;
    }

    .signup-slider {
        max-width: 1100px;
        padding: 0 70px;
    }

    .signup-slide {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
        padding: 44px 36px;
        min-height: 360px;
    }

    .signup-btn {
        padding: 12px 24px;
    }
}

/* ================= RESPONSIVE GRID SPECIAL CASES ================= */

/* Footer Responsive */
@media (max-width: 959.98px) {
    .ft-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ft-logos__col--title {
        order: 1;
    }

    .ft-logos__col--partners {
        order: 2;
    }

    .ft-logos__col--sponsor {
        order: 3;
        grid-column: 1 / -1;
    }

    .ft-logos__grid--1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .ft-logos__grid--1partners {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .ft-logos__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ft-logo img {
        width: 60px;
    }

    .ft-logos__col--title .ft-logo img,
    .ft-logos__col--partners .ft-logo img {
        width: 24px;
    }
}

@media (max-width: 1099.98px) {
    .ft-prev__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 759.98px) {
    .ft-prev__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ft-info {
        padding: 18px;
        gap: 24px;
    }

    .ft-payments {
        max-width: 280px;
        margin: 0 auto;
        gap: 6px;
    }

    .ft-payments img {
        width: 32px;
        height: 24px;
    }

    .ft-social {
        gap: 8px;
    }

    .ft-social__link img {
        width: 36px;
        height: 28px;
    }

    .ft-responsible img {
        width: 24px;
        height: 24px;
    }

    .ft-license__text p {
        font-size: .65rem;
    }
}

@media (max-width: 799.98px) {
    .ft-menu {
        flex-wrap: wrap;
        row-gap: 10px;
        column-gap: 16px;
    }
}

@media (max-width: 1199.98px) {
    .ft-info {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ft-info__col--license {
        grid-column: 1;
    }

    .ft-license {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .ft-license__img {
        width: 50px;
        height: 50px;
    }

    .ft-payments {
        max-width: 350px;
        margin: 0 auto;
    }

    .ft-security {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .ft-responsible {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

/* Lottery Providers Grid Special Cases */
.lottery-providers-grid:has(.lottery-provider-item:nth-child(1):last-child) {
    justify-content: center;
    grid-template-columns: minmax(150px, 225px);
}

.lottery-providers-grid:has(.lottery-provider-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(150px, 190px));
    justify-content: center;
}

@media (max-width: 768px) {
    .lottery-providers-grid:has(.lottery-provider-item:nth-child(1):last-child) {
        grid-template-columns: minmax(105px, 120px);
    }

    .lottery-providers-grid:has(.lottery-provider-item:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(105px, 120px));
    }
}

@media (max-width: 600px) {
    .lottery-providers-grid:has(.lottery-provider-item:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(90px, 105px));
    }
}

/* ================= STAGGERED ANIMATIONS ================= */

.lottery-game-item:nth-child(1) { animation-delay: 0.1s; }
.lottery-game-item:nth-child(2) { animation-delay: 0.2s; }
.lottery-game-item:nth-child(3) { animation-delay: 0.3s; }
.lottery-game-item:nth-child(4) { animation-delay: 0.4s; }
.lottery-game-item:nth-child(5) { animation-delay: 0.5s; }
.lottery-game-item:nth-child(6) { animation-delay: 0.6s; }

/* ================= SECTION SPACING NORMALIZATION (no visual change) =================
   Added: 2025-09-01T14:12:00
   Goal: make vertical spacing consistent across sections on all pages for mobile/tablet/desktop
   Safe-only: adjusts top/bottom padding of sections; does not change colors, typography, layout, or grids.
*/
.country-sec, .promo-sec, .faq-sec, .signup-section, .app-sec, .testi-sec, .providers-gallery, .providers-showcase, .providers-content, .lottery-providers, .lottery-providers-gallery, .sports-providers {
    padding: var(--section-padding-desktop) 0;
}

@media (max-width: 1099.98px) {
    .country-sec, .promo-sec, .faq-sec, .signup-section, .app-sec, .testi-sec, .providers-gallery, .providers-showcase, .providers-content, .lottery-providers, .lottery-providers-gallery, .sports-providers {
        padding: var(--section-padding-tablet) 0;
    }
}

@media (max-width: 759.98px) {
    .country-sec, .promo-sec, .faq-sec, .signup-section, .app-sec, .testi-sec, .providers-gallery, .providers-showcase, .providers-content, .lottery-providers, .lottery-providers-gallery, .sports-providers {
        padding: var(--section-padding-mobile) 0;
    }
}

/* Ensure no extra trailing gap inside sections: remove last-child bottom margin */
.country-sec, .promo-sec, .faq-sec, .signup-section, .app-sec, .testi-sec, .providers-gallery, .providers-showcase, .providers-content, .lottery-providers, .lottery-providers-gallery, .sports-providers > .wrap > *:last-child {
    margin-bottom: 0;
}

/* ================= MOBILE FIX: lottery-games-detail (spacing-only, safe) =================
   Added: 2025-09-01T14:20:19
   Intent: address mobile "broken" look by tightening vertical rhythm and preventing overflow
   Notes: no changes to layout structure or visuals beyond spacing; images constrained to container
*/
@media (max-width: 759.98px) {
  .lottery-games-detail {
    padding: var(--section-padding-mobile) 0;
  }
  .lottery-games-header {
    margin-bottom: 28px;
    padding: 0 16px;
  }
  .lottery-games-grid {
    gap: 24px;
    padding: 0 16px;
  }
  .lottery-games-detail img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* Remove accidental extra bottom spacing inside last child */
  .lottery-games-detail > .wrap > *:last-child {
    margin-bottom: 0;
  }
}


/* Consecutive paragraphs: small top gap for tight rhythm */
.page--home .wrap p + p,
.page--sport .wrap p + p,
.page--casino .wrap p + p,
.page--slots .wrap p + p,
.page--lottery .wrap p + p,
.page--promotion .wrap p + p {
  margin-top: 8px !important;
}

/* Headings to paragraph gap (uniform across site) */
.page--home .wrap h1 + p, .page--home .wrap h2 + p, .page--home .wrap h3 + p, .page--home .wrap h4 + p,
.page--sport .wrap h1 + p, .page--sport .wrap h2 + p, .page--sport .wrap h3 + p, .page--sport .wrap h4 + p,
.page--casino .wrap h1 + p, .page--casino .wrap h2 + p, .page--casino .wrap h3 + p, .page--casino .wrap h4 + p,
.page--slots .wrap h1 + p, .page--slots .wrap h2 + p, .page--slots .wrap h3 + p, .page--slots .wrap h4 + p,
.page--lottery .wrap h1 + p, .page--lottery .wrap h2 + p, .page--lottery .wrap h3 + p, .page--lottery .wrap h4 + p,
.page--promotion .wrap h1 + p, .page--promotion .wrap h2 + p, .page--promotion .wrap h3 + p, .page--promotion .wrap h4 + p {
  margin-top: 8px !important;
}

/* Global paragraph rhythm */
.wrap p + p { margin-top: 8px; }
.wrap h1 + p, .wrap h2 + p, .wrap h3 + p, .wrap h4 + p { margin-top: 8px; }

/* === FIX: casino-showcase heading starts too low === */
.casino-showcase::before { 
  /* kill the phantom 200px layer pushing content down */
  content: none !important;
}

.casino-showcase {
  /* control spacing with real padding instead */
  padding: 40px 0 80px !important; /* tweak 32–48px to taste */
}

.casino-showcase__header h2 {
  /* ensure no extra top margin sneaks in */
  margin-top: 0 !important;
}
