/* ============================================================
   GOKU55 — Portal Informasi Judi Online (Indonesia)
   style.css — dibuat khusus untuk goku55.games
   ============================================================ */

:root {
  --red: #d6202f;
  --red-2: #a80f1f;
  --red-3: #ff4a56;
  --gold: #f5b301;
  --gold-2: #ffd34d;
  --gold-3: #c88a00;
  --dark: #14141f;
  --dark-2: #1c1c2e;
  --dark-3: #262640;
  --ink: #22223a;
  --text: #3c3c52;
  --muted: #70708a;
  --bg: #ffffff;
  --bg-alt: #f6f6fa;
  --line: #e7e7f0;
  --green: #149a6b;
  --green-2: #e6f7f0;
  --sky: #2f6fed;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(20, 20, 40, 0.09);
  --shadow-lg: 0 18px 50px rgba(20, 20, 40, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol { padding-left: 1.3rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(20, 20, 31, 0.97);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(6px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 38px; height: 38px; }
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  font-style: italic;
}
.brand-name b { color: var(--gold); }
.brand-tag { display: block; font-size: 0.6rem; letter-spacing: 2.4px; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; font-style: normal; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.main-nav a.is-active { background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; }
.header-search form { display: flex; }
.header-search input {
  width: 150px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px 0 0 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
}
.header-search input::placeholder { color: rgba(255, 255, 255, 0.45); }
.header-search input:focus { border-color: var(--gold); }
.header-search button {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.header-search button svg { width: 15px; height: 15px; }

.nav-toggle-input { display: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.25s; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red-3), var(--red) 55%, var(--red-2)); color: #fff; box-shadow: 0 8px 22px rgba(214, 32, 47, 0.35); }
.btn-primary:hover { color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241a00; box-shadow: 0 8px 22px rgba(245, 179, 1, 0.35); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn-outline:hover { background: #fff5f5; }
.btn-sm { padding: 8px 18px; font-size: 0.86rem; }

/* ---------------- hero (homepage) ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(245, 179, 1, 0.16), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(214, 32, 47, 0.28), transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 70px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(245, 179, 1, 0.14);
  border: 1px solid rgba(245, 179, 1, 0.45);
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.22;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; max-width: 540px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
}
.trust-chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.trust-chip.plus18 { border-color: rgba(255, 74, 86, 0.6); color: #ff9aa2; }
.hero-figure { position: relative; }
.hero-figure img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 179, 1, 0.25);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(245, 179, 1, 0.35);
  border-radius: calc(var(--radius-lg) + 10px);
  pointer-events: none;
}

/* ---------------- sections ---------------- */
.section { padding: 62px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(180deg, var(--dark), var(--dark-2)); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.section-head.center .kicker::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--red)); }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); color: var(--ink); line-height: 1.3; }
.section-dark .section-head h2 { color: #fff; }
.section-head .lead { margin-top: 12px; color: var(--muted); }
.section-dark .section-head .lead { color: rgba(255, 255, 255, 0.72); }

/* grids & cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fdeeee, #fff6e0);
  flex-shrink: 0;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card .card-more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 0.88rem; }

/* promo cards */
.promo-card { position: relative; overflow: hidden; border-top: 4px solid var(--gold); }
.promo-card .promo-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.promo-card h3 { font-size: 1.12rem; }
.promo-mini { font-size: 0.84rem; color: var(--text); background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; margin: 12px 0; }
.promo-mini strong { color: var(--ink); }

/* brand story */
.story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.story-copy p { margin-bottom: 14px; }
.story-points { list-style: none; padding: 0; display: grid; gap: 14px; }
.story-points li { display: flex; gap: 12px; align-items: flex-start; }
.story-points .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 3px;
}
.story-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* quotes */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 20px;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(245, 179, 1, 0.35);
  font-family: Georgia, serif;
}
.quote-card p { font-size: 0.95rem; color: var(--text); margin-bottom: 16px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  flex-shrink: 0;
}
.quote-ava.gold { background: linear-gradient(135deg, var(--gold), var(--gold-3)); color: #241a00; }
.quote-ava.green { background: linear-gradient(135deg, #1fb983, var(--green)); }
.quote-meta b { display: block; color: var(--ink); font-size: 0.9rem; }
.quote-meta span { font-size: 0.78rem; color: var(--muted); }
.quote-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 18px; }

/* glossary cards */
.term-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.term-card h3 { font-size: 0.98rem; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.term-card h3 .ab {
  font-size: 0.66rem;
  background: var(--dark);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.term-card p { font-size: 0.86rem; color: var(--muted); }

/* security list */
.sec-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.sec-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.sec-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-2);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-list .ico svg { width: 20px; height: 20px; }
.sec-list b { color: var(--ink); display: block; margin-bottom: 2px; }
.sec-list p { font-size: 0.88rem; color: var(--muted); }

/* ---------------- article body ---------------- */
.page-hero {
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(245, 179, 1, 0.14), transparent 60%),
    linear-gradient(180deg, var(--dark), var(--dark-2));
  color: #fff;
  padding: 38px 0 44px;
}
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.15rem); color: #fff; line-height: 1.3; max-width: 840px; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: rgba(255, 255, 255, 0.66); font-size: 0.84rem; align-items: center; }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero .meta svg { width: 14px; height: 14px; }

.breadcrumb { font-size: 0.82rem; margin-bottom: 14px; color: rgba(255, 255, 255, 0.55); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "\203A"; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

.article-wrap { max-width: 860px; margin: 0 auto; }
.article-figure { margin: -26px auto 30px; position: relative; z-index: 5; }
.article-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 0 0 0 4px #fff; }
.article-figure figcaption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.article-body { font-size: 1.02rem; }
.article-body > p { margin-bottom: 18px; }
.article-body h2 {
  font-size: 1.4rem;
  color: var(--ink);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--red);
  line-height: 1.35;
}
.article-body h3 { font-size: 1.12rem; color: var(--ink); margin: 26px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body .inline-figure { margin: 26px 0; }
.article-body .inline-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.table-wrap { overflow-x: auto; margin: 20px 0 26px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
table.data th { background: var(--dark); color: var(--gold-2); text-align: left; padding: 13px 16px; font-size: 0.82rem; letter-spacing: 0.6px; text-transform: uppercase; }
table.data td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.data tr:nth-child(even) td { background: var(--bg-alt); }

.notice {
  display: flex;
  gap: 12px;
  background: #fff8e6;
  border: 1px solid #f2dfa8;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  margin: 20px 0;
  color: #6b5410;
}
.notice.red { background: #fff2f3; border-color: #f2c3c8; border-left-color: var(--red); color: #7a2030; }
.notice.green { background: var(--green-2); border-color: #bfe8d7; border-left-color: var(--green); color: #0c5e42; }
.notice b { display: block; margin-bottom: 2px; }

.article-footer { margin-top: 34px; padding-top: 22px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--muted); }

.related { margin-top: 46px; }
.related h2 { font-size: 1.3rem; color: var(--ink); margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; display: block; color: var(--text); }
.mini-card:hover { transform: translateY(-3px); text-decoration: none; }
.mini-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mini-card .mc-body { padding: 14px 16px 16px; }
.mini-card .mc-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 1.2px; color: var(--red); text-transform: uppercase; }
.mini-card h3 { font-size: 0.96rem; color: var(--ink); margin: 6px 0 6px; line-height: 1.4; }
.mini-card p { font-size: 0.82rem; color: var(--muted); }

/* category cards (home mid) */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  color: #fff;
  min-height: 220px;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cat-card .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 31, 0.05) 30%, rgba(20, 20, 31, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.cat-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.cat-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; margin-bottom: 10px; }
.cat-card .cat-link { color: var(--gold); font-weight: 700; font-size: 0.86rem; }

/* tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: 0.15s;
}
.tag-cloud a:hover { border-color: var(--gold); color: var(--red); text-decoration: none; transform: translateY(-2px); }
.tag-cloud a.hot { border-color: rgba(214, 32, 47, 0.4); background: #fff5f5; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .fx {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details.faq[open] summary .fx { transform: rotate(45deg); background: var(--red); color: #fff; }
details.faq .faq-a { padding: 0 20px 18px 60px; color: var(--muted); font-size: 0.92rem; }
details.faq .faq-a a { font-weight: 600; }

/* ---------------- forms ---------------- */
.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
  margin-top: -30px;
  position: relative;
  z-index: 5;
}
.auth-card h1 { font-size: 1.5rem; color: var(--ink); margin-bottom: 6px; }
.auth-card h2.auth-title { font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; color: var(--ink); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border 0.15s;
  background: #fbfbfe;
}
.field input:focus { border-color: var(--gold); }
.field .hint { font-size: 0.76rem; color: var(--muted); margin-top: 5px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 0.84rem; color: var(--text); }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); }
.auth-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
.auth-alt { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.btn-block { width: 100%; }

/* search page */
.search-big { display: flex; max-width: 640px; margin: 0 auto 12px; }
.search-big input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid var(--line);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
}
.search-big input:focus { border-color: var(--gold); }
.search-big button {
  padding: 15px 26px;
  border: 2px solid var(--gold);
  border-radius: 0 999px 999px 0;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font);
}
.search-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.search-result h3 { font-size: 1.02rem; margin-bottom: 4px; }
.search-result .url { font-size: 0.76rem; color: var(--green); margin-bottom: 6px; word-break: break-all; }
.search-result p { font-size: 0.88rem; color: var(--muted); }
.search-result mark { background: #fff2b8; padding: 0 2px; border-radius: 3px; }

/* ---------------- footer ---------------- */
.site-footer {
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 calc(46px + 96px);
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand p { font-size: 0.86rem; margin: 14px 0; }
.footer-col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.4px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-legal {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 74, 86, 0.7);
  color: #ff9aa2;
  font-weight: 800;
  font-size: 0.78rem;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge-soft {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------------- floating bar (CTA bawah) ---------------- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(20, 20, 31, 0.82), rgba(20, 20, 31, 0.97));
  border-top: 2px solid var(--gold);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.float-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  background: linear-gradient(135deg, #232338, #171726 60%);
  border: 1.5px solid rgba(245, 179, 1, 0.55);
  border-radius: 999px;
  padding: 8px 10px 8px 8px;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(245, 179, 1, 0.12);
}

/* mini slot machine */
.float-slot { display: flex; gap: 5px; padding: 6px 8px; background: #101020; border: 1.5px solid var(--gold-3); border-radius: 14px; flex-shrink: 0; }
.reel { width: 30px; height: 38px; border-radius: 8px; overflow: hidden; background: #1b1b30; position: relative; }
.reel-strip { position: absolute; left: 0; right: 0; top: 0; animation: reelspin 2.6s linear infinite; }
.reel-strip span { display: flex; align-items: center; justify-content: center; height: 38px; }
.reel-strip svg { width: 20px; height: 20px; }
.reel:nth-child(2) .reel-strip { animation-duration: 3.1s; }
.reel:nth-child(3) .reel-strip { animation-duration: 2.2s; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-190px); }
}

.float-text { line-height: 1.25; min-width: 0; }
.float-text b { display: block; color: #fff; font-size: 0.92rem; font-style: italic; }
.float-text b i { color: var(--gold); font-style: italic; }
.float-text span { color: rgba(255, 255, 255, 0.6); font-size: 0.68rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-cta { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
.float-cta .btn { padding: 10px 20px; font-size: 0.88rem; }

/* coin sparkles */
.float-inner { position: relative; }
.header-search-link { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; }
.header-search-link svg { width: 19px; height: 19px; }
.header-search-link:hover { background: rgba(255, 255, 255, 0.1); }

.float-coin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 60%, #b8860b); box-shadow: 0 0 8px rgba(255, 214, 77, 0.8); animation: coinfloat 2.8s ease-in-out infinite; }
.float-coin.c1 { top: -7px; left: 18%; animation-delay: 0s; }
.float-coin.c2 { top: -9px; left: 46%; animation-delay: 0.9s; }
.float-coin.c3 { top: -6px; left: 72%; animation-delay: 1.7s; }
@keyframes coinfloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-7px); opacity: 1; }
}

/* ---------------- misc ---------------- */
.steps-grid { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); counter-increment: step; position: relative; }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(214, 32, 47, 0.14);
  position: absolute;
  top: 8px;
  right: 14px;
}
.step-card h3 { font-size: 0.98rem; color: var(--ink); margin-bottom: 6px; padding-right: 40px; }
.step-card p { font-size: 0.85rem; color: var(--muted); }

