/* Purislot — stylesheet halaman statis (Tentang, Bantuan, Ketentuan, dll) */

:root {
  --bg: #151515;
  --surface: #1d1d1d;
  --surface-2: #242424;
  --line: #333;
  --gold: #b88416;
  --gold-soft: #d3a516;
  --gold-light: #f3dd7f;
  --text: #d8d8d8;
  --text-strong: #f2f2f2;
  --muted: #9a9a9a;
  --radius: 10px;
  --maxw: 880px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; }

a { color: var(--gold-soft); text-decoration: none; }
a:hover, a:focus { color: var(--gold-light); text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 21, 21, .96);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
}

.site-head img { width: 150px; height: 33px; display: block; }

.head-actions { display: flex; gap: 10px; }

.btn {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--gold);
}

.btn-ghost { color: var(--gold-light); }
.btn-ghost:hover { background: rgba(184, 132, 22, .14); text-decoration: none; }

.btn-solid {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1a1a;
}
.btn-solid:hover { filter: brightness(1.1); color: #1a1a1a; text-decoration: none; }

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 0;
}
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumb li + li:before { content: "›"; margin-right: 8px; color: var(--line); }

/* ---------- Content ---------- */
main { padding: 10px 0 50px; }

h1 {
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.3;
  color: var(--gold-light);
  margin: 18px 0 6px;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(18px, 3vw, 21px);
  color: var(--gold);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

h3 {
  font-size: 16px;
  color: var(--text-strong);
  margin: 24px 0 8px;
}

p { margin: 0 0 16px; text-align: justify; }

strong { color: var(--text-strong); }

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 9px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 18px;
}
.card :last-child { margin-bottom: 0; }

.notice {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--muted);
  margin: 26px 0 0;
}
.notice :last-child { margin-bottom: 0; }

/* Tabel */
.table-scroll { overflow-x: auto; margin: 0 0 18px; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 14.5px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: var(--surface-2); color: var(--gold-light); font-weight: 700; }

/* FAQ */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  margin-bottom: 10px;
}
summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  color: var(--text-strong);
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary:before { content: "+ "; color: var(--gold); font-weight: 700; }
details[open] summary:before { content: "− "; }
details[open] summary { border-bottom: 1px solid var(--line); }
details > *:not(summary) { padding-top: 14px; }
details p:last-child { padding-bottom: 14px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
  font-size: 14px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.foot-bottom p { text-align: left; margin: 0 0 8px; }

@media (max-width: 560px) {
  .site-head img { width: 118px; height: 26px; }
  .btn { padding: 6px 11px; font-size: 12px; }
  body { font-size: 15.5px; }
  p { text-align: left; }
}
