/* ==========================================================================
   Halaman /server — "Pilih Servermu": deretan kartu paket putih membulat
   (foto besar dengan nama & harga, statistik, kotak jumlah player).
   Kartu terpilih ada di tengah & lebih besar; harga + tombol pesan di bawah deretan.
   Animasi hanya transform & opacity, dimatikan untuk "kurangi animasi";
   efek hover hanya di perangkat yang benar-benar punya hover.
   ========================================================================== */
.sg-cs {
    --line: rgba(20, 24, 34, 0.16);
    --fg: #14171f;
    --fg-2: rgba(20, 23, 31, 0.62);
    --bp-cyan: #4de1ff;
    --bp-red: #e0262f;
    --bp-red-dk: #8f1219;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    --sg-pad: 1rem;
    display: flex; flex-direction: column; min-height: clamp(34rem, 82vh, 46rem);
    padding: 2rem 0 0;
    color: var(--fg);
    /* Foto latar seperti hero halaman utama: kotak membulat, gelap dari bawah supaya teks terbaca.
       Warna teks selalu terang (sama di tema terang & gelap) */
    --line: rgba(255, 255, 255, 0.28);
    --fg: #fff;
    --fg-2: rgba(255, 255, 255, 0.78);
    border-radius: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.4) 72%, rgba(0, 0, 0, 0.62) 100%),
        var(--cs-bg, none) center / cover no-repeat,
        #0d1017;
}
@media (min-width: 640px) { .sg-cs { --sg-pad: max(1.5rem, calc((100% - 1800px) / 2 + 1.5rem)); padding: 3.5rem 0 0; } }

.sg-cs__kicker { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.sg-cs__types { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); }
.sg-cs__types a[aria-current] { background: #fff; color: #14171f; }

.sg-cs__stars { display: none; }

/* ---------- Atas: judul, tipe server & Server Saya, rata tengah ---------- */
.sg-cs__top { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; width: 100%; max-width: none; margin: 0; padding-inline: var(--sg-pad, 1rem); box-sizing: border-box; text-align: left; }
.sg-cs__head { min-width: 0; }
.sg-cs__title,
.sg-gm__title,
.sg-cs__kicker,
.sg-cs__types a,
.sg-cs__party,
.sg-mc-info__price b { font-family: var(--font-display); font-style: normal; font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; }
.sg-cs__title { margin: 0; font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.sg-cs__kicker { margin: 0.35rem 0 0; font-size: clamp(0.8rem, 1.6vw, 1rem); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.sg-cs__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; }
.sg-cs__types { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(20, 24, 34, 0.05); border: 1px solid var(--line); }
.sg-cs__types a {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-2);
    transition: background-color 150ms ease, color 150ms ease;
}
.sg-cs__party { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
a.sg-cs__party:hover { color: var(--fg); }

/* ---------- Tumpukan kartu: semua kartu di satu sel grid, posisi diatur lewat data-pos
   (0 = tengah; -1/1 dan -2/2 di kiri/kanan, makin kecil & di belakang; selebihnya disembunyikan) ---------- */
.sg-mc-deck {
    --card-w: 13rem;
    display: grid;
    justify-items: center;
    align-items: center;
    margin-top: 1.4rem;
    padding: 0.6rem 0 0.8rem;
    touch-action: pan-y;
}
@media (min-width: 640px) { .sg-mc-deck { --card-w: 16rem; } }
@media (min-width: 1024px) { .sg-mc-deck { --card-w: 19rem; } }

/* ---------- Kartu: putih membulat, foto besar di atas, statistik & kotak player di bawah ---------- */
.sg-mc {
    position: relative;
    grid-area: 1 / 1;
    width: var(--card-w);
    aspect-ratio: 1 / 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.5rem;
    font-family: var(--font-sans);
    text-align: left;
    color: #16171c;
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 18px 40px -18px rgba(5, 8, 15, 0.6);
    cursor: pointer;
    --side: 1;
    /* bawaan = tersembunyi di belakang (lebih dari 2 kartu dari tengah) */
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(var(--side) * 150%)) scale(0.6);
    transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1), opacity 240ms ease;
}
.sg-mc[data-pos^='-'] { --side: -1; }
.sg-mc[data-pos='0'] { z-index: 3; opacity: 1; pointer-events: auto; transform: none; }
.sg-mc[data-pos='1'],
.sg-mc[data-pos='-1'] { z-index: 2; opacity: 1; pointer-events: auto; transform: translateX(calc(var(--side) * 68%)) scale(0.85); }
.sg-mc[data-pos='2'],
.sg-mc[data-pos='-2'] { z-index: 1; opacity: 1; pointer-events: auto; transform: translateX(calc(var(--side) * 124%)) scale(0.72); }
/* Kartu samping diredupkan sedikit supaya kartu tengah menonjol */
.sg-mc::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(15, 18, 26, 0.32); opacity: 1; pointer-events: none; transition: opacity 240ms ease; }
.sg-mc[data-pos='0']::after { opacity: 0; }
.sg-mc[data-pos='2']::after,
.sg-mc[data-pos='-2']::after { background: rgba(15, 18, 26, 0.5); }
/* HP: 5 kartu bertumpuk seperti di PC, jarak antar kartu dirapatkan supaya muat di layar */
@media (max-width: 639px) {
    .sg-mc[data-pos='1'],
    .sg-mc[data-pos='-1'] { transform: translateX(calc(var(--side) * 40%)) scale(0.84); }
    .sg-mc[data-pos='2'],
    .sg-mc[data-pos='-2'] { transform: translateX(calc(var(--side) * 64%)) scale(0.68); }
}
.sg-mc[aria-selected='true'] { box-shadow: 0 0 0 3px var(--bp-red), 0 24px 44px -16px rgba(5, 8, 15, 0.7); }
.sg-mc:focus-visible { outline: 3px solid #4de1ff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .sg-mc[aria-selected='false']:hover::after { opacity: 0.4; }
}

