/*
Theme Name: Ugbet88
Theme URI: https://ugbet88.games/
Author: Redaksi Ugbet88
Description: Theme portal informasi Ugbet88 - gaya kasino klasik (merah, emas, hijau, biru, hitam, putih), responsif penuh untuk semua perangkat.
Version: 1.0.0
Text Domain: ugbet88
*/

:root {
  --red: #c8102e;
  --red-deep: #8c0b20;
  --red-dark: #5c0a17;
  --gold: #f6c445;
  --gold-2: #ffd97a;
  --gold-deep: #b8860b;
  --green: #17a673;
  --green-deep: #0e7a54;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --ink: #17121b;
  --ink-2: #221a27;
  --paper: #ffffff;
  --paper-2: #f8f5f0;
  --line: #e9e2ea;
  --muted: #5c5362;
  --muted-l: #cfc6d6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 18, 27, 0.08);
  --shadow-lg: 0 18px 50px rgba(23, 18, 27, 0.16);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { 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(--ink);
  background: var(--paper);
  overflow-x: clip;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

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

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #3a2802; padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 800; letter-spacing: 0.02em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), #f0a92c);
  color: #402a02; box-shadow: 0 6px 18px rgba(240, 169, 44, 0.45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240, 169, 44, 0.55); }
.btn-green {
  background: linear-gradient(180deg, #1dbd85, var(--green-deep));
  color: #fff; box-shadow: 0 6px 18px rgba(23, 166, 115, 0.4);
}
.btn-green:hover { transform: translateY(-2px); }
.btn-outline-green { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(23, 18, 27, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: 0.04em; color: #fff; }
.logo-text em { font-style: normal; color: var(--gold); }
.main-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: #ece5f0; font-weight: 600; font-size: 14.5px; text-decoration: none !important;
}
.menu a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.menu a.active { color: var(--gold); background: rgba(246, 196, 69, 0.12); }
.nav-auth { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent; color: #f3edf5; cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-burger { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* --------------------------------------------------------- breadcrumbs --- */
.breadcrumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none;
  margin: 0; padding: 11px 0; font-size: 13px; color: var(--muted);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: #b6adb9; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------- sections --- */
.section { padding: 62px 0; }
.section--tint { background: var(--paper-2); }
.section--dark {
  background: radial-gradient(1100px 400px at 85% -10%, rgba(200, 16, 46, 0.35), transparent 60%),
              linear-gradient(160deg, #1c1420, #14101a 55%, #241428);
  color: #f4eef7;
}
.section--dark .section-title, .section--dark h3 { color: #fff; }
.section--dark .section-lead, .section--dark p { color: #cec3d6; }
.section--blue {
  background: radial-gradient(900px 380px at 12% -20%, rgba(37, 99, 235, 0.4), transparent 60%),
              linear-gradient(160deg, #101a33, #0d1226 60%, #17143a);
  color: #eef1fb;
}
.section--blue .section-title { color: #fff; }
.section--blue .section-lead, .section--blue p { color: #c3cbe8; }
.section-head { max-width: 780px; margin: 0 0 34px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(200, 16, 46, 0.1); color: var(--red);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section--dark .eyebrow, .section--blue .eyebrow { background: rgba(246, 196, 69, 0.16); color: var(--gold); }
.section-title { font-size: clamp(1.4rem, 3.2vw, 2rem); }
.section-lead { color: var(--muted); font-size: 16.5px; }

/* ----------------------------------------------------------------- hero --- */
.hero { position: relative; background: linear-gradient(150deg, #1d0f19 5%, #370c1d 48%, #5c0a17 100%); color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 300px at 88% 12%, rgba(246, 196, 69, 0.14), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
  padding: 58px 0 50px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px; border: 1px solid rgba(246, 196, 69, 0.45);
  background: rgba(246, 196, 69, 0.1); color: var(--gold-2);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.85rem, 4.6vw, 3rem); color: #fff; letter-spacing: -0.01em; }
.hero h1 .hl { color: var(--gold); }
.hero-lead { color: #e5d9e9; font-size: clamp(15.5px, 1.9vw, 17.5px); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f2eaf5; font-size: 13px; font-weight: 600;
}
.trust-chip svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 18px; border: 1px solid rgba(246, 196, 69, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(20, 13, 20, 0.92); border: 1px solid rgba(246, 196, 69, 0.5);
  border-radius: 12px; padding: 9px 14px; font-size: 13px; font-weight: 700; color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.hero-badge--a { left: -14px; top: 22px; }
.hero-badge--b { right: -10px; bottom: 26px; }
.hero-badge .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px; font-size: 12px; font-weight: 800;
  background: linear-gradient(180deg, var(--gold-2), #f0a92c); color: #402a02;
}
.hero-tags { padding-bottom: 42px; position: relative; z-index: 1; }
.hero-tags p { color: #b9aabf; font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }

/* ------------------------------------------------------------ tag cloud --- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f0e7f3 !important; font-size: 13px; font-weight: 600; text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.tag:hover { border-color: var(--gold); background: rgba(246, 196, 69, 0.15); transform: translateY(-1px); }
.tag-cloud--light .tag { background: #fff; border-color: var(--line); color: var(--ink) !important; box-shadow: 0 2px 8px rgba(23, 18, 27, 0.06); }
.tag-cloud--light .tag:hover { border-color: var(--red); color: var(--red) !important; }

/* ---------------------------------------------------------------- steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 20px; }
.step-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 15px;
  background: linear-gradient(160deg, #2a1622, #5c0a17); color: var(--gold);
  font-size: 21px; font-weight: 800; border: 1px solid rgba(246, 196, 69, 0.5);
}
.step-card h3 { font-size: 17px; }
.step-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.step-card a { font-weight: 700; font-size: 14px; }

/* --------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 17.5px; }
.card p { color: var(--muted); font-size: 14.8px; }
.card--dark { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.card--dark p { color: #cec3d6; }
.card--gold-top { border-top: 4px solid var(--gold); }
.card--green-top { border-top: 4px solid var(--green); }
.card--blue-top { border-top: 4px solid var(--blue); }
.card--red-top { border-top: 4px solid var(--red); }
.feat-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px; font-size: 24px; margin-bottom: 15px;
}
.fi-red { background: rgba(200, 16, 46, 0.1); }
.fi-gold { background: rgba(246, 196, 69, 0.18); }
.fi-green { background: rgba(23, 166, 115, 0.13); }
.fi-blue { background: rgba(37, 99, 235, 0.1); }

/* ----------------------------------------------------------- testimonials --- */
.quote-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 2px; right: 18px;
  font-size: 84px; line-height: 1; color: rgba(200, 16, 46, 0.1); font-family: Georgia, serif;
}
.stars { color: var(--gold-deep); letter-spacing: 3px; font-size: 15px; }
.quote-card blockquote { margin: 0; font-size: 14.8px; color: #38303f; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 15px;
  flex: none;
}
.av-red { background: linear-gradient(150deg, #e0334e, var(--red-deep)); }
.av-green { background: linear-gradient(150deg, #22c389, var(--green-deep)); }
.av-blue { background: linear-gradient(150deg, #4f83f1, var(--blue-deep)); }
.av-gold { background: linear-gradient(150deg, #ffd97a, #d99a17); color: #402a02; }
.quote-who strong { display: block; font-size: 14.5px; }
.quote-who span { font-size: 12.5px; color: var(--muted); }
.feedback-note { font-size: 12.8px; color: var(--muted); margin: 18px 0 0; }

/* ------------------------------------------------------- verify section --- */
.verify-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px; margin: 4px 0 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(246, 196, 69, 0.6);
  color: var(--gold-2) !important; font-family: "Cascadia Code", Consolas, monospace;
  font-size: 15.5px; font-weight: 700; letter-spacing: 0.02em;
  overflow-wrap: anywhere; max-width: 100%;
}
.verify-list { list-style: none; padding: 0; }
.verify-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #d9d2e6; font-size: 15px;
}
.verify-list li:last-child { border-bottom: 0; }
.verify-list .ok {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: rgba(23, 166, 115, 0.2); color: #3ad69f; font-weight: 800; font-size: 14px;
}

/* ------------------------------------------------------------ FAQ ----- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 3px 12px rgba(23, 18, 27, 0.05); overflow: hidden;
}
.section--dark .faq-item, .section--blue .faq-item { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(200, 16, 46, 0.1); color: var(--red); font-weight: 800;
  transition: transform 0.2s ease; font-size: 16px;
}
.faq-item[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 14.8px; }
.section--dark .faq-item .faq-a, .section--blue .faq-item .faq-a { color: #cec3d6; }

/* ------------------------------------------------------- entry content --- */
.entry-hero { position: relative; background: linear-gradient(150deg, #1d0f19, #370c1d 55%, #5c0a17); color: #fff; overflow: hidden; }
.entry-hero-inner { padding: 52px 0 46px; max-width: 840px; }
.entry-hero h1 { font-size: clamp(1.65rem, 3.8vw, 2.45rem); color: #fff; }
.entry-hero .meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #cbb9d2; font-size: 13.5px; margin-top: 14px; }
.entry-hero .meta-line span { display: inline-flex; align-items: center; gap: 6px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 54px 0 60px; align-items: start; }
.entry-content { font-size: 16px; color: #2c2533; min-width: 0; }
.entry-content h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem); margin: 1.9em 0 0.7em; padding-left: 14px;
  border-left: 4px solid var(--red);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 1.12rem; margin: 1.5em 0 0.5em; }
.entry-content p, .entry-content li { font-size: 15.8px; }
.entry-content a { font-weight: 600; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.entry-content figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.entry-content th { background: #241a28; color: var(--gold-2); font-weight: 700; }
.entry-content tr:nth-child(even) td { background: #faf7f4; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; }
.table-scroll table { min-width: 520px; }
.box {
  border-radius: 12px; padding: 16px 20px; margin: 1.5em 0; font-size: 14.8px;
  border-left: 4px solid; background: #faf6f2;
}
.box--tip { border-color: var(--green); background: #f0faf5; }
.box--warn { border-color: var(--gold-deep); background: #fdf8ec; }
.box--note { border-color: var(--blue); background: #eef4fe; }
.box strong { display: block; margin-bottom: 4px; }
.article-sidebar { position: sticky; top: 92px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 15.5px; margin-bottom: 12px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.2px; }
.side-card li:last-child { border-bottom: 0; }
.side-cta { background: linear-gradient(150deg, #2c1524, #5c0a17); border: 1px solid rgba(246, 196, 69, 0.4); color: #fff; }
.side-cta p { color: #dccddf; font-size: 13.8px; }
.side-cta .btn { width: 100%; }

/* --------------------------------------------------------- promo cards --- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.promo-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card figure { margin: 0; }
.promo-card img { aspect-ratio: 16 / 8.4; object-fit: cover; width: 100%; }
.promo-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.promo-body h3 { font-size: 17.5px; margin: 0; }
.promo-body > p { color: var(--muted); font-size: 14.5px; margin: 0; }
.promo-terms { list-style: none; padding: 0; margin: 4px 0 8px; font-size: 13.6px; color: #463d4d; }
.promo-terms li { display: flex; gap: 8px; margin-bottom: 5px; }
.promo-terms li::before { content: "\2713"; color: var(--green-deep); font-weight: 800; flex: none; }
.promo-body .btn { margin-top: auto; align-self: flex-start; }
.promo-flag {
  display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; align-self: flex-start;
  background: rgba(200, 16, 46, 0.1); color: var(--red);
}
.promo-flag--green { background: rgba(23, 166, 115, 0.13); color: var(--green-deep); }
.promo-flag--blue { background: rgba(37, 99, 235, 0.1); color: var(--blue-deep); }
.promo-flag--gold { background: rgba(246, 196, 69, 0.2); color: #8a6607; }

/* ----------------------------------------------------------- auth form --- */
.auth-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 56px 0 62px; align-items: start; }
.auth-aside {
  background: linear-gradient(160deg, #2c1524, #5c0a17 70%);
  border: 1px solid rgba(246, 196, 69, 0.35); border-radius: 18px; color: #fff; padding: 34px 30px;
}
.auth-aside h2 { color: var(--gold); font-size: 22px; }
.auth-aside p { color: #e2d3df; font-size: 14.8px; }
.auth-aside ul { list-style: none; padding: 0; margin: 18px 0; }
.auth-aside li { display: flex; gap: 10px; padding: 9px 0; font-size: 14.4px; color: #ecdfe8; }
.auth-aside li::before { content: "\2713"; color: var(--gold); font-weight: 800; flex: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; box-shadow: var(--shadow-lg); }
.form-card h1 { font-size: 24px; }
.form-card .form-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field .req { color: var(--red); }
.field input[type="text"], .field input[type="password"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid #d8d2dc;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12); }
.field .hint { font-size: 12.6px; color: var(--muted); margin-top: 5px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.6px; color: #463d4d; margin: 4px 0 20px; }
.checkline input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form-note { font-size: 12.8px; color: var(--muted); text-align: center; margin: 16px 0 0; }
.form-alt { text-align: center; font-size: 14.5px; margin-top: 18px; }
.form-alt a { font-weight: 700; }

/* --------------------------------------------------------- mini blocks --- */
.cta-strip { background: linear-gradient(120deg, #5c0a17, #8c0b20 55%, #a4161a); color: #fff; }
.cta-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: 40px 0;
}
.cta-strip h2 { font-size: clamp(1.25rem, 2.8vw, 1.7rem); margin: 0 0 6px; }
.cta-strip p { margin: 0; color: #f0dfe6; font-size: 15px; }
.info-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; align-items: center; }
.info-split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 15px; }
.check-list li::before {
  content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(23, 166, 115, 0.14); color: var(--green-deep); font-size: 12.5px; font-weight: 800;
}
.section--dark .check-list li::before, .section--blue .check-list li::before { background: rgba(23, 166, 115, 0.22); color: #3ad69f; }
.age-badge-lg {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 74px; height: 74px; border-radius: 50%;
  border: 4px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 22px;
  background: rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------- page 404 ----- */
.p404 { text-align: center; padding: 90px 20px 70px; }
.p404 .code { font-size: clamp(4.5rem, 14vw, 7.5rem); font-weight: 800; line-height: 1; color: var(--red); }
.p404 h1 { font-size: 1.5rem; }
.p404 p { color: var(--muted); }

/* ------------------------------------------------------------- footer --- */
.site-footer { background: #140f17; color: #b9afc2; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 40px; }
.f-brand .site-brand { margin-bottom: 16px; }
.f-brand p { font-size: 13.8px; line-height: 1.75; }
.f-col h3 {
  color: var(--gold); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 16px;
}
.f-col ul { list-style: none; padding: 0; margin: 0; }
.f-col li { margin: 0; padding: 5.5px 0; }
.f-col a { color: #cfc6d6; font-size: 14.2px; text-decoration: none !important; }
.f-col a:hover { color: var(--gold); }
.f-badges { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 15px; flex: none;
}
.f-chip {
  display: inline-flex; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2); color: #d6cddd;
}
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0 26px; }
.footer-legal p { font-size: 12.6px; line-height: 1.75; color: #9c91a8; margin-bottom: 10px; }
.footer-legal .copy { color: #c9bfcf; margin-bottom: 0; }

/* -------------------------------------------------- floating CTA bar ----- */
.float-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(90deg, #3e0a15, #7a0f23 28%, #b3122f 50%, #7a0f23 72%, #3e0a15);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.5);
}
.float-cta-inner {
  max-width: 560px; height: 100%; margin: 0 auto; padding: 0 14px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  position: relative; z-index: 2;
}
.float-reels { display: flex; gap: 6px; flex: none; }
.reel {
  display: inline-flex; flex-direction: column; width: 30px; height: 40px;
  background: #160d13; border: 2px solid var(--gold); border-radius: 7px;
  overflow: hidden; box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
}
.reel i {
  font-style: normal; height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; line-height: 1;
}
.r1 i { animation: reelspin 2.1s linear infinite; }
.r2 i { animation: reelspin 1.7s linear infinite 0.2s; }
.r3 i { animation: reelspin 2.5s linear infinite 0.1s; }
@keyframes reelspin {
  0% { transform: translateY(0); }
  100% { transform: translateY(-108px); }
}
.float-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 30px; border-radius: 999px; text-decoration: none !important;
  font-weight: 800; font-size: 15.5px; letter-spacing: 0.08em; flex: none;
}
.float-btn-gold {
  background: linear-gradient(180deg, #ffdf8e, #f0a92c); color: #402a02;
  box-shadow: 0 0 0 2px rgba(64, 42, 2, 0.25), 0 0 18px rgba(246, 196, 69, 0.75);
  animation: goldpulse 2s ease-in-out infinite;
}
.float-btn-green {
  background: linear-gradient(180deg, #1dbd85, #0c6e4b); color: #fff;
  box-shadow: 0 0 14px rgba(23, 166, 115, 0.55);
}
@keyframes goldpulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(64, 42, 2, 0.25), 0 0 14px rgba(246, 196, 69, 0.55); }
  50% { box-shadow: 0 0 0 2px rgba(64, 42, 2, 0.25), 0 0 26px rgba(246, 196, 69, 0.95); }
}
.coin-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.coin {
  position: absolute; bottom: -14px; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, #f6c445 55%, #b8860b);
  box-shadow: 0 0 6px rgba(246, 196, 69, 0.8);
  opacity: 0; animation: coinup 3.2s linear infinite;
}
.c1 { left: 6%; animation-delay: 0s; }
.c2 { left: 18%; animation-delay: 1.1s; }
.c3 { left: 34%; animation-delay: 2.2s; }
.c4 { left: 66%; animation-delay: 0.6s; }
.c5 { left: 82%; animation-delay: 1.7s; }
.c6 { left: 93%; animation-delay: 2.6s; }
@keyframes coinup {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  12% { opacity: 0.95; }
  80% { opacity: 0.7; }
  100% { transform: translateY(-74px) scale(1.05); opacity: 0; }
}

/* --------------------------------------------------------- search UI ----- */
.search-overlay {
  position: fixed; inset: 0; z-index: 120; padding: 10vh 18px 18px;
  background: rgba(13, 9, 16, 0.9); backdrop-filter: blur(6px);
  overflow-y: auto;
}
.search-overlay[hidden] { display: none; }
.search-panel {
  max-width: 620px; margin: 0 auto; background: #1d1522;
  border: 1px solid rgba(246, 196, 69, 0.4); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.search-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.search-head > svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
#search-input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: #fff; font-family: var(--font); font-size: 17px; padding: 14px 0;
}
#search-input::placeholder { color: #8f8299; }
.search-results { padding: 16px 18px 20px; }
.search-hint { color: #9d90a8; font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.s-item {
  display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none !important;
}
.s-item:hover { background: rgba(255, 255, 255, 0.07); }
.s-item strong { display: block; color: #f3ecf6; font-size: 15px; }
.s-item span { display: block; color: #9d90a8; font-size: 12.8px; margin-top: 2px; }
.s-empty { color: #b7abc2; font-size: 14px; padding: 6px 4px; }

/* --------------------------------------------------------- animations --- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .r1 i, .r2 i, .r3 i, .coin, .float-btn-gold { animation: none; }
}

/* -------------------------------------------------------- responsive ----- */
@media (max-width: 1080px) {
  .menu a { padding: 9px 9px; font-size: 14px; }
  .header-login { display: none; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; top: 67px; left: 0; right: 0; z-index: 79;
    background: #17121b; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px 22px; box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
    margin-left: 0; max-height: calc(100vh - 67px); overflow-y: auto;
  }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a { padding: 12px 14px; font-size: 15.5px; border-radius: 10px; }
  .nav-auth { display: grid; gap: 10px; margin-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 36px; }
  .hero-media { max-width: 560px; }
  .hero-badge--a { left: 6px; }
  .hero-badge--b { right: 6px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .auth-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .hero h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .hero-cta .btn { flex: 1 1 auto; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .header-daftar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 44px 0 32px; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .btn { white-space: normal; }
  .float-btn { white-space: nowrap; }
  .grid--3, .grid--2, .steps-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .float-cta-inner { gap: 10px; }
  .float-btn { padding: 10px 20px; font-size: 14px; letter-spacing: 0.05em; }
  .reel { width: 26px; height: 36px; }
  .reel i { height: 32px; font-size: 16px; }
  @keyframes reelspin { 0% { transform: translateY(0); } 100% { transform: translateY(-96px); } }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .auth-aside { padding: 26px 22px; }
  .hero-badge { font-size: 12px; padding: 7px 11px; }
  .hero-badge .num { width: 22px; height: 22px; font-size: 11px; }
  .search-overlay { padding-top: 6vh; }
}

/* ------------------------------------------------------------- helpers --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.small { font-size: 13px; color: var(--muted); }
.nowrap-mobile { white-space: normal; }
