* { box-sizing: border-box; }
:root {
    color-scheme: dark;
    --bg: #060607;
    --panel: #101113;
    --panel-2: #17191d;
    --ink: #fff7ec;
    --muted: #c8c0b4;
    --line: #332325;
    --red: #f01330;
    --red-dark: #71070f;
    --gold: #ffc247;
    --green: #24c266;
    --soft-red: rgba(240, 19, 48, 0.18);
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(240, 19, 48, 0.22), transparent 34rem),
        radial-gradient(circle at top right, rgba(255, 194, 71, 0.14), transparent 28rem),
        linear-gradient(180deg, #120609 0%, var(--bg) 36rem);
}
a { color: #ffd36d; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff2bd; }
img { max-width: 100%; display: block; }
.site-header, main, .site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 18px 0 30px; }
.breadcrumbs ol { display: flex; gap: 8px; padding: 0; margin: 0 0 18px; list-style: none; color: var(--muted); font-size: 0.92rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #7b6f6b; }
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    min-height: 360px;
    background:
        linear-gradient(90deg, rgba(6, 6, 7, 0.94), rgba(6, 6, 7, 0.72)),
        url("/img/situs-mahadewa88-rtp-slot-online.png") center / cover no-repeat;
    border: 1px solid rgba(255, 194, 71, 0.25);
    border-radius: 8px;
    box-shadow: 0 0 34px rgba(240, 19, 48, 0.18);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}
