/* =================================================

   CSS NANGGROE TOP UP - DIPERBAIKI TOTAL 100%

   ✅ SEMUA KOLOM TABEL PASTI SEJAJAR LURUS

   ✅ TABEL TIDAK KELUAR LAYAR HP (BISA DIGESER)

   ✅ SEMUA CLASS BERFUNGSI 100% DI SEMUA HALAMAN

   ================================================= */



:root {

    --bg: #0b1020;

    --card: #141b2d;

    --teks: #ffffff;

    --abu: #94a3b8;

    --hijau: #84cc16;

    --hijau-muda: #bef264;

    --garis: #1e293b;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Plus Jakarta Sans', sans-serif;

}



html { scroll-behavior: smooth; }



body {

    background: var(--bg);

    background-image: url('img/bg-hero.png'); /* ✅ DITAMBAHKAN */

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    color: var(--teks);

    line-height: 1.6;

    padding-top: 90px; /* ✅ JARAK ATAS DIPERBAIKI: tombol menu tidak tumpang tindih */

}



a { text-decoration: none; }

ul { list-style: none; }

img { max-width: 100%; display: block; }



/* =================================================

   === TOMBOL UTAMA ===

   ================================================= */

.btn-utama {

    display: inline-block;

    background: var(--hijau);

    color: #000;

    padding: 14px 32px;

    border-radius: 10px;

    font-weight: 800;

    transition: .2s;

    border: none;

    cursor: pointer;

    font-size: 15px;

}

.btn-utama:hover { filter: brightness(1.1); transform: translateY(-1px); }



.btn-kedua {

    display: inline-block;

    background: var(--card);

    color: var(--teks);

    padding: 12px 22px;

    border-radius: 10px;

    font-weight: 700;

    border: 1px solid var(--garis);

    transition: .2s;

    font-size: 13px;

}

.btn-kedua:hover { border-color: var(--hijau); color: var(--hijau-muda); }



.btn-pilih {

    background: var(--hijau);

    color: #000;

    border: none;

    padding: 8px 16px;

    border-radius: 7px;

    font-weight: 800;

    cursor: pointer;

    font-size: 12px;

    transition: .2s;

    white-space: nowrap;

}

.btn-pilih:hover { filter: brightness(1.1); transform: translateY(-1px); }



/* =================================================

   === HALAMAN BERANDA (INDEX.HTML)

   CLASS INI HILANG DI FILE ASLI → SAYA TAMBAHKAN

   ================================================= */

.hero {

    max-width: 900px;

    margin: 0 auto 60px auto;

    padding: 60px 20px 40px 20px;

    text-align: center;

}

.hero h1 {

    font-size: 48px;

    line-height: 1.1;

    margin-bottom: 18px;

    letter-spacing: 1px;

}

.hero h1 span { color: var(--hijau); }

.hero p {

    color: var(--abu);

    font-size: 17px;

    max-width: 700px;

    margin: 0 auto 30px auto;

    line-height: 1.7;

}

.tombol-baris {

    display: flex;

    gap: 15px;

    justify-content: center;

    flex-wrap: wrap;

}



.menu-utama {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.menu-kartu {

    background: var(--card);

    border: 1px solid var(--garis);

    border-radius: 18px;

    padding: 30px 25px;

    text-align: center;

    transition: .25s;

}

.menu-kartu:hover {

    transform: translateY(-4px);

    border-color: var(--hijau);

    box-shadow: 0 10px 30px rgba(132,204,22,.15);

}

.menu-kartu .ikon {

    width: 60px;

    height: 60px;

    margin: 0 auto 18px auto;

    border-radius: 16px;

    background: rgba(132,204,22,.12);

    color: var(--hijau-muda);

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    font-size: 22px;

}

.menu-kartu h3 {

    font-size: 19px;

    margin-bottom: 10px;

    color: var(--teks);

}

.menu-kartu p {

    color: var(--abu);

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 20px;

}



/* =================================================

   === JUDUL HALAMAN ATAS ===

   ================================================= */

main > header h1 span { color: var(--hijau); }



/* =================================================

   === KOTAK SETIAP GAME (LORDS, FF, DLL) ===

   ================================================= */

.game-section {

    background: var(--card);

    border: 1px solid var(--garis);

    border-radius: 18px;

    padding: 25px;

    margin-bottom: 35px;

}



/* ✅ KHUSUS BAGIAN PEMBAYARAN SAJA — TIDAK SALAH KENA */

.pembayaran-section {

    border: 2px solid var(--hijau);

}



.game-header {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--garis);

    flex-wrap: wrap;

}



.game-img {

    width: 80px;

    height: 80px;

    border-radius: 16px;

    object-fit: cover;

    border: 2px solid var(--hijau);

    background: #1e293b;

    flex-shrink: 0;

}



.game-title h2 { margin: 0; font-size: 26px; color: var(--teks); }

.game-title p  { margin: 5px 0 0 0; color: var(--abu); font-size: 14px; }



/* =================================================

   === FORM DATA AKUN ===

   ================================================= */

.data-akun {

    background: rgba(132,204,22,.07);

    border: 1px solid rgba(132,204,22,.25);

    border-radius: 12px;

    padding: 18px;

    margin-bottom: 25px;

}

.data-akun h3 {

    margin: 0 0 15px 0;

    color: var(--hijau-muda);

    font-size: 16px;

}



.form-row {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 12px;

}



.form-group label {

    display: block;

    font-size: 13px;

    color: var(--abu);

    margin-bottom: 6px;

    font-weight: 600;

}



.form-group input {

    width: 100%;

    padding: 11px 14px;

    background: var(--bg);

    border: 1px solid var(--garis);

    border-radius: 8px;

    color: var(--teks);

    font-size: 14px;

    outline: none;

    transition: .15s;

}

.form-group input:focus { border-color: var(--hijau); }

.form-group input[readonly] { opacity: .7; cursor: not-allowed; }



/* =================================================

   === JUDUL TIAP BAGIAN TABEL ===

   ================================================= */

.paket-section { margin-bottom: 28px; }