/* Foto besar membulat dengan gradasi gelap di bawah untuk teks */
.sg-mc__art { position: relative; display: block; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 1.2rem; background: radial-gradient(circle at 50% 40%, #3a3f4b, #14171f 75%); }
.sg-mc__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.sg-mc__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 55%); }
.sg-mc__cap { position: absolute; left: 0.8rem; right: 45%; bottom: 0.7rem; z-index: 1; display: grid; gap: 0.1rem; color: #fff; }
.sg-mc__name { display: flex; align-items: center; gap: 0.3rem; min-width: 0; }
.sg-mc__name b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(0.85rem, 1.5vw, 1rem); font-weight: 700; }
.sg-mc__star { display: grid; place-items: center; flex: none; width: 1rem; height: 1rem; border-radius: 999px; color: #3a2a00; background: #ffd84a; }
.sg-mc__cap small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.66rem; color: rgba(255, 255, 255, 0.72); }
/* Pil kaca harga (seperti tombol "Directions" di contoh) */
.sg-mc__go { position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 1; display: grid; place-items: center; min-width: 40%; padding: 0.55rem 0.8rem; font-size: clamp(0.78rem, 1.4vw, 0.95rem); font-weight: 600; white-space: nowrap; color: #fff; border-radius: 0.8rem; background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); }

/* Bawah: info kiri (label, julukan, garis, statistik) + kotak player kanan */
.sg-mc__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; flex: none; padding: 0.15rem 0.35rem 0.35rem; }
.sg-mc__info { display: block; min-width: 0; }
.sg-mc__lvl { display: block; font-size: 0.85rem; font-weight: 700; }
.sg-mc__role { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-bottom: 0.45rem; margin-bottom: 0.45rem; font-size: 0.66rem; color: #6b6e78; border-bottom: 1px solid #ececf0; }
.sg-mc__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.sg-mc__stat { display: grid; gap: 0.05rem; min-width: 0; }
.sg-mc__stat b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(0.78rem, 1.4vw, 0.92rem); font-weight: 700; }
.sg-mc__stat small { font-size: 0.6rem; color: #8a8d96; }
/* Bar tipis di bawah tiap angka */
.sg-mc__bar { display: block; height: 3px; margin-top: 0.15rem; overflow: hidden; border-radius: 999px; background: #ececf0; }
.sg-mc__bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--bp-red); }
/* Kotak player membulat abu muda */
.sg-mc__tile { display: grid; place-items: center; align-content: center; gap: 0.1rem; width: 4.6rem; aspect-ratio: 1; border-radius: 1rem; text-align: center; color: #16171c; background: #f1f2f5; }
.sg-mc__tile svg { color: var(--bp-red); }
.sg-mc__tile b { font-size: 0.68rem; font-weight: 700; line-height: 1.1; }
.sg-mc__tile small { font-size: 0.58rem; color: #8a8d96; }

/* HP: isi kartu dirapatkan supaya foto tetap kebagian ruang */
@media (max-width: 639px) {
    .sg-mc { gap: 0.4rem; padding: 0.4rem; border-radius: 1.3rem; }
    .sg-mc__art { border-radius: 1rem; }
    .sg-mc__cap { left: 0.6rem; right: 0.6rem; bottom: 0.5rem; }
    /* harga pindah ke pojok kanan atas supaya tidak menabrak nama */
    .sg-mc__go { top: 0.45rem; right: 0.45rem; bottom: auto; min-width: 0; padding: 0.3rem 0.5rem; font-size: 0.68rem; border-radius: 0.6rem; }
    .sg-mc__body { gap: 0.4rem; padding: 0 0.2rem 0.2rem; }
    .sg-mc__lvl { font-size: 0.72rem; }
    .sg-mc__role { padding-bottom: 0.3rem; margin-bottom: 0.3rem; font-size: 0.58rem; }
    .sg-mc__stat b { font-size: 0.7rem; }
    .sg-mc__stat small { font-size: 0.52rem; }
    .sg-mc__tile { width: 3.4rem; border-radius: 0.8rem; }
    .sg-mc__tile svg { width: 1rem; height: 1rem; }
    .sg-mc__tile b { font-size: 0.56rem; }
    .sg-mc__tile small { display: none; }
}

/* ---------- Di bawah deretan: harga & tombol paket terpilih ---------- */
.sg-mc-info { display: flex; justify-content: center; margin-top: 0.4rem; }
.sg-mc-info .sg-cs__panel { width: min(100%, 44rem); text-align: center; }
.sg-mc-info__price { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--fg-2); }
.sg-mc-info__price b { font-size: 1.6rem; color: var(--fg); }
.sg-cs__desc { margin: 0.4rem 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--fg-2); }

