* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f9ff;
    color: #172033;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}


/* =========================================================
   HEADER - MODERN PREMIUM
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.90);
    border-bottom: 1px solid rgba(32, 113, 194, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 7px 25px rgba(16, 52, 90, 0.05);
}

.navbar {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #10233f;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo span { color: #168cff; }

.logo::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 5px;
    border-radius: 50%;
    background: #168cff;
    box-shadow: 0 0 0 4px rgba(22, 140, 255, 0.08), 0 0 10px rgba(22, 140, 255, 0.32);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    position: relative;
    padding: 9px 14px;
    border-radius: 8px;
    color: #43546b;
    font-size: 13px;
    font-weight: 700;
    transition: color .20s ease, background .20s ease, transform .20s ease;
}

.nav-menu a:hover {
    color: #087ef0;
    background: rgba(22, 140, 255, 0.07);
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #168cff, #4ecaff);
    transform: translateX(-50%);
    transition: width .20s ease;
}

.nav-menu a:hover::after { width: 28px; }
/* ACTIVE NAVIGATION */

.nav-menu a.active {
    color: #087ef0;
    background: rgba(22, 140, 255, 0.08);
}

.nav-menu a.active::after {
    display: none;
}

.menu-button {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 140, 255, 0.14);
    border-radius: 9px;
    background: rgba(22, 140, 255, 0.06);
    color: #173653;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header { background: rgba(255, 255, 255, 0.94); }
    .navbar { min-height: 58px; }
    .logo { font-size: 18px; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 58px;
        left: 12px;
        right: 12px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(22, 140, 255, 0.12);
        border-radius: 0 0 14px 14px;
        box-shadow: 0 18px 38px rgba(15, 55, 95, 0.12);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
.nav-menu a {
        width: 100%;
        padding: 11px 12px;
        border-radius: 8px;
        font-size: 13px;
    }

    .nav-menu.active { display: flex; }

    .nav-menu a.active {
        background: rgba(22, 140, 255, 0.10);
        color: #087ef0;
    }

    .nav-menu a::after,
    .nav-menu a.active::after {
        display: none;
    }

    .menu-button { display: inline-flex; }
}


/* =========================================================
   INTRO GLASS - FINAL
   Berlaku semua halaman, NAVBAR TIDAK DIUBAH
========================================================= */

body.page-hk .intro,
body.page-hk-lotto .intro,
body.page-sdy .intro,
body.page-sgp .intro {
    position: relative;
    z-index: 2;

    width: calc(100% - 48px);
    max-width: 1720px;

    margin: 18px auto 0;
    padding: 24px 30px;

    /* KACA TRANSPARAN */
    background: rgba(8, 35, 68, 0.32) !important;

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(0, 15, 40, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(14px) saturate(125%);
    -webkit-backdrop-filter: blur(14px) saturate(125%);
}


/* BREADCRUMB */

body.page-hk .intro .breadcrumb,
body.page-hk-lotto .intro .breadcrumb,
body.page-sdy .intro .breadcrumb,
body.page-sgp .intro .breadcrumb {
    color: rgba(255, 255, 255, 0.80) !important;
}


/* JUDUL */

body.page-hk .intro h1,
body.page-hk-lotto .intro h1,
body.page-sdy .intro h1,
body.page-sgp .intro h1 {
    color: #44b4ff !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25);
}


/* DESKRIPSI */

body.page-hk .intro .intro-text,
body.page-hk-lotto .intro .intro-text,
body.page-sdy .intro .intro-text,
body.page-sgp .intro .intro-text {
    color: rgba(255, 255, 255, 0.88) !important;
}


/* =========================================================
   HASIL TERBARU - PREMIUM LIVE PANEL
========================================================= */

.latest-section {
    padding: 34px 0 24px;
}

.latest-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(31, 148, 255, .12), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(21, 122, 220, .16);
    border-radius: 22px;
    box-shadow:
        0 22px 55px rgba(17, 58, 99, .10),
        0 5px 15px rgba(17, 58, 99, .04);
}