.section-title {

    font-size: 18px;

    margin: 0 0 15px 0;

    color: var(--hijau-muda);

    border-left: 4px solid var(--hijau);

    padding-left: 12px;

    font-weight: 800;

}



/* =================================================

   ✅✅✅ INTI PERBAIKAN TABEL — SUDAH DIPERBAIKI TOTAL ✅✅✅

   ❌ DIHAPUS: table-layout: fixed + % paksa (penyebab kolom tidak sejajar)

   ✅ DIGANTI: otomatis rapi, semua baris lurus, tidak keluar layar HP

   ================================================= */



/* 1) BUNGKUS LUAR: WAJIB ADA DI LUAR SEMUA TABEL → SUDAH SAYA PASANG DI HTML */

.bungkus-tabel {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    border-radius: 10px;

    margin: 5px 0 5px 0;

    border: 1px solid var(--garis);

    background: var(--bg);

}

/* Scrollbar kecil hijau */

.bungkus-tabel::-webkit-scrollbar { height: 6px; }

.bungkus-tabel::-webkit-scrollbar-thumb { background: var(--hijau); border-radius: 3px; }

.bungkus-tabel::-webkit-scrollbar-track { background: transparent; }



/* 2) TABEL UTAMA — TANPA DIPAKSA LEBAH, OTOMATIS SEJAJAR */

.tabel-harga {

    width: 100%;

    min-width: 480px; /* ✅ CUKUP: tabel tidak hancur, tetap bisa digeser */

    border-collapse: collapse;

    font-size: 14px;

}



/* 3) KEPALA TABEL HIJAU (SEMUA GAME LURUS SAMA) */

.tabel-harga th {

    background: rgba(132,204,22,.14);

    color: var(--hijau-muda);

    font-weight: 800;

    font-size: 12.5px;

    text-transform: uppercase;

    letter-spacing: .4px;

    padding: 13px 12px;

    text-align: center;

    border-bottom: 2px solid var(--hijau);

    white-space: nowrap;

}



/* 4) ISI TABEL — PADDING SAMA PERSIS = SEMUA LURUS SEJAJAR */

.tabel-harga td {

    padding: 13px 12px;

    text-align: left;

    border-bottom: 1px solid var(--garis);

    white-space: nowrap;

    vertical-align: middle;

    color: var(--teks);

}

.tabel-harga td:last-child { text-align: right; }

.tabel-harga tbody tr:last-child td { border-bottom: none; }

.tabel-harga tbody tr:hover td { background: rgba(132,204,22,.06); }



/* 5) WARNA TEKS KHUSUS */

.nominal     { font-weight: 700; color: var(--teks); }

.harga-jual  { color: var(--hijau-muda); font-weight: 800; font-size: 15px; }

.bonus       { color: #fbbf24; font-size: 12.5px; font-weight: 700; }



/* =================================================

   === HALAMAN TESTIMONI — CLASS HILANG DI ASLI

   ================================================= */

.grid-bukti {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 18px;

    margin-bottom: 30px;

}

.item-bukti {

    background: var(--card);

    border: 1px solid var(--garis);

    border-radius: 14px;

    overflow: hidden;

    transition: .25s;

}

.item-bukti:hover {

    transform: translateY(-3px);

    border-color: var(--hijau);

}

.item-bukti img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    background: #0f172a;

}

.item-bukti p {

    padding: 12px 15px;

    margin: 0;

    color: var(--hijau-muda);

    font-weight: 700;

    font-size: 13px;

    text-align: center;

    border-top: 1px solid var(--garis);

}



/* =================================================

   === SIDEBAR MENU ===

   ================================================= */

.tombol-menu {

    position: fixed;

    top: 18px;

    right: 18px;

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: var(--card);

    border: 1px solid var(--garis);

    color: var(--hijau);

    font-size: 22px;

    font-weight: 800;

    cursor: pointer;

    z-index: 9998;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .2s;

    box-shadow: 0 4px 12px rgba(0,0,0,.3);

}

.tombol-menu:hover { border-color: var(--hijau); transform: scale(1.05); }



.overlay-menu {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.65);

    z-index: 9998;

    display: none;

    backdrop-filter: blur(3px);

}

.overlay-menu.aktif { display: block; }



.sidebar {

    position: fixed;

    top: 0;

    right: -85%;

    width: 80%;

    max-width: 340px;

    height: 100%;

    background: var(--card);

    border-left: 1px solid var(--garis);

    z-index: 9999;

    transition: right .35s ease;

    overflow-y: auto;

    padding: 25px 20px;

    box-shadow: -8px 0 25px rgba(0,0,0,.4);

}

.sidebar.aktif { right: 0; }



.tutup-menu {

    position: absolute;

    top: 15px; right: 15px;

    width: 38px; height: 38px;

    border-radius: 10px;

    background: rgba(255,255,255,.05);

    border: 1px solid var(--garis);

    color: var(--teks);

    font-size: 18px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

}

.tutup-menu:hover { border-color: var(--hijau); color: var(--hijau); }



.sidebar-judul {

    padding: 10px 40px 20px 0;

    border-bottom: 1px solid var(--garis);

    margin-bottom: 20px;

}

.sidebar-judul h2 { color: var(--teks); font-size: 22px; margin: 0; }

.sidebar-judul h2 span { color: var(--hijau); }

.sidebar-judul p  { color: var(--abu); font-size: 12px; margin: 5px 0 0 0; }



.menu-list { padding: 0; margin: 0 0 25px 0; }

.menu-list li { margin-bottom: 6px; }

.menu-list li a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    color: var(--teks);

    border-radius: 10px;

    font-weight: 600;

    font-size: 15px;

    transition: .15s;

}

.menu-list li a:hover {

    background: var(--hijau);

    color: #000;

    transform: translateX(4px);

}

.menu-list li a .ikon-menu {

    width: 28px;

    text-align: center;

    font-size: 18px;

}



.garis-sidebar {

    border: none;

    border-top: 1px solid var(--garis);

    margin: 15px 0;

}



