:root {
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;

    /* TEMA LAMIANBET – BIRU – PUTIH – NATAL */
    --bg-color: #edf2f7;
    --text-first: #0f172a;
    --text-second: #4b5563;
    
    --first-color: #0ea5e9;   /* biru cerah / cyan */
    --second-color: #1d4ed8;  /* biru tua */
    --third-color: #facc15;   /* emas */
    --fourth-color: #0f172a;  /* navy gelap */
    --fifth-color: #e11d2f;   /* merah aksen (label / warning) */

    --g1: #0ea5e9;  /* gradient biru muda */
    --g2: #1d4ed8;  /* gradient biru tua */
}

/* ===================== GLOBAL ===================== */

body {
    background: var(--bg-color) !important;
    color: var(--text-first);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* LOGO DI ATAS RTP */
.logo img {
    width: 19rem;
    display: block;
    margin: 1.9rem auto 1rem;
    filter:
        drop-shadow(0 4px 10px rgba(15, 23, 42, 0.35));
}

/* ===================== CARD RTP & GAMBAR ===================== */

.rtp-card {
    background: radial-gradient(circle at top, #ffffff 0%, #e2ecff 55%, #d9e4ff 100%);
    padding: 0.7rem;
    text-align: center;
    width: 24rem;
    max-width: 100%;
    height: 100%;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow:
        0 12px 20px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(226, 232, 240, 0.85);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rtp-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(129, 140, 248, 0.9);
}

.rtp-card-img {
    max-width: 100%;
    width: 29rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.45);
}

/* WRAPPER GAMBAR RTP */
.place-img-rtp {
    width: 100%;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-items: center;
    border-radius: 12px;
    box-shadow:
        inset 0 0 8px rgba(15, 23, 42, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.5);
    background: radial-gradient(circle at center, #dbeafe 0%, #1e293b 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.place-img-rtp:hover {
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(37, 99, 235, 0.6),
        0 0 0 1px rgba(59, 130, 246, 0.85);
}

/* TOMBOL PLAY DI ATAS GAMBAR */
.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    width: 12rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    max-width: 70%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, #facc15 0%, #fb923c 45%, #ef4444 100%);
    color: #fefce8;
    letter-spacing: 0.09em;
    box-shadow:
        0 8px 14px rgba(15, 23, 42, 0.8),
        0 0 20px rgba(250, 204, 21, 0.9);
    text-shadow: 0 0 4px rgba(15, 23, 42, 0.95);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-play:hover {
    background: linear-gradient(135deg, #fef9c3 0%, #facc15 35%, #0ea5e9 100%);
    transform: translate(-50%, -50%) scale(1.07);
    box-shadow:
        0 10px 20px rgba(30, 64, 175, 0.9),
        0 0 24px rgba(96, 165, 250, 0.9);
}

/* BADGE TOP/HOT GAME */
.top-game,
.hot-game {
    background-repeat: no-repeat !important;
    position: absolute;
    width: 3rem;
    top: 0rem;
    z-index: 2;
    height: 2.9rem;
    left: 0.4rem;
    filter: drop-shadow(0 0 6px rgba(15, 23, 42, 0.85));
}

.top-game {
    background: url('../images/top.gif');
}

.hot-game {
    background: url('../images/hot.gif');
}

/* ICON PROVIDERS DI POJOK GAMBAR BESAR */
.icon-providers {
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 2.2rem;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 3;
}

.icon-providers img {
    width: 1.9rem;
    filter: drop-shadow(0 0 6px rgba(15, 23, 42, 0.95));
}

/* ===================== POLA SLOT & JAM ===================== */

.pola-wrapper {
    background: linear-gradient(145deg, #ffffff 0%, #e5edff 60%, #dbeafe 100%);
    padding: 1rem 0.9rem;
    width: 14rem;
    max-width: 100%;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow:
        0 8px 16px rgba(148, 163, 184, 0.4);
    color: var(--text-first);
    margin-top: 0.4rem;
}

/* HEADER POLA SLOT – AGAR TIDAK TUMPANG TINDIH DENGAN LOGO PROVIDER */
.pola-wrapper h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
    position: relative;
    padding-right: 2.6rem;   /* ruang untuk logo provider di kanan */
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #0f172a;
}

.pola-wrapper h4 img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-height: 1.1rem;
    width: auto;
}

/* SUBTITLE */
.pola-wrapper h5 {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
    color: var(--text-second);
}

.pola-wrapper h4 i,
.pola-wrapper h5 i {
    color: var(--second-color);
}

/* JAM WRAPPER (BULAT) */
.jam-wrapper {
    background: radial-gradient(circle at center, #dbeafe 0%, #1d4ed8 100%);
    border-radius: 50%;
    padding: 0.6rem;
    box-shadow:
        0 0 10px rgba(59, 130, 246, 0.7);
}

/* TABEL POLA */
.table-pola {
    max-width: 100%;
    width: 9rem;
}

.table-pola tr td {
    text-align: center;
    font-size: 0.7rem;
    color: #0f172a;
}

/* ===================== SLIDER HEADER ===================== */

.slider,
.swiper {
    width: 50rem;
    max-width: 100%;
}

.slider {
    padding: 1rem;
}

.slider-img {
    width: 40rem;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.4);
}

.slider-wrapper {
    background: #0b1120;
    height: 100%;
    border-bottom: 2px solid rgba(37, 99, 235, 0.55);
}

/* ===================== RUNNING TEXT (MARQUEE) ===================== */

.running-text {
    background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 60%);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    color: #f9fafb;
    padding: 0.25rem 0.7rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 4px rgba(15, 23, 42, 0.9);
}

/* ===================== BAR ICON PROVIDER ===================== */

.icon-prov {
    background: #0b1120;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: auto !important;
    box-shadow:
        0 0 12px rgba(15, 23, 42, 0.8),
        inset 0 0 6px rgba(37, 99, 235, 0.4);
}

.icon-card-bg {
    cursor: pointer;
    padding: 0.1rem !important;
    color: var(--text-second);
    transition: transform 0.15s ease, text-shadow 0.15s ease;
}

.icon-card-bg p {
    font-size: 0.73rem;
    font-weight: 700;
    color: #e5e7eb;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow:
        0 0 4px rgba(30, 64, 175, 0.7);
}

.icon-card-bg:hover p {
    transform: translateY(-1px);
    text-shadow:
        0 0 6px rgba(59, 130, 246, 0.9);
}

.img-prov {
    display: block;
    margin-right: auto;
    margin-left: auto;
    filter: drop-shadow(0 0 8px rgba(15, 23, 42, 0.75));
}

.item-prov {
    padding: 0 0.5rem;
}

/* ===================== BUTTON LOGIN / DAFTAR (HEADER DI RTP) ===================== */

.btn-credit {
    background: linear-gradient(180deg, #e0f2fe 0%, #0ea5e9 40%, #1d4ed8 100%);
    padding: 0.6rem;
    color: #ffffff !important;
    border: none;
    font-weight: 800;
    border-right: 1px solid rgba(15, 23, 42, 0.25);
    text-shadow: 0 0 3px rgba(15, 23, 42, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-credit:hover {
    background: linear-gradient(180deg, #f9fafb 0%, #60a5fa 40%, #1e40af 100%);
}

/* ===================== NAV BOTTOM (HOME / PROMOSI / DAFTAR / LIVECHAT) ===================== */

.nav-bottom {
    position: fixed;
    bottom: 0;
    display: flex;
    z-index: 11;
    overflow: hidden;
    width: 100%;
    border-top: 3px solid var(--third-color);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.55);
    background: #0b1120;
}

.item-nav-bottom {
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: #f9fafb;
    font-weight: 800;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.4rem 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-nav-bottom:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
    cursor: pointer;
}

.item-nav-bottom p {
    margin: 0;
    padding: 0;
}

/* BUTTON SCROLL-UP */
.btn-up {
    display: none;
    position: fixed;
    bottom: 3.8rem;
    right: 0;
    z-index: 99;
    font-size: 0.9rem;
}

/* ===================== PERSENTASE RTP BAR ===================== */

.percent {
    height: 19px;
    margin-top: 10px !important;
    display: flex;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e5e7eb;
    position: relative;
    z-index: 1;
    border-radius: 6px;
    width: 100%;
    margin: 0 auto;
    box-shadow:
        inset 0 0 4px rgba(148, 163, 184, 0.9),
        0 0 6px rgba(148, 163, 184, 0.5);
}

.percent p {
    z-index: 15;
    position: absolute;
    text-align: center;
    width: 100%;
    font-size: 13px;
    top: -15px;
    font-weight: 800;
    transform: translateY(14px);
    color: #0f172a;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

.percent-bar {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, .25) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .25) 50%,
        rgba(255, 255, 255, .25) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    transition: width .6s ease;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 1s linear infinite;
    z-index: 10;
}

/* WARNA BAR */
.good {
    background-color: #22c55e;  /* hijau terang */
}

.great {
    background-color: #0ea5e9;  /* biru / cyan */
}

.bad {
    background-color: #ef4444;  /* merah warning */
}

/* ===================== CONTENT HOME WRAPPER ===================== */

.content-home {
    padding: 1rem;
    margin-bottom: 4rem;
    background: #ffffff;
    color: #0f172a;
    border-radius: 18px 18px 0 0;
    box-shadow:
        0 -4px 20px rgba(15, 23, 42, 0.22);
}

/* ===================== CONTAINER WIDTH ===================== */

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1100px !important;
    }
}

/* ===================== PENYERAGAMAN TOMBOL ===================== */

.btn-credit,
.nav-bottom .item-nav-bottom {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-bottom .item-nav-bottom {
    border-right: 1px solid rgba(15, 23, 42, 0.45);
}

.nav-bottom .item-nav-bottom:last-child {
    border-right: none;
}

.nav-bottom .item-nav-bottom p,
.nav-bottom .item-nav-bottom i {
    color: #f9fafb !important;
    text-shadow: 0 0 2px rgba(15, 23, 42, 0.9);
}
:root {
    --smaller-font: 0.7rem;
    --small-font: 0.87rem;
    --normal-font: 1rem;
    --medium-font: 1.1rem;
    --large-font: 1.7rem;
    --x-large-font: 2rem;

    /* THEME RSLOT7 - BLUE / DARK MODE TOTAL */
    --bg-color: #000000;
    --text-first: #f1f5f9;
    --text-second: #94a3b8;

    --first-color: #1d4ed8;   /* blue */
    --second-color: #60a5fa;  /* light blue */
    --third-color: #facc15;   /* yellow gold */
    --fourth-color: #0f172a;  /* navy dark */
    --fifth-color: #ef4444;   /* red for HOT */

    --g1: #0ea5e9;
    --g2: #1d4ed8;
}

/* ================= GLOBAL ================= */

body {
    background: #000000 !important;
    color: var(--text-first);
    font-family: "Segoe UI", sans-serif;
}

/* ================= LOGO ================= */

.logo img {
    width: 19rem;
    margin: 1.9rem auto 1rem;
    display: block;
    filter: drop-shadow(0 0 6px #0ea5e9);
}

/* ================= RTP CARD ================= */

.rtp-card {
    background: #0b0f19 !important;
    padding: 0.7rem;
    width: 24rem;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.9);
    transition: .2s ease;
}

.rtp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.95);
}

