/*
Theme Name: Menara188 Static
Description: Tema statis bergaya WordPress untuk portal informasi gaming Menara188 (menara188.games).
Version: 1.0.0
Author: Tim Redaksi Menara188
*/

/* =========================================================
   1. RESET & TOKENS
   ========================================================= */
:root {
  --red: #d21c37;
  --red-deep: #a51228;
  --red-soft: #fdeef1;
  --gold: #f6b73c;
  --gold-2: #ffd97a;
  --gold-soft: #fff7e3;
  --green: #0f9d63;
  --green-soft: #e8f8f0;
  --blue: #2563eb;
  --blue-soft: #eaf1fe;
  --ink: #0e1322;
  --ink-2: #151c33;
  --ink-3: #1e2749;
  --bg: #f5f6fb;
  --line: #e5e8f2;
  --text: #2a3149;
  --muted: #626b85;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 19, 34, 0.08);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding-bottom: 96px; /* ruang untuk bar mengambang, tanpa menambah area kosong di bawah footer */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

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

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

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.45em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* =========================================================
   2. UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 44px 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #cdd4ea;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.section-dark .section-head p {
  color: #aeb8d8;
}

.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); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #dd9c1e);
  color: #221a02;
  box-shadow: 0 6px 18px rgba(246, 183, 60, 0.4);
}