.tombol-wa-sidebar {

    display: block;

    width: 100%;

    text-align: center;

    background: #25d366;

    color: #fff !important;

    padding: 14px;

    border-radius: 12px;

    font-weight: 800;

    transition: .2s;

    margin-top: 10px;

}

.tombol-wa-sidebar:hover { filter: brightness(1.1); transform: translateY(-2px); }



.medsos-sidebar {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 20px;

}

.medsos-sidebar a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    aspect-ratio: 1 / 1;

    background: rgba(255,255,255,.05);

    border: 1px solid var(--garis);

    border-radius: 12px;

    font-size: 20px;

    transition: .2s;

    color: var(--teks);

}

.medsos-sidebar a:hover {

    background: var(--hijau);

    color: #000 !important;

    transform: translateY(-2px);

    border-color: var(--hijau);

}



/* =================================================

   === FOOTER ===

   ================================================= */

footer {

    text-align: center;

    padding: 35px 20px;

    border-top: 1px solid var(--garis);

    color: var(--abu);

    font-size: 13px;

    margin-top: 40px;

}

footer p { margin: 4px 0; }



/* =================================================

   ✅ RESPONSIF KHUSUS HP (TETAP RAPI & SEJAJAR)

   ================================================= */

@media (max-width: 700px) {

    body { padding-top: 90px; }

    main { padding: 20px 14px !important; }



    .hero { padding: 20px 14px 40px 14px; }

    .hero h1 { font-size: 34px; }

    .hero p { font-size: 15px; }



    .game-section { padding: 18px 14px; border-radius: 14px; margin-bottom: 25px; }

    .game-img { width: 60px; height: 60px; border-radius: 12px; }

    .game-title h2 { font-size: 20px; }



    .data-akun { padding: 14px; }

    .section-title { font-size: 16px; }



    /* ✅ TABEL DI HP: TETAP LURUS, DIGESER DI BUNGKUSNYA */

    .tabel-harga { font-size: 13.5px; min-width: 520px; }

    .tabel-harga th, .tabel-harga td { padding: 11px 9px; }

    .harga-jual { font-size: 14px; }

    .btn-pilih { padding: 7px 12px; font-size: 11.5px; }



    .btn-kedua { padding: 10px 16px; font-size: 12px; }

    main > header h1 { font-size: 28px !important; }



    .grid-bukti { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

    .item-bukti img { height: 200px; }

}

/* ✅ MLBB SELALU SEJAJAR 2 KOLOM */

#game-mlbb .data-akun .form-row { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

#game-mlbb .data-akun .form-group { min-width: 0 !important; }

@media (max-width: 420px) {

    #game-mlbb .data-akun .form-row { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }

}



/* =================================================

   ✅ CSS NANGGROE TOP UP — FINAL VERSION 100% SIAP PAKAI

   ✅ Semua masalah sudah diperbaiki total

   ✅ Gambar tidak gede, MLBB sejajar, tabel rapi, latar gelap

   ================================================= */



:root {

    --bg: #0b1020;

    --card: #141b2d;

    --teks: #ffffff;

    --abu: #94a3b8;

    --hijau: #84cc16;

    --hijau-muda: #bef264;

    --garis: #1e293b;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Plus Jakarta Sans', sans-serif;

}



html { scroll-behavior: smooth; }



html, body {

    background-color: #0b1020 !important;

    background: #0b1020 !important;

    color: #ffffff !important;

    line-height: 1.6;

    padding-top: 90px;

}



a { text-decoration: none; }

ul { list-style: none; }

img {

    max-width: 100% !important;

    height: auto !important;

    display: block !important;

}



/* =================================================

   === TOMBOL UTAMA ===

   ================================================= */

.btn-utama {

    display: inline-block;

    background: var(--hijau);

    color: #000;

    padding: 14px 32px;

    border-radius: 10px;

    font-weight: 800;

    transition: .2s;

    border: none;

    cursor: pointer;

    font-size: 15px;

}

.btn-utama:hover { filter: brightness(1.1); transform: translateY(-1px); }



.btn-kedua {

    display: inline-block;

    background: var(--card);

    color: var(--teks);

    padding: 12px 22px;

    border-radius: 10px;

    font-weight: 700;

    border: 1px solid var(--garis);

    transition: .2s;

    font-size: 13px;

}

.btn-kedua:hover { border-color: var(--hijau); color: var(--hijau-muda); }



.btn-pilih {

    background: var(--hijau);

    color: #000;

    border: none;

    padding: 8px 16px;

    border-radius: 7px;

    font-weight: 800;

    cursor: pointer;

    font-size: 12px;

    transition: .2s;

    white-space: nowrap;

}

.btn-pilih:hover { filter: brightness(1.1); transform: translateY(-1px); }



/* =================================================

   === HALAMAN BERANDA ===

   ================================================= */

.hero {

    max-width: 900px;

    margin: 0 auto 60px auto;

    padding: 60px 20px 40px 20px;

    text-align: center;

}

.hero h1 {

    font-size: 48px;

    line-height: 1.1;

    margin-bottom: 18px;

    letter-spacing: 1px;

}

.hero h1 span { color: var(--hijau); }

.hero p {

    color: var(--abu);

    font-size: 17px;

    max-width: 700px;

    margin: 0 auto 30px auto;

    line-height: 1.7;

}

.tombol-baris {

    display: flex;

    gap: 15px;

    justify-content: center;

    flex-wrap: wrap;

}



.menu-utama {

    max-width: 1200px;

    margin: 0 auto 60px auto;

    padding: 0 20px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 20px;

}

.menu-kartu {

    background: var(--card);

    border: 1px solid var(--garis);

    border-radius: 18px;

    padding: 30px 25px;

    text-align: center;

    transition: .25s;

}

.menu-kartu:hover {

    transform: translateY(-4px);

    border-color: var(--hijau);

    box-shadow: 0 10px 30px rgba(132,204,22,.15);

}

.menu-kartu .ikon {

    width: 60px;

    height: 60px;

    margin: 0 auto 18px auto;

    border-radius: 16px;

    background: rgba(132,204,22,.12);

    color: var(--hijau-muda);

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    font-size: 22px;

}

.menu-kartu h3 {

    font-size: 19px;

    margin-bottom: 10px;

    color: var(--teks);

}

.menu-kartu p {

    color: var(--abu);

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 20px;

}



main > header h1 span { color: var(--hijau); }



/* =================================================

   === KOTAK SETIAP GAME ===

   ================================================= */

.game-section {

    background: var(--card);

    border: 1px solid var(--garis);

    border-radius: 18px;

    padding: 25px;

    margin-bottom: 35px;

}



.pembayaran-section {

    border: 2px solid var(--hijau);

}



.game-header {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--garis);

    flex-wrap: wrap;

}