.latest-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7%;
    right: 7%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #148cff, #4ecaff, #148cff, transparent);
    z-index: 2;
}

.latest-header {
    position: relative;
    padding: 24px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
    135deg,
    rgba(7, 48, 94, 0.96) 0%,
    rgba(10, 82, 157, 0.94) 55%,
    rgba(10, 126, 232, 0.92) 100%);
    border-bottom: 0;
    box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.latest-header span {
    display: block;
    color: #5cc7ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
    margin-bottom: 4px;
}

.latest-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.3px;
}

.status {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    animation: latestPulse 1.6s ease-in-out infinite;
}

.status::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #32e594;
    box-shadow: 0 0 0 4px rgba(50,229,148,.12), 0 0 14px rgba(50,229,148,.60);
    animation: latestDot 1.6s ease-in-out infinite;
}

@keyframes latestPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(74,194,255,0); }
    50% { opacity: .68; box-shadow: 0 0 22px rgba(74,194,255,.22); }
}

@keyframes latestDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.78); }
}

.result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr);
    background: #ffffff;
}

.result-info,
.result-number {
    position: relative;
    min-height: 125px;
    padding: 25px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.result-info {
    border-right: 1px solid #e5edf6;
}

.result-info small,
.result-number small {
    color: #8495a9;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.result-info strong {
    color: #132a46;
    font-size: 18px;
    font-weight: 800;
}

.result-number {
    align-items: center;
    background:
        radial-gradient(circle at center, rgba(27,151,255,.10), transparent 65%),
        linear-gradient(135deg, #f4faff, #eef7ff);
}

.number {
    position: relative;
    color: #087ef0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 7px;
    text-shadow: 0 8px 22px rgba(8,126,240,.14);
}

.number::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: -12px;
    height: 6px;
    border-radius: 50%;
    background: rgba(31,149,255,.18);
    filter: blur(8px);
}

.result-note {
    margin: 0;
    padding: 12px 26px;
    border-top: 1px solid #e8eff6;
    background: #fbfdff;
    color: #71849a;
    font-size: 11px;
}


/* =========================
   HEADINGS
========================= */

.section-heading {
    margin-bottom: 20px;
}

.section-heading > span {
    color: #168cff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.section-heading h2 {
    color: #13243d;
    font-size: 27px;
    margin-top: 3px;
}

.section-heading p {
    color: #738297;
    font-size: 14px;
}


/* =========================================================
   RESULT TABLE - PREMIUM + 7 ROW VERTICAL SCROLL
========================================================= */

.table-section {
    padding: 44px 0 52px;
}

.table-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,251,255,.98));
    border: 1px solid rgba(31,142,255,.16);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(16,54,92,.10), 0 6px 18px rgba(16,54,92,.05);
    isolation: isolate;
}

.table-wrapper::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43,174,255,.18), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

.table-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #248fff, #55c9ff, #248fff, transparent);
    z-index: 2;
}

.table-wrapper table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
}

.table-wrapper thead,
.table-wrapper tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.table-wrapper thead th {
    position: relative;
    padding: 19px 22px;
    color: rgba(255,255,255,.92);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #071e3b 0%, #0c3c76 50%, #086cd0 100%);
    border: 0;
}

.table-wrapper thead th:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28%;
    right: 0;
    width: 1px;
    height: 44%;
    background: rgba(255,255,255,.12);
}

.table-wrapper thead th:first-child { border-radius: 21px 0 0 0; }
.table-wrapper thead th:last-child { border-radius: 0 21px 0 0; }

.table-wrapper tbody {
    display: block;
    max-height: 553px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #168cff #edf4fa;
}

.table-wrapper tbody tr {
    height: 79px;
}

.table-wrapper tbody td {
    position: relative;
    padding: 22px;
    vertical-align: middle;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,252,255,.98));
    color: #31475f;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #e8f0f7;
    transition: background .22s ease, color .22s ease;
}

