/*
Theme Name: Maxwin77 Info
Theme URI: https://maxwin77.games
Author: Maxwin77
Description: Tema statis bergaya WordPress untuk situs informasi & panduan hiburan judi online Maxwin77 (Bahasa Indonesia). Prerendered static build - Googlebot tidak perlu mengeksekusi JS untuk membaca konten.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: maxwin77
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  --c-black: #0b0b10;
  --c-ink: #14141d;
  --c-ink-2: #1b1b27;
  --c-red: #e0242e;
  --c-red-deep: #a3121a;
  --c-green: #17a558;
  --c-green-deep: #0d7a40;
  --c-gold: #ffc53d;
  --c-gold-2: #f5a623;
  --c-blue: #1c6dd0;
  --c-blue-deep: #0f4c9c;
  --c-white: #ffffff;
  --c-paper: #f6f7fb;
  --c-line: #e5e7f0;
  --c-text: #23262f;
  --c-muted: #5c6270;
  --c-muted-2: #9aa0ae;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 11, 16, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 11, 16, 0.22);
  --header-h: 68px;
  --floatbar-h: 74px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

a { color: var(--c-blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--c-black);
  overflow-wrap: break-word;
}

p { margin: 0 0 1em; overflow-wrap: break-word; }

ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   3. BUTTONS / BADGES / CHIPS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

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

.btn--gold {
  background: linear-gradient(180deg, #ffd45c 0%, var(--c-gold-2) 100%);
  color: #4a2c00;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.45);
}

.btn--red {
  background: linear-gradient(180deg, #f0363f 0%, var(--c-red-deep) 100%);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(224, 36, 46, 0.4);
}

.btn--green {
  background: linear-gradient(180deg, #1cb965 0%, var(--c-green-deep) 100%);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(23, 165, 88, 0.35);
}

.btn--blue {
  background: linear-gradient(180deg, #2c7ee6 0%, var(--c-blue-deep) 100%);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(28, 109, 208, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }

.btn--outline {
  background: var(--c-white);
  color: var(--c-red-deep);
  border-color: var(--c-red);
}

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 34px; font-size: 17px; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge--gold { background: rgba(255, 197, 61, 0.16); color: var(--c-gold); border: 1px solid rgba(255, 197, 61, 0.4); }
.badge--red { background: rgba(224, 36, 46, 0.12); color: var(--c-red); border: 1px solid rgba(224, 36, 46, 0.3); }
.badge--green { background: rgba(23, 165, 88, 0.12); color: var(--c-green-deep); border: 1px solid rgba(23, 165, 88, 0.3); }
.badge--blue { background: rgba(28, 109, 208, 0.1); color: var(--c-blue-deep); border: 1px solid rgba(28, 109, 208, 0.3); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 50%;
  border: 3px solid var(--c-red);
  color: var(--c-red);
  font-weight: 900;
  font-size: 15px;
  background: var(--c-white);
  flex: none;
}

/* =========================================================
   4. TOP NOTICE + HEADER + NAV (WordPress style)
   ========================================================= */
.topbar {
  background: var(--c-black);
  color: #d9b06a;
  font-size: 12.5px;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(255, 197, 61, 0.25);
}

.topbar strong { color: var(--c-gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(180deg, #17171f 0%, #0e0e15 100%);
  border-bottom: 2px solid var(--c-gold);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.site-branding .logo-coin {
  width: 42px;
  height: 42px;
  flex: none;
}

.site-branding .brand-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.site-branding .brand-text em {
  font-style: normal;
  color: var(--c-gold);
}

.site-branding .brand-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--c-muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-navigation { margin-left: auto; }

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-navigation a {
  display: block;
  padding: 9px 13px;
  color: #e8e9ef;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background: rgba(255, 197, 61, 0.12);
  color: var(--c-gold);
  text-decoration: none;
}

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

.search-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--c-white);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  flex: none;
  transition: border-color 0.15s ease;
}

.search-toggle:hover { border-color: var(--c-gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--c-white);
  width: 42px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-white);
  margin: 4px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-search {
  display: none;
  background: #101018;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.header-search form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--c-ink-2);
  color: var(--c-white);
  font-size: 15px;
  font-family: var(--font);
}

.header-search input:focus { outline: 2px solid var(--c-gold); }

body.search-open .header-search { display: block; }

/* =========================================================
   5. BREADCRUMB
   ========================================================= */
.breadcrumb {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  font-size: 13.5px;
}

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

.breadcrumb li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--c-muted-2); font-weight: 700; }
.breadcrumb a { color: var(--c-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--c-red); text-decoration: none; }
.breadcrumb [aria-current] { color: var(--c-black); font-weight: 700; }