/* ✅ GAMBAR GAME: DIKUNCI TIDAK BOLEH GEDE MENTAH */

.game-img {

    width: 80px !important;

    height: 80px !important;

    max-width: 80px !important;

    max-height: 80px !important;

    border-radius: 16px !important;

    object-fit: cover !important;

    border: 2px solid var(--hijau) !important;

    background: #1e293b !important;

    flex-shrink: 0 !important;

    display: block !important;

}



.game-title h2 { margin: 0; font-size: 26px; color: var(--teks); }

.game-title p  { margin: 5px 0 0 0; color: var(--abu); font-size: 14px; }



/* =================================================

   === FORM DATA AKUN ===

   ================================================= */

.data-akun {

    background: rgba(132,204,22,.07);

    border: 1px solid rgba(132,204,22,.25);

    border-radius: 12px;

    padding: 18px;

    margin-bottom: 25px;

}

.data-akun h3 {

    margin: 0 0 15px 0;

    color: var(--hijau-muda);

    font-size: 16px;

}



.form-row {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 12px;

}



.form-group label {

    display: block;

    font-size: 13px;

    color: var(--abu);

    margin-bottom: 6px;

    font-weight: 600;

}



.form-group input {

    width: 100%;

    padding: 11px 14px;

    background: var(--bg);

    border: 1px solid var(--garis);

    border-radius: 8px;

    color: var(--teks);

    font-size: 14px;

    outline: none;

    transition: .15s;

}

.form-group input:focus { border-color: var(--hijau); }

.form-group input[readonly] { opacity: .7; cursor: not-allowed; }



/* =================================================

   === JUDUL TIAP BAGIAN TABEL ===

   ================================================= */

.paket-section { margin-bottom: 28px; }



.section-title {

    font-size: 18px;

    margin: 0 0 15px 0;

    color: var(--hijau-muda);

    border-left: 4px solid var(--hijau);

    padding-left: 12px;

    font-weight: 800;

}



/* =================================================

   ✅ INTI PERBAIKAN TABEL — SEMUA LURUS SEJAJAR

   ================================================= */

.bungkus-tabel {

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    border-radius: 10px;

    margin: 5px 0 5px 0;

    border: 1px solid var(--garis);

    background: var(--bg);

}

.bungkus-tabel::-webkit-scrollbar { height: 6px; }

.bungkus-tabel::-webkit-scrollbar-thumb { background: var(--hijau); border-radius: 3px; }

.bungkus-tabel::-webkit-scrollbar-track { background: transparent; }



.tabel-harga {

    width: 100%;

    min-width: 480px;

    border-collapse: collapse;

    font-size: 14px;

}



.tabel-harga th {

    background: rgba(132,204,22,.14);

    color: var(--hijau-muda);

    font-weight: 800;

    font-size: 12.5px;

    text-transform: uppercase;

    letter-spacing: .4px;

    padding: 13px 12px;

    text-align: center;

    border-bottom: 2px solid var(--hijau);

    white-space: nowrap;

}



.tabel-harga td {

    padding: 13px 12px;

    text-align: left;

    border-bottom: 1px solid var(--garis);

    white-space: nowrap;

    vertical-align: middle;

    color: var(--teks);

}

.tabel-harga td:last-child { text-align: right; }

.tabel-harga tbody tr:last-child td { border-bottom: none; }

.tabel-harga tbody tr:hover td { background: rgba(132,204,22,.06); }



.nominal     { font-weight: 700; color: var(--teks); }

.harga-jual  { color: var(--hijau-muda); font-weight: 800; font-size: 15px; }

.bonus       { color: #fbbf24; font-size: 12.5px; font-weight: 700; }



/* =================================================

   === HALAMAN TESTIMONI ===

   ================================================= */

.grid-bukti {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 18px;

    margin-bottom: 30px;

}

.item-bukti {

    background: var(--card);

    border: 1px solid var(--garis);

    border-radius: 14px;

    overflow: hidden;

    transition: .25s;

}

.item-bukti:hover {

    transform: translateY(-3px);

    border-color: var(--hijau);

}

.item-bukti img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    background: #0f172a;

}

.item-bukti p {

    padding: 12px 15px;

    margin: 0;

    color: var(--hijau-muda);

    font-weight: 700;

    font-size: 13px;

    text-align: center;

    border-top: 1px solid var(--garis);

}



/* =================================================

   === SIDEBAR MENU ===

   ================================================= */

.tombol-menu {

    position: fixed;

    top: 18px;

    right: 18px;

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: var(--card);

    border: 1px solid var(--garis);

    color: var(--hijau);

    font-size: 22px;

    font-weight: 800;

    cursor: pointer;

    z-index: 9998;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .2s;

    box-shadow: 0 4px 12px rgba(0,0,0,.3);

}

.tombol-menu:hover { border-color: var(--hijau); transform: scale(1.05); }



.overlay-menu {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.65);

    z-index: 9998;

    display: none;

    backdrop-filter: blur(3px);

}

.overlay-menu.aktif { display: block; }



.sidebar {

    position: fixed;

    top: 0;

    right: -85%;

    width: 80%;

    max-width: 340px;

    height: 100%;

    background: var(--card);

    border-left: 1px solid var(--garis);

    z-index: 9999;

    transition: right .35s ease;

    overflow-y: auto;

    padding: 25px 20px;

    box-shadow: -8px 0 25px rgba(0,0,0,.4);

}

.sidebar.aktif { right: 0; }



