/* ==========================================================================
   Alexis4d — Portal Informasi Judi Online (Indonesia)
   Palet: merah / putih / hijau / kuning emas / biru / hitam pekat
   ========================================================================== */

:root {
  --bg: #0b0e13;
  --bg-2: #0f131b;
  --surface: #151b25;
  --surface-2: #1b2331;
  --line: #273244;
  --line-soft: #1d2634;
  --text: #eef2f8;
  --muted: #a7b2c3;
  --muted-2: #7e8aa0;
  --red: #e5384f;
  --red-deep: #b5202f;
  --red-dark: #7e1522;
  --gold: #f4c14f;
  --gold-deep: #d9a326;
  --green: #2fbf71;
  --blue: #4da3ff;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 66px;
  --float-h: 74px;
}

/* ----- Reset & base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(229, 56, 79, 0.16), transparent 60%),
    radial-gradient(900px 460px at -10% 12%, rgba(244, 193, 79, 0.08), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

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

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

a:hover {
  text-decoration: underline;
}

p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.65rem, 1.2rem + 2.2vw, 2.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.95rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
}

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

abbr[title] {
  text-decoration: none;
}

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

.container-narrow {
  max-width: 880px;
}

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

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

.skip-link:focus {
  left: 0;
}

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

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(229, 56, 79, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(229, 56, 79, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #2b1e02;
  box-shadow: 0 10px 26px rgba(244, 193, 79, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

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

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-green {
  background: linear-gradient(135deg, #35d384, #1f9d5c);
  color: #04220f;
  box-shadow: 0 10px 26px rgba(47, 191, 113, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 19, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white) !important;
  text-decoration: none !important;
  flex-shrink: 0;
}

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

.brand-name .accent {
  color: var(--gold);
}

.brand-name small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.2;
}

.main-nav {
  display: flex;
  margin-left: auto;
}

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

.nav-list > li > a,
.nav-drop > summary {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  cursor: pointer;
  list-style: none;
}

.nav-list > li > a:hover,
.nav-drop > summary:hover,
.nav-list > li > a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-list > li > a.is-active {
  color: var(--gold);
}

.nav-drop {
  position: relative;
}

.nav-drop > summary::-webkit-details-marker {
  display: none;
}

.nav-drop > summary::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 5px;
  color: var(--muted-2);
}

.nav-drop[open] > summary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 1100;
}

.nav-drop-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
}

.nav-drop-panel a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

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

/* Search */
.search-toggle {
  position: static;
}

.search-toggle > summary {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  transition: color 0.15s, border-color 0.15s;
}

.search-toggle > summary::-webkit-details-marker {
  display: none;
}

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

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px 0 20px;
  z-index: 1050;
}

.search-field {
  display: flex;
  gap: 10px;
}

.search-field input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.search-field input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.search-hints {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted-2);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag-cloud a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
}

.tag-cloud a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tag-cloud a .hot {
  color: var(--red);
  font-weight: 800;
}

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

.search-results a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  text-decoration: none !important;
  color: var(--text);
}

.search-results a strong {
  color: var(--gold);
}

.search-results a span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Mobile menu */
.menu-toggle {
  display: none;
}

.menu-toggle > summary {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  font-size: 1.2rem;
}

.menu-toggle > summary::-webkit-details-marker {
  display: none;
}

.mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px 20px 20px;
  z-index: 1060;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-panel ul a {
  display: block;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-weight: 600;
  text-decoration: none !important;
}

.mobile-panel ul a:hover {
  color: var(--gold);
}

.mobile-panel .m-cta {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.mobile-panel .m-cta .btn {
  flex: 1;
}

.age-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--red-deep);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* ----- Breadcrumbs ----- */
.breadcrumbs {
  padding: 16px 0 2px;
  font-size: 0.86rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--muted-2);
}

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

.breadcrumbs li + li::before {
  content: "›";
  color: var(--muted-2);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs [aria-current] {
  color: var(--gold);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 14, 19, 0.55) 0%, rgba(11, 14, 19, 0.82) 62%, var(--bg) 100%),
    radial-gradient(700px 320px at 78% 30%, rgba(229, 56, 79, 0.24), transparent 65%);
}

.hero-inner {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 20px clamp(48px, 7vw, 84px);
}

