/* ==========================================================================
   Qqslot777 — tema "Gedung 777" (hitam · merah · kuning emas · putih)
   Statis, tanpa dependensi; konten utuh tanpa JavaScript.
   ========================================================================== */

:root {
  --bg: #0e0e14;
  --bg2: #14141c;
  --card: #1a1a24;
  --card2: #21212d;
  --line: #2c2c3a;
  --line2: #3a3a4c;
  --ink: #f3f1ec;
  --mut: #a9aabc;
  --red: #e23744;
  --red2: #ff5a63;
  --gold: #ffc93c;
  --gold2: #ffe08a;
  --green: #34c98e;
  --blue: #5aa7ec;
  --rad: 14px;
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 104px; /* ruang floatbar mengambang (overlay, bukan blok kosong) */
}

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

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); }
h2 .hl, h1 .hl, h3 .hl { color: var(--gold); }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* pencarian cepat lompat konten */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #221a04; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 800;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Tombol
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: .92rem; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); }

.btn--merah { background: linear-gradient(180deg, var(--red2), var(--red)); color: #fff; box-shadow: 0 10px 26px rgba(226, 55, 68, .35); }
.btn--emas { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #221a04; box-shadow: 0 10px 26px rgba(255, 201, 60, .28); }
.btn--hijau { background: linear-gradient(180deg, #3fe3a4, #1f9d6c); color: #03271a; box-shadow: 0 10px 26px rgba(52, 201, 142, .28); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 8px 16px; font-size: .78rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Topbar + header + navigasi
   -------------------------------------------------------------------------- */
.topbar { background: #0a0a0f; border-bottom: 1px solid var(--line); font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar__left { display: flex; align-items: center; gap: 8px; color: var(--mut); min-width: 0; }
.topbar__left .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: dotpulse 2.2s ease-in-out infinite; flex: none; }
@keyframes dotpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.topbar__right { display: flex; align-items: center; gap: 10px; flex: none; }
.badge--18 { background: var(--red); color: #fff; font-weight: 800; font-size: .72rem; padding: 1px 8px; border-radius: 6px; }
.motto { color: var(--gold); letter-spacing: .06em; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 20, .93); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand__name > span { font-size: 1.28rem; font-weight: 900; color: var(--ink); white-space: nowrap; }
.brand__name small { display: block; font-size: .64rem; color: var(--mut); letter-spacing: .16em; text-transform: uppercase; }

.main-navigation { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu-item a { display: block; padding: 10px 12px; border-radius: 9px; color: #cfcfe0; font-size: .92rem; font-weight: 600; }
.menu-item a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.current-menu-item > a { color: var(--gold); background: rgba(255, 201, 60, .09); }
.menu-item-has-children { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #16161f; border: 1px solid var(--line2); border-radius: 12px;
  padding: 8px; list-style: none; margin: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { padding: 9px 12px; font-size: .88rem; }

.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.main-navigation ~ .hdr-actions { margin-left: 0; }
.hdr-searchlink { font-size: 1.15rem; padding: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  background: none; border: 1px solid var(--line2); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb { background: var(--bg2); border-bottom: 1px solid var(--line); font-size: .82rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 10px 0; }
.breadcrumb li { color: var(--mut); }
.breadcrumb li + li::before { content: "›"; margin: 0 7px; color: var(--gold); }
.breadcrumb a { color: var(--mut); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Hero beranda
   -------------------------------------------------------------------------- */
.hero {
  position: relative; padding: 60px 0 56px; overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(226, 55, 68, .16), transparent 60%),
    radial-gradient(720px 380px at 88% -4%, rgba(255, 201, 60, .10), transparent 55%),
    var(--bg);
}
.hero .container { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 42px; align-items: center; }
.hero .kicker { margin: 0; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 12px 0 14px; }
.hero__lead { color: var(--mut); max-width: 58ch; font-size: 1.03rem; margin: 0 0 6px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 20px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px;
  border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font-size: .82rem; color: var(--mut);
}

.hero__search {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: rgba(18, 18, 26, .85); border: 1px solid var(--line2);
  border-radius: 14px; padding: 12px 14px;
}
.hero__search input {
  flex: 1; min-width: 170px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line2); background: #0b0b10; color: var(--ink);
  font: inherit; font-size: .95rem;
}
.hero__search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .18); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; align-items: center; }
.tagcloud .tc-label { font-size: .78rem; color: var(--mut); letter-spacing: .06em; text-transform: uppercase; }
.tag {
  padding: 6px 13px; border-radius: 999px; background: var(--card2);
  border: 1px solid var(--line); font-size: .84rem; color: var(--ink);
}
.tag:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

.hero__media { position: relative; }
.hero__shot {
  border: 2px solid rgba(255, 201, 60, .55); border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 201, 60, .06);
  transform: rotate(-1.2deg);
}
.hero__shot img { display: block; width: 100%; }
.bulbs {
  position: absolute; top: 12px; left: 18px; right: 18px; height: 8px; z-index: 1;
  background: radial-gradient(circle, #ffe08a 0 2.3px, transparent 3.1px);
  background-size: 19px 8px; animation: bulbglow 2.1s ease-in-out infinite alternate;
}
@keyframes bulbglow { from { opacity: .5; } to { opacity: 1; } }
.hero__tag {
  position: absolute; bottom: 14px; left: 14px; z-index: 1;
  background: rgba(13, 13, 19, .88); border: 1px solid var(--line2);
  padding: 5px 13px; border-radius: 999px; font-size: .78rem; color: var(--gold2);
}

/* --------------------------------------------------------------------------
   Seksi umum
   -------------------------------------------------------------------------- */
.section { padding: 62px 0; }
.section--alt { background: var(--bg2); }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin: 0 0 4px; }
.sec-title { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0 0 10px; }
.sec-lead { color: var(--mut); max-width: 74ch; margin: 0 0 26px; }
.text-center { text-align: center; }

.grid > * { min-width: 0; }
.grid { display: grid; gap: 20px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); }

/* --------------------------------------------------------------------------
   Panduan 4 langkah
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--rad); padding: 22px; }
.step__no { font-size: 2.1rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.6px var(--gold); }
.step h3 { font-size: 1.04rem; margin: 10px 0 8px; }
.step p { color: var(--mut); font-size: .9rem; margin: 0; }
.step a { font-size: .84rem; font-weight: 700; }

/* --------------------------------------------------------------------------
   Kartu promosi
   -------------------------------------------------------------------------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.promo-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 22px; overflow: hidden;
}
.promo-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.p-tag {
  align-self: flex-start; background: rgba(226, 55, 68, .14); color: #ff9aa1;
  border: 1px solid rgba(226, 55, 68, .4); font-size: .72rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px;
}
.promo-card h3 { font-size: 1.06rem; margin: 0; }
.p-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .84rem; color: var(--mut); }
.p-terms li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.p-link { margin-top: auto; font-size: .88rem; font-weight: 800; }

.badge-ilus {
  display: inline-block; background: rgba(90, 167, 236, .12); border: 1px solid rgba(90, 167, 236, .42);
  color: #9ecdf5; font-size: .7rem; font-weight: 800; letter-spacing: .07em;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase; vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Keunggulan (kenapa memilih)
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 22px; }
.why__ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.25rem; background: linear-gradient(180deg, var(--card2), var(--bg2));
  border: 1px solid var(--line2); margin-bottom: 12px;
}
.why h3 { font-size: 1.02rem; margin: 0 0 6px; }
.why p { color: var(--mut); font-size: .89rem; margin: 0; }

/* --------------------------------------------------------------------------
   Seksi dua kolom (pengalaman seluler dsb.)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 34px; align-items: center; }
.split__img { border-radius: 16px; border: 1px solid var(--line2); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.split__img img { display: block; width: 100%; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; color: var(--mut); }
.checks b { color: var(--ink); display: block; font-size: .95rem; }
.checks .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .85rem; background: rgba(52, 201, 142, .14); border: 1px solid rgba(52, 201, 142, .38); }

/* --------------------------------------------------------------------------
   Suara pembaca
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.quote { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 22px 22px 18px; }
.quote::before { content: "\201C"; position: absolute; top: 4px; left: 14px; font-size: 3rem; line-height: 1; color: var(--gold); opacity: .55; font-family: Georgia, serif; }
.quote p { margin: 20px 0 12px 26px; color: #d9d7e2; font-size: .93rem; }
.quote footer { margin-left: 26px; color: var(--mut); font-size: .82rem; }
.quote footer b { color: var(--gold2); }

/* --------------------------------------------------------------------------
   Museum Gulungan (inovasi) — seni CSS tiga zaman mesin
   -------------------------------------------------------------------------- */
.museum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.exhibit { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; transition: transform .18s ease, border-color .18s ease; }
.exhibit:hover { transform: translateY(-5px); border-color: var(--line2); }
.exhibit__art { height: 195px; position: relative; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.exhibit__body { padding: 18px 20px 22px; }
.exhibit h3 { font-size: 1.05rem; margin: 10px 0 8px; }
.exhibit p { color: var(--mut); font-size: .88rem; margin: 0 0 12px; }
.exhibit__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--tetap { border-color: rgba(52, 201, 142, .45); color: #8fe3c2; }
.chip--ubah { border-color: rgba(90, 167, 236, .45); color: #9ecdf5; }

.era-mekanik { background: linear-gradient(180deg, #2a2016, #171310); }
.era-video { background: linear-gradient(180deg, #131a2a, #0d1018); }
.era-daring { background: linear-gradient(180deg, #14201a, #0d1410); }

/* mesin mekanis */
.mech { width: 118px; height: 128px; background: linear-gradient(180deg, #8a5c33, #6b4527); border: 4px solid #452b15; border-radius: 12px; position: relative; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.mech__reels { position: absolute; top: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; }
.mech__reels i { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbf4e0, #cfc4a6); border: 3px solid #2e2e36; }
.mech__slot { position: absolute; top: 52px; left: 18px; right: 18px; height: 8px; background: #17120c; border-radius: 4px; }
.mech__tray { position: absolute; bottom: 12px; left: 26px; right: 26px; height: 13px; background: #0d0d12; border-radius: 5px; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .8); }
.mech__lever { position: absolute; right: -22px; top: 36px; width: 6px; height: 46px; background: linear-gradient(180deg, #d8d8e2, #9a9aa8); border-radius: 4px; transform: rotate(20deg); }
.mech__lever::before { content: ""; position: absolute; top: -12px; left: -5px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a91, var(--red)); }

/* kabinet video */
.vidcab { width: 132px; height: 124px; background: linear-gradient(180deg, #262633, #1c1c27); border: 3px solid #363644; border-radius: 14px; padding: 12px 10px 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.vidcab__screen { width: 100%; height: 62px; border-radius: 7px; background: linear-gradient(160deg, #10365e, #0a1d33); border: 2px solid #071525; position: relative; overflow: hidden; }
.vidcab__screen::before { content: ""; position: absolute; inset: 6px 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 9px, transparent 9px 20px); }
.vidcab__btns { display: flex; gap: 10px; justify-content: center; margin-top: 11px; }
.vidcab__btns i { width: 11px; height: 11px; border-radius: 50%; }
.vidcab__btns i:nth-child(1) { background: var(--red2); }
.vidcab__btns i:nth-child(2) { background: var(--gold); }
.vidcab__btns i:nth-child(3) { background: var(--green); }

/* slot daring di ponsel */
.fon { width: 90px; height: 148px; background: #101018; border: 3px solid #30303e; border-radius: 16px; position: relative; padding: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.fon::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 26px; height: 5px; background: #30303e; border-radius: 3px; }
.fon__reels { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.fon__reels i { width: 17px; height: 46px; border-radius: 5px; background: linear-gradient(180deg, #fbf4e0, #d3c8ab); border: 2px solid #3a3a44; }
.fon__spin { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 36px; height: 13px; border-radius: 999px; background: linear-gradient(180deg, var(--red2), #b01f2b); box-shadow: 0 4px 10px rgba(226, 55, 68, .5); }

/* --------------------------------------------------------------------------
   Keamanan & permainan bertanggung jawab
   -------------------------------------------------------------------------- */
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sec-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 26px; }
.sec-box h3 { margin: 0 0 8px; font-size: 1.1rem; }
.sec-box p { color: var(--mut); font-size: .92rem; }
.sec-box ul { margin: 12px 0 0; padding-left: 1.25em; color: var(--mut); font-size: .9rem; display: grid; gap: 7px; }
.sec-box--biru { border-top: 3px solid var(--blue); }
.sec-box--hijau { border-top: 3px solid var(--green); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-wrap { display: grid; gap: 10px; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color .15s ease;
}
details[open] { border-color: var(--line2); }
summary {
  position: relative; padding: 15px 46px 15px 18px; cursor: pointer;
  font-weight: 700; list-style: none; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; margin-top: -.62em;
  color: var(--gold); font-size: 1.35rem; font-weight: 700; line-height: 1.25;
  transition: transform .18s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details > p, details > div { padding: 0 18px 17px; color: var(--mut); font-size: .93rem; margin: 0; }
details > p a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Halaman artikel (layout + sidebar)
   -------------------------------------------------------------------------- */
.page-head { padding: 34px 0 8px; }
.page-head h1 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); margin: 6px 0 10px; }
.page-head .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--mut); font-size: .85rem; }
.cat-chip {
  display: inline-block; background: rgba(255, 201, 60, .12); color: var(--gold2);
  border: 1px solid rgba(255, 201, 60, .4); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px;
}

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding: 22px 0 56px; align-items: start; }
.layout > aside { position: sticky; top: 96px; }

.entry-content { font-size: 1rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 1.34rem; margin: 1.9em 0 .6em; padding-left: 14px; border-left: 4px solid var(--gold); }
.entry-content h3 { font-size: 1.12rem; margin: 1.5em 0 .5em; color: var(--gold2); }
.entry-content p { color: #cfcdde; margin: 0 0 1.05em; }
.entry-content ul, .entry-content ol { color: #cfcdde; padding-left: 1.35em; margin: 0 0 1.05em; display: grid; gap: 7px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { border-radius: 14px; border: 1px solid var(--line2); width: 100%; display: block; }
.entry-content figcaption { font-size: .8rem; color: var(--mut); margin-top: 8px; text-align: center; }

.note {
  background: #14203166; border: 1px solid rgba(90, 167, 236, .35); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 14px 16px; font-size: .9rem; color: #c4d9ef;
}
.note--merah { background: rgba(226, 55, 68, .08); border-color: rgba(226, 55, 68, .38); border-left-color: var(--red); color: #f0c3c7; }
.note--hijau { background: rgba(52, 201, 142, .07); border-color: rgba(52, 201, 142, .35); border-left-color: var(--green); color: #bfe8d6; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.t th, table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: #cfcdde; }
table.t th { background: var(--card2); color: var(--gold2); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
table.t tr:last-child td { border-bottom: none; }

.steps-inline ol { list-style: none; counter-reset: qs; padding: 0; }
.steps-inline ol li { counter-increment: qs; position: relative; padding-left: 36px; margin: 12px 0; }
.steps-inline ol li::before {
  content: counter(qs); position: absolute; left: 0; top: 4px; width: 25px; height: 25px;
  border-radius: 8px; background: linear-gradient(180deg, var(--red2), #b01f2b);
  color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center;
}

.entry-foot { margin-top: 30px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--mut); display: flex; flex-wrap: wrap; gap: 8px 18px; }

.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: 20px 22px; margin-bottom: 18px; }
.widget h3 { font-size: 1rem; margin: 0 0 10px; color: var(--gold2); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--mut); font-size: .9rem; }
.widget ul li:last-child a { border-bottom: none; }
.widget ul li a:hover { color: var(--gold); text-decoration: none; }
.widget--cta { background: linear-gradient(150deg, #331319, #1c1c28); border-color: rgba(226, 55, 68, .4); }
.widget--cta p { color: #e8d9dc; font-size: .88rem; margin: 0 0 10px; }
.widget--cta .note18 { font-size: .78rem; color: #c9a3a8; margin: 12px 0 0; }

/* --------------------------------------------------------------------------
   Formulir daftar / masuk
   -------------------------------------------------------------------------- */
.form-card { max-width: 660px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-card label { display: block; font-size: .84rem; font-weight: 700; margin: 13px 0 6px; color: #d9d7e2; }
.req::after { content: " *"; color: var(--red2); font-weight: 800; }
.form-card input, .form-card select {
  width: 100%; padding: 12px 14px; background: #0b0b10; border: 1px solid var(--line2);
  border-radius: 10px; color: var(--ink); font: inherit; font-size: .95rem;
}
.form-card input:focus, .form-card select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .18); }
.fcheck { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--mut); margin: 16px 0 4px; }
.fcheck input[type="checkbox"] { width: auto; margin-top: 4px; }
.form-note { font-size: .8rem; color: var(--mut); margin-top: 14px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Pencarian
   -------------------------------------------------------------------------- */
.sr-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 13px; }
.sr-item .crumb { font-size: .72rem; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.sr-item h3 { margin: 6px 0; font-size: 1.05rem; }
.sr-item h3 a { color: var(--ink); }
.sr-item h3 a:hover { color: var(--gold); }
.sr-item p { margin: 0; color: var(--mut); font-size: .89rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #0b0b10; }
.footer-cta { background: linear-gradient(135deg, #2a1216, #15151d); border-bottom: 1px solid var(--line); padding: 34px 0; }
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-cta h2 { font-size: 1.28rem; margin: 0 0 6px; }
.footer-cta p { margin: 0; color: var(--mut); font-size: .9rem; }
.footer-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; padding: 46px 0 26px; }
.f-brand p { color: var(--mut); font-size: .9rem; }
.f-sos { display: flex; gap: 9px; margin-top: 14px; }
.f-sos a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line2); border-radius: 10px; font-size: 1.05rem; }
.f-sos a:hover { border-color: var(--gold); text-decoration: none; }
.f-col h3 { font-size: .92rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin: 4px 0 12px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col ul li { margin: 9px 0; }
.f-col ul li a { color: var(--mut); font-size: .9rem; }
.f-col ul li a:hover { color: var(--ink); }
.f-rg { background: #0f231b; border: 1px solid rgba(52, 201, 142, .35); border-radius: 12px; padding: 14px 16px; font-size: .83rem; color: #bfe8d6; }
.f-rg b { display: block; color: var(--green); margin-bottom: 6px; letter-spacing: .1em; }

.f-bottom { border-top: 1px solid var(--line); padding: 18px 0 28px; font-size: .82rem; color: var(--mut); }
.f-bottom .container:first-child { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.brand-mini { display: inline-flex; gap: 9px; align-items: center; font-weight: 800; color: var(--ink); }
.brand-mini svg { width: 22px; height: 22px; }
.f-legal { display: block; margin-top: 12px; line-height: 1.7; color: #8e8ea3; }

/* --------------------------------------------------------------------------
   Floatbar: mesin slot mengambang + koin
   -------------------------------------------------------------------------- */
.floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(23, 23, 32, .97), rgba(10, 10, 15, .99));
  border-top: 2px solid var(--gold);
  box-shadow: 0 -14px 38px rgba(0, 0, 0, .6);
}
.floatbar .container {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 18px; min-height: 76px; padding-block: 10px;
}
.reels { display: flex; gap: 6px; }
.reel { width: 34px; height: 34px; border-radius: 9px; border: 2px solid #3a3a4c; background: #0b0b10; overflow: hidden; }
.reel .strip { display: flex; flex-direction: column; animation: reelspin 2.6s linear infinite; }
.reel .strip b { height: 34px; display: block; text-align: center; font-size: 17px; line-height: 34px; font-weight: 400; }
.reel--mid .strip { animation-duration: 3.5s; animation-direction: reverse; }
.reel--slow .strip { animation-duration: 4.8s; }
@keyframes reelspin { from { transform: translateY(0); } to { transform: translateY(-136px); } }

.floatbar__mid { min-width: 0; }
.floatbar__mid .t1 { font-weight: 800; font-size: .99rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatbar__mid .t2 { font-size: .76rem; color: var(--mut); }
.gold { color: var(--gold); }

.floatbar__cta { position: relative; display: flex; gap: 10px; align-items: center; }
.floatbar__cta .btn { box-shadow: 0 0 22px rgba(255, 201, 60, .25), 0 8px 20px rgba(0, 0, 0, .45); }
.coin { position: absolute; font-size: 15px; pointer-events: none; animation: coinfloat 2.8s ease-in-out infinite; }
.coin--1 { left: -10px; top: -14px; }
.coin--2 { right: 52px; top: -17px; animation-delay: .9s; }
.coin--3 { right: -10px; bottom: -5px; animation-delay: 1.7s; }
@keyframes coinfloat {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-10px) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reel .strip, .coin, .dot, .bulbs { animation: none; }
  .exhibit:hover, .btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout > aside { position: static; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero__media { max-width: 540px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .museum { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .main-navigation {
    display: none; position: fixed; inset: 0; z-index: 49; overflow: auto;
    background: rgba(10, 10, 15, .97); padding: 96px 26px 40px;
  }
  .main-navigation.is-open { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu-item a { padding: 13px 14px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; border: none;
    border-left: 3px solid var(--line2); margin: 0 0 0 14px; padding: 0 0 0 4px;
  }
  .sub-menu a { font-size: .93rem; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  body { padding-bottom: 92px; }
  .section { padding: 48px 0; }
  .steps, .promo-grid, .why-grid, .quotes, .duo-grid { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand__name small { display: none; }
  .btn--sm.btn--ghost { display: none; }
  .topbar .motto { display: none; }

  .reel { width: 27px; height: 27px; }
  .reel .strip b { height: 27px; font-size: 13px; line-height: 27px; }
  @keyframes reelspin { from { transform: translateY(0); } to { transform: translateY(-108px); } }
  .floatbar__mid .t2 { display: none; }
  .floatbar__mid .t1 { font-size: .8rem; }
  .floatbar .container { gap: 12px; min-height: 68px; }
  .floatbar__cta .btn { padding: 10px 16px; font-size: .78rem; }
  .hero { padding: 44px 0 46px; }
}

@media (max-width: 400px) {
  .floatbar__mid { display: none; }
  .floatbar .container { grid-template-columns: auto auto; justify-content: space-between; }
}