.tutup-menu {

    position: absolute;

    top: 15px; right: 15px;

    width: 38px; height: 38px;

    border-radius: 10px;

    background: rgba(255,255,255,.05);

    border: 1px solid var(--garis);

    color: var(--teks);

    font-size: 18px;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

}

.tutup-menu:hover { border-color: var(--hijau); color: var(--hijau); }



.sidebar-judul {

    padding: 10px 40px 20px 0;

    border-bottom: 1px solid var(--garis);

    margin-bottom: 20px;

}

.sidebar-judul h2 { color: var(--teks); font-size: 22px; margin: 0; }

.sidebar-judul h2 span { color: var(--hijau); }

.sidebar-judul p  { color: var(--abu); font-size: 12px; margin: 5px 0 0 0; }



.menu-list { padding: 0; margin: 0 0 25px 0; }

.menu-list li { margin-bottom: 6px; }

.menu-list li a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    color: var(--teks);

    border-radius: 10px;

    font-weight: 600;

    font-size: 15px;

    transition: .15s;

}

.menu-list li a:hover {

    background: var(--hijau);

    color: #000;

    transform: translateX(4px);

}

.menu-list li a .ikon-menu {

    width: 28px;

    text-align: center;

    font-size: 18px;

}



.garis-sidebar {

    border: none;

    border-top: 1px solid var(--garis);

    margin: 15px 0;

}



.tombol-wa-sidebar {

    display: block;

    width: 100%;

    text-align: center;

    background: #25d366;

    color: #fff !important;

    padding: 14px;

    border-radius: 12px;

    font-weight: 800;

    transition: .2s;

    margin-top: 10px;

}

.tombol-wa-sidebar:hover { filter: brightness(1.1); transform: translateY(-2px); }



.medsos-sidebar {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    margin-bottom: 20px;

}

.medsos-sidebar a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    aspect-ratio: 1 / 1;

    background: rgba(255,255,255,.05);

    border: 1px solid var(--garis);

    border-radius: 12px;

    font-size: 20px;

    transition: .2s;

    color: var(--teks);

}

.medsos-sidebar a:hover {

    background: var(--hijau);

    color: #000 !important;

    transform: translateY(-2px);

    border-color: var(--hijau);

}



/* =================================================

   === FOOTER ===

   ================================================= */

footer {

    text-align: center;

    padding: 35px 20px;

    border-top: 1px solid var(--garis);

    color: var(--abu);

    font-size: 13px;

    margin-top: 40px;

}

footer p { margin: 4px 0; }



/* =================================================

   ✅ RESPONSIF HP

   ================================================= */

@media (max-width: 700px) {

    body { padding-top: 90px; }

    main { padding: 20px 14px !important; }



    .hero { padding: 20px 14px 40px 14px; }

    .hero h1 { font-size: 34px; }

    .hero p { font-size: 15px; }



    .game-section { padding: 18px 14px; border-radius: 14px; margin-bottom: 25px; }

    .game-img {

        width: 60px !important;

        height: 60px !important;

        max-width: 60px !important;

        max-height: 60px !important;

        border-radius: 12px !important;

    }

    .game-title h2 { font-size: 20px; }



    .data-akun { padding: 14px; }

    .section-title { font-size: 16px; }



    .tabel-harga { font-size: 13.5px; min-width: 520px; }

    .tabel-harga th, .tabel-harga td { padding: 11px 9px; }

    .harga-jual { font-size: 14px; }

    .btn-pilih { padding: 7px 12px; font-size: 11.5px; }



    .btn-kedua { padding: 10px 16px; font-size: 12px; }

    main > header h1 { font-size: 28px !important; }



    .grid-bukti { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

    .item-bukti img { height: 200px; }

}



/* =================================================

   ✅ MLBB — DIKUNCI KUAT SELALU 2 KOLOM SEJAJAR

   ================================================= */

#game-mlbb .data-akun .form-row {

    display: grid !important;

    grid-template-columns: 1fr 1fr !important;

    grid-auto-flow: column !important;

    gap: 12px !important;

    width: 100% !important;

}

#game-mlbb .data-akun .form-group {

    min-width: 0 !important;

    width: 100% !important;

    display: block !important;

    float: none !important;

}

#game-mlbb .data-akun .form-group label {

    display: block !important;

    width: 100% !important;

    white-space: nowrap !important;

    margin-bottom: 6px !important;

}

#game-mlbb .data-akun .form-group input {

    width: 100% !important;

    box-sizing: border-box !important;

    display: block !important;

}

@media (max-width: 420px) {

    #game-mlbb .data-akun .form-row {

        grid-template-columns: 1fr 1fr !important;

        gap: 8px !important;

    }

    #game-mlbb .data-akun .form-group input {

        padding: 10px 10px !important;

        font-size: 13px !important;

    }

}



/* ✅ FITUR GESER KANAN-KIRI */

html, body {

  overflow-x: auto !important;

  max-width: 100vw;

}



.game-section,

.pembayaran-section,

.metode-kategori,

.isi-kategori {

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;

}



/* =========================================================

   ✅ TAMBAHAN: SISTEM SIDEBAR & HALAMAN AKUN

   ✅ Ditempelkan DI BAWAH kode CSS yang sudah ada

   ========================================================= */



/* 🔹 1. SIDEBAR OVERLAY (LAYAR HITAM BELAKANG) */

.overlay-menu {

    position: fixed;

    top: 0; left: 0;

    width: 100%; height: 100%;

    background: rgba(0,0,0,0.75);

    z-index: 1000;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

}

.overlay-menu.aktif {

    opacity: 1;

    visibility: visible;

}



/* 🔹 2. SIDEBAR UTAMA */

.sidebar {

    position: fixed;

    top: 0;

    right: -340px; /* Awalnya disembunyikan di kanan */

    width: 300px;

    max-width: 85%;

    height: 100vh;

    background: var(--card);

    border-left: 2px solid var(--garis);

    z-index: 1001;

    overflow-y: auto;

    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    padding: 22px 18px;

    box-shadow: -10px 0 30px rgba(0,0,0,0.5);

}

