:root {
  --bg: #0a1118;
  --surface: #142230;
  --surface-hover: #1c2f42;
  --surface-light: #253d54;
  --accent: #4dd0ff;
  --accent-hover: #1abdf8;
  --accent2: #ffd166;
  --text: #f0faff;
  --muted: #8fa8b8;
  --font-display: 'Russo One', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --max-width: 1280px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: normal; line-height: 1.2; letter-spacing: 0.02em; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Motif: Kite-Sky (Subtle Background Pattern) */
.kite-bg {
  position: relative;
}
.kite-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(77, 208, 255, 0.03) 25%, transparent 25%, transparent 75%, rgba(77, 208, 255, 0.03) 75%, rgba(77, 208, 255, 0.03)),
    linear-gradient(45deg, rgba(77, 208, 255, 0.03) 25%, transparent 25%, transparent 75%, rgba(77, 208, 255, 0.03) 75%, rgba(77, 208, 255, 0.03));
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-md); } }
.section-pad { padding: var(--space-lg) 0; }
@media (min-width: 1024px) { .section-pad { padding: var(--space-xl) 0; } }
.text-center { text-align: center; }
.z-1 { position: relative; z-index: 1; }
.alt-bg { background-color: var(--surface); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background-color: var(--accent); color: var(--bg); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(77, 208, 255, 0.3); color: var(--bg); }
.btn-secondary { background-color: transparent; border-color: var(--accent2); color: var(--accent2); }
.btn-secondary:hover { background-color: rgba(255, 209, 102, 0.1); transform: translateY(-2px); color: var(--accent2); }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  background-color: rgba(10, 17, 24, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface);
  z-index: 100;
  padding: var(--space-sm) 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--accent); }
.nav-links {
  display: none;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-links a:hover { color: var(--accent); }
.header-ctas { display: none; gap: 0.5rem; }
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .header-ctas { display: flex; }
  .mobile-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background-color: var(--surface);
  padding: var(--space-md);
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--surface-light);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--text); font-size: 1.1rem; font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu .header-ctas { display: flex; flex-direction: column; margin-top: 1rem; }
.mobile-menu .btn { width: 100%; }

/* Section: Hero */
#hero {
  padding: var(--space-lg) 0 var(--space-xl);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.badge {
  background-color: rgba(77, 208, 255, 0.1);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid rgba(77, 208, 255, 0.3);
}
.hero-content h1 {
  font-size: 2.5rem;
  color: var(--text);
}
@media (min-width: 768px) { .hero-content h1 { font-size: 3.5rem; } }
.hero-sub {
  font-size: 1.25rem;
  color: var(--accent2);
  font-weight: 600;
}
.hero-intro {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
/* Hero Visual Panel */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) { .hero-visual { height: 500px; } }
.visual-bg {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(77,208,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.floating-card {
  position: absolute;
  width: 140px; height: 200px;
  background-color: var(--surface-light);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.floating-card::before {
  content: '✦';
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.floating-card span { font-family: var(--font-display); font-size: 0.9rem; color: var(--muted); }
.fc-1 { transform: rotate(-10deg) translate(-80px, -40px); animation: float 6s ease-in-out infinite; }
.fc-2 { transform: rotate(15deg) translate(80px, 20px); animation: float 7s ease-in-out infinite reverse; border-color: rgba(255, 209, 102, 0.3); }
.fc-2::before { color: var(--accent2); content: '✧'; }
.fc-3 { transform: rotate(-5deg) translate(0, 100px); animation: float 5s ease-in-out infinite 1s; width: 120px; height: 160px; z-index: -1; opacity: 0.7;}

@keyframes float {
  0% { margin-top: 0px; }
  50% { margin-top: -20px; }
  100% { margin-top: 0px; }
}

/* Section: Games */
#games .section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  font-size: 2rem;
}
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
.game-card {
  background-color: var(--surface-light);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--surface);
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  border-bottom-color: var(--accent);
}
.game-card:nth-child(even):hover { border-bottom-color: var(--accent2); }
.game-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text); }
.game-card p { color: var(--muted); font-size: 0.95rem; }

/* Section: RTP Live */
#rtp-live {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
  border-top: 1px solid rgba(77, 208, 255, 0.2);
  border-bottom: 1px solid rgba(77, 208, 255, 0.2);
  text-align: center;
}
.rtp-content { max-width: 800px; margin: 0 auto; }
.rtp-content h2 { font-size: 2.25rem; color: var(--accent); margin-bottom: 1rem; }
.rtp-content p { font-size: 1.1rem; }