/* =========================================================
   6. HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(28, 109, 208, 0.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(23, 165, 88, 0.22), transparent 55%),
    linear-gradient(160deg, #17171f 0%, #0b0b10 55%, #16121c 100%);
  color: #eef0f6;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 197, 61, 0.10) 1px, transparent 1.6px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 58px 0 64px;
}
.hero__inner > * { min-width: 0; }

.hero h1 {
  color: var(--c-white);
  font-size: clamp(28px, 4.2vw, 46px);
  margin-bottom: 14px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffd45c, #f5a623);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: #c3c7d4;
  font-size: clamp(15px, 1.6vw, 17.5px);
  max-width: 560px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--c-muted-2);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__media {
  position: relative;
}

.hero__media img {
  border-radius: var(--radius);
  border: 2px solid rgba(255, 197, 61, 0.4);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.hero__media .float-chip {
  position: absolute;
  background: rgba(12, 12, 18, 0.88);
  border: 1px solid rgba(255, 197, 61, 0.45);
  color: var(--c-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.hero__media .float-chip--a { top: 14px; left: -8px; animation: bob 4s ease-in-out infinite; }
.hero__media .float-chip--b { bottom: 18px; right: -6px; animation: bob 5s ease-in-out infinite reverse; }

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

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(224, 36, 46, 0.28), transparent 60%),
    linear-gradient(160deg, #17171f, #0b0b10);
  color: #eef0f6;
  overflow: hidden;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: 42px 0 46px;
}
.page-hero__inner > * { min-width: 0; }

.page-hero h1 {
  color: var(--c-white);
  font-size: clamp(25px, 3.4vw, 38px);
}

.page-hero h1 em {
  font-style: normal;
  color: var(--c-gold);
}

.page-hero p { color: #c3c7d4; max-width: 620px; }

.page-hero img {
  border-radius: var(--radius);
  border: 2px solid rgba(255, 197, 61, 0.35);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  max-height: 300px;
}

/* =========================================================
   7. SECTIONS
   ========================================================= */