.sidebar.aktif {

    right: 0; /* Muncul dari kanan */

}



/* 🔹 3. TOMBOL TUTUP SIDEBAR */

.tutup-menu {

    position: absolute;

    top: 15px; right: 15px;

    background: #ef4444;

    color: #fff;

    border: none;

    width: 34px; height: 34px;

    border-radius: 8px;

    font-size: 16px;

    font-weight: 900;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all .2s;

}

.tutup-menu:hover {

    background: #dc2626;

    transform: rotate(90deg);

}



/* 🔹 4. JUDUL & MEDSOS DI SIDEBAR */

.sidebar-judul {

    margin-bottom: 18px;

    padding-bottom: 15px;

    border-bottom: 2px solid var(--garis);

    padding-right: 45px;

}

.sidebar-judul h2 {

    font-size: 20px;

    font-weight: 900;

    color: #facc15; /* Kuning emas */

    line-height: 1.1;

    letter-spacing: .5px;

}

.sidebar-judul h2 span {

    color: var(--hijau);

}

.sidebar-judul p {

    font-size: 12px;

    color: var(--abu);

    margin-top: 6px;

}

.medsos-sidebar {

    display: flex;

    gap: 8px;

    margin-bottom: 18px;

}

.medsos-sidebar a {

    width: 38px; height: 38px;

    background: var(--bg);

    border: 1px solid var(--garis);

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    transition: all .2s;

}

.medsos-sidebar a:hover {

    background: var(--hijau);

    transform: translateY(-3px);

    box-shadow: 0 4px 12px rgba(132,204,22,.4);

}



/* 🔹 5. DAFTAR MENU */

.menu-list {

    list-style: none;

    margin-bottom: 15px;

}

.menu-list li {

    margin-bottom: 4px;

}

.menu-list li a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    color: var(--teks);

    text-decoration: none;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    transition: all .15s ease;

}

.menu-list li a:hover {

    background: rgba(132, 204, 22, 0.12);

    color: var(--hijau);

    padding-left: 20px; /* Efek geser kanan */

}

.ikon-menu {

    font-size: 18px;

    width: 26px;

    text-align: center;

    flex-shrink: 0;

}

.garis-sidebar {

    border: none;

    border-top: 1px dashed var(--garis);

    margin: 15px 0;

}



/* 🔹 6. TOMBOL WA BESAR DI SIDEBAR */

.tombol-wa-sidebar {

    display: block;

    text-align: center;

    background: linear-gradient(135deg, #25d366, #128c7e);

    color: #fff !important;

    padding: 13px 10px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 900;

    font-size: 13px;

    letter-spacing: .5px;

    margin-top: 10px;

    box-shadow: 0 4px 14px rgba(37,211,102,.35);

    transition: all .2s;

}

.tombol-wa-sidebar:hover {

    filter: brightness(1.1);

    transform: translateY(-2px);

}



/* 🔹 7. TABEL HARGA - HOVER EFEK */

.tabel-harga tbody tr:hover {

    background: rgba(132, 204, 22, 0.06) !important;

}

.nominal {

    font-weight: 800 !important;

    color: #facc15 !important; /* Kuning */

}

.btn-pilih {

    transition: all .15s !important;

}

.btn-pilih:hover {

    filter: brightness(1.12);

    transform: translateY(-1px);

}



/* 🔹 8. SCROLLBAR CANTIK */

::-webkit-scrollbar {

    width: 10px;

    height: 10px;

}

::-webkit-scrollbar-track {

    background: var(--bg);

}

::-webkit-scrollbar-thumb {

    background: var(--garis);

    border-radius: 6px;

    border: 2px solid var(--bg);

}

::-webkit-scrollbar-thumb:hover {

    background: var(--hijau);

}



/* 🔹 9. HALAMAN AKUN (MASUK / DAFTAR / LUPA) */

.auth-container input:focus,

.auth-container select:focus {

    border-color: var(--hijau) !important;

    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15) !important;

}



/* =========================================================

   ✅ SELESAI - TIDAK PERLU UBAH KODE DI ATAS INI

   ========================================================= */

   /* ✅ TAUTAN: NANGGROE PPOB */

.link-web-bawah a.link-ppob {

  background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(99,102,241,.18));

  border-color: rgba(139,92,246,.5);

  color: #e0d7ff !important;

}

.link-web-bawah a.link-ppob:hover {

  color: #ffffff !important;

  border-color: #8b5cf6;

  transform: translateY(-3px);

  box-shadow: 0 10px 25px -8px rgba(139,92,246,.4);

}
/* ========================================================= */
/* FITUR TAMBAHAN DARI HIDDENGAME (disesuaikan dengan tema)  */
/* ========================================================= */

/* --- Navbar --- */
.pg-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: .5rem;
    background: var(--card);
    border-radius: 0 0 1.2rem 1.2rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.pg-navbar .brand img { height: 40px; }
.pg-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--garis);
    border-radius: 999px;
    padding: .5rem .9rem;
    width: 100%;
}
.pg-search i { opacity: .8; color: var(--abu); }
.pg-search input {
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--teks);
    width: 100%;
}
.pg-menu .nav-link {
    color: var(--abu) !important;
    opacity: .9;
    padding: .6rem .8rem;
    border-radius: .8rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.pg-menu .nav-link:hover,
.pg-menu .nav-link.active { background: var(--garis); }
.pg-menu .nav-link.active,
.nav-link.active { color: var(--hijau) !important; }
.navbar-icon { width: 22px; height: 22px; vertical-align: middle; }
.dropdown-menu.pg-dropdown {
    background: var(--card);
    border: 0;
    border-radius: .8rem;
    overflow: hidden;
}
.dropdown-menu.pg-dropdown .dropdown-item { color: var(--teks); }
.dropdown-menu.pg-dropdown .dropdown-item.active,
.dropdown-menu.pg-dropdown .dropdown-item:active,
.dropdown-menu.pg-dropdown .dropdown-item:hover {
    background: var(--garis);
    color: var(--teks);
}
@media (max-width: 480px) {
    .pg-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background: var(--card) !important;
    }
}
@media (max-width: 991px) {
    .pg-search.d-lg-flex { display: none !important; }
    .pg-search-mobile { margin-top: .6rem; }
}