/* gambar game */
.rtp-card-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
}

/* wrapper gambar */
.place-img-rtp {
    background: #000000 !important;
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 15px rgba(14,165,233,.4);
}

/* ================= HOT / TOP BADGES ================= */

.hot-game,
.top-game {
    width: 3rem;
    height: 2.9rem;
    top: 0.4rem;
    left: 0.4rem;
    position: absolute;
    z-index: 2;
}

/* ================= PROVIDER ICON ================= */

.icon-providers {
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
}

.icon-providers img {
    width: 2rem;
}

/* ================= POLA SLOT BOX ================= */

.pola-wrapper {
    background: #0a0f18 !important;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-first);
    box-shadow: 0 8px 18px rgba(0,0,0,0.9);
}

.pola-wrapper h4 {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    padding-right: 2.5rem;
    color: var(--text-first);
}

.pola-wrapper h5 {
    font-size: 0.7rem;
    color: var(--text-second);
}

/* Tabel pola */
.table-pola {
    width: 100%;
}

.table-pola td {
    color: var(--text-first);
}

/* ================= SLIDER ================= */

.slider-wrapper {
    background: #000000 !important;
}

.slider-img {
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.9);
}

/* ================= RUNNING TEXT ================= */

.running-text {
    background: linear-gradient(90deg, var(--g1), var(--g2));
    color: white;
    padding: 0.3rem 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 1rem;
}

