:root {
    --background: #120d28;
    --foreground: #ffffff;
    --primary: #a855f7;
    --secondary: #d8b4fe;
    --accent: #3b0764;
    --card: #1b1640;
    --border: rgba(168, 85, 247, 0.22);
    --font-display: 'Orbitron', 'Noto Sans Myanmar', sans-serif;
    --font-sans: 'Rajdhani', 'Noto Sans Myanmar', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* The hidden attribute must win over component display rules. */
[hidden] { display: none !important; }

body {
    background-color: var(--background);
    background-image:
        radial-gradient(ellipse 75% 55% at 50% -8%, rgba(168,85,247,0.30) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 100% 6%, rgba(34,211,238,0.16) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 0% 26%, rgba(236,72,153,0.16) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 88% 95%, rgba(99,102,241,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 12% 100%, rgba(168,85,247,0.16) 0%, transparent 55%),
        linear-gradient(168deg, #181034 0%, #120d28 48%, #0f0b22 100%);
    background-attachment: fixed;
    color: var(--foreground);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
}
/* Premium gaming ambience — slow-drifting neon glow orbs behind all content */
body::before {
    content: "";
    position: fixed;
    inset: -12%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle 340px at 18% 22%, rgba(168,85,247,0.20), transparent 70%),
        radial-gradient(circle 300px at 82% 26%, rgba(34,211,238,0.15), transparent 70%),
        radial-gradient(circle 320px at 72% 82%, rgba(236,72,153,0.14), transparent 70%),
        radial-gradient(circle 280px at 28% 88%, rgba(99,102,241,0.16), transparent 70%);
    animation: bgDrift 18s ease-in-out infinite alternate;
}
@keyframes bgDrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(0, -3%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* Admin-set full-page background image (fixed, covers the viewport, behind everything) */
.bg-layer {
    position: fixed; inset: 0; z-index: -10;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-attachment: fixed;
    display: none;
}
body.has-bg-image .bg-layer { display: block; }
/* Subtle scrim so page text stays readable over any image (neon edges still show) */
.bg-layer::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8, 6, 18, 0.32) 0%, rgba(8, 6, 18, 0.46) 100%);
}
/* When a background image is set, let it lead — drop the gradient + soften the orbs */
body.has-bg-image { background-image: none; }
body.has-bg-image::before { opacity: 0.3; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(27, 19, 56, 0.92), rgba(18, 13, 40, 0.78));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.20);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.14);
    height: 80px;
}

.nav-content {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== Language switcher (ENG / MM) ===== */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
    padding: 0.3rem 0.6rem; border-radius: 6px; cursor: pointer;
    background: transparent; border: 1px solid rgba(168,85,247,0.35);
    color: #9ca3af; font-family: inherit; font-weight: 700; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: color 0.3s, border-color 0.3s;
}
.lang-toggle:hover { background: transparent; color: var(--primary); border-color: var(--primary); }
.lang-toggle i { width: 15px; height: 15px; }
.lang-caret { transition: transform 0.2s; opacity: 0.8; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
    position: absolute; top: calc(100% + 6px); right: 0; min-width: 100%;
    display: flex; flex-direction: column; gap: 2px; padding: 5px;
    background: #1b1640; border: 1px solid rgba(168,85,247,0.32); border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.55); z-index: 1200;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-opt {
    padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; text-align: center;
    background: transparent; border: none; color: #cbd5e1;
    font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
}
.lang-opt:hover { background: rgba(168,85,247,0.18); color: #fff; }
.lang-opt.active { background: var(--primary); color: #fff; }
/* Mobile variant: full-width pill inside the slide-in menu */
.lang-switch-mobile { margin: 0.25rem 0 0.6rem; }
.lang-switch-mobile .lang-toggle { width: 100%; justify-content: center; padding: 0.7rem; font-size: 0.85rem; }
.lang-switch-mobile .lang-menu { left: 0; right: 0; }
.lang-switch-mobile .lang-opt { padding: 0.7rem; }

/* Login button (desktop) + hamburger (mobile/tablet) */
.btn-login { display: inline-flex; padding: 0.6rem 1.25rem; }

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}
.hamburger:hover { border-color: var(--primary); color: var(--primary); }
.hamburger i { width: 22px; height: 22px; }

.balance-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bal-chips {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    align-items: stretch;
}

.currency {
    background: none;
    border: none;
    color: #f0b90b;
    padding: 0;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-width: 28px;
}

.amount {
    font-weight: 900;
    font-size: 0.95rem;
    color: #fff;
}

.bal-chip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.bal-chip::after {
    content: '';
    order: -1;
    display: none;
}
.bal-chip .currency {
    order: 0;
}
.bal-chip .currency::after {
    content: '·';
    margin-left: 0.25rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}
.bal-chip .amount {
    order: 1;
}

#usdt-chip:not([hidden]) {
    padding-top: 0.15rem;
    margin-top: 0.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    margin-left: 0;
    border-left: none;
}

.currency.usdt {
    background: none;
    border: none;
    color: #f0b90b;
}

/* Green + top-up button */
.btn-topup {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: none;
    background: #22c55e;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}
.btn-topup:hover {
    background: #16a34a;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}
.btn-topup i { width: 13px; height: 13px; }

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-family: var(--font-sans);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); background-color: #9333ea; }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--primary); }

.btn-ghost {
    background: transparent;
    border: none;
    color: #9ca3af;
    padding: 0.5rem;
}
.btn-ghost:hover { color: white; background: rgba(255, 255, 255, 0.05); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* Hero — clean image-only banner (carousel) inside a rounded box below the navbar. */
.hero {
    position: relative;
    padding-top: 100px;   /* clear the fixed 80px navbar + a small gap */
}
/* Soft neon halo behind the banner (gaming-store style glow) */
.hero::before {
    content: "";
    position: absolute;
    top: 70px; left: 50%; transform: translateX(-50%);
    width: min(1120px, 94%); height: clamp(220px, 32vw, 440px);
    z-index: -1;
    background: radial-gradient(ellipse 62% 72% at 50% 42%, rgba(168, 85, 247, 0.38), rgba(56, 189, 248, 0.14) 48%, transparent 76%);
    filter: blur(22px);
    pointer-events: none;
}
.hero:not(.has-slides) { display: none; }   /* no images set → no empty banner */
/* CTA block (subtitle + buttons + LIVE badge) sits BELOW the image */
.hero-cta { text-align: center; padding: 2.6rem 0 0.4rem; }
.hero-cta .hero-subtitle { margin-bottom: 1.6rem; }
/* When there's no hero image, the CTA is first — clear the fixed navbar */
.hero:not(.has-slides) + .hero-cta { padding-top: 104px; }

/* Hero carousel (admin-set) — centered "peek" slider: neighbours peek on the sides */
.hero-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 8px 0 30px;   /* room for the active slide's frame glow + shadow */
}
.hero-track {
    display: flex;
    gap: 18px;
    height: clamp(200px, 30vw, 420px);
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.hero-slide {
    flex: 0 0 88%;
    border-radius: 18px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0.4;
    transform: scale(0.93);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
    border: 1px solid rgba(168, 85, 247, 0.2);
    cursor: pointer;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    border: 2px solid rgba(216, 180, 254, 0.6);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12), 0 12px 34px rgba(124, 58, 237, 0.42);
}
.hero-slides.single .hero-slide { flex-basis: 100%; opacity: 1; transform: none; cursor: default; }
/* Slide indicator dots */
.hero-dots { display: flex; justify-content: center; gap: 9px; margin-top: 6px; }
.hero-dot {
    width: 9px; height: 9px; border-radius: 99px; padding: 0; border: none; cursor: pointer;
    background: rgba(255, 255, 255, 0.28); transition: width 0.3s ease, background 0.3s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.5); }
.hero-dot.active { width: 28px; background: var(--primary); }
.hero-live-bottom { margin-top: 1.1rem; margin-bottom: 0; }

/* Admin: hero slideshow image slots */
.hero-admin-slot { margin-bottom: 1.1rem; }
.hero-admin-row { display: flex; gap: 0.5rem; align-items: center; }
.hero-admin-row .hero-url { flex: 1; min-width: 0; }
.hero-upload-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; padding: 0.6rem 1rem; }
.hero-upload-btn i { width: 15px; height: 15px; }
.hero-admin-preview { margin-top: 0.55rem; width: 100%; max-width: 340px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(168, 85, 247, 0.35); display: block; }

.badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.badge {
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* LIVE badge (button): grey when offline, red+pulse when a live link is set */
.badge-live {
    border: 1px solid rgba(156, 163, 175, 0.3);
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
    cursor: default;
    font-family: var(--font-sans);
}
.badge-live.on {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
    cursor: pointer;
    animation: pulse 1.6s infinite;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9ca3af;
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s linear infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.hero-actions { display: flex; justify-content: center; gap: 1.5rem; }

/* News Ticker */
/* ===== Home notices: guest discount CTA + store hours ===== */
.home-section.notices-section { padding: 0.5rem 0 0.5rem; }
.notices-section .container { display: flex; flex-direction: column; gap: 1rem; }

/* Guest-only "sign up & save 5%" banner */
.guest-cta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 200, 60, 0.45);
    background: linear-gradient(100deg, rgba(255, 184, 0, 0.16), rgba(168, 85, 247, 0.16));
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.18);
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    animation: ctaPulse 2.4s ease-in-out infinite;
}
.guest-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(168, 85, 247, 0.3); border-color: rgba(255, 200, 60, 0.85); }
.guest-cta .gd-badge {
    flex-shrink: 0;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffb800, #ff7a00);
    color: #1a1330;
    box-shadow: 0 3px 10px rgba(255, 150, 0, 0.4);
}
.guest-cta .gd-text { flex: 1; font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.guest-cta .gd-go {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 800;
    color: #ffd56b;
    white-space: nowrap;
}
.guest-cta .gd-go i { width: 18px; height: 18px; }
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(168, 85, 247, 0.18); }
    50% { box-shadow: 0 6px 26px rgba(255, 184, 0, 0.32); }
}