/* --- Pencarian (dropdown hasil & bar mobile) --- */
.search-container {
    width: 400px;
    background: var(--card);
    list-style: none;
    position: absolute;
    z-index: 999;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 400px;
    top: 59px;
    border-radius: 10px;
}
@media (max-width: 480px) {
    .search-container { width: 325px; top: 115px; }
}
#searchContainerb {
    top: 0;
    z-index: 1050;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    width: 100%;
}
#searchContainerb.show {
    transform: translateY(70px);
    transition: opacity 0.5s ease-in-out;
    position: fixed !important;
}
.search-containerb {
    display: block;
    padding: 25px 10px;
    background: var(--card) !important;
    border-radius: 0 0 12px 12px;
}

/* --- Tombol kembali ke atas --- */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hijau);
    color: #000;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.1); }

/* --- Banner / Slider (Swiper) --- */
.banner-pad { padding: 0 300px; }
@media (max-width: 600px) { .banner-pad { padding: 0 !important; } }
.swiper-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 12px;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--teks);
    transition: transform 0.3s ease;
    z-index: 1;
}
.swiper-slide.sold-out { filter: grayscale(100%); cursor: not-allowed; }
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 8px;
    background-color: var(--teks);
    opacity: 0.5;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--hijau);
}
.swiper-pagination { bottom: inherit !important; padding-top: 0 !important; }
.swiper-slide-active { transform: scale(1); z-index: 2; }
.swiper-button-next,
.swiper-button-prev {
    backdrop-filter: brightness(0.4);
    border: 1px solid var(--hijau);
    padding: 25px;
    border-radius: 99px;
    color: var(--hijau);
    top: var(--swiper-navigation-top-offset, 45%);
}
@media (max-width: 480px) {
    .swiper-button-next, .swiper-button-prev {
        top: var(--swiper-navigation-top-offset, 50%) !important;
        visibility: hidden;
    }
}

/* --- Promo / Countdown --- */
.flash-sale-container { width: 100%; box-sizing: border-box; }
.flash-sale-head {
    background-color: transparent;
    border-radius: 10px;
    padding: 30px 20px 10px 20px;
    overflow: hidden;
    margin-bottom: 50px;
}
.flashsaletitle {
    display: inline-block;
    font-size: 25px;
    color: var(--teks);
}
.countdown-time {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    display: inline-block;
    font-size: 30px;
    font-weight: 500;
    color: var(--teks);
    background: var(--card);
    box-shadow: 0 0 50px -15px var(--hijau-muda);
    border-radius: 10px;
    padding: 5px 10px;
}
@media (max-width: 555px) {
    .flashsaletitle { font-size: 18px; text-align: center; }
    .countdown-time { font-size: 18px; }
}
/* Tablet → 3 kolom */
@media (max-width: 991px) {
  .menu-utama {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* HP → tetap 2 kolom */
@media (max-width: 600px) {
  .menu-utama {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .menu-kartu {
    padding: 20px 15px;
  }
}

/* ⬆️ TOMBOL KEMBALI KE ATAS */
.btn-kembali-atas {
  position: fixed; bottom: 25px; right: 25px; width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--hijau), #65a30d);
  color: #000; border: none; border-radius: 50%; font-size: 22px; font-weight: bold;
  cursor: pointer; box-shadow: 0 4px 15px rgba(132,204,22,0.5);
  display: none; align-items: center; justify-content: center; z-index: 999;
  transition: all 0.3s;
}
.btn-kembali-atas:hover { transform: translateY(-3px); }
.btn-kembali-atas.tampil { display: flex; }

/* =========================================================
   🔥 GAME POPULER VIP — HARGA VIP RESELLER
   ========================================================= */
.game-vip-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 4px;
}
.game-vip-header {
  text-align: center;
  margin-bottom: 22px;
}
.game-vip-header h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: .3px;
}
.game-vip-header p {
  color: #84cc16;
  font-size: .95rem;
  font-weight: 500;
  margin: 0;
  opacity: .9;
}
.game-vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.game-vip-kartu {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border: 1px solid rgba(132,204,22,.18);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.game-vip-kartu img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .3s ease;
}
.game-vip-kartu span {
  display: block;
  padding: 10px 8px;
  text-align: center;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  background: #111827;
  line-height: 1.25;
}
.game-vip-kartu:hover {
  transform: translateY(-6px);
  border-color: #84cc16;
  box-shadow: 0 12px 28px -8px rgba(132,204,22,.55);
}
.game-vip-kartu:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

@media (max-width: 720px) {
  .game-vip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .game-vip-kartu span {
    font-size: .8rem;
    padding: 8px 6px;
  }
}

/* =========================================================
   📤 FITUR BARU 1 — TOMBOL BAGIKAN KE TEMAN
   Diletakkan di atas tombol "kembali ke atas" (.back-to-top)
   supaya tidak tumpang tindih.
   ========================================================= */
.tombol-bagikan-nanggroe {
  position: fixed;
  right: 20px;
  bottom: 76px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #84cc16, #65a30d);
  color: #0f172a;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(132,204,22,.45);
  z-index: 998;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.tombol-bagikan-nanggroe:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(132,204,22,.6);
}
.tombol-bagikan-nanggroe:active { transform: translateY(-1px) scale(.97); }