/* ================= PROVIDER HORIZONTAL BAR ================= */

.icon-prov {
    background: #000814 !important;
    box-shadow: inset 0 0 10px rgba(14,165,233,0.3);
}

.icon-card-bg p {
    color: #f1f5f9;
    text-shadow: 0 0 8px rgba(30,64,175,0.8);
}

.img-prov {
    filter: drop-shadow(0 0 6px rgba(14,165,233,0.9));
}

/* ================= RTP PERSEN BAR ================= */

.percent {
    background: #1e293b !important;
    border-radius: 6px;
    height: 20px;
}

.percent p {
    color: #fff;
}

.percent-bar {
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
    border-radius: 6px;
}

.good { background: #22c55e !important; }
.great { background: #0ea5e9 !important; }
.bad { background: #ef4444 !important; }

/* ================= BOTTOM NAV ================= */

.nav-bottom {
    background: #1d4ed8 !important;
    border-top: 3px solid #facc15;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.9);
}

.item-nav-bottom {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem 0.1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.item-nav-bottom:hover {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

/* ================= WRAPPER AFTER SLIDER ================= */

.content-home {
    background: #000000 !important;
    padding: 1rem;
    color: white;
    margin-bottom: 4rem;
    border-radius: 20px 20px 0 0;
}

/* ================= FIX WIDTH LARGE SCREEN ================= */

@media (min-width: 1200px) {
    .container {
        max-width: 1100px !important;
    }
}

/* ================= BUTTON LOGIN & DAFTAR ================= */

.btn-credit {
    background: linear-gradient(180deg, #60a5fa, #1d4ed8);
    color: white !important;
    border: none;
    font-weight: 800;
    padding: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-credit:hover {
    background: linear-gradient(180deg, #93c5fd, #1e40af);
}
/* ================= POLA SLOT BOX ================= */

.pola-wrapper {
    background: #0a0f18 !important;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-first) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.9);
}

/* Judul POLA SLOT */
.pola-wrapper h4 {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    padding-right: 2.5rem;
    color: var(--text-first) !important;   /* ← sudah terang */
}

/* Subjudul POLA */
.pola-wrapper h5 {
    font-size: 0.7rem;
    color: var(--text-first) !important;   /* ← tidak abu gelap lagi */
    opacity: 0.9;
}

/* Text tabel pola */
.table-pola td {
    color: var(--text-first) !important;   /* ← putih / light */
    text-align: center;
    font-size: 0.75rem;
}