.brand-mark {
    width: min(220px, 62vw);
    height: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.72));
}
.eyebrow { margin: 0 0 10px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
h1, h2, h3 { line-height: 1.18; margin: 0; letter-spacing: 0; }
h1 { max-width: 800px; font-size: clamp(2.2rem, 5vw, 4.45rem); text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8); }
h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
h3 { font-size: 1.08rem; }
p { margin: 0; }
.hero-copy { max-width: 760px; margin-top: 18px; color: #f0e6d8; font-size: 1.08rem; }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button, .pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #ff6b6b;
    border-radius: 7px;
    background: linear-gradient(180deg, #ff283f 0%, #8d0712 100%);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(240, 19, 48, 0.24);
}
.button:hover, .pagination button:hover { background: linear-gradient(180deg, #ff4f60 0%, #a40715 100%); color: #fff; }
.button-secondary { background: #1b1c20; border-color: rgba(255, 194, 71, 0.55); color: #ffe39c; box-shadow: none; }
.button-secondary:hover { background: #272126; color: #fff2bd; }
.button-small { min-height: 38px; padding: 8px 11px; font-size: 0.78rem; }
.button-hot { border-color: var(--gold); background: linear-gradient(180deg, #ffd15f 0%, #c77700 100%); color: #220b00; }
.button-hot:hover { color: #170700; background: linear-gradient(180deg, #ffe08b 0%, #e08d07 100%); }
.last-updated { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.provider-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px;
    background: #050505;
    border: 1px solid rgba(240, 19, 48, 0.42);
    border-radius: 8px;
}
.provider-track {
    display: flex;
    flex: 1;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.provider-track::-webkit-scrollbar { display: none; }
.provider-track a {
    flex: 0 0 124px;
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 8px;
    background: #101010;
    border: 1px solid #2b2b2b;
    border-radius: 7px;
}
.provider-track a:hover { border-color: var(--red); background: #1a0d0f; }
.provider-track img { max-height: 42px; object-fit: contain; }
.provider-arrow {
    width: 38px;
    height: 54px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, #2a1013, #090909);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}
.intro-section { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr); gap: 20px; margin-top: 26px; }
.intro-section > div, .disclaimer, .section, .site-footer {
    background: linear-gradient(180deg, rgba(25, 26, 30, 0.96), rgba(10, 10, 12, 0.96));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(20px, 4vw, 34px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.intro-section p, .section-heading p, .compare-section p, .responsible p, .site-footer p, .faq p, .provider-card p { color: var(--muted); margin-top: 12px; }
.note, .disclaimer { border-left: 4px solid var(--gold); }
.note { padding: 12px 14px; background: rgba(255, 194, 71, 0.12); color: #ffe2a0 !important; border-radius: 0 6px 6px 0; }
.section { margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading p { max-width: 690px; }
.top-grid, .provider-grid { display: grid; gap: 14px; }
.top-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.top-card, .provider-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 194, 71, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, #202126 0%, #0b0b0d 100%);
}
.top-card {
    min-height: 360px;
    display: grid;
    grid-template-rows: 168px 1fr;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd56b, #bb7200);
    color: #170600;
    font-weight: 900;
    font-size: 0.85rem;
}
.game-thumb {
    display: grid;
    place-items: center;
    padding: 12px;
    background: radial-gradient(circle, rgba(240, 19, 48, 0.2), rgba(0, 0, 0, 0.72));
}
.game-thumb img {
    width: 100%;
    height: 144px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.6));
}
.top-card-body { display: grid; gap: 8px; align-content: start; padding: 14px; }
.provider-name { color: var(--muted); }
.rtp-number { color: #c8ffdd; font-size: 1.06rem; }
.rtp-meter, .table-rtp-bar {
    display: block;
    height: 13px;
    overflow: hidden;
    background: #2d3034;
    border-radius: 999px;
    border: 1px solid #3c3f43;
}
.rtp-meter span, .table-rtp-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #f01330, #ffc247, #24c266);
}
.game-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.game-stats div {
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
}
dt { color: var(--muted); font-size: 0.78rem; }
dd { margin: 0; font-weight: 800; }
.provider-card { display: grid; gap: 16px; padding: 18px; }
.provider-card dl { display: grid; gap: 8px; margin: 0; }
.provider-card dl div { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 8px; }
.provider-card dd { text-align: right; }
.filters { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 10px 14px; align-items: end; margin-bottom: 12px; }
.filter-field { display: grid; gap: 6px; }
.filters label { font-weight: 800; font-size: 0.9rem; color: var(--ink); }
.filters input, .filters select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #3b3032;
    border-radius: 7px;
    padding: 10px 12px;
    font: inherit;
    background: #08090a;
    color: var(--ink);
}
.filters input:focus, .filters select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(255, 194, 71, 0.65); outline-offset: 2px; }
.table-status { color: var(--muted); margin: 8px 0 12px; }
.table-wrap { overflow-x: auto; border: 1px solid #35262a; border-radius: 8px; background: #09090a; }
table { width: 100%; border-collapse: collapse; min-width: 850px; background: #0c0d0f; }
caption { text-align: left; padding: 12px 14px; color: var(--muted); font-size: 0.92rem; }
th, td { padding: 12px 14px; text-align: left; border-top: 1px solid #292326; vertical-align: middle; }
th { background: #180b0e; color: var(--ink); position: sticky; top: 0; z-index: 1; }
th button { all: unset; cursor: pointer; font-weight: 800; color: #ffe09b; }
th button::after { content: " urutkan"; color: var(--muted); font-size: 0.78rem; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.slot-cell { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.slot-cell img {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 6px;
    background: #16171a;
    border: 1px solid #2b2c30;
}
.table-rtp-value { display: block; font-weight: 900; color: #c8ffdd; margin-bottom: 5px; }
.table-rtp-bar { width: 130px; height: 9px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.pagination button:disabled { opacity: 0.45; cursor: not-allowed; }
.compare-section { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.compare-section h2 { grid-column: 1 / -1; }
.compare-section article { border-top: 3px solid var(--red); padding-top: 14px; }
.faq details { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: #ffe09b; }
.site-footer { margin-top: 24px; margin-bottom: 28px; }
@media (max-width: 1080px) {
    .top-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
    .intro-section, .section-heading, .compare-section { display: block; }
    .disclaimer, .compare-section article { margin-top: 16px; }
    .filters { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .site-header, main, .site-footer { width: min(100% - 20px, 1180px); }
    .hero { min-height: 0; padding: 28px 18px; }
    .top-grid, .provider-grid { grid-template-columns: 1fr; }
    .provider-arrow { display: none; }
    .provider-track a { flex-basis: 104px; }
    th, td { padding: 11px 12px; }
    .pagination { justify-content: space-between; }
}
