:root {
    --blue: #10a8ff;
    --blue2: #0b8fe6;
    --sky: #eaf7ff;
    --card: #ffffff;
    --text: #0b1b2a;
    --muted: #6f8597;
    --shadow: 0 10px 26px rgba(7, 56, 94, .12);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

/* App frame (mobile-like) */
.app {
    max-width: 420px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    padding-bottom: 88px;
    /* bottom nav space */
}

/* Header */
.topbar {
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue2) 100%);
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.topbar-logo {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}

.topbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.topbar-title {
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .3px;
    text-align: center;
    white-space: nowrap;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.balance {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .2px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    min-width: 92px;
    justify-content: center;
}

.balance .amount {
    font-variant-numeric: tabular-nums;
}

/* Banner / Carousel */
/* ===== BANNER STACKED CAROUSEL (like testimonial) ===== */
.banner-carousel-wrapper {
    margin: 0 auto;
    max-width: 420px;
    padding: 6px 12px 0;

    /* keep everything inside phone width */
    overflow: hidden;
}

.banner-track {
    position: relative;
    width: 86%;
    margin: 0 auto;
    padding-top: 6px;
    overflow: visible;

    /* stable height even when images haven't rendered yet */
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 200px;
}

.banner-card {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #dff3ff;
    box-shadow: 0 10px 26px rgba(7, 56, 94, .12);
    border: 1px solid rgba(0, 0, 0, .06);

    opacity: 0;
    transform: translateX(-50%) scale(.92);
    transition: opacity 260ms ease-out, transform 260ms ease-out;
    pointer-events: none;
}

.banner-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Active center */
.banner-card.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    pointer-events: auto;
}

/* Side cards peeking behind */
.banner-card.left,
.banner-card.right {
    opacity: .7;
    /* more visible */
    z-index: 2;
    pointer-events: none;
}

/* Desktop / tablet */
.banner-card.left {
    transform: translateX(calc(-50% - 120px)) scale(.72);
}

.banner-card.right {
    transform: translateX(calc(-50% + 120px)) scale(.72);
}

@media (max-width: 420px) {
    .banner-card.left {
        transform: translateX(calc(-50% - 100px)) scale(.73);
    }

    .banner-card.right {
        transform: translateX(calc(-50% + 100px)) scale(.73);
    }
}

/* Controls */
.banner-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}

.banner-btn {
    height: 38px;
    width: 38px;
    border-radius: 12px;
    border: 1px solid rgba(16, 168, 255, .35);
    background: rgba(255, 255, 255, .9);
    color: #0b82d6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.banner-btn:active {
    transform: translateY(1px);
}

.banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.banner-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .8);
    cursor: pointer;
}

.banner-dots .dot.active {
    width: 18px;
    background: #0b82d6;
}


/* CTA buttons */
.cta-row {
    padding: 12px 12px 6px;
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(16, 168, 255, .35);
    font-weight: 900;
    letter-spacing: .4px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 120, 190, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn.primary {
    background: #e9f7ff;
    color: #0b82d6;
}

.btn.secondary {
    background: #ffffff;
    color: #0b82d6;
}

.btn:active {
    transform: translateY(1px);
}

/* Content */
.content {
    max-width: 420px;
    margin: 14px auto 0;
    padding: 0 12px;
}

.content h1 {
    margin: 10px 0 6px;
    font-size: 22px;
    color: #0b82d6;

}

.content h2 {
    margin: 12px 0 6px;
    font-size: 18px;
    color: #073b5e;
}

.content h3 {
    margin: 10px 0 6px;
    font-size: 15px;
}

.content p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

/* Event section */
.event-wrap {
    max-width: 420px;
    margin: 14px auto 0;
    padding: 0 12px;
}

.event-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 8px 0 10px;
    font-weight: 900;
    color: #0b82d6;
    font-size: 18px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.game-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(0, 0, 0, .06);
    aspect-ratio: 3 / 4.1;
    /* tall like screenshot */
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3b30;
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 10px 16px rgba(0, 0, 0, .18);
}

.badge.new {
    background: #ffb000;
    color: #1b1200;
}

/* ===== PROMOTIONS (match screenshot) ===== */
.promo-section {
    max-width: 420px;
    margin: 14px auto 0;
    padding: 0 12px;
}

.promo-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 8px 0 10px;
    font-weight: 900;
    color: #0b82d6;
    font-size: 18px;
}

/* horizontal swipe like app (mobile + desktop) */
.promo-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    /* desktop UX */
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;

    /* keep it feeling like a slider */
    overscroll-behavior-x: contain;
}

/* while dragging (JS toggles .dragging) */
.promo-slider.dragging {
    cursor: grabbing;
}

/* Hide scrollbars nicely across browsers */
.promo-slider::-webkit-scrollbar {
    height: 0;
}

.promo-slider {
    scrollbar-width: none;
    /* Firefox */
}

/* promo banner card */
.promo-card {
    flex: 0 0 92%;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: #dff3ff;
    box-shadow: 0 10px 26px rgba(7, 56, 94, .12);
    border: 1px solid rgba(0, 0, 0, .06);
    display: block;
}

.promo-card img {
    width: 100%;
    height: 200px;
    /* was 92px */
    /* like your screenshot */
    object-fit: cover;
    display: block;
}

/* ===== CONTACT US (match screenshot) ===== */
.contact-section {
    max-width: 420px;
    margin: 14px auto 0;
    padding: 0 12px;
}

.contact-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 8px 0 10px;
    font-weight: 900;
    color: #0b82d6;
    font-size: 18px;
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 26px rgba(7, 56, 94, .08);
    overflow: hidden;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
}

.contact-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

.contact-text {
    font-size: 14px;
    font-weight: 800;
    color: #0b82d6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-share {
    height: 34px;
    width: 34px;
    border-radius: 10px;
    border: 1px solid rgba(11, 130, 214, .25);
    background: #fff;
    color: #0b82d6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.contact-share .material-icons {
    font-size: 18px;
    line-height: 1;
}

.contact-divider {
    height: 1px;
    background: rgba(11, 130, 214, .12);
    margin: 0 14px;
}


/* Bottom navigation */
.bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(420px, 100%);
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .10);
    z-index: 60;
}

.nav-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 90px 1fr 1fr;
    align-items: center;
    padding: 0px 10px 0px;
    gap: 6px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #7a8e9f;
    text-decoration: none;
    font-weight: 800;
}

.nav-item .icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b82d6;
    font-size: 14px;
}

.nav-item.active {
    color: #0b82d6;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-center .center-logo {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .10);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(-16px);
}

.nav-center img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

/* Small screens safety */
@media (max-width: 360px) {
    .slide {
        height: 200px;
    }

    .event-grid {
        gap: 8px;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* Dark overlay */
.vip-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

.vip-popup-overlay.show {
    display: flex;
}

.vip-popup {
    width: min(350px, 92vw);
    border-radius: 18px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .vip-popup {
        width: min(720px, 92vw);
    }
}

.vip-popup-img {
    width: 100%;
    height: auto;
    display: block;
}


body.no-scroll {
    overflow: hidden;
}