.divider-wave { height: 5px; background: repeating-linear-gradient(90deg, var(--red) 0 26px, var(--gold) 26px 52px); }

.back-top { position: fixed; right: 16px; bottom: 108px; z-index: 1150; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--ink); opacity: 0; visibility: hidden; transition: 0.2s; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top svg { width: 18px; height: 18px; }

::selection { background: rgba(245, 179, 1, 0.35); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .header-search-link { display: flex; }
  .main-nav a { padding: 8px 10px; font-size: 0.88rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 2px solid var(--gold);
    padding: 12px 20px 18px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .nav-toggle-input:checked ~ .main-nav { display: block; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero-inner { grid-template-columns: 1fr; padding: 46px 0 54px; }
  .story-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .hero-figure::after { display: none; }

  /* float bar mobile */
  .float-bar { padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .float-inner { gap: 10px; padding: 6px 6px 6px 6px; border-radius: 18px; }
  .float-text { display: none; }
  .float-slot { padding: 4px 5px; gap: 4px; border-radius: 10px; }
  .reel { width: 24px; height: 30px; border-radius: 6px; }
  .reel-strip span { height: 30px; }
  .reel-strip svg { width: 16px; height: 16px; }
  .reel-strip { animation: none; transform: translateY(-30px); }
  .float-cta { gap: 6px; width: 100%; }
  .float-cta .btn { flex: 1; padding: 11px 8px; font-size: 0.86rem; }
  .site-footer { padding-bottom: calc(40px + 88px); }
  .back-top { bottom: 118px; right: 10px; }

  .faq-list { gap: 10px; }
  details.faq .faq-a { padding-left: 20px; }
  .page-hero { padding: 28px 0 40px; }
  .article-figure { margin-top: -18px; }
  .auth-card { padding: 26px 20px; }
  .search-big { flex-direction: column; gap: 0; }
  .search-big input { border-right: 1.5px solid var(--line); border-radius: 12px 12px 0 0; width: 100%; }
  .search-big button { border-radius: 0 0 12px 12px; }
}