/* All-users store hours / 24-7 notice */
.store-notice {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(59, 130, 246, 0.1));
}
.store-notice .sn-line {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: #ede9fb;
    flex: 1 1 280px;
}
.store-notice .sn-line b { color: #ffd56b; font-weight: 900; }
.store-notice .sn-ic {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
.store-notice .sn-ic.sn-ic-2 { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4); }
.store-notice .sn-ic.sn-ic-3 { background: linear-gradient(135deg, #2dd4bf, #0d9488); box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4); }

/* ===== MLBB region availability (country flags) ===== */
.flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); vertical-align: middle; display: inline-block; object-fit: cover; }
/* Detail-header note */
.region-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; margin: 0.4rem 0 0.1rem; font-size: 0.86rem; }
.region-avail .ra-label { font-weight: 800; padding: 0.14rem 0.5rem; border-radius: 8px; }
.region-avail .ra-colon { margin-left: -0.35rem; opacity: 0.7; }
.region-avail.ra-only .ra-label { background: rgba(34, 197, 94, 0.18); color: #34d399; }
.region-avail.ra-not .ra-label { background: rgba(239, 68, 68, 0.16); color: #f87171; }
.region-avail .ra-chips { display: flex; flex-wrap: wrap; gap: 0.3rem 0.55rem; }
.region-avail .cc { display: inline-flex; align-items: center; gap: 0.28rem; font-weight: 700; color: #d8d4ea; }
.region-avail .cc .flag { width: 20px; height: 15px; }
/* Compact tile strip */
.tile-avail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.22rem; margin-top: 0.32rem; line-height: 1; }
.tile-avail .flag { width: 17px; height: 13px; }
.tile-avail i { width: 13px; height: 13px; flex-shrink: 0; }
.tile-avail.ta-only { color: #34d399; }
.tile-avail.ta-not { color: #f87171; }

/* Admin balance-adjustment amounts in deposit history */
.amt-credit { color: #34d399; font-weight: 800; }
.amt-debit { color: #f87171; font-weight: 800; }

/* Reseller "Get Notification About Order" bar */
.noti-bar { margin-bottom: 1rem; border: 1px solid rgba(168,85,247,0.3); border-radius: 14px; background: linear-gradient(120deg, rgba(168,85,247,0.1), rgba(59,130,246,0.08)); overflow: hidden; }
.noti-toggle {
    width: 100%; display: flex; align-items: center; gap: 0.6rem; cursor: pointer;
    padding: 0.85rem 1.1rem; background: transparent; border: none; color: #ede9fb;
    font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
}
.noti-toggle .nt-l { display: inline-flex; align-items: center; gap: 0.5rem; flex: 1; }
.noti-toggle i { width: 18px; height: 18px; }
.noti-toggle .nt-caret { transition: transform 0.2s; opacity: 0.8; }
.noti-bar.open .nt-caret { transform: rotate(180deg); }
.noti-on { font-size: 0.68rem; font-weight: 900; color: #1a1330; background: #34d399; padding: 0.12rem 0.5rem; border-radius: 999px; letter-spacing: 0.04em; }
.noti-form { padding: 0 1.1rem 1rem; }
.noti-hint { font-size: 0.84rem; color: #c4bce0; line-height: 1.5; margin: 0 0 0.7rem; }
.noti-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.noti-row .noti-input { flex: 1; min-width: 180px; }
.noti-row .noti-save { flex-shrink: 0; }
.noti-botlink {
    display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem;
    padding: 0.6rem 1rem; border-radius: 10px; text-decoration: none;
    background: linear-gradient(135deg, #229ED9, #1c7fb0); color: #fff;
    font-family: var(--font-display); font-weight: 800; font-size: 0.84rem; letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(34,158,217,0.35); transition: transform 0.15s, box-shadow 0.15s;
}
.noti-botlink:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(34,158,217,0.45); }
.noti-botlink i { width: 16px; height: 16px; }
.noti-msg { margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; }
.noti-msg.ok { color: #34d399; }
.noti-msg.warn { color: #fbbf24; }
.noti-msg.err { color: #f87171; }
.store-notice .sn-ic i { width: 20px; height: 20px; }
@media (max-width: 640px) {
    .guest-cta { flex-wrap: wrap; gap: 0.6rem; }
    .guest-cta .gd-text { flex: 1 1 100%; order: 3; font-size: 0.96rem; }
    .store-notice .sn-line { font-size: 0.96rem; }
}

.news-ticker {
    padding: 2rem 0;
    background: rgba(168, 85, 247, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ticker-wrapper { display: flex; align-items: center; gap: 1.5rem; }
.badge-primary { background: var(--primary); color: white; }
.ticker-content { flex: 1; overflow: hidden; white-space: nowrap; }
.ticker-text {
    display: inline-block;
    padding-left: 100%;
    font-weight: 700;
    color: #d1d5db;
    animation: marquee 30s linear infinite;
}

/* Search row: search bar + inline pricing */
.search-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.search-row .search-bar-wrap { margin-bottom: 0; }
.pricing-slot { margin-left: auto; flex-shrink: 0; }
.inline-pricing {
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(15, 15, 25, 0.9); border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 14px; padding: 0.55rem 0.9rem; backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* Search Bar */
.search-bar-wrap { position: relative; max-width: 480px; flex: 1; min-width: 200px; }
.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #6b7280;
    pointer-events: none;
}
.search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: all 0.25s;
}
.search-input::placeholder { color: #4b5563; }
.search-input:focus {
    border-color: var(--primary);
    background: rgba(168, 85, 247, 0.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

/* Clear (×) button inside search inputs */
.search-clear {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    transition: all 0.2s;
}
.search-clear:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.search-clear i { width: 14px; height: 14px; }

/* Section headers */
.section-header { margin-bottom: 1.5rem; }
.section-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.section-label .count-badge { letter-spacing: 0; }
.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}
.section-subtitle { color: #6b7280; max-width: 600px; font-weight: 500; font-size: 0.9rem; }
/* Most-popular + tutorial-videos sections use a smaller heading (scoped) */
.popular-section .section-title,
.videos-section .section-title { font-size: 1.7rem; letter-spacing: 0; margin-bottom: 0.4rem; }

/* Footer */
.footer { padding: 2.5rem 0 1.8rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
/* ===== Footer — multi-column layout ===== */
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 0.85fr 1fr 1fr; gap: 2rem;
    padding-bottom: 1.8rem; margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
/* "Why should choose us" reasons list */
.footer-why { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-why li { display: flex; align-items: center; gap: 0.5rem; color: #cbd5e1; font-size: 0.85rem; line-height: 1.4; font-weight: 600; }
.footer-why li i, .footer-why li svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }
/* "We Accept" column — payment logos stacked vertically */
.footer-pay-col .pay-logos { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col-title {
    font-family: var(--font-display); font-size: 0.82rem; font-weight: 800;
    color: #fff; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.footer-col > a { color: #9ca3af; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: color 0.2s; width: -moz-fit-content; width: fit-content; }
.footer-col > a:hover { color: var(--primary); }
.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: #fff; margin-bottom: 0.7rem; }
.footer-brand .logo-icon { width: 30px; height: 30px; font-size: 0.9rem; }
.footer-brand .logo-text { font-size: 1.05rem; }
.footer-tagline { color: #9ca3af; font-size: 0.85rem; line-height: 1.6; max-width: 280px; margin-bottom: 1.1rem; }
/* Accepted payment methods strip (inside the brand column, left-aligned) */
.footer-pay { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-pay-label {
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #9ca3af;
}
.pay-logos { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.pay-box {
    width: 34px; height: 34px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28); transition: transform 0.2s;
}
.pay-box:hover { transform: translateY(-2px); }
.pay-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pay-box.empty { background: rgba(255, 255, 255, 0.05); border-style: dashed; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ===== Info pages (About / Terms / Privacy / FAQ) ===== */
.doc-content { max-width: 820px; }
.doc-content .doc-lead { font-size: 1.05rem; color: #e5e7eb; font-weight: 600; margin-bottom: 1rem; }
.doc-content .doc-updated { font-size: 0.8rem; color: #6b7280; font-weight: 700; margin-bottom: 1.25rem; }
.doc-content h3 {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: #fff;
    margin: 1.6rem 0 0.5rem; letter-spacing: 0.01em;
}
.doc-content p { color: #cbd5e1; line-height: 1.75; margin-bottom: 0.75rem; }
.doc-content ul { color: #cbd5e1; line-height: 1.75; margin: 0 0 0.9rem 1.2rem; }
.doc-content li { margin-bottom: 0.4rem; }
.doc-content b { color: #fff; }
.doc-content a { color: var(--secondary); text-decoration: none; word-break: break-word; }
.doc-content a:hover { text-decoration: underline; }
/* Show only the active language (driven by body.lang-mm, same as the switcher) */
body:not(.lang-mm) .doc-mm { display: none; }
body.lang-mm .doc-en { display: none; }
/* Light-theme readability for the info pages */
body.theme-light .doc-content h3, body.theme-light .doc-content b { color: #1c1733; }
body.theme-light .doc-content p, body.theme-light .doc-content ul, body.theme-light .doc-content .doc-lead { color: #3f3a57; }
body.theme-light .footer-links a { color: #6b7280; }
body.theme-light .footer-links { border-bottom-color: rgba(20, 16, 45, 0.1); }
body.theme-light .footer-pay { border-bottom-color: rgba(20, 16, 45, 0.1); }
body.theme-light .pay-box { background: #ffffff; border: 1px solid rgba(20, 16, 45, 0.1); box-shadow: 0 2px 8px rgba(20, 16, 45, 0.08); }
body.theme-light .pay-box.empty { background: rgba(20, 16, 45, 0.04); }
.copyright { font-size: 0.75rem; color: #6b7280; }
.credits {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Animations */
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
@keyframes gradient { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.pulsing { animation: pulse 2s infinite; }

/* Games / products grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.85rem;
}
.games-loading, .games-error, .no-results {
    text-align: center;
    color: #6b7280;
    font-weight: 700;
    padding: 3rem 0;
    grid-column: 1 / -1;
}
.games-error { color: #f87171; }

/* Brand drill-down: Level-2 back bar + Level-1 brand-slot badge */
.grid-back {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 0.55rem;
    width: 100%; padding: 0.7rem 1rem; margin-bottom: 0.3rem;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 12px;
    color: #e9d5ff; font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: background 0.2s; text-align: left;
}
.grid-back:hover { background: rgba(168, 85, 247, 0.22); }
.grid-back i { width: 18px; height: 18px; flex: 0 0 auto; }
.grid-back span { opacity: 0.75; }
.grid-back b { color: #fff; }
.grid-back b::before { content: '\203A\00a0'; opacity: 0.6; }
.brand-tile .brand-badge {
    position: absolute; top: 8px; left: 8px;
    min-width: 20px; height: 20px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #a855f7, #ec4899); color: #fff;
    border-radius: 10px; font-size: 0.72rem; font-weight: 800; line-height: 1;
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.4);
}
.brand-tile .product-count { color: #c084fc; font-weight: 700; }

.game-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 0.55rem 0.6rem 0.7rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}
.game-tile:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.25);
}
/* Image fills the card top edge-to-edge (negative margins cancel the tile padding) */
.game-tile img,
.game-tile .ph {
    width: calc(100% + 1.2rem);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    margin: -0.55rem -0.6rem 0.55rem;
    border-radius: 14px 14px 0 0;
    background: #14101f;
    display: block;
}
.game-tile .ph {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
}
.game-tile .game-name {
    font-weight: 700; font-size: 0.82rem; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 1.95em;
}
.game-tile .product-count { font-size: 0.72rem; color: #6b7280; margin-top: 0.2rem; }
/* Name + star rating below the image (Lootbar-style) */
.tile-rating {
    display: flex; align-items: center; gap: 0.25rem;
    font-size: 0.72rem; font-weight: 700; color: #9ca3af; margin-top: 0.3rem;
}
.tile-rating i, .tile-rating svg { width: 13px; height: 13px; color: #facc15; fill: #facc15; }
.tile-rating .tile-dot { opacity: 0.55; margin: 0 0.1rem; }
.game-tile.hidden { display: none; }
.game-tile[data-pinned="1"] { border-color: rgba(168, 85, 247, 0.4); }

/* Paused (temporarily unavailable) — visible but not buyable */
.game-tile.paused { opacity: 0.55; cursor: not-allowed; }
.game-tile.paused:hover { transform: none; border-color: rgba(255, 255, 255, 0.06); box-shadow: none; }
.game-tile.paused img, .game-tile.paused .ph { filter: grayscale(1); }
.paused-tag { margin-top: 0.25rem; font-size: 0.68rem; font-weight: 800; color: #f97316; text-transform: uppercase; letter-spacing: 0.03em; }

/* Count badge in section titles */
.count-badge {
    display: inline-block;
    vertical-align: middle;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.2rem 0.8rem;
    margin-left: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
}

/* Pin button on each tile */
.pin-btn {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(2, 2, 5, 0.55);
    backdrop-filter: blur(4px);
    color: #d1d5db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: all 0.2s;
    z-index: 3;
}
.game-tile:hover .pin-btn { opacity: 1; }
.pin-btn:hover { color: var(--primary); border-color: var(--primary); }
.pin-btn i { width: 12px; height: 12px; }
.pin-btn.pinned {
    opacity: 1;
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}
/* Touch devices have no hover, so the pin button never appeared until tapped.
   Always show it on touch screens / mobile widths (pinned ones stay highlighted). */
@media (hover: none), (max-width: 768px) {
    .pin-btn { opacity: 0.9; }
}

/* Catalogue detail (packages for a selected game) */
.catalogue-detail { padding: 0 0 5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}
.back-link:hover { background: rgba(168, 85, 247, 0.15); }
/* Keep the catalogue Back button reachable while scrolling the packs */
.catalogue-detail .back-link {
    position: sticky; top: 76px; z-index: 50;
    background: rgba(10, 10, 20, 0.92); backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Paste / clear button inside text fields */
.pc-wrap { position: relative; display: block; }
.input-action {
    position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
    color: #9ca3af; border-radius: 8px; cursor: pointer;
    padding: 0.28rem 0.5rem; font-size: 0.72rem; font-weight: 700; line-height: 1;
    z-index: 3;
}
.input-action:hover { color: #fff; border-color: var(--primary); background: rgba(168, 85, 247, 0.18); }
.input-action i, .input-action svg { width: 14px; height: 14px; }
.input-action.clear { padding: 0.3rem; }
input.has-pc, textarea.has-pc { padding-right: 80px; }
.search-input.has-pc { padding-right: 2.75rem; }   /* clear-only X is small */
/* No up/down spinner on number fields */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Recent-value suggestion dropdown */
.recent-dd {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60;
    background: #14141f; border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); overflow: hidden; padding: 0.25rem;
}
.recent-item {
    display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.6rem;
    border-radius: 8px; cursor: pointer; font-size: 0.9rem;
}
.recent-item:hover { background: rgba(168, 85, 247, 0.14); }
.recent-item i, .recent-item svg { width: 15px; height: 15px; color: #9ca3af; flex-shrink: 0; }
.recent-val { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-del { color: #6b7280; font-weight: 800; padding: 0 0.35rem; border-radius: 6px; }
.recent-del:hover { color: #f87171; background: rgba(239, 68, 68, 0.12); }

/* Date / month inputs: render native picker in dark mode so the icon is visible */
input[type=month], input[type=date], input[type=datetime-local], input[type=time] { color-scheme: dark; }
input[type=month]::-webkit-calendar-picker-indicator,
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(0.85); opacity: 0.9; cursor: pointer; }
/* The dashboard month picker — clearer + bigger tap target */
.dash-month { margin: 1.5rem 0 1rem; }
.dash-month .deposit-input { color-scheme: dark; font-weight: 700; }

/* Floating chat-head buttons (bottom-right) */
.fab-group {
    position: fixed; right: 20px; bottom: 22px; z-index: 900;
    display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-end;
}
.fab {
    position: relative; width: 58px; height: 58px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); color: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
}
.fab:hover { transform: scale(1.09); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55); }
.fab i, .fab svg { width: 27px; height: 27px; }
.fab-reseller { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.fab-support { background: linear-gradient(135deg, #2aabee, #229ed9); }
.fab .fab-label {
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.92); color: #fff; border: 1px solid var(--border);
    padding: 0.4rem 0.75rem; border-radius: 9px; font-size: 0.8rem; font-weight: 700;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.fab:hover .fab-label { opacity: 1; }
@media (max-width: 600px) { .fab { width: 52px; height: 52px; } .fab-group { right: 14px; bottom: 16px; } }
.detail-title {
    display: none;
}
.catalogue-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.cat-group-title {
    font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
    color: var(--secondary); margin: 1.5rem 0 0.85rem; letter-spacing: 0.02em;
}
.cat-group-title:first-child { margin-top: 0.5rem; }
.denom-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.denom-card:hover { border-color: rgba(168, 85, 247, 0.6); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(168, 85, 247, 0.16); }
/* Row 1: image + name + price */
.dc-top { display: flex; align-items: center; gap: 0.85rem; }
.denom-img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex-shrink: 0; background: rgba(255, 255, 255, 0.04); }
.denom-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.denom-name { font-weight: 700; font-size: 0.96rem; line-height: 1.3; color: #fff; }
.denom-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.65rem; font-family: var(--font-display); }
.denom-price .dp-mmk { font-weight: 900; color: var(--secondary); font-size: 1.12rem; letter-spacing: 0.01em; }
.denom-price .dp-usdt { font-weight: 800; color: #f0b90b; font-size: 0.9rem; }
/* Row 2: quantity stepper + buy button */
.dc-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 0.75rem; flex-wrap: wrap; }
.denom-card .btn { padding: 0.62rem 1.5rem; font-size: 0.78rem; border-radius: 10px; flex-shrink: 0; }

/* Region tabs (Lootbar-style) */
.region-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.region-tab {
    padding: 0.4rem 1rem; border-radius: 20px; border: 1px solid rgba(168,85,247,0.25);
    background: transparent; color: #9ca3af; cursor: pointer; font-weight: 600;
    font-size: 0.82rem; transition: all 0.2s; white-space: nowrap;
}
.region-tab:hover { border-color: var(--primary); color: #e9d5ff; }
.region-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Game info header */
.game-info-header {
    display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem;
    background: rgba(168, 85, 247, 0.06); border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px; flex-wrap: wrap;
}
.gih-logo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.gih-details { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; min-width: 0; }
.gih-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; letter-spacing: 0.02em; color: #fff; }
.gih-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.gih-stat { display: flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: #9ca3af; font-weight: 600; }
.gih-stat svg { width: 15px; height: 15px; }
.gih-rating svg { color: #facc15; fill: #facc15; }
.gih-badges { display: flex; gap: 0.5rem; }
.gih-badge {
    display: flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.7rem;
    border-radius: 7px; font-size: 0.75rem; font-weight: 700;
}
.gih-badge svg { width: 13px; height: 13px; }
.gih-badge.fast { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.gih-badge.safe { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }
.smile-rate-field { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
.smile-rate-field label { font-size: 0.72rem; color: #c084fc; font-weight: 700; white-space: nowrap; }
.smile-rate-field input { width: 110px; padding: 0.4rem 0.5rem; border-radius: 9px; border: 1px solid rgba(255,255,255,0.15); background: rgba(2,2,5,0.5); color: #fff; font-weight: 700; font-size: 0.82rem; }

/* Inline pricing bar inputs */
.fp-row { display: flex; align-items: center; gap: 0.4rem; }
.fp-row label { font-size: 0.78rem; color: #c084fc; font-weight: 700; white-space: nowrap; }
.fp-row input { width: 72px; padding: 0.42rem 0.55rem; border-radius: 9px; border: 1px solid rgba(255,255,255,0.15); background: rgba(2,2,5,0.5); color: #fff; font-weight: 700; font-size: 0.88rem; }
.fp-save { padding: 0.42rem 1rem !important; font-size: 0.82rem !important; }
@media (max-width: 600px) {
    .search-row { flex-direction: column; align-items: stretch; }
    .pricing-slot { margin-left: 0; }
    .inline-pricing { justify-content: center; }
}

/* Saved overlay */
.saved-overlay {
    position: fixed; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; z-index: 9999;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.saved-overlay.show { opacity: 1; pointer-events: auto; }
.saved-card {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    background: rgba(15,15,25,0.95); border: 1px solid rgba(34,197,94,0.4);
    border-radius: 20px; padding: 2rem 2.5rem;
    box-shadow: 0 0 60px rgba(34,197,94,0.15), 0 20px 60px rgba(0,0,0,0.5);
    animation: savedPop 0.4s ease;
}
.saved-check {
    width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 30px rgba(34,197,94,0.45);
}
.saved-label { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: 0.03em; font-family: var(--font-display); }
.saved-sub { font-size: 0.85rem; color: #9ca3af; font-weight: 600; }
@keyframes savedPop { 0% { transform: scale(0.7); opacity: 0; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); } }

/* Quantity selector */
.qty-wrap {
    display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0;
}
.qty-wrap label { font-size: 0.68rem; color: #9ca3af; font-weight: 600; }
.qty-stepper {
    display: flex; align-items: stretch; gap: 0;
    border: 1px solid rgba(168,85,247,0.3); border-radius: 8px; overflow: hidden;
    background: rgba(2,2,5,0.5);
}
.qty-btn {
    width: 26px; flex-shrink: 0; border: none; cursor: pointer;
    background: rgba(168,85,247,0.15); color: #c084fc;
    font-size: 1.05rem; font-weight: 800; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
    -webkit-user-select: none; user-select: none;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-btn:active { background: #7c3aed; }
.qty-input {
    width: 38px; padding: 0.32rem 0.2rem; text-align: center;
    border: none; border-left: 1px solid rgba(168,85,247,0.3);
    border-right: 1px solid rgba(168,85,247,0.3);
    background: transparent; color: #fff; font-weight: 700; font-size: 0.8rem;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }
.qty-stepper:focus-within { border-color: var(--primary); }

/* Multi-item cart bar (sticky checkout for several selected packages) */
.cart-bar {
    position: sticky; bottom: 0.6rem; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin: 1.3rem 0 0.4rem; padding: 0.85rem 1.1rem;
    background: linear-gradient(90deg, rgba(124,58,237,0.97), rgba(168,85,247,0.97));
    border: 1px solid rgba(255,255,255,0.18); border-radius: 14px;
    box-shadow: 0 10px 30px rgba(124,58,237,0.45), 0 -2px 0 rgba(255,255,255,0.06) inset;
    backdrop-filter: blur(8px);
    animation: cartUp 0.22s ease;
}
.cart-bar[hidden] { display: none; }
.cart-bar-info { display: flex; flex-direction: column; gap: 0.05rem; color: #fff; line-height: 1.15; }
.cart-bar-count { font-size: 0.68rem; opacity: 0.9; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-bar-total { font-size: 1.25rem; font-weight: 900; font-family: var(--font-display); }
.cart-bar-btn {
    padding: 0.7rem 1.7rem; font-size: 0.92rem; font-weight: 800; flex-shrink: 0;
    background: #fff; color: #6d28d9; border: none;
}
.cart-bar-btn:hover { background: #f3e8ff; color: #5b21b6; }
@keyframes cartUp { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Checkout line items (multi-item summary) */
.co-lines { display: flex; flex-direction: column; gap: 0.4rem; }
.co-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: #e5e7eb; }
.co-line b { color: var(--secondary); }
.co-total {
    display: flex; justify-content: space-between; margin-top: 0.7rem; padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.14); font-weight: 900; color: #fff; font-size: 1.05rem;
}

/* In-catalogue pricing controls (admin) + reseller profit/copy */
.pricing-bar {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem;
    background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 14px; padding: 0.85rem 1rem; margin-bottom: 1rem;
    grid-column: 1 / -1;
}
.pb-field { display: flex; flex-direction: column; gap: 0.25rem; }
.pb-field label { font-size: 0.72rem; color: #c084fc; font-weight: 700; }
.pb-field input { width: 130px; padding: 0.5rem 0.6rem; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(2, 2, 5, 0.5); color: #fff; font-weight: 700; }
.pb-save { margin-left: auto; align-self: flex-end; padding: 0.6rem 1.4rem; border-radius: 10px; }
.pricing-bar .pb-save + .pb-save { margin-left: 0.5rem; }
.price-edit { width: 100%; display: flex; align-items: center; gap: 0.5rem; margin-top: 0.1rem; padding-top: 0.65rem; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
/* Inside dc-actions: no border/margin, compact inline */
.dc-actions .price-edit { width: auto; margin-top: 0; padding-top: 0; border-top: none; flex: 1 1 auto; min-width: 0; }
.price-edit > span { font-size: 0.72rem; color: #9ca3af; font-weight: 700; }
.price-edit-input { width: 100%; max-width: 80px; padding: 0.4rem 0.55rem; border-radius: 8px; border: 1px solid rgba(168, 85, 247, 0.45); background: rgba(2, 2, 5, 0.5); color: #fff; font-weight: 700; }
.pe-save { padding: 0.35rem 0.7rem !important; font-size: 0.7rem !important; border-radius: 8px !important; margin-left: auto; }
.pe-save i, .pe-save svg { width: 13px; height: 13px; }

/* Reseller/admin: ONE Save (+ Copy-all) in the page header */
.reseller-controls { display: flex; gap: 0.5rem; align-items: center; margin-left: auto; flex-shrink: 0; }
.rc-btn { padding: 0.55rem 1.05rem !important; font-size: 0.78rem !important; border-radius: 11px !important;
    display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; letter-spacing: 0.02em; }
.rc-btn i, .rc-btn svg { width: 15px; height: 15px; }
.rc-copy { background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.4); color: #d8b4fe; }
.rc-copy:hover { background: rgba(168,85,247,0.22); color: #fff; }
.products-reseller-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: 0.2rem 0.1rem; }
.prb-label { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; color: #fff; flex: 1; min-width: 0; }
.pp-toast {
    position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.9);
    background: rgba(16, 16, 24, 0.97); border: 1px solid var(--primary);
    color: #fff; font-weight: 800; padding: 1rem 1.75rem; border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); z-index: 5000; opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s; font-size: 1.05rem; text-align: center;
}
.pp-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pp-toast.err { border-color: #f87171; color: #fecaca; }

/* Deposit / Top-up modal */
.deposit-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 1rem 2rem;
    overflow-y: auto;
}
.deposit-overlay.open { display: flex; }
.deposit-modal {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.2);
}
.deposit-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.deposit-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; flex: 1; }
.deposit-body { padding: 1.5rem; }

/* ===== Premium alert / confirm modal ===== */
.ui-modal-overlay {
    position: fixed; inset: 0; z-index: 4000;
    background: rgba(2, 2, 5, 0.8); backdrop-filter: blur(10px);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.ui-modal-overlay.open { display: flex; animation: uiFade 0.18s ease; }
@keyframes uiFade { from { opacity: 0; } to { opacity: 1; } }
.ui-modal-card {
    width: 100%; max-width: 400px; text-align: center;
    background: linear-gradient(160deg, #15151f, var(--card));
    border: 1px solid var(--border); border-radius: 22px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(168, 85, 247, 0.18);
    animation: uiPop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@keyframes uiPop { from { opacity: 0; transform: translateY(14px) scale(0.94); } to { opacity: 1; transform: none; } }
.ui-modal-icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.1rem;
    display: flex; align-items: center; justify-content: center;
}
.ui-modal-icon i { width: 32px; height: 32px; }
.ui-modal-icon.success { background: rgba(34, 197, 94, 0.14); color: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.06); }
.ui-modal-icon.error { background: rgba(239, 68, 68, 0.14); color: #f87171; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.06); }
.ui-modal-icon.warn { background: rgba(245, 158, 11, 0.14); color: #fbbf24; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.06); }
.ui-modal-icon.question,
.ui-modal-icon.info { background: rgba(168, 85, 247, 0.14); color: var(--primary); box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.06); }
.ui-modal-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; margin-bottom: 0.5rem; }
.ui-modal-msg { color: #b6b6c4; font-size: 0.95rem; line-height: 1.55; white-space: pre-line; }
.ui-modal-msg b, .ui-modal-msg strong { color: #fff; font-weight: 800; }
.ui-modal-actions { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.ui-modal-actions .btn { flex: 1; justify-content: center; padding: 0.8rem 1rem; }

.acct-toggle {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.35rem;
    margin-bottom: 1.25rem;
}
.acct-toggle button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #9ca3af;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}
.acct-toggle button.active { background: var(--primary); color: #fff; }

.method-list { display: grid; gap: 0.75rem; }
.method-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
    text-align: left;
}
.method-btn:hover { border-color: var(--primary); background: rgba(168, 85, 247, 0.06); }
.method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}
.method-icon.kbz { background: #0e4ea8; color: #fff; }
.method-icon.wave { background: #f5c518; color: #111; }
.method-icon.binance { background: #f0b90b; color: #111; }
.method-meta { flex: 1; }
.method-name { font-weight: 800; font-size: 1rem; }
.method-sub { font-size: 0.8rem; color: #6b7280; }

.acct-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}
.acct-label { font-size: 0.75rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.acct-value { font-weight: 800; font-size: 1rem; word-break: break-all; }

.copy-btn {
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}
.copy-btn:hover { background: rgba(168, 85, 247, 0.2); }
.copy-btn.copied { background: #22c55e; color: #fff; border-color: #22c55e; }
.copy-btn i { width: 14px; height: 14px; }

.field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.deposit-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}
.deposit-input:focus { border-color: var(--primary); }

.file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #6b7280;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}
.file-drop:hover { border-color: var(--primary); color: var(--primary); }
.file-drop img { max-width: 100%; max-height: 180px; border-radius: 8px; }

.deposit-submit { width: 100%; justify-content: center; margin-top: 1.25rem; }
.note-hint { font-size: 0.8rem; color: #6b7280; line-height: 1.5; margin-top: 0.5rem; }

.deposit-msg { text-align: center; padding: 2rem 1rem; }
.deposit-msg .ok-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    display: flex; align-items: center; justify-content: center;
}
.deposit-msg .ok-icon i { width: 28px; height: 28px; color: #22c55e; }

/* Admin dashboard */
.admin-main { padding-top: 120px; padding-bottom: 4rem; }
.admin-container { max-width: 900px; }
.admin-status { border-radius: 12px; padding: 0.85rem 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.admin-status.ok { background: rgba(34, 197, 94, 0.12); border: 1px solid #22c55e; color: #22c55e; }
.admin-status.err { background: rgba(248, 113, 113, 0.12); border: 1px solid #f87171; color: #f87171; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.admin-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.5rem;
}
.admin-card-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.admin-card-title .method-icon { width: 32px; height: 32px; border-radius: 8px; }
.admin-card-title i { width: 22px; height: 22px; color: var(--primary); }
.admin-key-card { margin-top: 1.25rem; }

/* Premium tabbed admin shell */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 250px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 1rem;
    display: flex; flex-direction: column; gap: 0.35rem;
    position: sticky; top: 0; height: 100vh;
}
.admin-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 900; letter-spacing: 1px; margin-bottom: 1.25rem; }
.admin-brand .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.admin-tab {
    display: flex; align-items: center; gap: 0.7rem;
    width: 100%; text-align: left;
    padding: 0.75rem 0.9rem; border-radius: 12px;
    border: none; background: transparent; color: #9ca3af;
    font-family: var(--font-sans); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.admin-tab i { width: 18px; height: 18px; }
.admin-tab:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.admin-tab.active { background: var(--primary); color: #fff; box-shadow: 0 0 20px rgba(168, 85, 247, 0.35); }
.admin-back { color: #6b7280; text-decoration: none; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0.9rem; }
.admin-back:hover { color: var(--primary); }
.admin-back i { width: 16px; height: 16px; }
.admin-content { flex: 1; padding: 2rem; max-width: 1000px; }
.admin-h { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; margin-bottom: 1.5rem; }
.admin-panel .admin-card { margin-bottom: 1.25rem; }

/* Overview date range + section headers */
.quick-range { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.quick-range .btn { padding: 0.45rem 1rem; font-size: 0.8rem; }
.date-range { display: flex; gap: 1rem; flex-wrap: wrap; }
.date-range > div { flex: 1; min-width: 140px; }
.ov-h { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; margin: 1.5rem 0 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.ov-h i { width: 20px; height: 20px; color: var(--primary); }

@media (max-width: 820px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: column; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .admin-nav { flex-direction: row; flex-wrap: wrap; }
    .admin-tab { width: auto; }
    .admin-content { padding: 1.25rem; }
}

/* Admin link (nav + menu) stands out */
.nav-links a.admin-link, .mobile-menu-panel a.admin-link { color: #f0b90b; }
.nav-links a.admin-link:hover, .mobile-menu-panel a.admin-link:hover { color: #fbbf24; }

/* Manage user (admin) */
.mu-result {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
}
.mu-line { font-weight: 600; margin-bottom: 0.35rem; }
.mu-line.err { color: #f87171; }
.mu-adjust-row { display: flex; gap: 0.75rem; }

.ip-list { margin-top: 0.5rem; }
.ip-row {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px; padding: 0.6rem 0.85rem; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 600;
}

/* Searchable per-item dropdown (dark theme) */
.ip-picker { position: relative; }
.ip-options {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 50;
    max-height: 260px; overflow-y: auto;
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.ip-option {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.6rem 0.9rem; cursor: pointer; font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #fff;
}
.ip-option:hover { background: rgba(168, 85, 247, 0.18); }
.ip-option.muted { color: #6b7280; cursor: default; }
.ip-kind { font-size: 0.7rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
.ip-chosen { margin-top: 0.6rem; color: var(--secondary); font-weight: 700; font-size: 0.85rem; }

/* Admin operation rows (deposits / orders) */
.adm-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.6rem; font-weight: 600;
}
.adm-sub { color: #6b7280; font-size: 0.78rem; font-weight: 500; margin-top: 0.2rem; }
.adm-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.adm-actions .btn { padding: 0.4rem 0.9rem; font-size: 0.75rem; }
.order-status.s-delivered { background: rgba(59, 130, 246, 0.18); color: #3b82f6; }

/* Catalog suspend list */
.cat-list { margin-top: 0.75rem; max-height: 460px; overflow-y: auto; }
.cat-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px; padding: 0.6rem 0.85rem; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem;
}
.cat-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.cat-actions .btn { padding: 0.3rem 0.7rem; font-size: 0.7rem; }
.cat-new, .cat-pause, .cat-hide { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.05em; margin-left: 0.4rem; padding: 0.1rem 0.4rem; border-radius: 5px; }
.cat-new { color: #eab308; background: rgba(234, 179, 8, 0.15); }
.cat-pause { color: #f97316; background: rgba(249, 115, 22, 0.15); }
.cat-hide { color: #f87171; background: rgba(248, 113, 113, 0.15); }

/* Views & view padding */
.view-pad { padding-top: 120px; padding-bottom: 3rem; min-height: 60vh; }

/* Mobile / tablet slide-in menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(2, 2, 5, 0.6);
    backdrop-filter: blur(4px);
    display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    max-width: 85vw;
    background: var(--card);
    border-left: 1px solid var(--border);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-menu-title { font-family: var(--font-display); font-weight: 900; letter-spacing: 0.1em; color: #9ca3af; }
.mobile-menu-panel a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #d1d5db;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    transition: all 0.2s;
}
.mobile-menu-panel a:hover, .mobile-menu-panel a.active { background: rgba(168, 85, 247, 0.12); color: var(--primary); }
.mobile-menu-panel a i { width: 20px; height: 20px; }
.mobile-login { justify-content: center; margin-top: 1rem; }

/* Home entry cards */
.home-entry { padding: 4rem 0 2rem; }
.home-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.home-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.25s;
}
.home-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(168, 85, 247, 0.25); }
.home-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-card-icon.games { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.home-card-icon.gift { background: linear-gradient(135deg, #0e4ea8, #3b82f6); }
.home-card-icon i { width: 32px; height: 32px; color: #fff; }
.home-card-body { flex: 1; }
.home-card-body h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; letter-spacing: -0.5px; }
.home-card-body p { color: #9ca3af; font-size: 0.9rem; margin: 0.15rem 0 0.5rem; }
.home-card-count {
    display: inline-block;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--secondary);
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.15rem 0.7rem;
}
.home-card-arrow { width: 24px; height: 24px; color: var(--primary); }

/* Home sections (most popular + videos) */
.home-section { padding: 3.5rem 0 1rem; }

.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.popular-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.25s;
}
.popular-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(168, 85, 247, 0.25); }
.popular-rank { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--primary); width: 34px; flex-shrink: 0; }
.popular-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.popular-icon i { width: 22px; height: 22px; color: #fff; }
.popular-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.popular-body { flex: 1; min-width: 0; }
.popular-title { font-weight: 800; font-size: 1rem; }
.popular-sub { color: #c084fc; font-size: 0.78rem; font-weight: 600; }
.popular-tag { color: #9ca3af; font-size: 0.8rem; }
.hot-badge {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.15rem 0.4rem;
    flex-shrink: 0;
}

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
}
.video-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb > i { width: 48px; height: 48px; color: #1f2937; }
.video-card .play-btn {
    position: absolute;
    width: 56px; height: 56px;
    background: rgba(168, 85, 247, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.video-card:hover .play-btn { background: var(--primary); }
.video-card .play-btn i { width: 26px; height: 26px; color: #fff; }
.video-title { padding: 1rem 1.25rem; font-weight: 700; }
.video-card.no-link .video-thumb { opacity: 0.85; }

/* Follow Us */
.follow-us { padding: 1.5rem 0 2rem; text-align: center; }
.follow-title {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.25em;
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 1.1rem;
}
.social-row { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}
.social-btn:hover { transform: translateY(-3px); }
.social-btn i, .social-btn svg { width: 20px; height: 20px; }
.social-btn.fb:hover { background: #1877F2; border-color: #1877F2; }
.social-btn.tg:hover { background: #229ED9; border-color: #229ED9; }
.social-btn.yt:hover { background: #FF0000; border-color: #FF0000; }
.social-btn.tt:hover { background: #000; border-color: #fff; }
.social-btn.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* Player-ID verification box */
.player-check {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.pc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.pc-title i { width: 20px; height: 20px; color: var(--primary); }
.pc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem 1rem; }
.pc-field .field-label { margin-top: 0; }
.pc-btn { margin-top: 1rem; padding: 0.7rem 2rem; }
.check-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 1rem;
    font-weight: 800;
    font-size: 1rem;
    min-height: 1.2rem;
}
.check-result i { width: 20px; height: 20px; }
.check-result.ok { color: #22c55e; }
.check-result.err { color: #f87171; }
.cr-line { display: flex; align-items: center; gap: 0.5rem; }
.cr-line.cr-good { color: #34d399; }
.cr-line.cr-bad { color: #f87171; }
.cr-info, .cr-tiers { display: flex; gap: 0.5rem; width: 100%; }
.cr-box {
    flex: 1; min-width: 0; padding: 0.45rem 0.7rem; border-radius: 9px;
    border: 1.5px solid rgba(168, 85, 247, 0.45); background: rgba(168, 85, 247, 0.1);
    color: #e9d5ff; font-weight: 700; font-size: 0.9rem; word-break: break-word;
}
.cr-box b { color: #fff; }
.dd-tier {
    flex: 1; min-width: 0; text-align: center;
    padding: 0.45rem 0.5rem; border-radius: 9px;
    border: 1.5px solid; font-weight: 800; font-size: 0.95rem;
}
.dd-tier.tier-yes { color: #34d399; border-color: #34d399; background: rgba(52, 211, 153, 0.12); }
.dd-tier.tier-no  { color: #f87171; border-color: #f87171; background: rgba(248, 113, 113, 0.12); }
.dd-tier.tier-na  { color: #9ca3af; border-color: #4b5563; }
.check-note {
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

/* Stacked balance (MMK on top, USDT below) */
.bal-chips { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
#usdt-chip:not([hidden]) { padding-left: 0; margin-left: 0; border-left: none; }

/* Reseller view */
.reseller-card {
    max-width: 560px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
}
.reseller-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    color: var(--secondary);
    margin: 0.25rem 0 1rem;
}
.reseller-perks { list-style: none; display: grid; gap: 0.6rem; margin: 1rem 0 1.5rem; }
.reseller-perks li { display: flex; align-items: center; gap: 0.6rem; color: #d1d5db; font-weight: 600; }
.reseller-perks li i { width: 18px; height: 18px; color: #22c55e; flex-shrink: 0; }
.reseller-status {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(34, 197, 94, 0.12); border: 1px solid #22c55e; color: #22c55e;
    border-radius: 9999px; padding: 0.3rem 0.9rem; font-weight: 800; font-size: 0.85rem; margin-bottom: 1rem;
}
/* Expiring-soon notice */
.reseller-notice {
    display: flex; align-items: flex-start; gap: 0.55rem;
    border-radius: 12px; padding: 0.7rem 0.9rem; margin-bottom: 1rem;
    font-size: 0.9rem; font-weight: 600; line-height: 1.4;
}
.reseller-notice i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.reseller-notice.warn { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.5); color: #fbbf24; }
.reseller-notice.danger { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.5); color: #f87171; }
/* Auto-renew row + toggle switch */
.autorenew-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
    border-radius: 14px; padding: 0.9rem 1.1rem; margin-bottom: 1rem;
}
.ar-text { min-width: 0; }
.ar-title { font-weight: 800; }
.ar-sub { font-size: 0.82rem; color: #9ca3af; margin-top: 0.15rem; }
.switch {
    flex-shrink: 0; width: 48px; height: 28px; border-radius: 9999px; cursor: pointer;
    background: #4b5563; border: none; padding: 0; position: relative; transition: background 0.2s;
}
.switch .knob {
    position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; transition: transform 0.2s;
}
.switch.on { background: #22c55e; }
.switch.on .knob { transform: translateX(20px); }

/* Checkout currency choice */
.checkout-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.25rem;
}
.checkout-item .ci-name { font-weight: 800; }
.checkout-item .ci-sub { color: #9ca3af; font-size: 0.85rem; }
/* Checkout trust signals */
.checkout-trust {
    display: flex; flex-direction: column; gap: 0.55rem;
    margin: -0.4rem 0 1.25rem; padding: 0.85rem 1rem;
    border-radius: 12px; border: 1px solid rgba(52, 211, 153, 0.25);
    background: rgba(52, 211, 153, 0.06);
}
.checkout-trust .ct-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; font-weight: 600; color: #d8d4ea; }
.checkout-trust .ct-row i { width: 18px; height: 18px; flex-shrink: 0; color: #34d399; }
.checkout-trust .ct-refund { color: #fff; }
.checkout-trust .ct-refund b { color: #34d399; }

/* Delivery estimate badge */
.est-badge {
    display: flex; align-items: center; gap: 0.5rem;
    margin: 0.5rem 0 1rem;
    padding: 0.6rem 1rem; border-radius: 10px;
    font-size: 0.88rem; font-weight: 700;
}
.est-badge i, .est-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.est-instant { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.35); color: #34d399; }
.est-green   { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.35); color: #34d399; }
.est-orange  { background: rgba(251,146,60,0.12);  border: 1px solid rgba(251,146,60,0.35);  color: #fb923c; }
.est-red     { background: rgba(239,68,68,0.12);   border: 1px solid rgba(239,68,68,0.35);   color: #ef4444; }

/* Player name in checkout */
.ci-playername { color: #34d399; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.ci-playername svg { width: 14px; height: 14px; }

/* Reseller-only note in home notices */
.notice-resellerOnly { color: #f59e0b; font-weight: 700; font-size: 0.85em; }

/* Guest 1% save hint */
.dp-signup-hint { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: #a78bfa; margin-top: 0.2rem; }
.dp-signup-hint svg { width: 12px; height: 12px; }
.dp-signup-link { color: #a78bfa; font-weight: 700; text-decoration: underline; }
.dp-signup-link:hover { color: #c4b5fd; }

/* Out of stock cards */
.oos-card { opacity: 0.65; }
.oos-card .denom-name { color: #9ca3af; }
.oos-badge { display: inline-flex; align-items: center; gap: 0.3rem; color: #ef4444; font-size: 0.8rem; font-weight: 700; margin-top: 0.25rem; }
.oos-badge svg { width: 13px; height: 13px; }
.btn-oos { background: #374151 !important; color: #9ca3af !important; cursor: not-allowed; pointer-events: none; }

/* Reseller restock notify button */
.notify-bell-badge {
    position: absolute; top: 8px; right: 8px;
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid rgba(167,139,250,0.4); color: #a78bfa;
    background: rgba(20,20,30,0.7); backdrop-filter: blur(4px);
    cursor: pointer; transition: all 0.2s; z-index: 2;
}
.notify-bell-badge:hover { background: rgba(167,139,250,0.18); }
.notify-bell-badge.notifying { border-color: rgba(52,211,153,0.4); color: #34d399; background: rgba(52,211,153,0.12); }
.notify-bell-badge svg { width: 14px; height: 14px; }

.pay-options { display: grid; gap: 0.75rem; }
.pay-btn {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02);
    color: #fff; cursor: pointer; font-family: var(--font-sans); font-weight: 800; transition: all 0.2s;
}
.pay-btn:hover { border-color: var(--primary); background: rgba(168, 85, 247, 0.08); }
.pay-btn .pay-cur { font-size: 0.75rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; }
.denom-price.dual { font-size: 0.82rem; line-height: 1.35; }
.denom-price .usdt-line { color: #f0b90b; }

/* Order history */
.order-list { display: grid; gap: 0.75rem; max-width: 720px; }
.order-card {
    display: flex; justify-content: space-between; gap: 1rem; align-items: center;
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px; padding: 1rem 1.25rem;
}
.order-card.clickable { cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.order-card.clickable:hover { border-color: var(--primary); background: rgba(168, 85, 247, 0.06); }
.order-name { font-weight: 800; }
.order-sub { color: #6b7280; font-size: 0.8rem; margin-top: 0.15rem; }
.order-right { text-align: right; flex-shrink: 0; }
.order-price { font-family: var(--font-display); font-weight: 900; color: var(--secondary); }
.order-status { display: inline-block; margin-top: 0.35rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.5rem; border-radius: 6px; }
/* Status colours: success=green, processing=orange, failed=red */
.order-status.s-success, .order-status.s-paid, .order-status.s-completed, .order-status.s-delivered { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.order-status.s-processing, .order-status.s-pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.order-status.s-failed, .order-status.s-rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Order detail modal */
.od-status {
    display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: 0.95rem;
    text-transform: uppercase; letter-spacing: 0.05em; padding: 0.35rem 0.9rem; border-radius: 9999px; margin-bottom: 1.1rem;
}
.od-status.s-success { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.4); }
.od-status.s-processing { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.4); }
.od-status.s-failed { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.4); }
.od-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.od-row:last-child { border-bottom: none; }
.od-label { color: #9ca3af; font-size: 0.88rem; flex-shrink: 0; }
.od-val { font-weight: 700; text-align: right; word-break: break-word; }
.od-dim { color: #6b7280; font-weight: 500; }
/* Gift-card / voucher redeem code (with copy) */
.od-code-box { margin-top: 1.1rem; background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.4); border-radius: 14px; padding: 1rem; }
.od-code-label { font-weight: 800; color: #22c55e; margin-bottom: 0.6rem; }
.od-code-row { display: flex; gap: 0.6rem; align-items: stretch; }
.od-code { flex: 1; font-family: monospace; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.9rem; word-break: break-all; display: flex; align-items: center; color: #fff; }
.od-copy { flex-shrink: 0; align-self: center; }
.adm-code { font-family: monospace; font-weight: 800; background: rgba(0, 0, 0, 0.3); padding: 0.2rem 0.45rem; border-radius: 6px; word-break: break-all; }
.adm-code-box { margin-top: 0.5rem; }

/* Admin per-item profit browser (games grid -> items with profit inputs) */
.ipg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.6rem; margin-top: 0.75rem; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.ipg-card { display: flex; align-items: center; gap: 0.6rem; text-align: left; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 12px; padding: 0.55rem 0.7rem; cursor: pointer; color: #fff; font-weight: 700; font-size: 0.85rem; transition: all 0.15s; }
.ipg-card:hover { border-color: var(--primary); background: rgba(168, 85, 247, 0.12); }
.ipg-card img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ipg-card span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ipg-title { font-family: var(--font-display); font-weight: 900; margin: 0.9rem 0; }
.ipg-table { display: grid; gap: 0.4rem; overflow-x: auto; }
.ipg-head, .ipg-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.6rem; align-items: center; }
.ipg-head { color: #9ca3af; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 0.2rem; }
.ipg-row { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 0.4rem 0.5rem; }
.ipg-row.whole { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.3); }
.ipg-row > span { font-weight: 700; font-size: 0.84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ipg-in { width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); border-radius: 8px; color: #fff; padding: 0.4rem 0.5rem; font-weight: 700; font-size: 0.84rem; }
.ipg-in:focus { outline: none; border-color: var(--primary); }
.adm-row.clickable { cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.adm-row.clickable:hover { background: rgba(168, 85, 247, 0.07); border-color: var(--primary); }

/* Dashboard */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; max-width: 760px; }
.stat-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; }
.stat-val { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: #fff; }
.stat-label { color: #9ca3af; font-weight: 700; font-size: 0.85rem; margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-month { margin: 2rem 0 1rem; }
.dash-table { width: 100%; max-width: 720px; border-collapse: collapse; font-weight: 600; }
.dash-table th, .dash-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.dash-table th { color: #9ca3af; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
/* Dashboard date-range picker */
.dash-range { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; margin: 1.75rem 0 1.5rem; }
.dash-quick { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.range-btn {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: #d1d5db;
    border-radius: 9999px; padding: 0.45rem 0.95rem; font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: all 0.15s;
}
.range-btn:hover { border-color: var(--primary); color: #fff; }
.range-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.dash-dates { display: flex; gap: 0.75rem; }
.dash-dates .field-label { margin-bottom: 0.3rem; }
/* Readable native date/month inputs on the dark theme */
.dash-date, input[type=date], input[type=month] { color-scheme: dark; font-weight: 700; max-width: 180px; }
.dash-subtitle { font-family: var(--font-display); font-weight: 800; font-size: 1rem; margin: 2rem 0 0.9rem; }

/* ===================== Auth (login / sign-up) modal ===================== */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 3500;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 1rem 2rem;
    overflow-y: auto;
}
.auth-overlay.open { display: flex; }
.auth-modal {
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.2);
}
.auth-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.auth-head .logo-icon { width: 32px; height: 32px; font-size: 1rem; }
.auth-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; flex: 1; }
.auth-body { padding: 1.5rem; }

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #fff;
    color: #1f2937;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}
.google-btn:hover { background: #f3f4f6; }
.google-btn svg { width: 20px; height: 20px; }
/* Slot the official Google Identity button renders into. */
.google-wrap { display: flex; justify-content: center; min-height: 44px; }
.google-wrap > div { color-scheme: light; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1.25rem 0;
}
.auth-divider::before, .auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.auth-error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid #f87171;
    color: #f87171;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.auth-ok {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid #34d399;
    color: #34d399;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.auth-note {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 1rem;
}
.field-hint { font-size: 0.78rem; color: #9ca3af; margin: 0.35rem 0 0.4rem; }

/* Live "recent purchases" social-proof toast (bottom-left) */
.live-feed {
    position: fixed; left: 16px; bottom: 18px; z-index: 1400;
    display: flex; align-items: center; gap: 0.7rem; max-width: 330px;
    padding: 0.7rem 0.85rem; border-radius: 14px;
    background: rgba(20, 15, 45, 0.96); border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px);
    transform: translateY(160%); opacity: 0; pointer-events: none;
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s;
}
.live-feed.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.live-feed .lf-ic {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff;
}
.live-feed .lf-ic i { width: 18px; height: 18px; }
.live-feed .lf-body { flex: 1; min-width: 0; }
.live-feed .lf-line { font-size: 0.84rem; color: #ede9fb; line-height: 1.35; }
.live-feed .lf-line b { color: #fff; font-weight: 800; }
.live-feed .lf-time { font-size: 0.72rem; color: #34d399; font-weight: 700; margin-top: 0.15rem; }
.live-feed .lf-close {
    flex-shrink: 0; background: none; border: none; color: #9ca3af;
    cursor: pointer; font-size: 1.25rem; line-height: 1; padding: 0 0.15rem;
}
.live-feed .lf-close:hover { color: #fff; }
@media (max-width: 480px) { .live-feed { max-width: calc(100vw - 32px); left: 12px; bottom: 12px; } }

/* ===== Ratings & Reviews ===== */
.reviews-section { margin-top: 1.75rem; }
.rv-summary { display: flex; align-items: center; gap: 1rem; padding: 0.4rem 0 0.8rem; }
.rv-summary .rv-avg { font-size: 2.4rem; font-weight: 900; color: #fff; font-family: var(--font-display); line-height: 1; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-star { width: 17px; height: 17px; color: #4b4368; }
.rv-stars.sm .rv-star { width: 14px; height: 14px; }
.rv-star.on { color: #fbbf24; fill: #fbbf24; }
.rv-count { font-size: 0.82rem; color: #c4bce0; font-weight: 600; margin-top: 0.2rem; }
.rv-form { margin: 0.5rem 0 1.25rem; padding: 1rem; border: 1px solid rgba(168,85,247,0.25); border-radius: 14px; background: rgba(168,85,247,0.06); }
.rv-form-title { font-weight: 800; color: #ede9fb; margin-bottom: 0.5rem; }
.rv-input-stars { display: flex; gap: 5px; margin-bottom: 0.7rem; }
.rv-input-stars .rv-star { width: 28px; height: 28px; cursor: pointer; transition: transform 0.1s; }
.rv-input-stars .rv-star:hover { transform: scale(1.15); }
.rv-text { width: 100%; margin-bottom: 0.6rem; resize: vertical; }
.rv-msg { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.5rem; }
.rv-msg.err { color: #f87171; }
.rv-login { padding: 0.85rem 1rem; border: 1px dashed rgba(168,85,247,0.4); border-radius: 12px; color: #c4bce0; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.rv-login a { color: #c084fc; font-weight: 800; }
.rv-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.5rem; }
.rv-item { padding: 0.85rem 1rem; border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; background: rgba(255,255,255,0.02); }
.rv-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.rv-name { font-weight: 800; color: #fff; }
.rv-verified { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; font-weight: 700; color: #34d399; background: rgba(52,211,153,0.12); padding: 0.1rem 0.45rem; border-radius: 999px; }
.rv-verified i { width: 13px; height: 13px; }
.rv-date { margin-left: auto; font-size: 0.74rem; color: #9ca3af; }
.rv-body { font-size: 0.86rem; color: #d8d4ea; line-height: 1.5; margin-top: 0.3rem; }
.auth-submit { width: 100%; justify-content: center; margin-top: 0.75rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.auth-switch { text-align: center; margin-top: 1.1rem; color: #9ca3af; font-size: 0.9rem; }
.auth-switch button {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* ===== Razer-style auth fields ===== */
.auth-body .auth-input { width: 100%; margin-bottom: 0.85rem; padding: 0.9rem 1rem; }
.auth-body .auth-input::placeholder { letter-spacing: 0.05em; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; }
.auth-row .auth-input { margin-bottom: 0; }
.pw-field { position: relative; margin-bottom: 0.85rem; }
.pw-field .auth-input { margin-bottom: 0; padding-right: 3rem; }
.pw-eye {
    position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #9ca3af; cursor: pointer; padding: 0.3rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.pw-eye:hover { color: #fff; }
.pw-eye i { width: 19px; height: 19px; }
.auth-forgot { text-align: right; margin: -0.15rem 0 0.3rem; }
.link-btn { background: none; border: none; color: #c084fc; font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 0; }
.link-btn:hover { color: #d8b4fe; text-decoration: underline; }

/* Logged-in nav button: no rectangle box; avatar gets a double ring */
.btn-login.is-user {
    gap: 0.55rem;
    border: none; background: transparent; box-shadow: none;
    padding: 0.25rem 0.5rem 0.25rem 0.35rem;
}
.btn-login.is-user:hover { background: rgba(168,85,247,0.12); border: none; }
.btn-login.is-user .user-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.72rem; color: #fff;
    /* double ring: inner purple line + dark gap + outer purple line */
    box-shadow: 0 0 0 1.5px rgba(168,85,247,0.95), 0 0 0 3px #140f30, 0 0 0 4.5px rgba(168,85,247,0.55);
}

/* ===================== Profile view ===================== */
.profile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    max-width: 560px;
}
.profile-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.profile-card h3 i { width: 20px; height: 20px; color: var(--primary); }
.profile-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: #fff;
    margin-bottom: 1rem;
}
.profile-status { color: #6b7280; font-weight: 700; font-size: 0.85rem; min-height: 1rem; margin-top: 0.75rem; }
.profile-status.ok { color: #22c55e; }
.profile-status.err { color: #f87171; }
.profile-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero-title { font-size: 4rem; }
    .nav-links { display: none; }
    .btn-login { display: none; }
    .navbar .lang-switch { display: none; }   /* desktop switcher hidden; use the one inside the menu */
    .hamburger { display: flex; }
    .home-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo-text { font-size: 0.9rem; }
    .hero { padding-top: 90px; }
    .hero:not(.has-slides) + .hero-cta { padding-top: 96px; }
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1rem; letter-spacing: 0.15em; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .section-title { font-size: 2rem; }
    .admin-grid { grid-template-columns: 1fr; }
    /* Footer stacks + centers on mobile */
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
    .footer-col { align-items: center; }
    .footer-brand .footer-logo { justify-content: center; }
    .footer-tagline { max-width: 100%; }
    .footer-pay { align-items: center; }
    .pay-logos { justify-content: center; align-items: center; }
    .social-row { align-items: center; }
    .footer-bottom { flex-direction: column; gap: 0.8rem; align-items: center; text-align: center; }
    .ticker-wrapper { gap: 0.75rem; }
    .deposit-overlay { padding-top: 5rem; }
    .popular-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .logo-icon { width: 26px; height: 26px; font-size: 0.8rem; }
    .logo-text { display: none; }
    .nav-actions { gap: 0.5rem; }
    .amount { font-size: 0.85rem; }
    .btn-topup { width: 20px; height: 20px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.85rem; }
    .badge-text { font-size: 0.65rem; }
    .section-title { font-size: 1.6rem; }
    .section-label { font-size: 0.65rem; letter-spacing: 0.2em; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .catalogue-list { grid-template-columns: 1fr; }
    .count-badge { font-size: 0.7rem; padding: 0.15rem 0.55rem; margin-left: 0.4rem; }
    .deposit-modal { border-radius: 18px; }
    .deposit-body { padding: 1.25rem; }
    .detail-title { display: none; }
}

/* ============================================================
   LIGHT THEME (YG / Lootbar style) — body.theme-light
   Most text inherits `color` from body, so it flips automatically;
   here we flip the surfaces + the explicit-white inputs/labels.
   ============================================================ */
body.theme-light {
    --foreground: #1c1733;
    --card: #ffffff;
    --border: rgba(20, 16, 45, 0.10);
    color: #1c1733;
    background-color: #edeef7;
    background-image:
        radial-gradient(ellipse 70% 50% at 50% -6%, rgba(168, 85, 247, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 48% 45% at 100% 6%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 0% 32%, rgba(236, 72, 153, 0.10) 0%, transparent 55%),
        linear-gradient(180deg, #f6f4fd 0%, #edeef7 55%, #e7eaf4 100%);
}
body.theme-light::before { opacity: 0.5; }
body.theme-light .hero::before { opacity: 0.7; }

/* Navbar */
body.theme-light .navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84));
    border-bottom: 1px solid rgba(20, 16, 45, 0.08);
    box-shadow: 0 4px 22px rgba(124, 58, 237, 0.10);
}
body.theme-light .logo,
body.theme-light .logo-text { color: #1c1733; }
body.theme-light .nav-links a { color: #4b4368; }
body.theme-light .nav-links a:hover,
body.theme-light .nav-links a.active { color: var(--primary); }
body.theme-light .hamburger { background: rgba(20, 16, 45, 0.04); border-color: rgba(20, 16, 45, 0.12); color: #1c1733; }
body.theme-light .amount { color: #1c1733; }

/* Cards → solid white with border + soft shadow */
body.theme-light .game-tile,
body.theme-light .popular-card,
body.theme-light .denom-card,
body.theme-light .video-card,
body.theme-light .game-info-header,
body.theme-light .player-check {
    background: #ffffff;
    border: 1px solid rgba(20, 16, 45, 0.08);
    box-shadow: 0 6px 20px rgba(20, 16, 45, 0.06);
}
body.theme-light .game-tile:hover,
body.theme-light .popular-card:hover { box-shadow: 0 12px 30px rgba(124, 58, 237, 0.18); border-color: var(--primary); }
body.theme-light .denom-price { color: #7c3aed; }

/* Inputs → light */
body.theme-light .search-input,
body.theme-light .deposit-input,
body.theme-light .price-edit-input,
body.theme-light .qty-stepper,
body.theme-light .smile-rate-field input,
body.theme-light .fp-row input,
body.theme-light .pb-field input {
    background: #f3f4fb;
    border-color: rgba(20, 16, 45, 0.14);
    color: #1c1733;
}
body.theme-light .qty-input { color: #1c1733; }
body.theme-light .search-input::placeholder,
body.theme-light .deposit-input::placeholder { color: #9aa1b2; }
body.theme-light .search-icon { color: #9aa1b2; }

/* Buttons */
body.theme-light .btn-outline { color: #1c1733; border-color: rgba(20, 16, 45, 0.18); }
body.theme-light .btn-outline:hover { background: rgba(168, 85, 247, 0.08); border-color: var(--primary); }
body.theme-light .btn-ghost { color: #6b7280; }
body.theme-light .btn-ghost:hover { color: #1c1733; background: rgba(20, 16, 45, 0.05); }

/* News ticker */
body.theme-light .news-ticker { background: rgba(168, 85, 247, 0.06); border-bottom-color: rgba(20, 16, 45, 0.06); }
body.theme-light .ticker-text { color: #4b4368; }

/* Modals → white, lighter scrim */
body.theme-light .deposit-modal,
body.theme-light .auth-modal,
body.theme-light .ui-modal-card { background: #ffffff; border-color: rgba(20, 16, 45, 0.1); box-shadow: 0 24px 70px rgba(20, 16, 45, 0.22); }
body.theme-light .deposit-head { border-bottom-color: rgba(20, 16, 45, 0.08); }
body.theme-light .deposit-overlay,
body.theme-light .auth-overlay,
body.theme-light .ui-modal-overlay { background: rgba(20, 16, 45, 0.4); }

/* Checkout / deposit / catalogue inner surfaces */
body.theme-light .method-btn,
body.theme-light .acct-row,
body.theme-light .file-drop,
body.theme-light .checkout-item,
body.theme-light .check-result,
body.theme-light .region-tabs,
body.theme-light .inline-pricing,
body.theme-light .reseller-controls { background: #f6f6fb; border-color: rgba(20, 16, 45, 0.1); }
body.theme-light .region-tab { color: #4b4368; }

/* Footer */
body.theme-light .footer { border-top-color: rgba(20, 16, 45, 0.08); }
body.theme-light .copyright { color: #6b7280; }

/* Language switcher (light) */
body.theme-light .lang-toggle { background: transparent; color: #4b4368; border-color: rgba(168, 85, 247, 0.3); }
body.theme-light .lang-toggle:hover { color: var(--primary); border-color: var(--primary); }
body.theme-light .lang-menu { background: #ffffff; border-color: rgba(20, 16, 45, 0.1); box-shadow: 0 12px 34px rgba(20, 16, 45, 0.18); }
body.theme-light .lang-opt { color: #4b4368; }
body.theme-light .lang-opt.active { color: #fff; }

/* Mobile slide-in menu → white */
body.theme-light .mobile-menu-panel { background: #ffffff; }
body.theme-light .mobile-menu-panel a { color: #4b4368; }

/* Hero dots */
body.theme-light .hero-dot { background: rgba(20, 16, 45, 0.2); }
body.theme-light .hero-dot.active { background: var(--primary); }

/* Gradient text → readable on light (use background-image so background-clip:text stays) */
body.theme-light .gradient-text { background-image: linear-gradient(135deg, #a855f7, #6d28d9); }