.table-wrapper tbody td:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background: #edf2f7;
}

.table-wrapper tbody tr:nth-child(even) td { background: #f8fbff; }
.table-wrapper tbody tr:hover td { background: #f0f8ff; color: #102a47; }
.table-wrapper tbody tr:hover td:first-child { box-shadow: inset 4px 0 0 #1d8fff; }
.table-wrapper tbody tr:last-child td { border-bottom: 0; }

.table-wrapper tbody td:first-child { color: #152b45; font-weight: 800; }
.table-wrapper tbody td:nth-child(2) { color: #53677e; }

.table-wrapper td.hasil {
    color: #087ef0;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 4px;
    white-space: nowrap;
}

.table-wrapper td.hasil::before {
    content: "RESULT";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #eaf6ff, #d9efff);
    border: 1px solid rgba(17,132,241,.16);
    color: #087ef0;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
    vertical-align: middle;
}

.table-wrapper td.hasil::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 13px;
    border-radius: 50%;
    background: #17c979;
    box-shadow: 0 0 0 5px rgba(23,201,121,.08), 0 0 14px rgba(23,201,121,.48);
    vertical-align: middle;
}

.table-wrapper tbody td[colspan] {
    padding: 46px 20px;
    text-align: center;
    color: #7b8ea4;
    font-size: 13px;
    background: linear-gradient(135deg, #ffffff, #f5faff);
}

.table-wrapper th:nth-child(1),
.table-wrapper td:nth-child(1) { width: 34%; }

.table-wrapper th:nth-child(2),
.table-wrapper td:nth-child(2) { width: 19%; }

.table-wrapper th:nth-child(3),
.table-wrapper td:nth-child(3) { width: 47%; }

.table-wrapper tbody::-webkit-scrollbar { width: 7px; }
.table-wrapper tbody::-webkit-scrollbar-track { background: #edf4fa; }
.table-wrapper tbody::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #168cff, #0873db);
    border-radius: 999px;
}
.table-wrapper tbody::-webkit-scrollbar-thumb:hover { background: #086fd3; }


/* =========================================================
   ARCHIVE TABLE - FINAL POLISH
========================================================= */

.table-wrapper {
    box-shadow: 0 16px 40px rgba(0, 25, 60, 0.16);
}

.table-wrapper tbody tr {
    transition:
        background-color .18s ease,
        box-shadow .18s ease;
}

.table-wrapper tbody tr:hover {
    box-shadow: inset 3px 0 0 #168cff;
}

@media (max-width: 768px) {
    .table-wrapper tbody tr:hover {
        box-shadow: none;
    }
}

/* =========================================================
   DATA LAINNYA - PREMIUM NAVIGATION CARDS
========================================================= */

.markets {
    padding: 20px 0 50px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.market-card {
    position: relative;
    overflow: hidden;

    min-height: 94px;
    padding: 20px 54px 20px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(238,247,255,.96)
        );

    border: 1px solid rgba(255,255,255,.75);
    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(0,30,70,.10),
        inset 0 1px 0 rgba(255,255,255,.85);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


/* cahaya lembut kanan atas */

.market-card::before {
    content: "";

    position: absolute;
    top: -45px;
    right: -35px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22,140,255,.18) 0%,
            rgba(22,140,255,0) 70%
        );

    pointer-events: none;
}


/* tombol panah di kanan */

.market-card::after {
    content: "→";

    position: absolute;

    right: 18px;
    top: 50%;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border-radius: 9px;

    background: rgba(22,140,255,.09);
    border: 1px solid rgba(22,140,255,.12);

    color: #168cff;

    font-size: 16px;
    font-weight: 900;

    transition:
        transform .22s ease,
        background .22s ease,
        color .22s ease;
}


/* JUDUL */

.market-card strong {
    position: relative;
    z-index: 1;

    margin: 0 0 5px;

    color: #10233f;

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .15px;
}


/* LINK */

.market-card span {
    position: relative;
    z-index: 1;

    color: #168cff;

    font-size: 11px;
    font-weight: 800;
}


/* HOVER */

.market-card:hover {
    transform: translateY(-4px);

    border-color: rgba(58,169,255,.35);

    box-shadow:
        0 16px 36px rgba(0,40,90,.15),
        0 0 0 1px rgba(58,169,255,.08);
}


.market-card:hover::after {
    transform:
        translateY(-50%)
        translateX(3px);

    background: #168cff;
    color: #ffffff;
}


/* HP KECIL */

@media (max-width: 430px) {

    .market-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   CONTENT - CLEAN PREMIUM
========================================================= */

.content-section {
    padding: 12px 0 48px;
}

.content-box {
    position: relative;
    overflow: hidden;

    padding: 34px 36px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(244,249,255,.96)
        );

    border: 1px solid rgba(40, 135, 225, 0.14);
    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(12, 52, 92, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* glow halus */
.content-box::before {
    content: "";

    position: absolute;
    top: -100px;
    right: -80px;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37,159,255,.10),
            transparent 70%
        );

    pointer-events: none;
}


/* setiap judul */
.content-box h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 10px;

    color: #10243e;

    font-size: 22px;
    font-weight: 900;

    letter-spacing: -.2px;
}


/* paragraf */
.content-box p {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #607187;

    font-size: 14px;
    line-height: 1.75;
}


/* paragraf kedua dalam section pertama */
.content-box p + p {
    margin-top: 14px;
}


/* judul section berikutnya */
.content-box h2:not(:first-child) {
    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid rgba(23, 92, 155, 0.10);
}


/* =========================================================
   FAQ - CLEAN MODERN FINAL
========================================================= */

.faq-section {
    padding: 20px 0 50px;
}

.faq {
    display: grid;
    gap: 10px;
}

.faq details {
    overflow: hidden;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(30, 120, 205, 0.14);
    border-radius: 13px;

    box-shadow: 0 8px 22px rgba(5, 35, 70, 0.07);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.faq details:hover {
    border-color: rgba(22, 140, 255, 0.28);

    box-shadow:
        0 10px 26px rgba(5, 35, 70, 0.10);
}


/* PERTANYAAN */

.faq summary {
    position: relative;

    padding: 18px 54px 18px 20px;

    color: #10243e;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    list-style: none;
}


/* Hilangkan segitiga bawaan */

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::marker {
    content: "";
}


/* Tombol panah */

.faq summary::after {
    content: "⌄";

    position: absolute;
    right: 16px;
    top: 50%;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border-radius: 9px;

    background: rgba(22, 140, 255, 0.08);
    border: 1px solid rgba(22, 140, 255, 0.16);

    color: #168cff;

    font-size: 26px;
    font-weight: 900;
    line-height: 1;

    padding: 0 0 7px 0;
    box-sizing: border-box;

    transition:
        transform .22s ease,
        background .22s ease,
        color .22s ease;
}


/* FAQ terbuka */

.faq details[open] {
    border-color: rgba(22, 140, 255, 0.25);
}

.faq details[open] summary::after {
    content: "⌄";

    background: #168cff;
    color: #ffffff;

    transform:
        translateY(-50%)
        rotate(180deg);
}


/* JAWABAN */

.faq details p {
    margin: 0;

    padding: 0 20px 18px;

    color: #607187;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER - MODERN COMPACT
========================================================= */

.footer {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #07182d 0%,
            #0a2444 55%,
            #0b315c 100%
        );

    border-top: 1px solid rgba(87, 184, 255, 0.18);

    padding: 14px 0;

    color: #d8e8f7;

    box-shadow:
        0 -8px 30px rgba(0, 20, 45, 0.12);
}


/* garis cahaya tipis */

.footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 20%;
    right: 20%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #168cff,
            #61c9ff,
            #168cff,
            transparent
        );
}


/* seluruh isi horizontal */

.footer .container {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    flex-wrap: nowrap;
}


/* BRAND */

.footer strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: 0.7px;

    white-space: nowrap;
}


/* DESKRIPSI */

.footer p {
    margin: 0;

    color: #9fb5cb;

    font-size: 11px;

    line-height: 1.3;

    white-space: nowrap;
}


/* COPYRIGHT */

.footer .copyright {
    margin: 0;

    padding-left: 18px;

    border-left:
        1px solid rgba(255, 255, 255, 0.16);

    color: #7892ac;

    white-space: nowrap;
}


/* =========================================================
   GLOBAL MOBILE - CORE LAYOUT & TABLE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 24px);
    }

    .table-section {
        padding: 30px 0 40px;
    }

    .table-wrapper {
        border-radius: 17px;
        box-shadow: 0 16px 40px rgba(0, 25, 60, 0.16);
    }

    .table-wrapper thead th {
        padding: 15px 12px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .table-wrapper tbody {
        max-height: 420px;
    }

    .table-wrapper tbody tr {
        height: 60px;
    }

    .table-wrapper tbody td {
        padding: 17px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .table-wrapper td.hasil {
        font-size: 17px;
        letter-spacing: 2px;
    }

    .table-wrapper td.hasil::before {
        content: "R";
        padding: 4px 6px;
        margin-right: 6px;
        font-size: 7px;
    }

    .table-wrapper td.hasil::after {
        width: 6px;
        height: 6px;
        margin-left: 7px;
    }

    .table-wrapper th:nth-child(1),
    .table-wrapper td:nth-child(1) {
        width: 39%;
    }

    .table-wrapper th:nth-child(2),
    .table-wrapper td:nth-child(2) {
        width: 22%;
    }

    .table-wrapper th:nth-child(3),
    .table-wrapper td:nth-child(3) {
        width: 39%;
    }

    .section-heading h2 {
        font-size: 24px;
    }
}

@media (max-width: 420px) {
    .table-wrapper thead th { padding: 14px 9px; }
    .table-wrapper tbody td { padding: 15px 9px; }
    .table-wrapper td.hasil { font-size: 16px; letter-spacing: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .status,
    .status::before { animation: none; }
    .market-card,
    .table-wrapper tbody td,
    .nav-menu a { transition: none; }
}

/* =========================================================
   PAGE BACKGROUNDS
   HK / SGP / SDY
========================================================= */

/* Shared page behavior */
body.page-hk,
body.page-sgp,
body.page-sdy {
    position: relative;
    min-height: 100vh;
    background-color: #071a31;
}

/* Desktop backgrounds */
body.page-hk {
    background:
        linear-gradient(
            to bottom,
            rgba(5, 20, 40, 0.18) 0%,
            rgba(5, 20, 40, 0.28) 45%,
            rgba(5, 20, 40, 0.40) 100%
        ),
        url("assets/hongkong-pools-background.webp")
        center top / cover no-repeat fixed;
}

body.page-sgp {
    background:
        linear-gradient(
            to bottom,
            rgba(5, 20, 40, 0.18) 0%,
            rgba(5, 20, 40, 0.26) 45%,
            rgba(5, 20, 40, 0.36) 100%
        ),
        url("assets/singapore-background.webp")
        center top / cover no-repeat fixed;
}

body.page-sdy {
    background:
        linear-gradient(
            to bottom,
            rgba(5, 20, 40, 0.18) 0%,
            rgba(5, 20, 40, 0.26) 45%,
            rgba(5, 20, 40, 0.36) 100%
        ),
        url("assets/sydney-aksestoto-background.webp")
        center top / cover no-repeat fixed;
}

/* Transparent sections so the page background remains visible */
body.page-hk .latest-section,
body.page-hk .table-section,
body.page-hk .markets,
body.page-hk .content-section,
body.page-hk .faq-section,
body.page-sgp .latest-section,
body.page-sgp .table-section,
body.page-sgp .markets,
body.page-sgp .content-section,
body.page-sgp .faq-section,
body.page-sdy .latest-section,
body.page-sdy .table-section,
body.page-sdy .markets,
body.page-sdy .content-section,
body.page-sdy .faq-section {
    background: transparent;
}

/* Intro remains readable */
body.page-hk .intro,
body.page-sgp .intro,
body.page-sdy .intro {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Section headings on image backgrounds */
body.page-hk .section-heading h2,
body.page-sgp .section-heading h2,
body.page-sdy .section-heading h2 {
    color: #ffffff;
}

body.page-hk .section-heading > span,
body.page-sgp .section-heading > span,
body.page-sdy .section-heading > span {
    color: #59c4ff;
}

body.page-hk .section-heading p,
body.page-sgp .section-heading p,
body.page-sdy .section-heading p {
    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   MOBILE PAGE BACKGROUNDS
========================================================= */

@media (max-width: 768px) {

    body.page-hk,
    body.page-sgp,
    body.page-sdy {
        background-attachment: scroll;
        background-color: #071a31;
    }

    body.page-hk {
        background:
            linear-gradient(
                rgba(5, 20, 40, 0.14),
                rgba(5, 20, 40, 0.24)
            ),
            url("assets/hongkong-pools-background-mobile.webp")
            center top / 100% auto no-repeat;
    }

    body.page-sgp {
        background:
            linear-gradient(
                rgba(5, 20, 40, 0.14),
                rgba(5, 20, 40, 0.24)
            ),
            url("assets/singapore-aksestoto-background-mobile.webp")
            center top / 100% auto no-repeat;
    }
}

/* =========================================================
   MOBILE BACKGROUND - DATA SDY FINAL FIX
========================================================= */

@media (max-width: 768px) {

    body.page-sdy {
        position: relative;
        min-height: 100vh;
        background: #071a31;
    }

    body.page-sdy::before {
        content: "";

        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        bottom: 0;

        background-image:
            linear-gradient(
                rgba(5, 20, 40, 0.10),
                rgba(5, 20, 40, 0.18)
            ),
            url("assets/sydney-aksestoto-background-mobile.webp");

        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;

        pointer-events: none;
        z-index: 0;
    }

    body.page-sdy > * {
        position: relative;
        z-index: 1;
    }

    body.page-sdy .header {
        z-index: 1000;
    }

    body.page-sdy .latest-section,
    body.page-sdy .table-section,
    body.page-sdy .markets,
    body.page-sdy .content-section,
    body.page-sdy .faq-section {
        background: transparent;
    }
}

/* =========================================================
   MOBILE FINAL POLISH - INTRO
========================================================= */

@media (max-width: 768px) {

    body.page-hk .intro,
    body.page-hk-lotto .intro,
    body.page-sdy .intro,
    body.page-sgp .intro {
        width: calc(100% - 24px);

        margin: 12px auto 0;
        padding: 16px 15px;

        border-radius: 15px;

        background: rgba(8, 35, 68, 0.32) !important;

        border: 1px solid rgba(255, 255, 255, 0.25);

        backdrop-filter: blur(12px) saturate(125%);
        -webkit-backdrop-filter: blur(12px) saturate(125%);
    }

    body.page-hk .intro h1,
    body.page-hk-lotto .intro h1,
    body.page-sdy .intro h1,
    body.page-sgp .intro h1 {
        margin: 5px 0 8px;

        font-size: 22px;
        line-height: 1.25;

        text-align: center;
    }

    body.page-hk .intro .breadcrumb,
    body.page-hk-lotto .intro .breadcrumb,
    body.page-sdy .intro .breadcrumb,
    body.page-sgp .intro .breadcrumb {
        font-size: 11px;
        text-align: center;
    }

    body.page-hk .intro .intro-text,
    body.page-hk-lotto .intro .intro-text,
    body.page-sdy .intro .intro-text,
    body.page-sgp .intro .intro-text {
        max-width: 100%;

        font-size: 12px;
        line-height: 1.55;

        text-align: center;
    }
}

/* =========================================================
   MOBILE FINAL POLISH - LATEST RESULT
========================================================= */

@media (max-width: 768px) {

    .latest-section {
        padding: 18px 0 20px;
    }

    .latest-card {
        border-radius: 16px;
    }

    .latest-header {
        padding: 17px 16px;
    }

    .latest-header h2 {
        font-size: 19px;
        line-height: 1.25;
    }

    .latest-header > div:first-child span {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .status {
        padding: 6px 9px;
        font-size: 8px;
    }

    .result-info {
        min-height: 88px;
        padding: 15px 17px;
    }

    .result-info span,
    .result-number span {
        font-size: 9px;
    }

    .result-info strong {
        font-size: 17px;
    }

    .result-number {
        min-height: 100px;
        padding: 15px;
    }

    .number {
        font-size: 34px;
        letter-spacing: 5px;
    }

    .result-note {
        padding: 10px 17px;
        font-size: 9px;
    }
}

/* =========================================================
   MOBILE FINAL POLISH - LOWER SECTIONS
========================================================= */

@media (max-width: 768px) {

    /* DATA LAINNYA */
    .markets {
        padding: 14px 0 30px;
    }

    .market-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .market-card {
        min-height: 74px;
        padding: 13px 44px 13px 14px;
        border-radius: 13px;
    }

    .market-card strong {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .market-card span {
        font-size: 9px;
    }

    .market-card::after {
        width: 28px;
        height: 28px;
        right: 11px;
    }


    /* CONTENT */
    .content-section {
        padding: 6px 0 30px;
    }

    .content-box {
        padding: 22px 20px;
        border-radius: 15px;
    }

    .content-box h2 {
        font-size: 19px;
        line-height: 1.3;
    }

    .content-box h2:not(:first-child) {
        margin-top: 20px;
        padding-top: 19px;
    }

    .content-box p {
        font-size: 12px;
        line-height: 1.65;
    }


    /* FAQ */
    .faq-section {
        padding: 10px 0 28px;
    }

    .faq {
        gap: 8px;
    }

    .faq summary {
        min-height: 52px;
        display: flex;
        align-items: center;
        padding: 13px 48px 13px 15px;
    }

    .faq summary::after {
        right: 14px;
        width: 26px;
        height: 26px;
        font-size: 16px;
    }

    .faq details p {
        padding: 0 16px 16px;
        font-size: 12px;
    }


    /* FOOTER */
    .footer {
        padding: 12px 0;
    }

    .footer strong {
        font-size: 11px;
    }

    .footer .copyright {
        font-size: 9px;
    }
}

/* =========================================================
   AKSESTOTO BANNER - FINAL FIX
   DESKTOP + MOBILE TANPA HORIZONTAL SCROLL
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* Section banner */
.partner-banner-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 22px 0 28px;
    overflow: hidden;
}

/* Paksa container banner mengikuti viewport */
.partner-banner-section .container {
    width: min(1100px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    margin-inline: auto;
    padding: 0;
    overflow: hidden;
}

/* Wrapper banner */
.partner-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;

    border: 1px solid rgba(54, 190, 255, .45);
    border-radius: 16px;

    background: #071d36;

    box-shadow:
        0 10px 28px rgba(0, 20, 45, .28),
        0 0 16px rgba(38, 181, 255, .12);
}

/*
   Selector sengaja dibuat beberapa lapis.
   Jadi walaupun HTML banner sedikit berbeda,
   gambar tetap dipaksa masuk viewport.
*/
.partner-banner img,
.partner-banner-section img,
img[src*="aksestoto-banner.webp"] {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    border: 0 !important;

    transform: none !important;
}

/* =========================================================
   LOGIN + DAFTAR
========================================================= */

.partner-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;
    padding: 12px;
}

.partner-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .6px;

    white-space: nowrap;
}

.partner-login {
    border: 1px solid rgba(70, 201, 255, .55);

    background:
        linear-gradient(
            135deg,
            #0a365d,
            #0b5d91
        );

    color: #ffffff;
}

.partner-register {
    background:
        linear-gradient(
            135deg,
            #168cff,
            #42c9ff
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(22, 140, 255, .25);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .partner-banner-section {
        width: 100%;
        max-width: 100%;
        padding: 14px 0 20px;
        overflow: hidden;
    }

    .partner-banner-section .container {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-inline: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .partner-banner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        border-radius: 13px;
    }

    .partner-banner img,
    .partner-banner-section img,
    img[src*="aksestoto-banner.webp"] {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: contain !important;
        object-position: center !important;

        transform: none !important;
    }

    .partner-actions {
        width: 100%;
        max-width: 100%;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
        padding: 9px;
    }

    .partner-btn {
        min-width: 0;
        min-height: 42px;

        padding: 0 8px;

        font-size: 12px;
    }
}

/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .partner-banner-section .container {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
    }

    .partner-banner {
        border-radius: 11px;
    }

    .partner-actions {
        gap: 6px;
        padding: 8px;
    }

    .partner-btn {
        min-height: 40px;
        font-size: 11px;
    }
}

/* =========================================================
   AKSESTOTO BANNER - ANIMATED GLOW EFFECT
========================================================= */

.partner-banner {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    border: 1px solid rgba(69, 202, 255, .75);

    box-shadow:
        0 0 8px rgba(39, 181, 255, .35),
        0 0 22px rgba(25, 140, 255, .18),
        0 12px 35px rgba(0, 18, 45, .35);

    animation: partnerGlow 3s ease-in-out infinite alternate;
}


/* CAHAYA BERGERAK */

.partner-banner::before {
    content: "";

    position: absolute;
    z-index: 3;

    top: -80%;
    left: -35%;

    width: 18%;
    height: 260%;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        rgba(255,255,255,.65),
        rgba(83,207,255,.35),
        transparent
    );

    filter: blur(7px);

    transform: rotate(18deg);

    animation: bannerShine 4.5s ease-in-out infinite;
}


/* BORDER GLOW TAMBAHAN */

.partner-banner::after {
    content: "";

    position: absolute;
    z-index: 4;

    inset: 0;

    border-radius: inherit;

    pointer-events: none;

    box-shadow:
        inset 0 0 10px rgba(75, 210, 255, .18),
        inset 0 0 2px rgba(255,255,255,.55);
}


/* GAMBAR */

.partner-banner img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    transition:
        transform .45s ease,
        filter .45s ease;
}


/* SEDIKIT EFEK SAAT DESKTOP DI-HOVER */

@media (hover: hover) {

    .partner-banner:hover img {
        transform: scale(1.012);

        filter:
            brightness(1.04)
            saturate(1.05);
    }
}


/* TOMBOL HARUS DI ATAS EFEK CAHAYA */

.partner-actions {
    position: relative;
    z-index: 6;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes bannerShine {

    0% {
        left: -35%;
        opacity: 0;
    }

    12% {
        opacity: .9;
    }

    45% {
        left: 125%;
        opacity: .8;
    }

    55%,
    100% {
        left: 125%;
        opacity: 0;
    }
}


@keyframes partnerGlow {

    from {
        box-shadow:
            0 0 7px rgba(39,181,255,.28),
            0 0 18px rgba(25,140,255,.14),
            0 12px 35px rgba(0,18,45,.32);
    }

    to {
        box-shadow:
            0 0 12px rgba(64,205,255,.55),
            0 0 30px rgba(25,140,255,.28),
            0 12px 40px rgba(0,18,45,.42);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .partner-banner::before {
        width: 22%;
        filter: blur(5px);

        animation-duration: 5s;
    }

    .partner-banner {
        animation-duration: 3.5s;
    }
}


/* Hormati setting reduce motion perangkat */

@media (prefers-reduced-motion: reduce) {

    .partner-banner,
    .partner-banner::before {
        animation: none;
    }
}