.btn-red {
  background: linear-gradient(180deg, #e8304e, var(--red) 55%, var(--red-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(210, 28, 55, 0.35);
}

.btn-blue {
  background: linear-gradient(180deg, #4a83f5, var(--blue));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-ghost-gold {
  background: rgba(246, 183, 60, 0.08);
  color: var(--gold-2);
  border: 2px solid var(--gold);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 999px;
}

.badge-18 {
  border: 2px solid var(--gold);
  color: var(--gold-2);
  background: rgba(246, 183, 60, 0.12);
}

.badge-red { background: var(--red-soft); color: var(--red); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-gold { background: var(--gold-soft); color: #9a6b0a; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(14, 19, 34, 0.05);
  overflow: hidden;
}

.card-pad {
  padding: 24px;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.ribbon {
  height: 5px;
  width: 100%;
}

.ribbon-red { background: linear-gradient(90deg, var(--red), #ff6b81); }
.ribbon-gold { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.ribbon-green { background: linear-gradient(90deg, var(--green), #4fd1a0); }
.ribbon-blue { background: linear-gradient(90deg, var(--blue), #6ea3ff); }

.note {
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  font-size: 15px;
  margin: 18px 0;
}

.note-warn {
  border-left-color: var(--gold);
  background: var(--gold-soft);
}

.note-ok {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.note-red {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14.5px;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

tr:nth-child(even) td {
  background: #fafbfe;
}

tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   3. TOMBOL 18+ & PILAR RG (badges besar)
   ========================================================= */
.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: 50%;
  border: 2.5px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 15px;
  background: #fff;
}

/* =========================================================
   4. HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 14px rgba(14, 19, 34, 0.12);
}

.topbar {
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding-block: 5px;
}

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 2px 11px;
  font-weight: 700;
}

.header-main {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.brand-name em {
  font-style: normal;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
  flex-wrap: wrap;
}

.main-nav a {
  color: #d7ddf2;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 9px;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 2px 4px 2px 14px;
  gap: 6px;
}

.header-search input {
  width: 150px;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  padding: 7px 0;
  outline: none;
}

.header-search input::placeholder {
  color: #98a2c6;
}

.header-search button {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border: 0;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.search-mini {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gold-2);
  font-size: 16px;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   5. HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(210, 28, 55, 0.4), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(246, 183, 60, 0.18), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, #141b36 100%);
  color: #e8ecfa;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 90px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  padding: 66px 0 70px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 183, 60, 0.14);
  border: 1px solid rgba(246, 183, 60, 0.4);
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.6vw, 3.05rem);
  margin-bottom: 18px;
}

.hero h1 .hl {
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: #b9c2e2;
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: #9aa4cc;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(246, 183, 60, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(1.6deg);
}

.hero-chip {
  position: absolute;
  background: var(--ink-3);
  border: 1px solid rgba(246, 183, 60, 0.45);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-chip-a {
  top: -16px;
  left: -14px;
  animation: floaty 4.5s ease-in-out infinite;
}

.hero-chip-b {
  bottom: -14px;
  right: -10px;
  animation: floaty 5.5s ease-in-out 0.8s infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================================
   6. LANGKAH (4 STEP)
   ========================================================= */
.steps-grid {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 26px 22px 22px;
  border-top: 5px solid transparent;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  box-shadow: 0 8px 18px rgba(210, 28, 55, 0.3);
  margin-bottom: 14px;
}

.step-card:nth-child(2)::before { background: linear-gradient(145deg, var(--gold), #d99a1f); color: #241b02; box-shadow: 0 8px 18px rgba(246, 183, 60, 0.35); }
.step-card:nth-child(3)::before { background: linear-gradient(145deg, #17b377, var(--green)); box-shadow: 0 8px 18px rgba(15, 157, 99, 0.3); }
.step-card:nth-child(4)::before { background: linear-gradient(145deg, #4a83f5, var(--blue)); box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3); }

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.8px;
  color: var(--muted);
  margin-bottom: 0;
}

/* =========================================================
   7. KARTU PROMOSI
   ========================================================= */
.promo-card .card-pad {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.promo-card h3 {
  font-size: 1.12rem;
  margin: 0;
}

.promo-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.promo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-media {
  position: relative;
}

.promo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-2);
  border: 1px solid rgba(246, 183, 60, 0.5);
}

/* =========================================================
   8. FITUR (Mengapa Memilih)
   ========================================================= */
.feature-card {
  padding: 24px 22px;
  text-align: left;
}

.feature-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.fi-red { background: var(--red-soft); }
.fi-gold { background: var(--gold-soft); }
.fi-green { background: var(--green-soft); }
.fi-blue { background: var(--blue-soft); }

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.6px;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   9. MOBILE SECTION
   ========================================================= */
.mobile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.mobile-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(246, 183, 60, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.mobile-points {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.mobile-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.mobile-point .ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(246, 183, 60, 0.15);
  border: 1px solid rgba(246, 183, 60, 0.4);
}

.mobile-point h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: #fff;
}

.mobile-point p {
  font-size: 14.2px;
  color: #aab4d8;
  margin: 0;
}

/* =========================================================
   10. TESTIMONI
   ========================================================= */
.testi-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testi-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 15px;
}

.testi-card blockquote {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  flex-grow: 1;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.ta-red { background: linear-gradient(145deg, #e8304e, var(--red-deep)); }
.ta-blue { background: linear-gradient(145deg, #4a83f5, #1d4ed8); }
.ta-green { background: linear-gradient(145deg, #17b377, var(--green)); }

.testi-who strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.testi-who span {
  font-size: 13px;
  color: var(--muted);
}

.testi-note {
  text-align: center;
  font-size: 12.8px;
  color: var(--muted);
  margin: 18px 0 0;
}

/* =========================================================
   11. KALKULATOR BATAS MAIN
   ========================================================= */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  max-width: 920px;
  margin: 0 auto;
}

.calc-form {
  padding: 28px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}

.calc-form h3 {
  font-size: 1.1rem;
}

.calc-field {
  margin-bottom: 16px;
}

.calc-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.22);
}

.calc-result {
  padding: 28px;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #e6eafa;
}

.calc-result h3 {
  color: var(--gold-2);
  font-size: 1.1rem;
}

.calc-out {
  margin-bottom: 14px;
}

.calc-out .val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.calc-out .lbl {
  font-size: 13px;
  color: #9aa4cc;
}

.calc-note {
  font-size: 12.6px;
  color: #8b95bd;
  margin: 6px 0 0;
}

/* =========================================================
   12. TAG CLOUD
   ========================================================= */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--text);
  transition: 0.18s;
}

.tag-cloud a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(14, 19, 34, 0.1);
}

.tc-red:hover { border-color: var(--red); color: var(--red); }
.tc-gold:hover { border-color: var(--gold); color: #9a6b0a; }
.tc-green:hover { border-color: var(--green); color: var(--green); }
.tc-blue:hover { border-color: var(--blue); color: var(--blue); }

/* =========================================================
   13. FAQ
   ========================================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 800;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item .faq-body {
  padding: 0 20px 18px;
  font-size: 14.8px;
  color: var(--muted);
}

/* =========================================================
   14. ARTIKEL & BREADCRUMB
   ========================================================= */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(210, 28, 55, 0.35), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  color: #dfe5f6;
  padding: 40px 0 36px;
  border-bottom: 2px solid var(--gold);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  margin: 8px 0 10px;
}

.page-hero .lead {
  color: #aeb8d8;
  max-width: 780px;
  font-size: 1.02rem;
  margin: 0;
}

.breadcrumb {
  font-size: 13px;
}

.breadcrumb nav {
  font-size: 13px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.breadcrumb li + li::before {
  content: "›";
  color: #8f99bd;
}

.breadcrumb a {
  color: var(--gold-2);
  font-weight: 600;
}

.breadcrumb [aria-current] {
  color: #c6cdea;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  padding: 46px 0 60px;
  align-items: start;
}

.article-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.article-cover {
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: clamp(22px, 4vw, 40px);
}

.prose {
  font-size: 16.2px;
  line-height: 1.85;
}

.prose h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.62rem);
  margin: 1.9em 0 0.6em;
  padding-left: 14px;
  border-left: 5px solid var(--red);
}

.prose h2:first-child {
  margin-top: 0.4em;
}

.prose h3 {
  font-size: 1.16rem;
  margin: 1.5em 0 0.5em;
}

.prose ul li::marker {
  color: var(--gold);
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.article-meta .dot {
  color: var(--gold);
}

.aside-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.aside-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.aside-box h2 {
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.aside-list a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14.3px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.aside-list a:hover {
  text-decoration: none;
  border-color: var(--gold);
  color: var(--ink);
}

.cta-panel {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-3) 100%);
  border-radius: 18px;
  padding: 34px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 80% 0%, rgba(210, 28, 55, 0.35), transparent 60%);
}

.cta-panel > * {
  position: relative;
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  color: #aab4d8;
  max-width: 620px;
  margin: 0 auto 20px;
}

.cta-panel .hero-cta {
  justify-content: center;
  margin-bottom: 0;
}

/* =========================================================
   15. FORM (Daftar / Masuk)
   ========================================================= */
.auth-section {
  padding: 56px 0 64px;
  background:
    radial-gradient(700px 340px at 90% -10%, rgba(210, 28, 55, 0.25), transparent 60%),
    var(--bg);
}

.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}

.auth-info h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.auth-info p {
  color: var(--muted);
}

.auth-check {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.auth-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.auth-check .ok-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid;
  border-image: linear-gradient(90deg, var(--gold), var(--red)) 1;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  font-size: 1.4rem;
}

.auth-card .sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 183, 60, 0.22);
}

.form-field .hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.6px;
  color: var(--muted);
  margin: 18px 0;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.form-msg {
  display: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 14px;
}

.form-msg.err {
  display: block;
  background: var(--red-soft);
  color: var(--red-deep);
  border: 1px solid #f3c2cb;
}

.auth-alt {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

/* =========================================================
   16. PENCARIAN
   ========================================================= */
.search-hero {
  padding: 48px 0 8px;
}

.search-big {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 18px auto 0;
}

.search-big input {
  flex: 1;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
}

.search-big input:focus {
  border-color: var(--gold);
  outline: none;
}

.search-results {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.result-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--text);
}

.result-item:hover {
  text-decoration: none;
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.result-item .cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}

.result-item h3 {
  font-size: 1.05rem;
  margin: 4px 0 6px;
}

.result-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.result-item mark {
  background: var(--gold-soft);
  color: #7c5406;
}

/* =========================================================
   17. FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  color: #b7c0dd;
  font-size: 14.3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 34px;
}

.f-col h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}

.f-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.f-col li {
  margin-bottom: 9px;
}

.f-col a {
  color: #b7c0dd;
}

.f-col a:hover {
  color: var(--gold-2);
}

.f-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.f-brand .brand-name {
  font-size: 20px;
}

.f-about p {
  margin: 0 0 14px;
}

.f-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.f-badges .age-pill {
  border-color: var(--gold);
  color: var(--gold-2);
  background: transparent;
}

.f-badges .badge-rd {
  border: 2px solid var(--green);
  color: #7fe0ba;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 800;
  font-size: 12.5px;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0 6px;
  font-size: 12.8px;
  color: #8f99bd;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8f99bd;
}

/* =========================================================
   18. BAR MENGAMBANG (gaya mesin slot + koin)
   ========================================================= */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #1b2244, #10152b);
  border: 1.5px solid rgba(246, 183, 60, 0.6);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(246, 183, 60, 0.28);
  max-width: calc(100vw - 20px);
}

.slot-reels {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.reel {
  width: 30px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid #323d6b;
  background: linear-gradient(180deg, #0a0e20, #141b3a);
  display: grid;
  place-items: center;
  font-size: 16px;
  overflow: hidden;
}

.reel span {
  display: block;
  animation: reelPop 0.55s ease;
}

@keyframes reelPop {
  0% { transform: translateY(-120%); }
  70% { transform: translateY(6%); }
  100% { transform: translateY(0); }
}

.float-btn {
  font-family: inherit;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.6px;
  border-radius: 999px;
  padding: 11px 20px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.float-btn-daftar {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #dd9c1e);
  color: #241b02;
  box-shadow: 0 4px 16px rgba(246, 183, 60, 0.5);
  animation: pulseGold 2.4s ease-in-out infinite;
}

.float-btn-daftar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}

@keyframes shine {
  0%, 55% { left: -80%; }
  100% { left: 130%; }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 4px 16px rgba(246, 183, 60, 0.5); }
  50% { box-shadow: 0 4px 26px rgba(246, 183, 60, 0.85); }
}

.float-btn-masuk {
  background: rgba(246, 183, 60, 0.06);
  color: var(--gold-2);
  border: 1.5px solid var(--gold);
}

.float-cta .coin {
  position: absolute;
  bottom: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}

.coin-1 { left: 26px; animation: coinUp 3.4s ease-in 0.4s infinite; }
.coin-2 { left: 60px; animation: coinUp 3.4s ease-in 1.6s infinite; }
.coin-3 { right: 70px; animation: coinUp 3.4s ease-in 2.4s infinite; }
.coin-4 { right: 30px; animation: coinUp 3.4s ease-in 3.0s infinite; }

@keyframes coinUp {
  0% { transform: translateY(0) rotate(0deg) scale(0.6); opacity: 0; }
  14% { opacity: 1; }
  100% { transform: translateY(-72px) rotate(40deg) scale(1.1); opacity: 0; }
}

/* =========================================================
   19. 404
   ========================================================= */
.err-code {
  font-size: clamp(4rem, 14vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--gold), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

/* =========================================================
   20. RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .header-search input { width: 110px; }
  .main-nav a { padding: 8px 8px; font-size: 13.8px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; grid-template-columns: repeat(2, 1fr); display: grid; }
}

@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 104px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 2px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    z-index: 890;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 12px; font-size: 15px; border-radius: 10px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 54px; }
  .hero-visual { max-width: 520px; }
  .mobile-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .calc-wrap { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .section { padding: 48px 0; }
  .header-search { display: none; }
  .search-mini { display: inline-flex; }
  .header-actions .btn { display: none; }
  .topbar-note { font-size: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .aside-card { grid-template-columns: 1fr; }
  .hero-chip-a { left: 6px; }
  .hero-chip-b { right: 6px; }
  .float-btn { font-size: 13.5px; padding: 10px 16px; }
  .reel { width: 26px; height: 30px; font-size: 14px; }
}

@media (max-width: 480px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-cta .btn { width: 100%; }
  .search-big { flex-direction: column; }
  .float-cta { gap: 7px; padding: 7px 9px; }
  .float-btn { font-size: 12.8px; padding: 9px 12px; letter-spacing: 0.2px; }
  .reel { width: 23px; height: 27px; font-size: 12.5px; }
  .float-cta .coin { display: none; }
  body { padding-bottom: 78px; }
}

/* =========================================================
   21. AKSESIBILITAS & PREFERSI
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
