/* ============================================================
   style.css — tampilan web (tema BIRU, gaya kotak tebal)
   [BISA DIEDIT] ubah warna di blok :root di bawah ini.
   ============================================================ */
:root {
  --bg: #eaf3ff;        /* latar halaman */
  --card: #ffffff;      /* latar kartu */
  --ink: #0b1b3a;       /* warna garis & teks */
  --main: #1d6bff;      /* biru utama */
  --main-dark: #0a3fb0; /* biru gelap */
  --accent: #ffd23f;    /* aksen kuning */
  --ok: #19c37d;
  --bad: #ff4d5e;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: 'Courier New', ui-monospace, monospace;
  background: var(--bg); color: var(--ink);
  background-image: linear-gradient(rgba(29,107,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(29,107,255,.08) 1px, transparent 1px);
  background-size: 28px 28px; min-height: 100vh; padding-bottom: 100px;
}
.top { background: var(--main); border-bottom: 4px solid var(--ink); padding: 22px 16px; text-align: center; box-shadow: 0 5px 0 var(--ink); }
.top h1 { color: #fff; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; line-height: 1.3; }
.top h1 span { display: block; color: var(--accent); font-size: 15px; margin-top: 4px; }
.wrap { max-width: 520px; margin: 28px auto 0; padding: 0 16px; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--card); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 16px; }
.drop { display: block; border: 3px dashed var(--main); border-radius: 12px; padding: 34px 12px; text-align: center; cursor: pointer; background: #f4f9ff; transition: .15s; }
.drop.over, .drop:hover { background: #dcebff; }
.drop-icon { width: 54px; height: 54px; margin: 0 auto 10px; border: 3px solid var(--ink); border-radius: 12px; background: var(--accent); display: grid; place-items: center; font-size: 26px; font-weight: 900; box-shadow: 3px 3px 0 var(--ink); }
.drop-title { font-weight: 800; text-transform: uppercase; font-size: 14px; word-break: break-word; }
.drop-sub { font-size: 12px; margin-top: 6px; opacity: .7; }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer; font: 800 15px 'Courier New', monospace; text-transform: uppercase; color: var(--ink); padding: 14px; border: 4px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); transition: .1s; }
.btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-main { background: var(--main); color: #fff; }
.btn-light { background: #fff; }
.btn-wa { background: #25d366; } .btn-tg { background: #37aee2; } .btn-dn { background: var(--accent); } .btn-ch { background: #b9d4ff; }
.bar { position: relative; height: 34px; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #e3eeff; }
.bar-fill { height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--main), var(--main) 12px, var(--main-dark) 12px, var(--main-dark) 24px); transition: width .3s; }
.bar span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; color: var(--ink); text-shadow: 0 0 4px #fff, 0 0 4px #fff; }
.term { margin-top: 14px; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #06122b; }
.term-head { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #e3eeff; border-bottom: 3px solid var(--ink); }
.term-head i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; border: 1px solid var(--ink); }
.term-head i:nth-child(2) { background: #febc2e; } .term-head i:nth-child(3) { background: #28c840; }
.term-head b { margin-left: auto; font-size: 11px; }
.term-body { padding: 10px; height: 150px; overflow-y: auto; color: #5dffb0; font-size: 12.5px; line-height: 1.6; }
.term-body .err { color: #ff8892; }
/* Tombol CS */
.cs { position: fixed; left: 16px; bottom: 16px; width: 62px; height: 62px; padding: 0; border-radius: 50%; border: 4px solid var(--ink); background: var(--accent); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; overflow: hidden; z-index: 5; }
.cs img { width: 100%; height: 100%; object-fit: cover; }
/* Popup */
.modal { position: fixed; inset: 0; background: rgba(6,18,43,.7); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
.modal[hidden] { display: none; }
.box { width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; background: var(--card); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.box h2 { text-transform: uppercase; font-size: 18px; }
.box p { font-size: 14px; line-height: 1.5; }
.box ol { padding-left: 20px; font-size: 14px; line-height: 1.6; display: flex; flex-direction: column; gap: 6px; }
.box.center { text-align: center; } .big { font-size: 56px; }
.reason { font-size: 12px; opacity: .7; }
.banner { position: relative; height: 150px; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--main); }
.banner video { width: 100%; height: 100%; object-fit: cover; }
.banner .logo { position: absolute; left: 10px; bottom: 10px; width: 54px; height: 54px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid .btn { font-size: 12px; padding: 12px 6px; }