/* Section: Jackpot (Highlight Strip) */
#jackpot {
  background-color: var(--accent);
  color: var(--bg);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 2rem;
  text-transform: uppercase;
}
.marquee-item::before { content: '✦'; margin-right: 1rem; color: var(--bg); opacity: 0.5;}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section: Provider */
#provider { text-align: center; }
#provider h2 { margin-bottom: 2rem; font-size: 1.75rem; color: var(--muted); }
.provider-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.provider-pill {
  background-color: var(--surface-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Section: Keunggulan */
#keunggulan .keunggulan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .keunggulan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .keunggulan-grid { grid-template-columns: repeat(3, 1fr); } }
.k-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
}
.k-card:nth-child(even) { border-left-color: var(--accent2); }
.k-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.k-card p { color: var(--muted); font-size: 0.95rem; }

/* Section: Langkah */
#langkah { text-align: center; }
.langkah-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) { .langkah-container { flex-direction: row; } }
.step-item {
  flex: 1;
  position: relative;
  padding: 2rem;
  background-color: var(--surface-light);
  border-radius: var(--radius-md);
  z-index: 1;
}
.step-num {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  background-color: var(--accent2);
  color: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.step-item h3 { margin-top: 1rem; margin-bottom: 0.5rem; font-size: 1.2rem; }
.step-item p { color: var(--muted); font-size: 0.9rem; }

/* Section: Testimoni */
#testimoni .testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 10px; right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
}
.testi-text { font-style: italic; margin-bottom: 1.5rem; color: var(--text); }
.testi-author { font-family: var(--font-display); color: var(--accent); }
.testi-kota { color: var(--muted); font-size: 0.85rem; }

/* Section: Jalur Pemula (Module Pool) */
#jalur_pemula .module-box {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) { #jalur_pemula .module-box { padding: var(--space-lg); } }
.module-header { text-align: center; margin-bottom: 2rem; }
.module-header h2 { font-size: 2rem; color: var(--accent2); margin-bottom: 0.5rem; }
.module-header p { color: var(--muted); }
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background-color: rgba(77, 208, 255, 0.2);
}
.tl-item {
  position: relative;
  padding-left: 3rem;
}
.tl-dot {
  position: absolute;
  left: 9px; top: 5px;
  width: 14px; height: 14px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--surface);
}
.tl-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.tl-item p { font-size: 0.95rem; color: var(--muted); }

/* Section: Main Aman (Module Pool) */
#main_aman .safe-box {
  border: 2px dashed var(--accent2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 209, 102, 0.05);
}
.safe-box h2 { color: var(--accent2); margin-bottom: 0.5rem; font-size: 1.75rem; text-align: center;}
.safe-box > p { text-align: center; margin-bottom: 2rem; color: var(--muted); }
.safe-list { list-style: none; }
.safe-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.safe-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent2);
  font-weight: bold;
}

/* Section: Area */
#area .area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 1024px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 0.5rem; display: block;}
.area-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.area-content p { margin-bottom: 1rem; color: var(--muted); }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.area-tag { background-color: var(--surface-light); padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text); }
.area-map-visual {
  background-color: var(--surface-light);
  border-radius: var(--radius-lg);
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.area-map-visual::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-pin {
  position: relative;
  z-index: 1;
  background-color: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  box-shadow: 0 0 20px rgba(77,208,255,0.5);
}
.map-pin::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--accent) transparent transparent transparent;
}

/* Section: FAQ */
#faq .faq-container { max-width: 800px; margin: 0 auto; }
#faq h2 { text-align: center; margin-bottom: 2rem; font-size: 2rem; }
details {
  background-color: var(--surface-light);
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
summary {
  padding: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* Footer */
footer {
  background-color: #05090d;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 2fr; } }
.footer-brand { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 1rem; }
.footer-brand span { color: var(--accent); }
.footer-tagline { color: var(--muted); max-width: 300px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 1024px) { .footer-links { grid-template-columns: repeat(4, 1fr); } }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.85rem;
}


/* pipeline image & layout guards */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
/* 合规声明块（zb-disclaimer，全站 footer） */
.zb-disclaimer { margin-top: 18px !important; padding: 14px 0 0 0 !important; border-top: 1px solid rgba(128,128,128,.25) !important; font-size: .72rem !important; line-height: 1.7 !important; opacity: .85 !important; display: block !important; text-align: left !important; width: 100% !important; clear: both !important; }
.zb-disclaimer .zb-18 { display: inline-block !important; padding: 2px 10px !important; border: 1.5px solid currentColor !important; border-radius: 6px !important; font-weight: 800 !important; letter-spacing: 1px !important; margin: 0 0 10px 0 !important; font-size: .78rem !important; }
.zb-disclaimer p { display: block !important; margin: 5px 0 !important; padding: 0 !important; color: inherit !important; font-size: .72rem !important; line-height: 1.7 !important; }
.zb-disclaimer p:last-child { margin-bottom: 0 !important; }