@media (max-width: 600px) {
  .tombol-bagikan-nanggroe {
    right: 16px;
    bottom: 70px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

/* =========================================================
   🎉 FITUR BARU 2 — POPUP SELAMAT DATANG & PROMO
   ========================================================= */
.overlay-selamat-datang {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 15, .78);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s ease;
}
.overlay-selamat-datang.tampil {
  display: flex;
  opacity: 1;
}
.popup-selamat-datang {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #141b2d, #0f172a);
  border: 1px solid rgba(132,204,22,.35);
  border-radius: 20px;
  box-shadow: 0 20px 50px -12px rgba(132,204,22,.5), 0 0 0 1px rgba(132,204,22,.08);
  transform: translateY(24px) scale(.96);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.overlay-selamat-datang.tampil .popup-selamat-datang {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.tutup-popup-selamat-datang {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  z-index: 1;
}
.tutup-popup-selamat-datang:hover {
  background: rgba(132,204,22,.25);
  transform: rotate(90deg);
}
.popup-selamat-datang-isi {
  padding: 34px 26px 28px;
  text-align: center;
}
.popup-selamat-datang-ikon {
  font-size: 42px;
  margin-bottom: 10px;
}
.popup-selamat-datang-isi h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.35;
}
.popup-selamat-datang-deskripsi {
  color: #cbd5e1;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 18px;
}
.popup-selamat-datang-promo {
  background: rgba(132,204,22,.1);
  border: 1px dashed rgba(132,204,22,.5);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  text-align: left;
}
.popup-selamat-datang-promo-label {
  display: inline-block;
  color: #84cc16;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .3px;
  margin-bottom: 6px;
}
.popup-selamat-datang-promo p {
  color: #e2e8f0;
  font-size: .85rem;
  line-height: 1.5;
  margin: 0;
}
.popup-selamat-datang-tombol {
  display: block;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, #84cc16, #65a30d);
  color: #0f172a;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .3px;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(132,204,22,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.popup-selamat-datang-tombol:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(132,204,22,.55);
}

@media (max-width: 480px) {
  .popup-selamat-datang-isi { padding: 28px 20px 22px; }
  .popup-selamat-datang-isi h2 { font-size: 1.1rem; }
}

/* =========================================================
   ✅ FITUR BARU (Agustus 2026): FLASH SALE + SLIDER ITEM
   DISKON + PERLUASAN BANNER JADI 6
   Digabungkan & disinkronkan dari draft AI lain oleh Claude
   agar sesuai variabel warna & struktur CSS yang sudah ada.
   ========================================================= */

/* --- Banner tambahan 4, 5, 6 (pelengkap .banner-1/2/3 di index.html) --- */
.banner-4 {
  background: #064e3b url('../img/banner-4.png') center/cover no-repeat;
  background-size: 100% 100%;
}
.banner-5 {
  background: #7c2d12 url('../img/banner-5.png') center/cover no-repeat;
  background-size: 100% 100%;
}
.banner-6 {
  background: #1e3a8a url('../img/banner-6.png') center/cover no-repeat;
  background-size: 100% 100%;
}

/* --- Fitur 1: Flash Sale Countdown --- */
.flash-sale-section {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 0 18px;
}

.flash-sale-card {
  background: linear-gradient(145deg, var(--card), var(--bg));
  border: 2px solid rgba(132, 204, 22, 0.3);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.flash-header {
  text-align: center;
  margin-bottom: 18px;
}

.flash-header h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--teks);
  margin-bottom: 4px;
}

.flash-header p {
  color: var(--abu);
  font-size: 0.9rem;
  margin: 0;
}

#timer-flash {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.timer-box {
  background: #000;
  border: 1px solid var(--hijau);
  min-width: 65px;
  padding: 10px 5px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 15px rgba(132, 204, 22, 0.2);
  animation: pulseTimerFlash 2s infinite ease-in-out;
}

@keyframes pulseTimerFlash {
  0% { border-color: var(--hijau); }
  50% { border-color: #fff; }
  100% { border-color: var(--hijau); }
}

.timer-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--hijau);
  line-height: 1;
}

.timer-label {
  font-size: 0.65rem;
  color: var(--teks);
  text-transform: uppercase;
  font-weight: 700;
}

#flash-selesai {
  display: none;
  color: var(--hijau);
  font-weight: 800;
  margin-top: 15px;
}

/* --- Fitur 2: Slider Item Diskon (gaya Barongsay — berjalan terus tanpa putus) --- */
.diskon-slider-container {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.diskon-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 6px 0 14px;
  animation: diskonMarquee 26s linear infinite;
  will-change: transform;
}

/* Set A + Set B identik berdampingan → saat translateX mencapai -50%, track
   terlihat persis seperti posisi awal, sehingga animasi terlihat menyambung
   tanpa jeda / tanpa "patah" di ujung. */
@keyframes diskonMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.diskon-slider-container:hover .diskon-track,
.diskon-track:focus-within {
  animation-play-state: paused;
}

.item-diskon-card {
  flex: 0 0 108px;
  width: 108px;
  background: var(--card);
  border: 1px solid var(--garis);
  border-radius: 10px;
  padding: 8px;
  position: relative;
  transition: border-color 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.item-diskon-card:hover {
  border-color: var(--hijau);
}

.badge-diskon {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: 0.2px;
}

.img-item-diskon {
  width: 42px;
  height: 42px;
  margin: 8px auto 6px;
  object-fit: cover;
  border-radius: 8px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.nama-item-diskon {
  font-size: 10px;
  font-weight: 800;
  color: var(--teks);
  margin-bottom: 5px;
  height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.harga-coret {
  font-size: 8.5px;
  color: #ef4444;
  text-decoration: line-through;
  display: block;
  margin-bottom: 1px;
}

.harga-asli-diskon {
  font-size: 11.5px;
  font-weight: 900;
  color: var(--hijau);
  display: block;
  margin-bottom: 7px;
}

.btn-beli-diskon {
  background: var(--hijau);
  color: #000;
  font-size: 8.5px;
  font-weight: 900;
  padding: 6px 4px;
  border-radius: 7px;
  display: block;
  text-decoration: none;
  transition: 0.2s;
}

.btn-beli-diskon:hover {
  filter: brightness(1.1);
}

@media (max-width: 600px) {
  .item-diskon-card { flex: 0 0 92px; width: 92px; padding: 6px; }
  .img-item-diskon { width: 36px; height: 36px; margin: 6px auto 5px; }
  .nama-item-diskon { font-size: 9px; height: 24px; }
  .flash-header h2 { font-size: 1.05rem; }
  .timer-box { min-width: 55px; padding: 8px 2px; }
  .timer-num { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .diskon-track { animation: none; }
  .diskon-slider-container { overflow-x: auto; }
}