/* Tombol pil seperti di hero halaman utama: putih (utama), kaca + lingkaran ikon, gelap */
.sg-cs__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1rem; }
.sg-cs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
    transition: transform 140ms ease-out, filter 140ms ease;
}
@media (min-width: 640px) { .sg-cs__btn { min-height: 3rem; padding: 0 1.75rem; font-size: 1rem; } }
.sg-cs__btn--main { color: #0a0a0a; background: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.sg-cs__btn--glass { color: #fff; background: rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); backdrop-filter: blur(12px); }
.sg-cs__btn--ghost { color: #fff; background: rgba(10, 12, 18, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); }
.sg-cs__btn--discord { color: #fff; background: #5865f2; box-shadow: 0 10px 24px -10px rgba(88, 101, 242, 0.7); }
/* Tombol berikon: lingkaran putih di ujung kanan */
.sg-cs__btn:has(.sg-cs__btn-ico) { padding-right: 0.3rem; }
.sg-cs__btn-ico { display: grid; place-items: center; flex: none; width: 2.15rem; height: 2.15rem; border-radius: 999px; color: #0a0a0a; background: #fff; }
@media (min-width: 640px) { .sg-cs__btn-ico { width: 2.4rem; height: 2.4rem; } }
.sg-cs__btn--discord .sg-cs__btn-ico { color: #5865f2; }
.sg-cs__btn:active { transform: scale(0.97); }
.sg-cs__btn:focus-visible { outline: 3px solid #4de1ff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .sg-cs__btn:hover { filter: brightness(1.08); }
}

/* ---------- Animasi saat berganti paket (dipicu JS lewat class .is-in) ---------- */
.sg-cs__panel.is-in > * { animation: sg-cs-fade 220ms ease-out both; }
.sg-mc.is-in .sg-mc__bar i { animation: sg-cs-bar 420ms cubic-bezier(0.23, 1, 0.32, 1) 80ms both; }
@keyframes sg-cs-fade { from { opacity: 0; transform: translate3d(0, 6%, 0); } to { opacity: 1; transform: none; } }
@keyframes sg-cs-bar { from { opacity: 0; transform: translate3d(-14px, 0, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .sg-cs__panel.is-in > *,
    .sg-mc.is-in .sg-mc__bar i { animation: none; }
    .sg-mc,
    .sg-mc::after,
    .sg-cs__btn,
    .sg-cs__types a { transition: none; }
}

/* ==========================================================================
   Bagian bawah /server: pita warna penuh selebar layar (layout ala Punchkid).
   Hero "Pilih Servermu" di atas tidak diubah. Warna pita tetap sama di tema terang/gelap.
   ========================================================================== */
.sg-bd { --bd-red: #e0262f; padding: 3.5rem 1rem; }
@media (min-width: 640px) { .sg-bd { padding: 5rem 1.5rem; } }
.sg-bd__in { max-width: 72rem; margin: 0 auto; text-align: center; }
.sg-bd__title,
.sg-bd__kicker,
.sg-bd__btn,
.sg-bd__specs,
.sg-bd__frame-plate { font-family: var(--font-display); font-style: normal; font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; }
.sg-bd__title { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; color: #14171f; }
.sg-bd__title--light { color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.sg-bd__kicker { margin: 0.6rem 0 0; font-size: clamp(0.75rem, 1.5vw, 0.95rem); font-weight: 800; text-transform: uppercase; color: #6b6b76; }

/* Pita */
.sg-bd--light { background: #fff; color: #14171f; }
.sg-bd--grass { background: #3fae3a linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 100% 2.5rem; }
.sg-bd--sky { background: linear-gradient(180deg, #5aa9ee 0%, #8cc8f5 100%); }
.sg-bd--dark { background: #15171c linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 2.5rem; color: #fff; }

/* Tombol hijau persegi */
.sg-bd__btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; margin-top: 2rem; padding: 0 1.8rem;
    font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: #fff;
    background: #2fa63a; border-bottom: 4px solid #1b7a27; border-radius: 0.25rem;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.sg-bd__btn:hover { background: #38bb44; }
.sg-bd__btn:active { transform: translateY(2px); }
.sg-bd__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Panel mesin */
.sg-bd__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 2rem 0 0; overflow: hidden; background: #d9dce3; border: 2px solid #d9dce3; border-radius: 0.5rem; }
@media (min-width: 640px) { .sg-bd__specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sg-bd__specs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sg-bd__specs > div { padding: 0.9rem 0.6rem; background: #fff; }
.sg-bd__specs dt { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6b76; }
.sg-bd__specs dd { margin: 0.25rem 0 0; font-size: clamp(0.85rem, 1.5vw, 1rem); }

/* Mosaik fitur: satu kotak besar + kotak gelap berwarna */
.sg-bd__mosaic { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1rem; text-align: left; }
@media (min-width: 640px) { .sg-bd__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sg-bd__mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sg-bd__tile--big { grid-column: span 2; grid-row: span 2; } }
.sg-bd__tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; min-height: 11rem; padding: 1.1rem; overflow: hidden; color: #fff;
    background: radial-gradient(circle at 80% 15%, color-mix(in srgb, var(--c) 45%, #1a1d26), #0f1116 75%);
    border-radius: 0.4rem;
}
.sg-bd__tile--big { min-height: 16rem; }
.sg-bd__tile-ico { position: absolute; top: 1rem; right: 1rem; color: var(--c); opacity: 0.9; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent)); }
.sg-bd__tile--big .sg-bd__tile-ico svg { width: 4.5rem; height: 4.5rem; }
.sg-bd__tile h3 { margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 800; line-height: 1.2; }
.sg-bd__tile--big h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.sg-bd__tile p { margin: 0.3rem 0 0; font-size: 0.8rem; line-height: 1.5; color: rgba(255,255,255,.78); }

/* Kotak berbingkai hijau tua (seperti bingkai video Stream) */
.sg-bd__frame { max-width: 40rem; margin: 2rem auto 0; padding: 2.25rem 1.5rem; color: #fff; background: #12141b; border: 6px solid #1c7a2c; outline: 4px solid #7ee06a; border-radius: 0.3rem; }
.sg-bd__frame-ico { display: inline-grid; place-items: center; color: #7ee06a; filter: drop-shadow(0 0 14px rgba(76, 175, 58, 0.7)); }
.sg-bd__frame-plate { margin: 0.75rem 0 0; font-size: 1.3rem; text-transform: uppercase; }
.sg-bd__frame-text { max-width: 30rem; margin: 0.6rem auto 0; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,.8); }
.sg-bd__frame .sg-bd__btn { margin-top: 1.5rem; }

/* Langkah pesan */
.sg-bd__steps { display: grid; gap: 0.75rem; max-width: 40rem; margin: 2rem auto 0; padding: 0; list-style: none; text-align: left; }
.sg-bd__steps li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; color: #fff; background: rgba(20, 38, 66, 0.82); border-radius: 0.3rem; }
.sg-bd__step-n { flex-shrink: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; background: #2fa63a; border-radius: 0.25rem; }
.sg-bd__steps h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.sg-bd__steps p { margin: 0.2rem 0 0; font-size: 0.82rem; line-height: 1.45; color: rgba(255,255,255,.8); }

.sg-bd__note { max-width: 36rem; margin: 1.25rem auto 0; font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,.7); }

@media (prefers-reduced-motion: reduce) { .sg-bd__btn { transition: none; } .sg-bd__btn:active { transform: none; } }

/* Bar di bawah header: Java/Bedrock kiri, logo tengah, Server Saya kanan. Palet warna diambil dari logo Minecraft Server
   (oranye api, merah bata, abu batu). */
.sg-sb { --sb-orange-1: #ffd23f; --sb-orange-2: #ff9a1f; --sb-orange-3: #f26a14; --sb-brick: #7a1a0a; --sb-brick-2: #b3330f; --sb-stone: #e6dcd6;
    background: #0d0d10; border-bottom: 3px solid var(--sb-brick); }
.sg-sb__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; max-width: 1800px; margin: 0 auto; padding: 0.6rem 1rem; }
@media (min-width: 640px) { .sg-sb__in { padding: 0.75rem 1.5rem; } }
.sg-sb__logo { display: block; width: clamp(7rem, 22vw, 14rem); height: auto; }
.sg-sb__right { display: flex; justify-content: flex-end; }
.sg-sb__types { display: inline-flex; justify-self: start; padding: 3px; border-radius: 999px; background: linear-gradient(180deg, #3a1208, #240a05); border: 2px solid var(--sb-brick); }
.sg-sb__types a,
.sg-sb__party { font-family: var(--font-display); font-style: normal; font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--sb-stone); }
.sg-sb__types a { padding: 0.5rem 0.9rem; border-radius: 999px; transition: background-color 0.15s ease, color 0.15s ease; }
.sg-sb__types a[aria-current] { color: #3a1306; background: linear-gradient(180deg, var(--sb-orange-1), var(--sb-orange-2) 55%, var(--sb-orange-3)); box-shadow: inset 0 -2px 0 rgba(122, 26, 10, 0.55); }
.sg-sb__party { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0 0.9rem; border-radius: 999px; color: #ffe9c2; background: linear-gradient(180deg, var(--sb-brick-2), var(--sb-brick)); border: 2px solid var(--sb-orange-3); box-shadow: inset 0 1px 0 rgba(255, 210, 63, 0.35); transition: filter 0.15s ease; }
.sg-sb__party svg { color: var(--sb-orange-1); }
@media (hover: hover) and (pointer: fine) { .sg-sb__types a:not([aria-current]):hover { background: rgba(255, 154, 31, 0.18); color: #fff; } .sg-sb__party:hover { filter: brightness(1.2); } }
.sg-sb__types a:focus-visible, .sg-sb__party:focus-visible { outline: 3px solid var(--sb-orange-1); outline-offset: 2px; }
@media (max-width: 479px) { .sg-sb__party span { display: none; } .sg-sb__party { padding: 0 0.7rem; } .sg-sb__types a { padding: 0.45rem 0.65rem; font-size: 0.62rem; } }
@media (prefers-reduced-motion: reduce) { .sg-sb__types a, .sg-sb__party { transition: none; } }

/* Pemilih paket gaya minecraft.net: pita hitam di dasar hero. Panel info di kiri (sudut kanan atas bertingkat, naik sedikit ke atas foto),
   thumbnail berwarna tema di kanannya. */
.sg-pk {
    display: flex; flex-direction: column; gap: 1.25rem; align-items: stretch; box-sizing: border-box; width: 100%; margin-top: auto; padding-top: 0; color: #fff;
    padding: 0 var(--sg-pad, 1rem) 5.5rem;
    background: #151517;
    position: relative; isolation: isolate;
}
/* Cahaya oranye dari dasar (seperti efek Senovshop, warna disesuaikan palet logo) */
.sg-pk::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(to top, #ff8a1a 0%, rgba(255, 138, 26, 0.85) 14%, rgba(242, 106, 20, 0.4) 40%, rgba(242, 106, 20, 0) 100%) bottom / 100% 9rem no-repeat;
}
.sg-pk > .sg-pk__info, .sg-pk > .sg-pk__rail { position: relative; z-index: 2; }
/* Partikel pixel kecil yang melayang naik lalu memudar */
.sg-pk__fx { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.sg-pk__fx i {
    position: absolute; left: var(--x); bottom: var(--y); width: var(--s); height: var(--s);
    background: #ffd23f; box-shadow: 0 0 6px 1px rgba(255, 170, 40, 0.8); opacity: 0;
    animation: sg-pk-float var(--d) linear var(--dl) infinite; will-change: transform, opacity;
}
.sg-pk__fx i:nth-child(3n) { background: #ff9a1f; }
.sg-pk__fx i:nth-child(4n) { background: #fff1c2; }
@keyframes sg-pk-float {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 0.9; }
    70% { opacity: 0.6; }
    100% { transform: translateY(-14rem); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sg-pk__fx i { animation: none; opacity: 0.5; } }
@media (min-width: 900px) { .sg-pk { flex-direction: row; align-items: flex-end; gap: 2.5rem; } }
.sg-pk__info {
    --notch: 0.6rem;
    flex: 0 1 48rem; min-width: 0; margin-top: -2.4rem; padding: 3.6rem 4rem 2.8rem 2.5rem; background: #151517;
    clip-path: polygon(0 0, calc(100% - 4 * var(--notch)) 0, calc(100% - 4 * var(--notch)) var(--notch), calc(100% - 3 * var(--notch)) var(--notch), calc(100% - 3 * var(--notch)) calc(2 * var(--notch)), calc(100% - 2 * var(--notch)) calc(2 * var(--notch)), calc(100% - 2 * var(--notch)) calc(3 * var(--notch)), calc(100% - var(--notch)) calc(3 * var(--notch)), calc(100% - var(--notch)) calc(4 * var(--notch)), 100% calc(4 * var(--notch)), 100% 100%, 0 100%);
}
.sg-pk__name { margin: 0; font-size: 2.1rem; font-weight: 800; line-height: 1.15; }
.sg-pk__text { margin: 0.7rem 0 0; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.sg-pk__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }
.sg-pk__meta span { padding: 0.3rem 0.7rem; background: rgba(255, 255, 255, 0.08); border-radius: 0.3rem; }
.sg-pk__meta b { color: #fff; }
.sg-pk__price { margin: 1.1rem 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.sg-pk__price b { font-size: 2.1rem; color: #fff; }
.sg-pk__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.sg-pk__btn {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.7rem; white-space: nowrap;
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: #fff;
    background: #2f8a3a; border-bottom: 3px solid #1b5f26; border-radius: 0.2rem; transition: background-color 0.15s ease;
}
.sg-pk__btn:hover { background: #3aa046; }
.sg-pk__btn--ghost { background: rgba(255, 255, 255, 0.12); border-bottom-color: rgba(255, 255, 255, 0.3); }
.sg-pk__btn--ghost:hover { background: rgba(255, 255, 255, 0.22); }
.sg-pk__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* Thumbnail horizontal di kanan panel (digeser kalau banyak) */
.sg-pk__rail { position: relative; flex: 1 1 0; min-width: 0; align-self: center; }
.sg-pk__thumbs { display: flex; gap: 0.7rem; min-width: 0; overflow-x: auto; padding: 0.4rem; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; cursor: grab; touch-action: pan-x; }
.sg-pk__thumbs::-webkit-scrollbar { display: none; }
.sg-pk__thumbs.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.sg-pk__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-top: -1.2rem; padding: 0 0 0.15rem; font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; cursor: pointer; }
.sg-pk__arrow[hidden] { display: none; }
.sg-pk__arrow--prev { left: -0.4rem; }
.sg-pk__arrow--next { right: -0.4rem; }
.sg-pk__arrow:hover { background: #2f8a3a; }
.sg-pk__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sg-pk__thumb {
    position: relative; flex: 0 0 auto; width: 9rem; aspect-ratio: 1; padding: 0; overflow: hidden; cursor: pointer; opacity: 0.85;
    background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c, #3d9bd6) 55%, #1c2030), color-mix(in srgb, var(--c, #3d9bd6) 22%, #0d0f14) 80%);
    border: 2px solid transparent; border-radius: 0.15rem; scroll-snap-align: start; transition: opacity 0.15s ease, transform 0.15s ease;
}
@media (min-width: 640px) { .sg-pk__thumb { width: 12rem; } }
.sg-pk__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 0.4rem 0.4rem 1.8rem; }
.sg-pk__thumb-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 0.3rem 0.5rem; font-size: 0.9rem; font-weight: 800; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); }
.sg-pk__thumb[aria-selected="true"] { opacity: 1; border-color: #9be25a; outline: 2px solid rgba(155, 226, 90, 0.35); outline-offset: 1px; }
.sg-pk__thumb:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .sg-pk__thumb:hover { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .sg-pk__thumb, .sg-pk__btn { transition: none; } .sg-pk__thumb:hover { transform: none; } }

/* HP: samakan dengan tampilan PC. Area foto + judul dibuat lebih lega (wide), panel info dikecilkan supaya tidak penuh,
   lalu deretan thumbnail di bawahnya (di PC ada di kanan). */
@media (max-width: 899px) {
    .sg-cs { min-height: 0; padding-top: 2rem; background-position: center top; }
    .sg-cs__top { padding-bottom: 13rem; }
    .sg-cs__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    .sg-pk { gap: 0.8rem; padding-bottom: 3.5rem; }
    .sg-pk__info { --notch: 0.3rem; flex: none; margin-top: -1.2rem; padding: 1.8rem 1.6rem 1.3rem 1rem; }
    .sg-pk__name { font-size: 1.25rem; }
    .sg-pk__text { margin-top: 0.3rem; font-size: 0.8rem; line-height: 1.45; }
    .sg-pk__meta { gap: 0.35rem; margin-top: 0.7rem; font-size: 0.7rem; }
    .sg-pk__meta span { padding: 0.22rem 0.5rem; }
    .sg-pk__price { margin-top: 0.7rem; font-size: 0.75rem; }
    .sg-pk__price b { font-size: 1.4rem; }
    .sg-pk__actions { margin-top: 0.8rem; }
    .sg-pk__btn { min-height: 2.5rem; padding: 0 1.3rem; font-size: 0.7rem; }
    .sg-pk__thumb { width: 7.5rem; }
    .sg-pk__rail { align-self: stretch; }
}

/* Temukan Game Kami: kartu besar 4 kolom seperti "Discover our games" */
.sg-gm { position: relative; padding: 0.75rem; background-color: #f26a14; background-image: linear-gradient(to bottom, #ff8a1a, #f26a14 55%, #c8470c); color: #fff; }
@media (min-width: 640px) { .sg-gm { padding: 1rem 1rem 1.25rem; } }
/* Kartu hitam bersudut membulat di atas latar oranye (seperti banner Senovshop) */
.sg-gm__in { box-sizing: border-box; max-width: none; margin: 0; padding: 3rem max(var(--sg-pad, 1rem), calc((100% - 112rem) / 2)) 3.5rem; background: #151517; border-radius: 1.5rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 28px rgba(255, 170, 40, 0.55); text-align: center; }
.sg-gm__title { margin: 0 0 2.5rem; color: #fff; font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.sg-gm__list { --gap: 1.5rem; display: flex; gap: var(--gap); margin: 0 0 2.5rem; padding: 0 0 0.5rem; overflow-x: auto; list-style: none; text-align: left; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
.sg-gm__list > li { flex: 0 0 78%; min-width: 0; scroll-snap-align: start; }
@media (min-width: 560px) { .sg-gm__list > li { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1000px) { .sg-gm__list > li { flex-basis: calc((100% - 3 * var(--gap)) / 4); } }
.sg-gm__card { display: flex; flex-direction: column; height: 100%; color: #fff; text-decoration: none; }
.sg-gm__img { display: block; aspect-ratio: 1; overflow: hidden; background: #24262c; }
.sg-gm__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.sg-gm__name { margin-top: 2rem; color: #fff; font-size: 1.5rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.02em; }
.sg-gm__cat { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.4; color: rgba(255, 255, 255, 0.65); }
.sg-gm__name + .sg-gm__cat { margin-top: 0.7rem; }
.sg-gm__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; }
.sg-gm__foot { margin-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.sg-gm__src img { display: block; width: auto; height: 1.6rem; opacity: 0.75; filter: brightness(0) invert(1); }
.sg-gm__price { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.sg-gm__price b { color: #ffd23f; font-size: 1.1rem; }
.sg-gm__card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .sg-gm__card:hover .sg-gm__img img { transform: scale(1.04); } .sg-gm__card:hover .sg-gm__name { text-decoration: underline; } }
@media (prefers-reduced-motion: reduce) { .sg-gm__img img { transition: none; } .sg-gm__card:hover .sg-gm__img img { transform: none; } }

/* Partikel pixel melayang di latar hero (di atas pita pemilih paket) */
.sg-cs__fx, .sg-sp__fx, .sg-gm__fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sg-cs__fx i, .sg-sp__fx i, .sg-gm__fx i {
    position: absolute; left: var(--x); bottom: var(--y); width: var(--s); height: var(--s);
    background: #ffd23f; box-shadow: 0 0 6px 1px rgba(255, 170, 40, 0.8); opacity: 0;
    animation: sg-cs-float var(--d) linear var(--dl) infinite; will-change: transform, opacity;
}
.sg-cs__fx i:nth-child(3n), .sg-sp__fx i:nth-child(3n), .sg-gm__fx i:nth-child(3n) { background: #ff9a1f; }
.sg-cs__fx i:nth-child(4n), .sg-sp__fx i:nth-child(4n), .sg-gm__fx i:nth-child(4n) { background: #fff1c2; }
@keyframes sg-cs-float {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 0.85; }
    80% { opacity: 0.5; }
    100% { transform: translateY(-16rem); opacity: 0; }
}
.sg-cs__top, .sg-pk { position: relative; z-index: 1; }
/* Kilau di tepi oranye section Temukan Game Kami (di atas kartu supaya terlihat di tepinya) */
.sg-gm__fx { z-index: 2; }
.sg-gm__fx i { box-shadow: 0 0 8px 2px rgba(255, 210, 63, 0.9); }
@media (prefers-reduced-motion: reduce) { .sg-cs__fx i, .sg-sp__fx i, .sg-gm__fx i { animation: none; opacity: 0.45; } }

/* Banner "Server Kami Sendiri": latar hitam, gambar kiri mengambang */
.sg-pr { padding: 0.75rem; color: #fff; background: linear-gradient(to bottom, #c8470c, #f26a14 45%, #ff8a1a 55%, #c8470c); }
@media (min-width: 640px) { .sg-pr { padding: 1rem; } }
.sg-pr__in { box-sizing: border-box; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; max-width: none; margin: 0; padding: 3.5rem max(1.25rem, calc((100% - 72rem) / 2)); background: #151517; border-radius: 1.5rem; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 40px rgba(0, 0, 0, 0.35); }
@media (min-width: 800px) { .sg-pr__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; } }
.sg-pr__frame { max-width: 30rem; margin: 0 auto; animation: sg-pr-float 5s ease-in-out infinite; will-change: transform; }
@keyframes sg-pr-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4%); }
}
@media (prefers-reduced-motion: reduce) { .sg-pr__frame { animation: none; } }
.sg-pr__frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.sg-pr__title { margin: 0; color: #fff; font-family: var(--font-display); font-style: normal; font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; text-transform: uppercase; }
.sg-pr__lead { max-width: 30rem; margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.sg-pr__btn { margin-top: 1.5rem; color: #fff; background: #7c4dff; border-bottom-color: #4a29b8; }
.sg-pr__btn:hover { background: #9266ff; }

/* Spesifikasi Hosting: layout gelap gaya Marketplace (judul kiri, kartu geser kanan) */
.sg-sp { position: relative; isolation: isolate; padding: 4rem max(1rem, calc((100% - 1800px) / 2 + 1.5rem)) 8rem; color: #fff; background: linear-gradient(rgba(12, 12, 14, 0.72), rgba(12, 12, 14, 0.9)), var(--sp-bg) center / cover #151517; }
/* Cahaya oranye naik dari dasar section */
.sg-sp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; height: 9rem; pointer-events: none; background: linear-gradient(to top, #ff8a1a 0%, rgba(255, 138, 26, 0.85) 14%, rgba(242, 106, 20, 0.4) 40%, rgba(242, 106, 20, 0) 100%); }
.sg-sp__fx { z-index: 0; }
.sg-sp__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; max-width: none; margin: 0; }
@media (min-width: 900px) { .sg-sp__in { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 3rem; } }
.sg-sp__title { margin: 0; font-family: var(--font-display); font-style: normal; font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; text-transform: uppercase; color: #ffd23f; }
.sg-sp__lead { margin: 1.2rem 0 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.sg-sp__btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; margin-top: 1.5rem; padding: 0 1.7rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: #3a1500; background: #ffd23f; border-bottom: 3px solid #b8891a; border-radius: 0.2rem; transition: background-color 0.15s ease; }
.sg-sp__btn:hover { background: #ffe07a; }
.sg-sp__btn:focus-visible, .sg-sp__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sg-sp__nav { display: flex; gap: 1.5rem; margin-top: 2rem; }
.sg-sp__arrow { padding: 0; font-size: 2.2rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; transition: transform 0.15s ease, opacity 0.15s ease; }
.sg-sp__arrow:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .sg-sp__arrow:not(:disabled):hover { transform: scale(1.15); } }
.sg-sp__list { display: flex; gap: 1.25rem; min-width: 0; margin: 0; padding: 0.25rem 0.25rem 0.75rem; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: none; }
.sg-sp__list::-webkit-scrollbar { display: none; }
.sg-sp__card { display: flex; flex: 0 0 15.5rem; flex-direction: column; padding: 0.9rem; background: #3b3a3d; border: 1px solid rgba(255, 255, 255, 0.08); scroll-snap-align: start; }
.sg-sp__art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; color: #fff; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c, #3d9bd6) 60%, #1c2030), color-mix(in srgb, var(--c, #3d9bd6) 25%, #0d0f14) 85%); }
.sg-sp__tag { position: absolute; left: 0.5rem; bottom: 0.5rem; padding: 0.1rem 0.5rem; font-size: 0.8rem; font-weight: 800; color: #ffd23f; background: #151517; border: 2px solid #ffd23f; border-radius: 0.2rem; }
.sg-sp__name { margin: 1rem 0 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.sg-sp__text { margin: 0.5rem 0 0; font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.sg-sp__foot { margin-top: auto; padding-top: 1rem; font-size: 0.8rem; font-weight: 700; color: #ffd23f; }
@media (prefers-reduced-motion: reduce) { .sg-sp__btn, .sg-sp__arrow { transition: none; } }