.hero-copy {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 193, 79, 0.4);
  background: rgba(244, 193, 79, 0.08);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 0 18px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.hero-lead {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
}

.hero-chips a {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
}

.hero-chips a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-note {
  font-size: 0.84rem;
  color: var(--muted-2);
  margin: 0;
}

/* ----- Sections ----- */
.section {
  padding: clamp(48px, 7vw, 84px) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.045));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-dark {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(229, 56, 79, 0.12), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(30px, 4vw, 48px);
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-sub {
  color: var(--muted);
  margin: 0;
}

/* ----- Grid & cards ----- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

a.card {
  display: block;
  text-decoration: none !important;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

a.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 193, 79, 0.55);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229, 56, 79, 0.18), rgba(244, 193, 79, 0.14));
  border: 1px solid rgba(244, 193, 79, 0.3);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card.mini strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.card.mini span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card.mini:hover strong {
  color: var(--gold);
}

/* ----- Split layout ----- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.split.reverse .split-main {
  order: 2;
}

.split.reverse .split-side {
  order: 1;
}

.side-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.side-card + .side-card {
  margin-top: 18px;
}

.side-card h3 {
  font-size: 1.1rem;
}

.side-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.link-arrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none !important;
}

.link-arrow::after {
  content: " →";
}

.link-arrow:hover {
  text-decoration: underline !important;
}

/* ----- Lists ----- */
.points-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: point;
}

.points-list li {
  counter-increment: point;
  position: relative;
  padding: 0 0 26px 64px;
}

.points-list li::before {
  content: counter(point, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold);
  background: rgba(244, 193, 79, 0.09);
  border: 1px solid rgba(244, 193, 79, 0.35);
}

.points-list h3 {
  margin-bottom: 6px;
}

.points-list p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

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

