/* ============================================================
   Olahbet — Platform Permainan Daring
   Design system: cyan/teal di atas navy gelap
   ============================================================ */

:root {
  --bg: #050614;
  --bg-soft: #090c1d;
  --card: #0d1226;
  --card-2: #101734;
  --border: rgba(51, 182, 221, 0.14);
  --border-strong: rgba(51, 182, 221, 0.30);
  --accent: #33b6dd;
  --accent-2: #2ad1d4;
  --accent-blue: #2f6bff;
  --text: #e9ecf8;
  --muted: #9aa3c7;
  --grad: linear-gradient(120deg, #33b6dd 0%, #2ad1d4 50%, #2f6bff 100%);
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(3, 8, 30, 0.9);
  --glow: 0 0 40px rgba(51, 182, 221, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(51, 182, 221, 0.14), transparent 60%),
    radial-gradient(50% 40% at 0% 110%, rgba(47, 107, 255, 0.10), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #04111a;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 55px rgba(51, 182, 221, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 20, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-menu a:hover { color: var(--text); background: rgba(51, 182, 221, 0.08); }
.nav-menu a.active { color: var(--accent); }

.nav-cta { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(51, 182, 221, 0.08);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; margin-bottom: 20px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: var(--card);
}
.hero-media .frame img { width: 100%; height: auto; }
.hero-media .badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.hero-media .badge .ring { font-size: 26px; }
.hero-media .badge strong { display: block; font-family: var(--font-display); font-size: 15px; }
.hero-media .badge span { font-size: 12.5px; color: var(--muted); }

/* ---------- Stats strip ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text); }
.stat strong .unit { color: var(--accent); }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.left { margin-left: 0; text-align: left; }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(51, 182, 221, 0.10);
  border: 1px solid var(--border);
  color: var(--accent);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: rgba(51, 182, 221, 0.18);
}

/* Reviews */
.review {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.review .stars { color: #ffce54; letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.review blockquote { color: var(--text); font-size: 15px; margin-bottom: 18px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who .ava {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 700; color: #04111a; font-family: var(--font-display);
}
.review .who strong { display: block; font-size: 14px; }
.review .who span { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .2s ease; color: var(--accent); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(47, 107, 255, 0.22), transparent 55%),
    radial-gradient(70% 100% at 0% 100%, rgba(51, 182, 221, 0.22), transparent 55%),
    var(--card);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 680px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .here { color: var(--accent); }

.prose { color: var(--muted); font-size: 16.5px; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--text); }
.prose em { color: var(--text); }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.prose h2 { color: var(--text); font-size: 24px; margin: 32px 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.prose ul li { margin-bottom: 8px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead tr { background: var(--card); }
th { padding: 18px 24px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); border-bottom: 1px solid var(--border); }
td { padding: 18px 24px; font-size: 14.5px; border-bottom: 1px solid var(--border); color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(51, 182, 221, 0.04); }

/* Status node */
.node { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.node .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #3ce07a; margin-bottom: 12px; }
.node .live .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ce07a; box-shadow: 0 0 10px #3ce07a; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.node h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.node p { color: var(--muted); font-size: 14.5px; }

/* Form */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5b638a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(51, 182, 221, 0.15); }
.field textarea { resize: vertical; min-height: 130px; }

.map-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}
.map-box iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: auto; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--muted); font-size: 14.5px; transition: color .15s ease; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.footer-bottom p { color: #6a7196; font-size: 13.5px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 640px) {
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(5, 6, 20, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-media .badge { left: 8px; bottom: 12px; }
}
