/* ===========================================================
   Pelengkap tampilan JURAGANBOLA — komponen dinamis yang tidak ada di
   blog-togel.css (data dari database + auto update result).
   =========================================================== */

/* Latar sesuai referensi (foto asli sudah disimpan lokal) */
body.juraganbola-home {
    background: url("../img/bg-main.webp") var(--third-color) !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position: center center !important;
}

/* ---------- Sidenav mobile ---------- */
#navmobile .nav-m { background-image: none; padding-left: 14px; width: 100%; }
#navmobile .closebtn { text-decoration: none; }
#navmobile .accordion-item { border: 0; }
#navmobile .accordion-body a { display: block; padding-left: 26px; }

/* Dropdown tetap bisa dipakai walau JS Bootstrap gagal dimuat */
.nav-item.dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
.navbar .dropdown-menu { background: #fff; }
.navbar .dropdown-menu .dropdown-item { color: #181818; font-size: .8rem; }
.navbar .dropdown-menu .dropdown-item:hover { background: var(--fourth-color); color: #111; }

/* ---------- Marquee / ticker ---------- */
.icon-teksberjalan i { font-size: 1.05rem; }
marquee { font-size: .88rem; }

/* ---------- Slider ---------- */
.swiper.slider-blog { width: 100%; border-radius: 4px; overflow: hidden; }
.swiper.slider-blog .swiper-slide img { display: block; width: 100%; }
.swiper-pagination-bullet-active { background: var(--fourth-color) !important; }

/* ---------- Tab Result / Prediksi / Paito / Buku Mimpi ---------- */
.btntabb { font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.btntabb.activebtnn { color: #111 !important; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

#top-pagetab { scroll-margin-top: 12px; }

/* ---------- Winner ticker ---------- */
.lastwins { height: 52px; overflow: hidden; padding-top: 20px; }
.lastwins .winner-track { animation: pd-winner 60s linear infinite; }
.lastwins .winner-track p {
    margin: 0; height: 26px; line-height: 26px; font-size: .78rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;
}
@keyframes pd-winner { to { transform: translateY(-50%); } }
.winner-wrapper { min-height: 80px; }

/* ---------- Kartu result ---------- */
.card-game .res-pasaran p.text-pasar { margin: 0 0 6px; font-weight: 700; }
.card-game .res-pasaran h3 { margin: 0; }
.card-game .res-pasaran p:last-child { margin: 6px 0 0; font-size: .78rem; }
.card-game h6 { margin-bottom: 4px; }
.card-game img { object-fit: contain; }
.card-game .info-market { cursor: pointer; color: #111; z-index: 2; }

/* Kilatan halus saat angka result berubah otomatis */
.pd-flash { animation: pd-flash 1.1s ease-out; }
@keyframes pd-flash {
    0%   { background-color: rgba(254, 216, 4, .75); }
    100% { background-color: transparent; }
}

.pd-live-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .68rem; font-weight: 700; letter-spacing: .02em;
    color: #fff; text-transform: uppercase;
}
.pd-live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #25c05a;
    box-shadow: 0 0 0 0 rgba(37, 192, 90, .7); animation: pd-pulse 1.8s infinite;
}
@keyframes pd-pulse {
    70%  { box-shadow: 0 0 0 8px rgba(37, 192, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 192, 90, 0); }
}

/* ---------- Artikel SEO ---------- */
.entry-content { color: #f1f1f1; font-size: .92rem; line-height: 1.65; text-align: left; }
.entry-content h1 { font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0 0 14px; }
.entry-content h2 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 22px 0 10px; }
.entry-content h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.entry-content h4, .entry-content h5 { color: #111 !important; }
.entry-content p { margin: 0 0 12px; }
.entry-content a { color: var(--first-color); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin: 4px 0; }
.entry-content table { color: #fcfcfd; }
.entry-content hr { border: 0; border-top: 1px solid #555; width: 75%; margin: 18px auto; }

/* ---------- Halaman dalam (kompatibilitas) ---------- */
body.tg .page-head, body.tg .page-body { position: relative; z-index: 1; }
body.tg .entry-content { max-width: 100%; }

/* ---------- Footer ---------- */
footer.text-light p { margin: 0; }

/* ---------- Responsive kecil ---------- */
@media (max-width: 600px) {
    .lastwins { height: 46px; }
    .card-game .res-pasaran h3 { font-size: 2.1rem; }
    .btntabb { font-size: .68rem; padding: 6px 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .lastwins .winner-track, .pd-live-dot, .pd-flash { animation: none !important; }
}

/* ===========================================================
   PERBAIKAN TAMPILAN JURAGANBOLA
   1) Jam & tanggal sejajar dengan tombol WhatsApp
   2) Bingkai banner utama dikunci 600x280
   3) FAQ tidak tertutup warna
   4) Slider winner cukup 1 baris teks
   =========================================================== */

/* ---------- 1. Header atas ----------
   Desktop: tombol WhatsApp + jam sejajar di kanan.
   HP     : blok desktop DISembunyikan (cukup 1 bar hijau di paling atas),
            deretan link dirapikan jadi 1–2 baris tanpa tumpang tindih. */
.top-nav { height: auto !important; min-height: 53px; padding-top: 6px !important; padding-bottom: 6px !important; }

@media (max-width: 991.98px) {
    .top-nav .wa-desc { display: none !important; }
    .top-nav .d-flex { flex-wrap: wrap; }
    .top-nav .wrap-list { width: 100%; }
    .top-list {
        display: flex !important; flex-wrap: wrap; align-items: center;
        justify-content: center; gap: 4px 12px;
        margin: 0 !important; padding: 0 !important;
    }
    .top-list > li { display: inline-flex; align-items: center; margin: 0 !important; }
    .top-list > li::after { content: none !important; display: none !important; }
    .top-list > li a { font-size: 10.5px !important; white-space: nowrap; }
    .top-list .icon-apk { width: 16px !important; margin-right: 4px !important; }
    header > .m-0.d-lg-none .bg-wa .title-wa { padding: 5px !important; font-size: .78rem !important; }
}

@media (min-width: 992px) {
    .top-nav .wa-desc {
        display: flex !important; align-items: center;
        justify-content: flex-end; gap: 10px;
    }
    .top-nav .wa-desc .bg-wa { flex: none; }
    .top-nav .wa-desc p {
        margin: 0 !important; padding: 0 !important; white-space: nowrap;
        font-size: .72rem; line-height: 1.2; color: #fff;
    }
    .top-nav .wa-desc p i { color: var(--first-color); margin-right: 3px; }
    .top-nav .wa-desc p br { display: none; }
}

/* ---------- 1b. Banner samping: TAMPIL UTUH, TANPA POTONG ----------
   Gambar yang diunggah bisa ukuran berapa saja (mis. 650×150 / 640×148).
   Bingkai TIDAK dipaksa ke rasio tetap: tinggi mengikuti rasio ASLI gambar,
   lebar selalu 100% kolom. Tidak ada crop & tidak ada distorsi, jadi teks
   dan logo di banner tidak pernah putus lagi. 720×102 tetap ukuran ANJURAN
   (dipakai placeholder bawaan) supaya 4 banner sejajar dengan slider. */
.side-banner-link { display: block; }
.side-banner-img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 4px;
}

/* ---------- 2. Bingkai slider utama: KUNCI 600 x 280 ---------- */
/* Rasio 600/280 dipaksa; gambar apa pun yang diunggah dipotong
   otomatis mengikuti bingkai (object-fit: cover). */
.swiper.slider-blog {
    width: 100% !important;
    aspect-ratio: 600 / 280 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 4px;
    overflow: hidden;
}
.swiper.slider-blog .swiper-wrapper { height: 100% !important; }
.swiper.slider-blog .swiper-slide {
    height: 100% !important;
    display: flex;
    align-items: stretch;
}
.swiper.slider-blog .swiper-slide > a {
    display: block;
    width: 100%;
    height: 100%;
}
.swiper.slider-blog .swiper-slide img,
.swiper.slider-blog .swiper-slide img.swiper-lazy {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}
.swiper.slider-blog .swiper-lazy-preloader { display: none; }

/* ---------- 3. FAQ: judul kuning solid, teks terbaca ---------- */
.entry-content h4,
.entry-content h5 {
    display: block !important;
    position: relative;
    z-index: 1;
    background: #fed804 !important;
    color: #111111 !important;
    padding: 8px 10px !important;
    margin: 16px 0 8px !important;
    border-radius: 3px;
    font-size: 1rem !important;
    line-height: 1.45;
    clear: both;
}
.entry-content h4 strong,
.entry-content h5 strong {
    color: #111111 !important;
    background: transparent !important;
}
.entry-content h4 + p,
.entry-content h5 + p {
    color: #f1f1f1 !important;
    background: transparent !important;
    margin-top: 4px !important;
    display: block;
    position: relative;
    z-index: 1;
}

/* ---------- 4. Winner Togel: cukup satu baris teks ---------- */
.winner-wrapper {
    position: relative;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 6px 0 88px !important;
    border: 1px solid var(--fifth-color);
    border-radius: 7px;
    overflow: hidden;
}
.label-winner {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    padding: 0 9px !important;
    background: var(--fourth-color) !important;
    color: #111 !important;
    font-size: .68rem !important;
    font-weight: 700;
    white-space: nowrap;
}
.lastwins {
    height: 30px !important;
    padding-top: 0 !important;
    overflow: hidden;
}
.lastwins .winner-track p {
    height: 30px !important;
    line-height: 30px !important;
    font-size: .74rem !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}
/* Tetap berjalan seperti semula */
.lastwins .winner-track { animation: pd-winner 60s linear infinite; }
@media (max-width: 600px) {
    .winner-wrapper { padding-left: 82px !important; }
}

/* ===========================================================
   5. DESAIN HEADER ala referensi (gambar 2)
   Topbar gelap + navbar tebal bergaris emas + badge pill NEW!/HOT!
   + satu tombol CTA menyala + bar teks berjalan berkotak emas.
   Berlaku di beranda & halaman dalam. Aturan navbar/topbar khusus
   desktop (>=992px) supaya header HP yang sudah rapi tidak berubah.
   Semua menu, label, ikon & tautan tetap berasal dari panel.
   =========================================================== */

/* ---------- 5a. Bar teks berjalan: kotak emas + ikon kotak kuning ---------- */
.pd-ticker {
    display: flex !important;
    align-items: center;
    background: #0d0d0d !important;
    border: 1px solid var(--first-color, #fed804) !important;
    border-radius: 3px;
    height: 34px;
    overflow: hidden;
    box-shadow: 0 0 9px rgba(254, 216, 4, .16);
}
.pd-ticker .icon-teksberjalan {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex: 0 0 34px;
    width: 34px;
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background: var(--first-color, #fed804) !important;
    z-index: 2;
}
.pd-ticker .icon-teksberjalan i { color: #181400 !important; font-size: 1rem !important; }
.pd-ticker marquee {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 10px !important;
    border-bottom: 0 !important;
    color: var(--first-color, #fed804) !important;
    font-size: .8rem !important;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

/* CTA hanya tampil di navbar desktop */
.nav-cta-glow { display: none; }

@media (min-width: 992px) {
    /* ---------- 5b. Topbar ---------- */
    .top-nav {
        background: #101010 !important;
        border-bottom: 1px solid #2b2b2b !important;
    }
    .top-nav .top-list > li > a {
        color: #eaeaea !important;
        font-size: .72rem !important;
        font-weight: 600 !important;
        letter-spacing: .35px;
        text-transform: uppercase;
    }
    .top-nav .top-list > li > a:hover { color: var(--first-color, #fed804) !important; }
    .top-nav .top-list > li::after { color: #707070 !important; }
    .top-nav .wa-desc .bg-wa {
        background: linear-gradient(180deg, #1cbb2b 0%, #0b8f17 100%) !important;
        border-radius: 4px !important;
        padding: 5px 12px !important;
        box-shadow: 0 0 10px rgba(17, 161, 22, .35);
    }
    .top-nav .wa-desc .bg-wa .title-wa {
        color: #fff !important;
        font-size: .74rem !important;
        font-weight: 800 !important;
        letter-spacing: .4px;
        text-transform: uppercase;
        padding: 0 !important;
    }
    .top-nav .wa-desc p { color: #eaeaea !important; font-size: .72rem !important; }
    .top-nav .wa-desc p i { color: var(--first-color, #fed804) !important; }

    /* ---------- 5c. Navbar: garis emas tebal + menu tebal ---------- */
    .nav-bar {
        background: #121212 !important;
        border-bottom: 3px solid var(--first-color, #fed804) !important;
        box-shadow: 0 3px 14px rgba(254, 216, 4, .18) !important;
        padding: 0 !important;
    }
    .nav-bar .navbar { min-height: 54px; }
    .nav-bar .navbar-brand { width: 8rem !important; margin-right: .5rem !important; }
    .nav-bar .navbar-collapse { align-items: center; }
    .nav-bar .navbar-nav { align-items: center; }
    .nav-bar .navbar-nav > .nav-item > .nav-link {
        color: #fff !important;
        background: transparent !important;
        font-size: .8rem !important;
        font-weight: 800 !important;
        letter-spacing: .4px;
        text-transform: uppercase;
        padding: 13px 8px !important;
        margin-right: 0 !important;
        border-radius: 3px !important;
        white-space: nowrap;
    }
    .nav-bar .navbar-nav > .nav-item > .nav-link:hover {
        background: rgba(254, 216, 4, .12) !important;
        color: var(--first-color, #fed804) !important;
    }
    .nav-bar .navbar-nav > .nav-item > .nav-link.active {
        color: var(--first-color, #fed804) !important;
    }

    /* ---------- 5d. Badge pill NEW! (emas) / HOT! (merah) ---------- */
    .nav-bar .notify {
        left: 50% !important;
        top: 2px !important;
        transform: translate(-50%, -50%) !important;
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
        z-index: 6;
    }
    .nav-bar .notify .blinks {
        display: inline-block;
        animation: none;
        padding: 3px 7px !important;
        border-radius: 999px;
        font-size: .58rem !important;
        font-weight: 800;
        line-height: 1;
        letter-spacing: .4px;
        white-space: nowrap;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .6);
    }
    .nav-bar .notify .blinks-hot { background: #e8202a !important; color: #fff !important; }
    .nav-bar .notify .blinks-new { background: var(--first-color, #fed804) !important; color: #181400 !important; }

    /* ---------- 5e. Tombol CTA menyala di ujung kanan ---------- */
    .nav-cta-glow {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        margin-left: 10px;
        padding: 9px 17px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .35);
        color: #fff;
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .5px;
        text-transform: uppercase;
        white-space: nowrap;
        text-decoration: none;
        background: linear-gradient(100deg, #ff3a1f 0%, #ff7a00 46%, #e8002a 100%);
        box-shadow: 0 0 12px rgba(255, 60, 30, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
        animation: pd-cta-pulse 2.2s ease-in-out infinite;
    }
    .nav-cta-glow:hover { color: #fff; text-decoration: none; filter: brightness(1.12); }
    .nav-cta-glow i { font-size: .9rem; }
    .nav-cta-badge {
        position: absolute;
        top: -9px;
        left: 50%;
        transform: translateX(-50%);
        background: #ffd400;
        color: #181400;
        font-size: .56rem;
        font-weight: 800;
        letter-spacing: .4px;
        padding: 2px 7px;
        border-radius: 999px;
        white-space: nowrap;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .6);
    }
    @keyframes pd-cta-pulse {
        0%, 100% { box-shadow: 0 0 10px rgba(255, 60, 30, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
        50%      { box-shadow: 0 0 20px rgba(255, 90, 30, .9),  inset 0 1px 0 rgba(255, 255, 255, .35); }
    }
}

/* Layar desktop menengah: rapatkan menu supaya 10 menu + logo + CTA muat
   dalam container 960–1140px tanpa wrap / overflow (container baru melebar
   ke 1320px pada layar >= 1400px). */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .nav-bar .navbar-collapse { flex-wrap: nowrap; }
    .nav-bar .navbar-nav > .nav-item > .nav-link {
        font-size: .68rem !important;
        padding: 12px 4px !important;
        letter-spacing: 0;
    }
    .nav-bar .navbar-brand { width: 6.4rem !important; }
    .nav-cta-glow { margin-left: 8px; padding: 8px 11px; font-size: .68rem; }
}

/* ===========================================================
   6. Samakan tinggi SLIDER TENGAH dengan tumpukan banner samping
   Kolom kiri dijadikan flex-column; slider (flex:1) mengisi sisa
   tinggi kolom sampai bahunya sejajar dengan banner samping.
   Jumlah banner samping boleh berapa pun — tinggi slider otomatis
   mengikuti, tanpa angka hardcoded. Bingkai 600/280 tetap jadi
   ukuran minimum (fallback) kalau banner samping lebih sedikit.
   Hanya desktop: di HP banner samping memang disembunyikan.
   =========================================================== */
@media (min-width: 992px) {
    .bg-mainslide > .col-lg-7 { display: flex; flex-direction: column; }
    .bg-mainslide > .col-lg-7 > .swiper.slider-blog { flex: 1 1 auto; }
    /* Baris tombol CTA tidak ikut melar, tingginya tetap natural. */
    .bg-mainslide > .col-lg-7 > .row { flex: 0 0 auto; }
}

/* ===========================================================
   7. HALAMAN KHUSUS "BUKTI JACKPOT" (/bukti-jackpot)
   Galeri kartu bukti pembayaran + halaman detail. Semua selector
   diawali .tg supaya mengalahkan aturan bawaan css.blade.php / tema.
   Warna emas mengikuti --first-color (#fed804) dari panel.
   =========================================================== */
.tg .jp-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(254, 216, 4, .35);
    border-radius: 12px;
    padding: 26px 26px 24px;
    background:
        radial-gradient(circle at 85% 15%, rgba(254, 216, 4, .20), transparent 55%),
        linear-gradient(135deg, #1a1600 0%, #0a0a0a 62%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tg .jp-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--first-color, #fed804), transparent);
}
.tg .jp-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .66rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
    color: #181400; background: var(--first-color, #fed804);
    padding: 5px 11px; border-radius: 999px;
}
.tg .jp-hero h2 {
    margin: 14px 0 8px; color: var(--first-color, #fed804);
    font-size: clamp(1.35rem, 3.1vw, 2.05rem); font-weight: 800;
    line-height: 1.18; letter-spacing: .5px; text-transform: uppercase;
}
.tg .jp-sub { margin: 0; max-width: 780px; color: #d3d3d3; font-size: .88rem; line-height: 1.7; }
.tg .jp-sub b { color: var(--first-color, #fed804); }
.tg .jp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tg .jp-stat {
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(254, 216, 4, .25);
    border-radius: 8px; padding: 12px 14px;
}
.tg .jp-stat b { display: block; color: var(--first-color, #fed804); font-size: 1.32rem; line-height: 1.2; }
.tg .jp-stat span { display: block; margin-top: 3px; color: #a9a9a9; font-size: .66rem; letter-spacing: .7px; text-transform: uppercase; }
.tg .jp-cta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tg .jp-cta a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 18px; border-radius: 6px; font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .4px; text-decoration: none;
    color: #181400 !important; background: var(--first-color, #fed804);
    box-shadow: 0 4px 14px rgba(254, 216, 4, .22); transition: .18s;
}
.tg .jp-cta a:hover { filter: brightness(1.1); transform: translateY(-1px); }
.tg .jp-cta a.jp-cta-alt { color: #fff !important; background: #d61f35; box-shadow: 0 4px 14px rgba(214, 31, 53, .25); }

.tg .jp-featured { margin: 24px 0 4px; }
.tg .jp-featured .jp-section-title { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(254, 216, 4, .3); }
.tg .jp-featured .jp-count { display: inline-block; margin: 0 0 0 6px; font-weight: 400; text-transform: none; letter-spacing: 0; color: #9a9a9a; }

.tg .jp-toolbar {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 12px; margin: 26px 0 14px; padding-bottom: 12px;
    border-bottom: 1px solid #2a2a2a;
}
.tg .jp-section-title { margin: 0; color: var(--first-color, #fed804); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.tg .jp-count { display: block; margin-top: 4px; color: #8e8e8e; font-size: .74rem; }
.tg .jp-search { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.tg .jp-search input {
    width: 220px; max-width: 100%; padding: 9px 11px; border-radius: 6px;
    border: 1px solid #3a3a3a; background: #151515; color: #fff; font: inherit; font-size: .8rem;
}
.tg .jp-search input:focus { outline: 2px solid var(--first-color, #fed804); outline-offset: -1px; }
.tg .jp-search button {
    padding: 9px 14px; border: 0; border-radius: 6px; cursor: pointer;
    background: var(--first-color, #fed804); color: #181400; font: inherit; font-size: .76rem; font-weight: 800;
}
.tg .jp-search a.jp-reset { color: #bdbdbd !important; font-size: .74rem; text-decoration: underline; }

.tg .jp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tg .jp-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #111; border: 1px solid #2a2a2a; border-radius: 10px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tg .jp-card:hover { transform: translateY(-3px); border-color: var(--first-color, #fed804); box-shadow: 0 12px 28px rgba(0, 0, 0, .6); }
.tg .jp-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.tg .jp-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .35s; }
.tg .jp-card:hover .jp-thumb img { transform: scale(1.05); }
.tg .jp-lunas {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    padding: 5px 10px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .7px;
    color: #fff; background: linear-gradient(135deg, #ff3a1f, #e8002a);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .6);
}
.tg .jp-zoom {
    position: absolute; inset: auto 0 0 0; z-index: 2; padding: 8px 12px;
    font-size: .7rem; font-weight: 700; color: #fff; text-align: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
    opacity: 0; transform: translateY(6px); transition: .2s;
}
.tg .jp-card:hover .jp-zoom { opacity: 1; transform: translateY(0); }
.tg .jp-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 13px 14px 14px; }
.tg .jp-cat { color: var(--first-color, #fed804); font-size: .62rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.tg .jp-title { margin: 0; color: #f4f4f4; font-size: .9rem; font-weight: 700; line-height: 1.4; }
.tg .jp-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #949494; font-size: .71rem; }
.tg .jp-meta i { color: var(--first-color, #fed804); margin-right: 3px; }
.tg .jp-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: auto; padding-top: 10px; border-top: 1px dashed #333;
}
.tg .jp-amount { color: var(--first-color, #fed804); font-size: 1rem; font-weight: 800; }
.tg a.jp-detail {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 5px;
    color: #181400 !important; background: var(--first-color, #fed804);
    font-size: .68rem; font-weight: 800; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.tg a.jp-detail:hover { filter: brightness(1.1); }

.tg .jp-empty { padding: 46px 20px; text-align: center; background: #111; border: 1px dashed #3a3a3a; border-radius: 10px; color: #bbb; }
.tg .jp-empty i { font-size: 2rem; color: var(--first-color, #fed804); }
.tg .jp-empty a { color: var(--first-color, #fed804) !important; font-weight: 700; text-decoration: underline; }

.tg .jp-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; }
.tg .jp-pager a, .tg .jp-pager span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; padding: 8px 10px; border-radius: 5px;
    border: 1px solid #3a3a3a; background: #151515; color: #e6e6e6 !important;
    font-size: .74rem; font-weight: 700; text-decoration: none;
}
.tg .jp-pager a:hover { border-color: var(--first-color, #fed804); color: var(--first-color, #fed804) !important; }
.tg .jp-pager span.jp-on { background: var(--first-color, #fed804); color: #181400 !important; border-color: var(--first-color, #fed804); }
.tg .jp-pager span.jp-dis { opacity: .4; }
.tg .jp-pager span.jp-of { border: 0; background: transparent; color: #9a9a9a !important; }

.tg .jp-article { margin-top: 28px; padding: 22px; background: #0d0d0d; border: 1px solid #2a2a2a; border-radius: 10px; color: #cfcfcf; font-size: .87rem; line-height: 1.8; }
.tg .jp-article h2 { margin: 0 0 12px; color: var(--first-color, #fed804); font-size: 1.12rem; font-weight: 800; text-transform: uppercase; }
.tg .jp-article h3 { margin: 22px 0 12px; padding: 8px 11px; border-radius: 5px; background: rgba(254, 216, 4, .12); color: var(--first-color, #fed804); font-size: .95rem; font-weight: 800; }
.tg .jp-article p { margin: 0 0 12px; }
.tg .jp-article b { color: #fff; }
.tg .jp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.tg .jp-feature { padding: 13px; border-left: 3px solid var(--first-color, #fed804); border-radius: 6px; background: #141414; }
.tg .jp-feature b { display: block; margin-bottom: 5px; color: var(--first-color, #fed804); font-size: .82rem; }
.tg .jp-feature p { margin: 0; font-size: .78rem; line-height: 1.65; }

.tg .jp-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 18px; padding: 18px 22px; border-radius: 10px;
    border: 1px solid rgba(254, 216, 4, .35);
    background: linear-gradient(100deg, #1a1600, #0a0a0a 70%);
}
.tg .jp-band b { display: block; color: var(--first-color, #fed804); font-size: 1.02rem; }
.tg .jp-band span { display: block; margin-top: 3px; color: #bdbdbd; font-size: .8rem; }
.tg .jp-band > a {
    display: inline-flex; align-items: center; gap: 7px; padding: 11px 20px; border-radius: 6px;
    color: #181400 !important; background: var(--first-color, #fed804);
    font-size: .78rem; font-weight: 800; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.tg .jp-band > a:hover { filter: brightness(1.1); }

/* ---------- Halaman detail ---------- */
.tg .jp-detail-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.tg .jp-detail-img { position: relative; overflow: hidden; border: 1px solid #2f2f2f; border-radius: 10px; background: #000; }
.tg .jp-detail-img img { display: block; width: 100% !important; height: auto !important; }
.tg .jp-info { padding: 18px; border: 1px solid #2a2a2a; border-radius: 10px; background: #111; }
.tg .jp-info h2 { margin: 8px 0 6px; color: #fff; font-size: 1.08rem; line-height: 1.4; }
.tg .jp-big { margin: 4px 0 10px; color: var(--first-color, #fed804); font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
.tg .jp-status { display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 5px; background: rgba(55, 201, 74, .14); color: #55d96a; font-size: .7rem; font-weight: 800; letter-spacing: .4px; }
.tg .jp-dl { margin: 0 0 16px; }
.tg .jp-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #262626; font-size: .8rem; }
.tg .jp-dl dt { color: #949494; }
.tg .jp-dl dd { margin: 0; color: #eee; font-weight: 600; text-align: right; }
.tg .jp-dl dd.jp-gold { color: var(--first-color, #fed804); }
.tg a.jp-back { display: inline-block; margin-top: 14px; color: var(--first-color, #fed804) !important; font-size: .78rem; font-weight: 700; text-decoration: underline; }
.tg .jp-related-title { margin: 28px 0 14px; }
.tg .jp-grid-related { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991.98px) {
    .tg .jp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg .jp-detail-wrap { grid-template-columns: 1fr; }
    .tg .jp-grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg .jp-features { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .tg .jp-hero { padding: 20px 16px; }
    .tg .jp-grid, .tg .jp-grid-related, .tg .jp-stats { grid-template-columns: 1fr; }
    .tg .jp-toolbar { flex-direction: column; align-items: stretch; }
    .tg .jp-search input { width: 100%; }
    .tg .jp-band { flex-direction: column; align-items: stretch; text-align: center; }
    .tg .jp-band > a { justify-content: center; }
}

/* Tautan di beranda (body juraganbola-home, bukan .tg) menuju halaman jackpot. */
.jp-all-link {
    display: block; margin: -4px 0 4px; padding: 7px 10px; text-align: center;
    border: 1px solid rgba(254, 216, 4, .45); border-radius: 5px;
    background: rgba(254, 216, 4, .08); color: var(--first-color, #fed804) !important;
    font-size: .72rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    text-decoration: none;
}
.jp-all-link:hover { background: rgba(254, 216, 4, .18); }