.check-list li {
  position: relative;
  padding: 7px 0 7px 34px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(47, 191, 113, 0.14);
  border: 1px solid rgba(47, 191, 113, 0.5);
  color: var(--green);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list.compact li {
  padding: 5px 0 5px 32px;
  font-size: 0.92rem;
}

.mini-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-links li + li {
  margin-top: 8px;
}

.mini-links a::before {
  content: "› ";
  color: var(--gold);
  font-weight: 800;
}

/* ----- Phone mock (mobile section) ----- */
.phone-mock {
  max-width: 270px;
  margin: 0 auto;
  padding: 14px 12px;
  border-radius: 34px;
  background: linear-gradient(160deg, #232c3c, #10151e);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 0 3px rgba(255, 255, 255, 0.03);
}

.phone-screen {
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  padding: 14px 12px 18px;
}

.ps-bar {
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  margin-bottom: 12px;
  opacity: 0.85;
}

.ps-card {
  height: 74px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  margin-bottom: 10px;
}

.ps-card.short {
  height: 42px;
  width: 72%;
}

.ps-chips {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.ps-chips span {
  flex: 1;
  height: 20px;
  border-radius: 999px;
  background: rgba(244, 193, 79, 0.16);
  border: 1px solid rgba(244, 193, 79, 0.4);
}

/* ----- Testimonials ----- */
.testimonial {
  margin: 0;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(244, 193, 79, 0.3);
  font-family: Georgia, serif;
}

.testimonial blockquote {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.98rem;
}

.testimonial blockquote::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin-bottom: 14px;
}

.testimonial figcaption {
  color: var(--muted-2);
  font-size: 0.84rem;
}

/* ----- Glossary ----- */
.glossary {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.gl-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gl-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 20px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.gl-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.gl-item[open] summary::after {
  content: "–";
}

.gl-item[open] summary {
  border-bottom: 1px solid var(--line-soft);
  color: var(--gold);
}

.gl-item p {
  padding: 14px 20px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ----- Security section ----- */
.security-grid .sec-card {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.sec-card h3 {
  font-size: 1.06rem;
}

.sec-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

.security-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 34px 0 0;
}

/* ----- Post / article ----- */
.page-main {
  padding-bottom: clamp(40px, 6vw, 70px);
}

.page-main > .container {
  max-width: 920px;
}

.post-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.post-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.post-meta {
  color: var(--muted-2);
  font-size: 0.88rem;
  margin: 0 0 22px;
}

.post-body {
  font-size: 1.02rem;
  color: #d7deea;
}

.post-body p {
  margin: 0 0 1.15em;
}

.post-body h2 {
  margin: 1.9em 0 0.7em;
  padding-left: 14px;
  border-left: 4px solid var(--red);
}

.post-body h3 {
  margin: 1.6em 0 0.6em;
  color: var(--gold);
  font-size: 1.12rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.2em;
  color: #c9d2e0;
}

.post-body li {
  margin-bottom: 0.5em;
}

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

.post-body strong {
  color: var(--white);
}

.post-body a {
  color: var(--gold);
  font-weight: 600;
}

.info-box {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(77, 163, 255, 0.35);
  background: rgba(77, 163, 255, 0.07);
  padding: 16px 20px;
  margin: 1.4em 0;
}

.info-box.warn {
  border-color: rgba(244, 193, 79, 0.4);
  background: rgba(244, 193, 79, 0.07);
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.info-box strong {
  color: var(--gold);
}

/* Featured post on homepage */
.featured-post {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}

.featured-post .post-hero {
  margin-bottom: 22px;
}

.featured-post h2 {
  margin-top: 0;
}

/* Related */
.related {
  margin-top: clamp(36px, 5vw, 54px);
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.related h2 {
  font-size: 1.3rem;
}

/* ----- Page intro (promosi/daftar/login) ----- */
.page-intro {
  padding: clamp(30px, 5vw, 54px) 0 6px;
}

.page-intro-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  max-height: 460px;
}

.page-intro-media img {
  width: 100%;
  object-fit: cover;
  max-height: 460px;
}

.page-intro .post-body {
  max-width: 860px;
}

/* ----- Promo list ----- */
.promo-list {
  display: grid;
  gap: 28px;
  padding: 26px 0 10px;
}

.promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.promo-media {
  display: block;
  min-height: 200px;
}

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

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

.promo-body {
  padding: 26px 28px;
}

.promo-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(47, 191, 113, 0.13);
  border: 1px solid rgba(47, 191, 113, 0.45);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.promo-body h3 {
  margin-bottom: 8px;
}

.promo-body h3 a {
  color: var(--white);
  text-decoration: none !important;
}

.promo-body h3 a:hover {
  color: var(--gold);
}

.promo-body > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.promo-facts {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-facts li {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.notice-box {
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px dashed rgba(244, 193, 79, 0.5);
  background: rgba(244, 193, 79, 0.05);
}

.notice-box h2 {
  font-size: 1.25rem;
  color: var(--gold);
}

.notice-box p {
  color: var(--muted);
  margin: 0;
}

/* ----- Forms ----- */
.form-split {
  padding: 30px 0 10px;
  align-items: start;
}

.auth-form {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow);
}

.auth-form h2 {
  margin-top: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(77, 163, 255, 0.08);
  border: 1px solid rgba(77, 163, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 7px;
  color: var(--text);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s;
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 193, 79, 0.18);
}

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.field-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.field-check label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.form-footnote {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--muted-2);
  text-align: center;
}

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

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

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

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

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line-soft);
  color: var(--gold);
}

.faq-item p {
  padding: 14px 20px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #090c11;
  margin-top: clamp(30px, 5vw, 60px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: clamp(36px, 5vw, 60px) 20px 26px;
}

.f-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none !important;
  margin-bottom: 14px;
}

.f-brand .accent {
  color: var(--gold);
}

.f-about p {
  color: var(--muted);
  font-size: 0.9rem;
}

.f-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.f-badges span {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
}

.f-badges .b-red {
  border-color: rgba(229, 56, 79, 0.6);
  color: var(--red);
  background: rgba(229, 56, 79, 0.08);
}

.f-badges .b-green {
  border-color: rgba(47, 191, 113, 0.5);
  color: var(--green);
  background: rgba(47, 191, 113, 0.07);
}

.f-col h3 {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.f-col ul li + li {
  margin-top: 9px;
}

.f-col ul a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

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

.footer-tags {
  padding: 0 20px 26px;
}

.footer-tags h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.footer-legal {
  border-top: 1px solid var(--line-soft);
  background: #070910;
}

.footer-legal-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 26px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

.footer-legal-inner strong {
  color: var(--muted);
}

.footer-legal-inner a {
  color: var(--muted);
}

/* Reserve room so the fixed bar never covers footer content */
.footer-legal {
  padding-bottom: calc(var(--float-h) + 26px);
}

/* ----- Floating CTA bar (slot machine + coins) ----- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: linear-gradient(90deg, #12090b 0%, #1c0f14 45%, #160d10 100%);
  border-top: 1px solid rgba(244, 193, 79, 0.45);
  box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.55);
}

.float-bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--gold), transparent);
  opacity: 0.8;
}

.float-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--float-h);
  padding: 10px 20px;
}

/* Mini slot machine */
.float-slot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2a1a10, #170e08);
  border: 1px solid rgba(244, 193, 79, 0.5);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.float-slot::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 7px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}

.reel {
  display: inline-flex;
  flex-direction: column;
  width: 26px;
  height: 30px;
  overflow: hidden;
  border-radius: 6px;
  background: #fdf6e7;
}

.reel i {
  font-style: normal;
  font-size: 17px;
  line-height: 30px;
  text-align: center;
  height: 30px;
}

.reel .strip {
  display: block;
  animation: reel-spin 7s linear infinite;
}

.reel.r2 .strip {
  animation-duration: 9s;
  animation-delay: -3s;
}

.reel.r3 .strip {
  animation-duration: 11s;
  animation-delay: -6s;
}

@keyframes reel-spin {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Coins decoration */
.coins {
  position: relative;
  width: 34px;
  height: 40px;
  flex-shrink: 0;
}

.coin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9a8, var(--gold) 55%, var(--gold-deep) 100%);
  border: 2px solid #b8860b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
}

.coin::before {
  content: "Rp";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #7a5a05;
}

.coin.c1 {
  left: 0;
  bottom: 4px;
}

.coin.c2 {
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
}

.coin.c3 {
  left: 7px;
  top: 0;
  width: 16px;
  height: 16px;
}

.coin.c1 {
  animation: coin-float 3.2s ease-in-out infinite;
}

.coin.c2 {
  animation: coin-float 3.2s ease-in-out 0.6s infinite;
}

.coin.c3 {
  animation: coin-float 3.2s ease-in-out 1.2s infinite;
}

@keyframes coin-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.float-text {
  line-height: 1.3;
  min-width: 0;
}

.float-text strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  white-space: nowrap;
}

.float-text strong .accent {
  color: var(--gold);
}

.float-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.float-actions .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.float-age {
  flex-shrink: 0;
}

/* ----- Back to top ----- */
.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(var(--float-h) + 14px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(21, 27, 37, 0.9);
  color: var(--gold);
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1500;
  text-decoration: none !important;
}

.to-top.show {
  display: inline-flex;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .split.reverse .split-main,
  .split.reverse .split-side {
    order: initial;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .btn-outline,
  .header-actions .btn-primary {
    display: none;
  }

  .promo-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-media {
    min-height: 180px;
    max-height: 230px;
  }
}

@media (max-width: 768px) {
  :root {
    --float-h: 66px;
  }

  .hero-inner {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .float-text span {
    display: none;
  }

  .to-top {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .security-links .btn {
    width: 100%;
  }

  .post-body h2 {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .float-inner {
    gap: 10px;
    padding: 8px 12px;
  }

  .float-slot {
    padding: 5px 6px;
    gap: 3px;
    border-radius: 10px;
  }

  .float-slot::after {
    width: 18px;
    height: 5px;
    top: -5px;
    border-radius: 3px 3px 0 0;
  }

  .reel {
    width: 21px;
    height: 24px;
    border-radius: 5px;
  }

  .reel i {
    font-size: 13px;
    line-height: 24px;
    height: 24px;
  }

  .coins {
    width: 26px;
    height: 30px;
  }

  .coin {
    width: 16px;
    height: 16px;
    border-width: 1.5px;
  }

  .coin::before {
    font-size: 7px;
  }

  .coin.c2 {
    width: 13px;
    height: 13px;
  }

  .coin.c3 {
    width: 12px;
    height: 12px;
    left: 5px;
  }

  .float-text strong {
    font-size: 0.92rem;
  }

  .float-age {
    display: none;
  }

  .float-actions {
    gap: 8px;
  }

  .float-actions .btn {
    padding: 8px 16px;
    font-size: 0.88rem;
  }

  .points-list li {
    padding-left: 56px;
  }

  .points-list li::before {
    width: 38px;
    height: 38px;
  }

  .promo-body {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .float-text {
    display: none;
  }
}

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