/* ============================================================
   SARDEN11 HOME.CSS — FINAL V9.0 (THEME AWARE & PERFECT LAYOUT)
   ============================================================ */

/* 1. RESET GAMBAR GLOBAL */
.home-hot-games img,
.category-scroll img,
.provider-home-scroll img,
.banner-slider img,
.banner-slide img,
.home-togel-card img {
    max-width: 100% !important;
}

/* ============================================================
   2. BANNER SLIDER — ukuran mengikuti rasio gambar
   Mobile render ≈ 412×165  |  Desktop render ≈ 1198×479
   ============================================================ */
.banner-section {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}
.banner-wrapper {
    width: 100% !important;
    height: auto !important;              /* jangan paksa height tetap */
    max-height: none !important;
    background: #111 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    line-height: 0 !important;
}
.banner-slide {
    width: 100% !important;
    height: auto !important;
    display: none;
}
.banner-slide.active { display: block !important; }
.banner-slide picture {
    display: block !important;
    width: 100% !important;
    line-height: 0 !important;
}
/* Mobile default ≈ 412×165 (rasio 412/165) */
.banner-slide img,
.banner-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 412 / 165 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}
.slider-dot { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.slider-dot span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.slider-dot span.active { background: var(--sv-primary, #ffd45a); width: 15px; border-radius: 10px; }

/* ============================================================
   3. KATEGORI GAME
   ============================================================ */
.category { padding: 10px 12px; overflow: hidden; }
.category-scroll {
    display: flex; flex-wrap: nowrap; gap: 18px; overflow-x: auto;
    padding-bottom: 10px; scrollbar-width: none;
    justify-content: space-evenly;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-item {
    flex: 0 0 auto; width: 64px; height: auto; min-height: 64px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    background: transparent; border: none; border-radius: 10px; overflow: visible;
    gap: 4px; padding-bottom: 2px;
}
.category-item img { width: 64px !important; height: 64px !important; object-fit: contain !important; display: block !important; flex-shrink: 0; }
.category-item span,
.category-label {
    display: block !important;
    font-size: 10px;
    font-weight: 700;
    color: var(--sv-text, #FFF6E0);
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,.85), 0 0 8px color-mix(in srgb, var(--sv-glow, #F7A63D) 30%, transparent);
}

/* ============================================================
   4. HOT GAMES SLOT (SWIPER FIX)
   ============================================================ */
.home-hot-games { padding: 15px 12px; overflow: hidden; width: 100%; box-sizing: border-box; }
.home-hot-games > div:first-child { display: flex !important; align-items: center !important; justify-content: space-between !important; margin-bottom: 12px !important; }
.home-hot-title, .home-hot-games h2, .home-hot-games h3 { display: flex !important; align-items: center !important; gap: 8px !important; font-size: 16px !important; font-weight: 900 !important; color: var(--sv-text-section, var(--sv-text, #FFF6E0)) !important; margin: 0 !important; }
.home-hot-swiper, .swiper.home-hot-swiper { width: 100% !important; max-width: 100% !important; overflow: hidden !important; position: relative !important; padding-bottom: 20px !important; }
.home-hot-swiper .swiper-wrapper { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; }
.home-hot-swiper .swiper-slide { width: 110px !important; min-width: 110px !important; max-width: 110px !important; height: 145px !important; flex: 0 0 110px !important; padding-right: 8px !important; box-sizing: border-box !important; }
.home-hot-swiper .swiper-slide > a, .home-hot-swiper .swiper-slide > div {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1.5px solid color-mix(in srgb, var(--sv-primary, #39ff14) 45%, transparent) !important;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-surface, #0c121a) 88%, #1a2030 12%) 0%,
        #05080f 100%) !important;
    box-shadow:
        0 8px 22px rgba(0,0,0,.4),
        0 0 0 1px color-mix(in srgb, var(--sv-glow, var(--sv-primary, #39ff14)) 10%, transparent) !important;
    position: relative !important;
}
.home-hot-swiper .swiper-slide img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.home-hot-swiper .swiper-pagination { display: none !important; }

/* ============================================================
   5. PASARAN TOGEL (FIX CARD BESAR & TEKS MELUBER)
   ============================================================ */
.home-togel { padding: 15px 12px 9px; overflow: hidden; }
.home-togel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.home-togel-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.home-togel-title img { width: 42px !important; height: 42px !important; object-fit: contain !important; flex: 0 0 42px !important; }
.home-togel-title h3 { margin: 0; font-size: 16px; line-height: 1.05; color: var(--sv-text-section, var(--sv-text, #FFF6E0)) !important; text-transform: uppercase; }
.home-togel-title span { display: block; color: var(--sv-text-label, rgba(255,255,255,.68)) !important; font-size: 9px; }

/* Navigasi Togel */
.home-togel-nav { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.home-togel-nav button, .home-togel-nav a {
    height: 28px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--sv-border-soft, rgba(255,202,72,.3));
    border-radius: 8px; background: rgba(20,5,5,.86); color: var(--sv-primary, #eac561);
    text-decoration: none;
}
.home-togel-nav button { width: 28px; }
.home-togel-nav a { padding: 0 10px; font-size: 8px; font-weight: 900; color: var(--sv-text-menu, var(--sv-text-section, #ffe2a4)) !important; }

/* Track Togel */
.home-togel-track {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 11px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
}
.home-togel-track::-webkit-scrollbar { display: none; }

/* Card Togel (Kunci Ukuran!) */
.home-togel-card {
    position: relative; flex: 0 0 150px !important; /* KUNCI: Lebar fix 150px */
    height: 110px !important; /* KUNCI: Tinggi fix */
    padding: 8px !important; box-sizing: border-box !important;
    border: 1px solid var(--sv-border-soft, rgba(232,171,45,.3));
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(25,10,25,.95), rgba(5,5,5,.98)); /* Warna dasar gelap */
    box-shadow: 0 4px 10px rgba(0,0,0,.5); overflow: hidden;
    scroll-snap-align: start;
}
.home-togel-card::after {
    content: ''; position: absolute; width: 50px; height: 50px;
    right: -15px; bottom: -25px; border: 1px solid var(--sv-border-soft, rgba(255,197,53,.15));
    border-radius: 50%; z-index: 0;
}
.home-togel-top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 14px; position: relative; z-index: 1; }
.home-togel-status, .home-togel-prize {
    display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px;
    border-radius: 99px; font-size: 6px; font-weight: 900;
}
.home-togel-status { color: #70e69d; background: rgba(32,153,83,.15); border: 1px solid rgba(70,219,130,.3); }
.home-togel-status.closed { color: #ff8589; background: rgba(161,5,12,.15); border-color: rgba(255,75,83,.3); }
.home-togel-status i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.home-togel-prize { color: var(--sv-primary, #f2c453); background: rgba(201,139,9,.1); border: 1px solid var(--sv-border-soft); }

.home-togel-card h4 {
    margin: 6px 0 4px; font-size: 10px !important; line-height: 1.2;
    color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    position: relative; z-index: 1;
}
.home-togel-meta { display: flex; justify-content: space-between; font-size: 7px; color: #aaa; position: relative; z-index: 1; }
.home-togel-meta b { color: var(--sv-primary, #ddd3bc); }

.home-togel-result { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.home-togel-result small { display: block; font-size: 6px; color: #888; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .5px; }
.home-togel-result div { display: flex; gap: 3px; }
.home-togel-result b {
    width: 16px; height: 16px; display: grid; place-items: center;
    border-radius: 50%; background: radial-gradient(circle at 35% 25%, #ff695e, #a8070e 50%, #390003);
    color: #fff1bd; font-size: 8px; border: 1px solid rgba(255,215,91,.5);
}
.home-togel-play {
    position: absolute; right: 8px; bottom: 8px; z-index: 2;
    display: flex; align-items: center; gap: 4px; color: var(--sv-primary, #f0c252) !important;
    font-size: 7px; font-weight: 900; text-decoration: none !important;
    background: rgba(0,0,0,.5); padding: 4px 6px; border-radius: 6px;
}
.home-togel-play i { font-size: 6px; }

/* ============================================================
   6. PROVIDER HOME (SLOT & CASINO) - RAPI & TEMA
   ============================================================ */
.provider-home-section { padding: 18px 12px 12px; clear: both; }
.provider-home-title { color: var(--sv-text-section, var(--sv-text, #FFF6E0)) !important; font-size: 17px; font-weight: 900; margin-bottom: 14px; text-transform: uppercase; }
.provider-home-scroll { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 10px; scrollbar-width: none; }
.provider-home-scroll::-webkit-scrollbar { display: none; }

/* Card Provider — style sama togel market-card */
.provider-home-item {
    position: relative; flex: 0 0 100px; width: 100px; height: 130px;
    border-radius: 14px; overflow: hidden;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-surface, #0c121a) 88%, #1a2030 12%) 0%,
        #05080f 100%);
    border: 1.5px solid color-mix(in srgb, var(--sv-primary, #39ff14) 45%, transparent) !important;
    box-shadow:
        0 8px 22px rgba(0,0,0,.4),
        0 0 0 1px color-mix(in srgb, var(--sv-glow, var(--sv-primary, #39ff14)) 10%, transparent);
    transition: transform .15s, box-shadow .2s, border-color .2s;
}
.provider-home-item:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--sv-primary, #39ff14) 75%, transparent) !important;
    box-shadow:
        0 12px 28px rgba(0,0,0,.5),
        0 0 18px color-mix(in srgb, var(--sv-primary, #39ff14) 18%, transparent);
}
.provider-home-item img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; border-radius: 14px; }

.provider-lobby-heading { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.provider-lobby-icon { width: 46px !important; height: 46px !important; object-fit: contain !important; }
.provider-lobby-copy .provider-home-title { margin: 0; font-size: 18px; line-height: 1.1; color: var(--sv-text-section, var(--sv-text, #FFF6E0)) !important; }
.provider-home-subtitle { display: block; margin-top: 4px; color: var(--sv-text-label, #aaa) !important; font-size: 10px; }

/* ============================================================
   7. JACKPOT
   ============================================================ */
.jackpot-section { padding: 8px 15px 0 !important; display: flex !important; justify-content: center !important; }
.jackpot-card {
    width: 100% !important; max-width: 980px !important; height: 132px !important;
    background-image: var(--sv-jackpot-mobile, url('/assets/img/jackpot/jackpot.png')) !important;
    background-size: 100% 132px !important; background-position: center !important; background-repeat: no-repeat !important;
    position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important;
}
.jackpot-card h3, .jackpot-currency { display: none !important; }
.jackpot-value {
    width: 100% !important; text-align: center !important; font-size: 34px !important; font-weight: 900 !important;
    color: var(--sv-text-jackpot, var(--sv-primary, #ffd84d)) !important; text-shadow: 0 0 10px var(--sv-glow, #ffcc33), 0 0 20px #ff9900 !important;
    transform: translateY(-8px) !important;
}

/* ============================================================
   8. DESKTOP OVERRIDE
   ============================================================ */
@media (min-width: 900px) {
    /* Desktop ≈ 1198×479 */
    .banner-wrapper { height: auto !important; max-height: none !important; }
    .banner-slide img,
    .banner-image {
        aspect-ratio: 1198 / 479 !important;
        height: auto !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .category-scroll { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 20px !important; align-items: start !important; justify-items: center !important; }
    .category-item { width: 100% !important; height: auto !important; min-height: 80px !important; background: transparent !important; border: none !important; }
    .category-item img { width: 72px !important; height: 72px !important; margin: 0 auto !important; }
    .category-label { font-size: 12px !important; font-weight: 800 !important; letter-spacing: 0.4px !important; }

    .home-hot-swiper .swiper-slide { width: 160px !important; min-width: 160px !important; max-width: 160px !important; height: 210px !important; flex: 0 0 160px !important; }
    
    .home-togel-card { flex: 0 0 180px !important; height: 130px !important; padding: 10px !important; }
    .home-togel-card h4 { font-size: 12px !important; }
    
    .jackpot-card { height: auto !important; aspect-ratio: 3 / 1 !important; background-image: var(--sv-jackpot-desktop, url('/assets/img/jackpot/jackpot-desktop.png')) !important; background-size: 100% 100% !important; }
    .jackpot-value { font-size: clamp(46px, 4.3vw, 62px) !important; }

    .provider-home-item { width: 120px !important; height: 155px !important; }
}
.home-hot-all{color:var(--sv-text-menu,var(--sv-text-section,#ffe2a4))!important;}


/* ==== FORCE section titles independent of theme primary ==== */
.sv-section-title,
.home-hot-title h3,
.home-hot-title-text h3,
.home-hot-games h3,
.home-togel-title h3,
.provider-home-title {
    color: var(--sv-text-section, #FFFFFF) !important;
    -webkit-text-fill-color: var(--sv-text-section, #FFFFFF) !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    text-shadow: none !important;
    filter: none !important;
}


/* ============================================================
   HOME TOGEL V2 — style card digit (warna tema --sv-*)
   ============================================================ */
.home-togel.ht-v2 {
    padding: 12px 10px 10px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-surface, #0c121a) 92%, #000 8%) 0%,
        #05080f 100%);
    border-radius: 14px;
    margin: 8px 0 12px;
    border: 1px solid color-mix(in srgb, var(--sv-primary, #39ff14) 20%, transparent);
}
.ht-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 2px;
}
.ht-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-primary, #39ff14) 92%, #fff 8%),
        var(--sv-secondary, #15803d));
    /* Warna teks dari admin: text_section */
    color: var(--sv-text-section, #FFFFFF) !important;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--sv-primary, #39ff14) 28%, transparent);
}
.ht-title-pill span,
.ht-title-pill i {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
.ht-title-pill i { font-size: 13px; }
.ht-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid color-mix(in srgb, var(--sv-primary, #39ff14) 55%, transparent);
    /* Warna link dari admin: text_menu (fallback text_section) */
    color: var(--sv-text-menu, var(--sv-text-section, var(--sv-primary, #39ff14))) !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    background: color-mix(in srgb, var(--sv-primary, #39ff14) 8%, transparent);
    white-space: nowrap;
}
.ht-more:hover {
    background: color-mix(in srgb, var(--sv-primary, #39ff14) 18%, transparent);
    color: var(--sv-text-menu, var(--sv-text-section, #fff)) !important;
}
.ht-more i { font-size: 10px; color: inherit !important; }

.ht-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 8px;
}
.ht-track::-webkit-scrollbar { display: none; }

.ht-card {
    position: relative;
    z-index: 1;
    flex: 0 0 148px;
    width: 148px;
    min-height: 150px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-surface, #0c121a) 88%, #1a2030 12%) 0%,
        #05080f 100%) !important;
    border: 1.5px solid color-mix(in srgb, var(--sv-primary, #39ff14) 45%, transparent);
    box-shadow:
        0 8px 22px rgba(0,0,0,.4),
        0 0 0 1px color-mix(in srgb, var(--sv-glow, var(--sv-primary, #39ff14)) 10%, transparent);
    transition: transform .15s, box-shadow .2s, border-color .2s;
}
.ht-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--sv-primary, #39ff14) 75%, transparent);
    box-shadow:
        0 12px 28px rgba(0,0,0,.5),
        0 0 18px color-mix(in srgb, var(--sv-primary, #39ff14) 18%, transparent);
}
.ht-card-name {
    text-align: center;
    padding: 8px 6px 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-primary, #3b82f6) 55%, #0a1628 45%),
        color-mix(in srgb, var(--sv-secondary, #1e3a8a) 40%, #0a0e14 60%));
    border-bottom: 1px solid color-mix(in srgb, var(--sv-primary, #39ff14) 20%, transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ht-digits {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 12px 8px 10px;
}
.ht-digit {
    flex: 0 0 28px;
    width: 28px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 900;
    color: #e8f0ff;
    background: linear-gradient(180deg, #1a2333, #0c1018);
    border: 1px solid color-mix(in srgb, var(--sv-primary, #60a5fa) 35%, #334);
    box-shadow:
        0 2px 6px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 8px color-mix(in srgb, var(--sv-primary, #3b82f6) 15%, transparent);
    text-shadow: 0 0 8px color-mix(in srgb, var(--sv-primary, #60a5fa) 40%, transparent);
}

.ht-times {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 8px 10px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.ht-time-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ht-time-right { text-align: right; align-items: flex-end; }
.ht-time-col small {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .03em;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    white-space: nowrap;
}
.ht-time-col b {
    font-size: 11px;
    font-weight: 800;
    color: var(--sv-primary, #7dd3fc);
    font-variant-numeric: tabular-nums;
}
.ht-countdown {
    color: #fff !important;
    text-shadow: 0 0 6px color-mix(in srgb, var(--sv-primary, #39ff14) 35%, transparent);
}

.ht-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

@media (min-width: 900px) {
    .ht-card { flex: 0 0 168px; width: 168px; }
    .ht-digit { flex: 0 0 32px; width: 32px; height: 38px; font-size: 20px; }
    .ht-card-name { font-size: 11px; padding: 10px 8px 8px; }
    .ht-title-pill { font-size: 13px; padding: 9px 16px; }
}


/* ============================================================
   HOT / SLOT / CASINO — header sama style togel (ht-*)
   Hot: tetap carousel bergulir | Slot/Casino: animasi bergerak
   ============================================================ */
.home-hot-games .ht-head,
.provider-panel .ht-head {
    margin-bottom: 12px;
}
.home-hot-games .ht-title-pill i.fa-fire {
    animation: htFirePulse 1.4s ease-in-out infinite;
}
@keyframes htFirePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px color-mix(in srgb, var(--sv-primary, #f59e0b) 40%, transparent)); }
    50% { transform: scale(1.12); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--sv-primary, #f59e0b) 70%, transparent)); }
}

/* Provider panel body tetap horizontal scroll */
.provider-panel-header.ht-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 2px;
    border: none !important;
    background: transparent !important;
}

/* Kartu provider: animasi float halus */
.provider-panel-card {
    animation: providerCardFloat 3.2s ease-in-out infinite;
}
.provider-panel-card:nth-child(2n) { animation-delay: .4s; }
.provider-panel-card:nth-child(3n) { animation-delay: .8s; }
.provider-panel-card:nth-child(4n) { animation-delay: 1.2s; }
@keyframes providerCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Auto-scroll halus track slot/casino (bergerak) */
.provider-panel-scroll.provider-scroll-animate {
    scroll-behavior: auto;
}


/* Pastikan judul section & link "Lihat Selengkapnya" hormati warna admin */
.ht-title-pill,
.ht-title-pill span,
.home-hot-head .ht-title-pill,
.provider-panel-header .ht-title-pill,
.home-togel .ht-title-pill {
    color: var(--sv-text-section, #FFFFFF) !important;
    -webkit-text-fill-color: var(--sv-text-section, #FFFFFF) !important;
}
.ht-more,
.ht-more i,
a.ht-more,
.home-hot-all.ht-more,
.provider-lihat-semua.ht-more {
    color: var(--sv-text-menu, var(--sv-text-section, #ffe2a4)) !important;
    -webkit-text-fill-color: var(--sv-text-menu, var(--sv-text-section, #ffe2a4)) !important;
}


/* ============================================================
   PROVIDER & GAME CARDS — border style sama seperti togel (market-card)
   Hapus efek glossy pada panel slot / livecasino / hotgame
   ============================================================ */

/* Outer panel: tanpa border glossy / blur */
.provider-panel-inner {
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
}
.provider-panel {
    border: none !important;
    box-shadow: none !important;
}

/* Kartu provider: tinggi seragam + style togel */
.provider-panel-card {
    flex: 0 0 148px !important;
    width: 148px !important;
    min-width: 148px !important;
    height: 156px !important;
    min-height: 156px !important;
    max-height: 156px !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1.5px solid color-mix(in srgb, var(--sv-primary, #39ff14) 45%, transparent) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-surface, #0c121a) 88%, #1a2030 12%) 0%,
        #05080f 100%) !important;
    box-shadow:
        0 8px 22px rgba(0,0,0,.4),
        0 0 0 1px color-mix(in srgb, var(--sv-glow, var(--sv-primary, #39ff14)) 10%, transparent) !important;
    overflow: hidden !important;
    transition: transform .15s, box-shadow .2s, border-color .2s;
}
.provider-panel-card:hover {
    transform: translateY(-2px) !important;
    border-color: color-mix(in srgb, var(--sv-primary, #39ff14) 75%, transparent) !important;
    box-shadow:
        0 12px 28px rgba(0,0,0,.5),
        0 0 18px color-mix(in srgb, var(--sv-primary, #39ff14) 18%, transparent) !important;
}

/* Nama provider: bar warna tema; teks dari admin (text_section) */
.provider-panel-name {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    line-height: 1.15 !important;
    text-align: center !important;
    /* Warna teks: Admin → Visual Theme → Teks Judul Section & Nama Provider */
    /* Warna teks: Admin → Warna Subjudul Section (text_label / --sv-text-label) */
    color: var(--sv-text-label, var(--sv-text, #fff)) !important;
    -webkit-text-fill-color: var(--sv-text-label, var(--sv-text, #fff)) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--sv-primary, #39ff14) 58%, #0a1628 42%) 0%,
        color-mix(in srgb, var(--sv-secondary, #15803d) 52%, #0a0e14 48%) 100%
    ) !important;
    border-top: 1px solid color-mix(in srgb, var(--sv-primary, #39ff14) 40%, transparent) !important;
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--sv-primary, #39ff14) 22%, transparent) !important;
}

/* Hot games (swiper slides) — sama style togel */
.home-hot-swiper .swiper-slide > a,
.home-hot-swiper .swiper-slide > div,
.home-hot-card,
.home-hot-cover {
    border: 1.5px solid color-mix(in srgb, var(--sv-primary, #39ff14) 45%, transparent) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--sv-surface, #0c121a) 88%, #1a2030 12%) 0%,
        #05080f 100%) !important;
    box-shadow:
        0 8px 22px rgba(0,0,0,.4),
        0 0 0 1px color-mix(in srgb, var(--sv-glow, var(--sv-primary, #39ff14)) 10%, transparent) !important;
    overflow: hidden !important;
    transition: transform .15s, box-shadow .2s, border-color .2s;
}
.home-hot-swiper .swiper-slide > a:hover,
.home-hot-swiper .swiper-slide > div:hover,
.home-hot-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--sv-primary, #39ff14) 75%, transparent) !important;
    box-shadow:
        0 12px 28px rgba(0,0,0,.5),
        0 0 18px color-mix(in srgb, var(--sv-primary, #39ff14) 18%, transparent) !important;
}

/* Thumb provider: logo di tengah, area flex agar nama bar tetap di bawah */
.provider-panel-thumb {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.provider-panel-thumb img {
    object-fit: contain !important;
    object-position: center !important;
    padding: 10px !important;
    max-height: 100% !important;
}
.provider-panel-scroll {
    align-items: stretch !important;
}


/* ========== RTP BAR (Hot Games + shared) — auto ganti tiap jam ========== */
.home-hot-cover {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
}
.home-hot-card .rtp-bar {
    left: 5px !important;
    right: 5px !important;
    top: 5px !important;
    bottom: auto !important;
    z-index: 20 !important;
}
.rtp-bar {
    position: absolute !important;
    left: 6px !important;
    right: 6px !important;
    z-index: 20 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 5px 7px 6px !important;
    border-radius: 8px !important;
    background: rgba(0,0,0,.82) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.45) !important;
}
.rtp-bar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}
.rtp-bar-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(255,255,255,.75);
}
.rtp-bar-val {
    font-size: 11px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
.rtp-bar--high .rtp-bar-val { color: #4ade80; text-shadow: 0 0 8px rgba(74,222,128,.45); }
.rtp-bar--mid  .rtp-bar-val { color: #fbbf24; text-shadow: 0 0 8px rgba(251,191,36,.35); }
.rtp-bar--low  .rtp-bar-val { color: #f87171; text-shadow: 0 0 8px rgba(248,113,113,.35); }
.rtp-bar-track {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
}
.rtp-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #a3e635);
    box-shadow: 0 0 8px rgba(34,197,94,.45);
}
.rtp-bar--mid .rtp-bar-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 8px rgba(245,158,11,.4);
}
.rtp-bar--low .rtp-bar-fill {
    background: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 8px rgba(239,68,68,.4);
}


/* RTP line — seperti referensi di bawah nama */
.rtp-line{display:flex!important;align-items:center!important;gap:6px!important;width:100%!important;margin-top:5px!important;padding:0 1px!important;box-sizing:border-box!important;pointer-events:none!important}
.rtp-line-label{flex:0 0 auto!important;font-size:9px!important;font-weight:800!important;letter-spacing:.04em!important;color:#9ca3af!important;text-transform:uppercase!important}
.rtp-line-track{flex:1 1 auto!important;height:6px!important;min-width:0!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;overflow:hidden!important;display:block!important}
.rtp-line-fill{display:block!important;height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#16a34a,#4ade80)!important;box-shadow:0 0 8px rgba(74,222,128,.45)!important}
.rtp-line-pct{flex:0 0 auto!important;font-size:10px!important;font-weight:800!important;font-variant-numeric:tabular-nums!important;color:#4ade80!important;min-width:34px!important;text-align:right!important}