.section { padding: 62px 0; }
.section--paper { background: var(--c-paper); }
.section--dark {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(28, 109, 208, 0.2), transparent 60%),
    linear-gradient(160deg, #15151e, #0c0c12);
  color: #d6d9e4;
}
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--tint { background: linear-gradient(180deg, #fffdf4, #fff7e0); }
.section--green-tint { background: linear-gradient(180deg, #f2fbf6, #e7f8ef); }
.section--blue-tint { background: linear-gradient(180deg, #f2f7ff, #e7f0fd); }

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

.section-head .kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}

.section--dark .section-head .kicker { color: var(--c-gold); }

.section-head h2 { font-size: clamp(23px, 3vw, 32px); margin-bottom: 10px; }

.section-head p { color: var(--c-muted); margin: 0; }

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

/* Grids — minmax(0,..) agar konten lebar (tabel) tidak mendorong keluar layar */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }

/* Cards */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card__icon--red { background: rgba(224, 36, 46, 0.1); }
.card__icon--gold { background: rgba(255, 197, 61, 0.16); }
.card__icon--green { background: rgba(23, 165, 88, 0.12); }
.card__icon--blue { background: rgba(28, 109, 208, 0.1); }
.card__icon--ink { background: rgba(11, 11, 16, 0.08); }

/* Step cards (4 langkah) */
.step-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
}

.step-card__num {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  color: var(--c-white);
  background: linear-gradient(180deg, #f0363f, var(--c-red-deep));
  box-shadow: 0 6px 14px rgba(224, 36, 46, 0.4);
}

.step-card:nth-child(2) .step-card__num { background: linear-gradient(180deg, #ffd45c, var(--c-gold-2)); color: #4a2c00; box-shadow: 0 6px 14px rgba(245, 166, 35, 0.4); }
.step-card:nth-child(3) .step-card__num { background: linear-gradient(180deg, #1cb965, var(--c-green-deep)); box-shadow: 0 6px 14px rgba(23, 165, 88, 0.35); }
.step-card:nth-child(4) .step-card__num { background: linear-gradient(180deg, #2c7ee6, var(--c-blue-deep)); box-shadow: 0 6px 14px rgba(28, 109, 208, 0.35); }

.step-card h3 { margin-top: 12px; font-size: 17px; }
.step-card p { color: var(--c-muted); font-size: 14.5px; margin-bottom: 0; }

/* Register/Login entry cards */
.auth-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 860px; margin: 0 auto; }

.auth-card {
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  color: var(--c-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.auth-card--daftar { background: linear-gradient(160deg, #232017, #14110b 60%), radial-gradient(400px 200px at 80% 0%, rgba(255, 197, 61, 0.25), transparent 60%); border: 1px solid rgba(255, 197, 61, 0.4); }
.auth-card--masuk { background: linear-gradient(160deg, #1d1418, #100b0e 60%), radial-gradient(400px 200px at 20% 0%, rgba(224, 36, 46, 0.25), transparent 60%); border: 1px solid rgba(224, 36, 46, 0.4); }

.auth-card .auth-card__icon { font-size: 38px; margin-bottom: 8px; }
.auth-card h3 { color: var(--c-gold); font-size: 22px; }
.auth-card--masuk h3 { color: #ff8f95; }
.auth-card p { color: #cfd2dc; font-size: 14.5px; }
.auth-card ul { list-style: none; padding: 0; margin: 14px 0 22px; font-size: 14px; color: #d9dce6; text-align: left; }
.auth-card li { padding-left: 24px; position: relative; }
.auth-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--c-green); font-weight: 800; }

/* Feature rows (mobile experience) */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.feature-row > * { min-width: 0; }

.feature-row--flip .feature-row__media { order: 2; }

.feature-row__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
  width: 100%;
  object-fit: cover;
}

.feature-row__media figcaption {
  font-size: 12.5px;
  color: var(--c-muted);
  margin-top: 8px;
  text-align: center;
}

.check-list { list-style: none; padding: 0; margin: 16px 0 24px; }

.check-list li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px dashed var(--c-line);
  color: var(--c-text);
  font-size: 15px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(23, 165, 88, 0.14);
  color: var(--c-green-deep);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Testimonials */
.testimonial {
  background: var(--c-ink-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}

.testimonial .stars { color: var(--c-gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 16px; color: #d6d9e4; font-size: 14.5px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; color: #aab0c0; font-size: 13.5px; }

.testimonial .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--c-white);
  font-size: 15px;
  flex: none;
}

/* Glossary (innovative section) */
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.glossary-grid details {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.glossary-grid summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glossary-grid summary::-webkit-details-marker { display: none; }
.glossary-grid summary::after { content: "+"; margin-left: auto; color: var(--c-red); font-weight: 900; font-size: 17px; }
.glossary-grid details[open] summary::after { content: "–"; }
.glossary-grid details[open] summary { background: rgba(255, 197, 61, 0.1); }
.glossary-grid details p { padding: 0 16px 14px 46px; margin: 0; color: var(--c-muted); font-size: 14px; }

.term-ico { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.term-ico--gold { background: rgba(255, 197, 61, 0.18); }
.term-ico--red { background: rgba(224, 36, 46, 0.12); }
.term-ico--green { background: rgba(23, 165, 88, 0.14); }
.term-ico--blue { background: rgba(28, 109, 208, 0.12); }

/* Promo reading checklist */
.promo-checklist {
  counter-reset: pc;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.promo-checklist .pc-item {
  counter-increment: pc;
  min-width: 0;
  overflow-wrap: break-word;
  background: var(--c-ink-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 58px;
  position: relative;
  color: #d6d9e4;
  font-size: 14.5px;
}

.promo-checklist .pc-item::before {
  content: counter(pc);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 197, 61, 0.16);
  color: var(--c-gold);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-item strong { color: var(--c-white); }

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag-cloud a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.tag-cloud a:hover {
  border-color: var(--c-red);
  color: var(--c-red);
  background: rgba(224, 36, 46, 0.05);
  text-decoration: none;
  transform: translateY(-2px);
}

.tag-cloud a--hot::before { content: "🔥"; margin-right: 4px; }

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

.faq-list details {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 46px 16px 18px;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
  color: var(--c-black);
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(224, 36, 46, 0.1);
  color: var(--c-red);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 18px 16px; margin: 0; color: var(--c-muted); font-size: 14.5px; }

/* =========================================================
   8. ARTICLE CONTENT (entry-content)
   ========================================================= */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  padding: 44px 0 62px;
  align-items: start;
}

.entry-header { margin-bottom: 22px; }

.entry-header .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 8px;
}

.entry-content { font-size: 16px; min-width: 0; }

.entry-content h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  margin: 1.6em 0 0.6em;
  padding-left: 14px;
  border-left: 5px solid var(--c-red);
}

.entry-content h3 { font-size: 19px; margin: 1.4em 0 0.5em; color: #1a1d26; }

.entry-content img { border-radius: var(--radius); margin: 10px 0 18px; }

.entry-content figcaption { font-size: 12.5px; color: var(--c-muted); margin: -10px 0 18px; }

.entry-content ul li, .entry-content ol li { margin-bottom: 0.5em; }

.entry-content strong { color: var(--c-black); }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 1.4em;
}

.table-scroll { overflow-x: auto; margin-bottom: 1.4em; border-radius: var(--radius-sm); border: 1px solid var(--c-line); }
.table-scroll table { margin: 0; min-width: 560px; }

.entry-content th, .entry-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

.entry-content th { background: var(--c-paper); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-muted); }
.entry-content tr:last-child td { border-bottom: 0; }

.notice-box {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  margin: 0 0 1.4em;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice-box .notice-ico { font-size: 20px; flex: none; line-height: 1.4; }
.notice-box p { margin: 0; }

.notice-box--info { background: #eef4fe; border: 1px solid #c6dbf8; color: #1e3a66; }
.notice-box--warn { background: #fff7e2; border: 1px solid #f3dfae; color: #6a4c07; }
.notice-box--safe { background: #eafaf1; border: 1px solid #bfe8d2; color: #14532d; }
.notice-box--danger { background: #fdeeee; border: 1px solid #f3c1c3; color: #7a1a1f; }

/* Sidebar (widget area) */
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; }

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

.widget h3 {
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-gold);
  margin-bottom: 14px;
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--c-line); font-size: 14px; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--c-text); font-weight: 600; }
.widget a:hover { color: var(--c-red); text-decoration: none; }

.widget .widget-cta { margin-top: 14px; }

/* Related articles */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.post-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.post-card img { width: 100%; height: 170px; object-fit: cover; }

.post-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.post-card__meta { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.post-card h3 { font-size: 16px; margin: 0; }
.post-card h3 a { color: var(--c-black); }
.post-card h3 a:hover { color: var(--c-red); text-decoration: none; }
.post-card p { font-size: 13.5px; color: var(--c-muted); margin: 0; flex: 1; }

/* Category listing (promosi index) */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.promo-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.promo-card img { width: 100%; height: 200px; object-fit: cover; }

.promo-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-card h2 { font-size: 19px; margin: 0; }
.promo-card p { color: var(--c-muted); font-size: 14px; flex: 1; margin: 0; }

.promo-card__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.promo-card__terms span {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--c-muted);
  font-weight: 600;
}

/* T&C table on promo pages */
.terms-box {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 26px 0;
}

.terms-box h2, .terms-box h3 { margin-top: 0; }

/* =========================================================
   9. FORMS (Daftar / Masuk)
   ========================================================= */
.auth-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
  padding: 46px 0 62px;
}
.auth-form-wrap > * { min-width: 0; }

.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
}

.form-card h1 { font-size: 26px; margin-bottom: 4px; }
.form-card .form-sub { color: var(--c-muted); font-size: 14px; margin-bottom: 24px; }

.field { margin-bottom: 18px; }

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

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus { outline: none; border-color: var(--c-gold-2); box-shadow: 0 0 0 3px rgba(255, 197, 61, 0.25); }

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

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

.field-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--c-red); }

.form-note {
  font-size: 12.5px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 16px;
}

.form-error {
  display: none;
  background: #fdeeee;
  border: 1px solid #f3c1c3;
  color: #7a1a1f;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.form-error.show { display: block; }

/* Search page */
.search-results li {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
  list-style: none;
}

.search-results { padding: 0; }
.search-results h3 { margin: 0 0 4px; font-size: 16.5px; }
.search-results p { margin: 0 0 6px; font-size: 13.5px; color: var(--c-muted); }
.search-results .sr-url { font-size: 12.5px; color: var(--c-green-deep); }

/* =========================================================
   10. FOOTER (WordPress style)
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, #101018, #08080c);
  color: #b9bdc9;
  border-top: 3px solid var(--c-gold);
  padding-top: 54px;
  /* ruang untuk floatbar agar konten footer tidak tertutup, tanpa strip kosong */
  padding-bottom: calc(var(--floatbar-h) + 30px);
}

.footer-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-widgets > * { min-width: 0; }

.footer-widgets h3 {
  color: var(--c-gold);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-widgets p { font-size: 13.5px; color: #9aa0ae; }

.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets li { margin-bottom: 9px; }
.footer-widgets a { color: #c6cad6; font-size: 13.5px; }
.footer-widgets a:hover { color: var(--c-gold); text-decoration: none; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand .brand-text { font-size: 20px; font-weight: 900; color: var(--c-white); }
.footer-brand .brand-text em { font-style: normal; color: var(--c-gold); }

.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.footer-badges .fb {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #d6d9e4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal {
  padding: 22px 0 0;
  font-size: 12.5px;
  color: #8a90a0;
  display: grid;
  gap: 10px;
}

.footer-legal strong { color: #b9bdc9; }

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

/* =========================================================
   11. FLOATING BOTTOM BAR (slot style + coins)
   ========================================================= */
.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  display: flex;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 11, 16, 0.6), rgba(11, 11, 16, 0.92) 40%, #0b0b10);
  pointer-events: none;
}

.floatbar__inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #23232f, #101016 70%);
  border: 2px solid var(--c-gold);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 -2px 30px rgba(245, 166, 35, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  max-width: 100%;
}

/* slot reels */
.floatbar__reels { display: flex; gap: 5px; flex: none; }

.reel {
  width: 34px;
  height: 38px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, #2c2c3a, #16161f);
  overflow: hidden;
  position: relative;
}

.reel__strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  font-size: 21px;
  line-height: 38px;
  animation: reelSpin 2.6s linear infinite;
}

.reel:nth-child(2) .reel__strip { animation-delay: 0.5s; }
.reel:nth-child(3) .reel__strip { animation-delay: 1s; }

.reel__strip span { display: block; height: 38px; }

@keyframes reelSpin {
  0% { transform: translateY(0); }
  16% { transform: translateY(-38px); }
  32% { transform: translateY(-76px); }
  48% { transform: translateY(-114px); }
  64% { transform: translateY(-152px); }
  80% { transform: translateY(-190px); }
  100% { transform: translateY(0); }
}

/* coins */
.floatbar__coins { position: absolute; inset: -26px -6px auto -6px; height: 60px; pointer-events: none; overflow: visible; }

.coin {
  position: absolute;
  bottom: -18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f5a623 58%, #b06f0a);
  border: 1.5px solid #8a5a06;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.8);
  animation: coinUp 2.8s ease-in infinite;
  opacity: 0;
}

.coin::after {
  content: "Rp";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 900;
  color: #7a4e05;
}

.coin--1 { left: 12%; animation-delay: 0s; }
.coin--2 { left: 30%; animation-delay: 0.7s; transform: scale(0.8); }
.coin--3 { left: 50%; animation-delay: 1.4s; }
.coin--4 { left: 68%; animation-delay: 0.35s; transform: scale(0.85); }
.coin--5 { left: 85%; animation-delay: 1.05s; transform: scale(0.75); }

@keyframes coinUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(-64px) rotate(220deg); opacity: 0; }
}

.floatbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: #4a2c00;
  background: linear-gradient(180deg, #ffe08a 0%, #ffc53d 45%, #f09c0d 100%);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  animation: pulseCta 2.4s ease-in-out infinite;
}

@keyframes pulseCta {
  0%, 100% { box-shadow: 0 4px 14px rgba(245, 166, 35, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
  50% { box-shadow: 0 4px 26px rgba(245, 166, 35, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
}

.floatbar__cta--alt {
  background: linear-gradient(180deg, #f0363f, #a3121a);
  color: var(--c-white);
  padding: 11px 20px;
  font-size: 14.5px;
  box-shadow: 0 4px 14px rgba(224, 36, 46, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: none;
}

/* =========================================================
   12. REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.no-js .reveal, .reveal:not(.js) { opacity: 1; transform: none; }

/* =========================================================
   13. RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .main-navigation a { padding: 9px 9px; font-size: 13.5px; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar > * { min-width: 0; }
}

@media (max-width: 960px) {
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__inner { padding: 44px 0 50px; }
  .hero__media { max-width: 560px; }
  .page-hero img { max-height: 240px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row--flip .feature-row__media { order: 0; }
  .auth-form-wrap { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #101018;
    border-bottom: 2px solid var(--c-gold);
    padding: 10px 16px 18px;
  }

  .main-navigation ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-navigation a { padding: 12px 14px; font-size: 15px; }

  body.nav-open .main-navigation { display: block; }

  .header-actions .btn--header-masuk { display: none; }
}

@media (max-width: 760px) {
  .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .promo-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-cards { grid-template-columns: minmax(0, 1fr); }
  .glossary-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 46px 0; }
  .header-actions .btn--header-daftar { padding: 9px 16px; font-size: 13.5px; }
  .post-card img { height: 190px; }
}

@media (max-width: 520px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn { width: 100%; }
  .hero__media .float-chip--a { left: 6px; }
  .hero__media .float-chip--b { right: 6px; }
  .step-card { margin-top: 14px; }
  .form-card { padding: 26px 20px; }
  .floatbar { padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .floatbar__inner { gap: 9px; padding: 7px 10px; width: 100%; justify-content: center; }
  .reel { width: 30px; height: 34px; }
  .reel__strip { font-size: 18px; line-height: 34px; }
  .reel__strip span { height: 34px; }
  .floatbar__cta { padding: 11px 20px; font-size: 15px; }
  .floatbar__cta--alt { display: none; }
  .footer-widgets { grid-template-columns: 1fr; }
  .footer-copy { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .site-header__inner { gap: 10px; }
  .site-branding { gap: 8px; }
  .site-branding .logo-coin { width: 34px; height: 34px; }
  .site-branding .brand-text { font-size: 18px; }
  .site-branding .brand-tag { display: none; }
  .header-actions { gap: 6px; }
  .search-toggle { width: 36px; height: 36px; font-size: 15px; }
  .nav-toggle { width: 38px; height: 36px; }
  .header-actions .btn--header-daftar { padding: 8px 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .site-header, .floatbar, .topbar, .header-search { display: none !important; }
  body { color: #000; background: #fff; }
}
