/* ============================================
   BONANZA138 â€” LANDING PAGE
   Theme: purple / White / Gold (BWG) â€” fresh corporate premium
   ============================================ */

/* ---------- WEB FONTS (self-hosted, latin subset) ---------- */
/* Fredoka â€” display heading, rounded playful (match logo BONANZA138) */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://king.linkdaftar.lat/assets/fonts/fredoka-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('https://king.linkdaftar.lat/assets/fonts/redoka-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://king.linkdaftar.lat/assets/fonts/fredoka-700.woff2') format('woff2');
}

/* Nunito â€” body text, soft round, mudah dibaca */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://king.linkdaftar.lat/assets/fonts/nunito-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://king.linkdaftar.lat/assets/fonts/nunito-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://king.linkdaftar.lat/assets/fonts/nunito-700.woff2') format('woff2');
}

/* ---------- 0. DESIGN TOKENS ---------- */
:root {
  /* Surfaces â€” warm off-white (gading/ivory) base + cool surface elev */
  --bg-base:        #faf6ec;   /* page background â€” warm ivory/gading */
  --bg-elev-1:      #ffffff;   /* card / surface â€” clean white "floating" on ivory */
  --bg-elev-2:      #f5f9ff;   /* hover / accent surface (very light purple) */

  /* purple palette â€” corporate trust + premium */
  --purple-300:       #bc60fa;
  --purple-500:       #811eaf;   /* primary purple */
  --purple-700:       #2a0a40;   /* deep navy â€” heading & accent dark */
  --purple-900:       #180528;   /* extra-dark for contrast */

  /* Gold palette â€” accent premium */
  --gold-100:       #f7e6a5;
  --gold-300:       #e6c757;
  --gold-500:       #d4af37;   /* primary gold accent */
  --gold-700:       #a8821e;

  /* Text */
  --text-hi:        #0a2540;   /* navy on white */
  --text-mid:       #475569;   /* secondary text */
  --text-low:       #94a3b8;   /* muted */

  /* Lines */
  --border-soft:    #e2e8f0;
  --border-purple:    #c7d8ee;
  --border-gold:    #e8d484;

  /* Effects */
  --shadow-sm:      0 1px 2px rgba(10,37,64,.06), 0 1px 4px rgba(10,37,64,.04);
  --shadow-md:      0 4px 12px rgba(10,37,64,.08), 0 2px 4px rgba(10,37,64,.04);
  --shadow-lg:      0 10px 28px rgba(10,37,64,.12), 0 4px 10px rgba(10,37,64,.06);
  --shadow-purple:    0 4px 14px rgba(122, 30, 175, 0.25);

  /* Layout */
  --max-w:          1200px;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      18px;
}

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

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

body {
  margin: 0;
  /* Body â€” Nunito (soft round, readable) dengan system fallback */
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-hi);
  background: var(--bg-base);
  /* Subtle purple tint vignette supaya putih tidak terlalu flat */
  background-image:
    radial-gradient(1200px 600px at 50% -200px, rgba(117, 30, 175, 0.06), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(212,175,55,.04), transparent 70%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- 2. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-soft);
  /* Dual accent: gold pinstripe + soft shadow */
  box-shadow:
    inset 0 -1px 0 var(--gold-500),
    var(--shadow-md);
}

.header-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand / Logo */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo-img {
  height: 50px;          /* desktop render height */
  width: auto;
  max-width: 220px;
  display: block;
}

/* Header action buttons */
.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  --btn-py: 9px;
  --btn-px: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-py) var(--btn-px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease,
              background-color .2s ease, color .2s ease,
              border-color .2s ease, filter .2s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px); }

/* Ghost (Masuk) â€” outlined purple */
.btn-ghost {
  background: transparent;
  color: var(--purple-500);
  border-color: var(--purple-300);
}
.btn-ghost:hover {
  color: #ffffff;
  background: var(--purple-500);
  border-color: var(--purple-500);
}

/* Primary (Daftar) â€” solid purple gradient with gold underline accent */
.btn-primary {
  position: relative;
  color: #ffffff;
  background: linear-gradient(180deg, var(--purple-500) 0%, var(--purple-700) 100%);
  border-color: var(--purple-700);
  box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(105, 30, 175, 0.4), inset 0 1px 0 rgba(255,255,255,.25);
}
/* Gold pinstripe di bawah tombol primary (premium accent) */
.btn-primary::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: .6;
  transition: opacity .2s ease;
}
.btn-primary:hover::after { opacity: 1; }

/* Mobile CTA row â€” di desktop disembunyikan; tampil di mobile setelah banner */
.mobile-cta {
  display: none;
}

/* ---------- 3. HEADER â€” RESPONSIVE ---------- */
@media (max-width: 720px) {
  /* Hide tombol di header, geser ke bawah banner */
  .site-header .header-actions { display: none; }
  .header-row { justify-content: center; }    /* logo center karena tombol hilang */

  /* Tampilkan tombol versi mobile setelah banner */
  .mobile-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px 18px;
    background: var(--bg-base);
  }
  .mobile-cta .btn {
    flex: 1;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .header-row {
    padding: 12px 14px;
    gap: 10px;
  }
  .brand-logo-img { height: 38px; max-width: 160px; }
  .btn {
    --btn-py: 8px;
    --btn-px: 14px;
    font-size: 13px;
  }
  .mobile-cta { padding: 12px 14px 16px; gap: 10px; }
}

/* ---------- 4. MAIN NAV ---------- */
.main-nav {
  /* Royal purple strip â€” gradient navy supaya icon putih + label putih kontras tinggi.
     Inset highlight atas + shadow bawah = efek 3D tipis. */
  background:
    radial-gradient(ellipse 70% 120% at 50% -20%,
      rgba(193, 96, 250, 0.25) 0%,
      transparent 60%),
    linear-gradient(180deg,
      var(--purple-500) 0%,
      #551473         55%,
      var(--purple-700) 100%);
  border-bottom: 1px solid var(--purple-900);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),     /* highlight atas tipis */
    inset 0 -2px 0 rgba(0,0,0,.25),          /* shadow bawah */
    inset 0 0 50px rgba(0,0,0,.12),          /* vignette dalam */
    0 6px 18px rgba(42, 10, 64, 0.25);
}

.nav-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 12px;
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  /* horizontal scroll fallback di layar kecil */
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-list > li { flex: 0 0 auto; }

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  width: 88px;
  aspect-ratio: 1 / 1;            /* kotak 1:1 */
  border-radius: var(--radius-md);
  color: #ffffff;                 /* label putih */
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  transition: background-color .2s ease, transform .15s ease, color .2s ease;
  position: relative;
}

/* Icon polos â€” putih, transparent bg, langsung di atas biru */
.nav-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, filter .2s ease;
}
.nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* shadow halus supaya icon tetap "menempel" tidak flat */
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}

/* Hover */
.nav-item:hover {
  background: rgba(255,255,255,.10);
}
.nav-item:hover .nav-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.45));
}

/* Active state â€” bg lebih terang + garis bawah label */
.nav-item.is-active {
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30);
}
.nav-item.is-active .nav-icon {
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.5));
}
.nav-item.is-active .nav-label {
  position: relative;
}
.nav-item.is-active .nav-label::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--gold-500);            /* gold underline = premium accent */
}

/* ---------- 5. MAIN NAV â€” RESPONSIVE ---------- */
@media (max-width: 720px) {
  .nav-list { justify-content: flex-start; gap: 4px; padding: 8px; }
  .nav-item { width: 76px; padding: 6px; font-size: 11px; }
  .nav-icon { width: 42px; height: 42px; }
}
@media (max-width: 380px) {
  .nav-item { width: 68px; font-size: 10.5px; }
  .nav-icon { width: 38px; height: 38px; }
}

/* ---------- 6. MAIN BANNER SLIDER ---------- */
.hero-banner {
  padding: 24px 16px;
  background: var(--bg-base);
}

.banner-slider {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-lg);
  background: var(--bg-elev-2);
  /* Match source banner aspect (1900x665) */
  aspect-ratio: 1900 / 665;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  /* Indikator bisa di-drag (mouse desktop) */
  cursor: grab;
}
.banner-slider:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}
.banner-slider.is-dragging { cursor: grabbing; }
.banner-slider.is-dragging .banner-track { transition: none; }

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: rgba(47, 10, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #ffffff;
  cursor: pointer;
  z-index: 2;
  transition: background-color .2s ease, color .2s ease,
              border-color .2s ease, transform .15s ease, opacity .2s ease;
  opacity: 0;                          /* tampil saat hover (desktop) */
  backdrop-filter: blur(2px);
}
.banner-arrow svg { width: 22px; height: 22px; fill: currentColor; }
.banner-arrow--prev { left: 14px; }
.banner-arrow--next { right: 14px; }

.banner-slider:hover .banner-arrow,
.banner-slider:focus-within .banner-arrow {
  opacity: 1;
}
.banner-arrow:hover {
  background: var(--purple-500);
  color: #ffffff;
  border-color: var(--purple-500);
}
.banner-arrow:active { transform: translateY(-50%) scale(.94); }

/* Dots */
.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(42, 10, 64, 0.55);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 0, 0, .25);
  cursor: pointer;
  transition: background-color .25s ease, width .25s ease,
              border-radius .25s ease, border-color .25s ease;
}
.banner-dot:hover { background: rgba(255, 255, 255, .9); }
.banner-dot.is-active {
  background: var(--gold-500);
  border-color: var(--gold-700);
  width: 22px;
  border-radius: 999px;
}

/* Responsive â€” mobile */
@media (max-width: 720px) {
  .hero-banner { padding: 14px 10px; }
  .banner-slider { border-radius: var(--radius-md); }
  .banner-arrow {
    /* Pada layar sentuh, sembunyikan panah & andalkan swipe + dots */
    display: none;
  }
  .banner-dots { bottom: 10px; padding: 4px 8px; gap: 6px; }
  .banner-dot { width: 8px; height: 8px; }
  .banner-dot.is-active { width: 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .banner-track { transition: none; }
}

/* ---------- 7. FRAMED SECTION (reusable) ---------- */
/* Wrapper untuk section dengan frame premium:
   - .framed         : panel putih + border emas tipis + radial highlight atas
   - .framed-title   : pill biru terpusat di tepi atas frame
   - .framed-lead    : lead/subtitle di bawah pill
   Pakai class ini untuk section apa pun (Hot Games, Intro, dll). */

.hot-games {
  /* padding-top > pill offset (17px) supaya pill tidak menabrak section atas */
  padding: 36px 16px 24px;
  background: var(--bg-base);
}

.framed {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 42px 28px 28px;          /* extra top padding for the pill title */
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%,
      rgba(129, 30, 175, 0.06) 0%,
      transparent 60%),
    var(--bg-elev-1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Inner thin gold trace line for double-border effect */
.framed::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212,175,55,.20);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

/* Centered pill title (overlaps top edge of the frame) */
.framed-title {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--purple-500) 0%, var(--purple-700) 100%);
  border: 1px solid var(--purple-700);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 4px 14px rgba(10,37,64,.30);
  z-index: 2;
  white-space: nowrap;
}
.framed-title-text {
  margin: 0;
  font-family: 'Fredoka', Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Subtitle below the pill */
.framed-lead {
  margin: 0 0 22px;
  text-align: center;
  color: var(--text-mid);
  font-size: 13.5px;
  letter-spacing: .3px;
}

/* ---------- 8. HOT GAMES â€” GRID & CARD ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-purple);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease,
              box-shadow .25s ease;
}
.game-card video,
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  pointer-events: none;
}

/* Overlay (default: bottom strip with name) */
.game-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,37,64,.85) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: padding .25s ease, background-color .25s ease;
}
.game-name {
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.game-play {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-100) 0%, var(--gold-500) 60%, var(--gold-700) 100%);
  color: #1a1206;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid var(--gold-700);
  box-shadow: 0 2px 6px rgba(212,175,55,.35);
  opacity: 0;                                    /* tampil saat hover */
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}

/* Hover state */
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-300);
  box-shadow:
    0 10px 24px rgba(49, 10, 64, 0.18),
    0 0 0 1px rgba(206, 96, 250, 0.35);
}
.game-card:hover video,
.game-card:hover img {
  transform: scale(1.06);
}
.game-card:hover .game-play {
  opacity: 1;
  transform: translateY(0);
}

/* Focus ring (keyboard) */
.game-card:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

/* ---------- 9. HOT GAMES â€” RESPONSIVE ---------- */
@media (max-width: 900px) {
  /* 4 cards turun ke 2 baris Ã— 2 kolom â€” tetap rapi */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 720px) {
  .hot-games  { padding: 28px 12px 20px; }
  .framed { padding: 38px 16px 18px; }
  .framed-title { padding: 7px 22px; top: -15px; }
  .framed-title-text { font-size: 13.5px; letter-spacing: 1.2px; }
  .framed-lead { font-size: 12.5px; margin-bottom: 16px; }
  .games-grid { gap: 12px; }
  /* di mobile selalu tampilkan tombol play (tidak ada hover) */
  .game-play { opacity: 1; transform: translateY(0); }

  /* Card sempit -> stack overlay vertikal supaya posisi button konsisten */
  .game-overlay {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 6px;
    padding: 10px 8px 10px;
  }
  .game-name { line-height: 1.2; }
  .game-play { align-self: center; }
}

/* ---------- 10. INTRO (Title + Description) ---------- */
/* Section bersih tanpa pill â€” typography-driven. H1 utama halaman. */
.intro {
  padding: 48px 16px 40px;
  background: var(--bg-base);
  text-align: center;
}

.intro-inner {
  max-width: 880px;
  margin: 0 auto;
}

/* H1 â€” heading utama halaman, gradient biru ke gold accent */
.intro-h1 {
  margin: 0 0 14px;
  font-family: 'Fredoka', Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .3px;
  /* Gradient: navy ke royal purple (premium corporate) */
  background: linear-gradient(180deg, var(--purple-700) 0%, var(--purple-500) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Decorative gold accent line di bawah H1 */
.intro-h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* H2 â€” sub-headline, lebih kecil dari H1 tapi masih prominent */
.intro-h2 {
  margin: 18px 0 10px;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-hi);
  letter-spacing: .2px;
}

/* H3 â€” category list, lebih kecil + warna emas (premium accent) */
.intro-h3 {
  margin: 0 0 22px;
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--gold-700);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Description body */
.intro-desc {
  margin: 0;
  font-size: clamp(14.5px, 2vw, 16px);
  line-height: 1.75;
  letter-spacing: .15px;
  color: var(--text-mid);
  text-align: justify;
  text-align-last: center;        /* kalimat akhir tetap center supaya rapi */
}
.intro-desc strong {
  color: var(--purple-500);
  font-weight: 700;
}

/* ---------- 11. INTRO â€” RESPONSIVE ---------- */
@media (max-width: 720px) {
  .intro      { padding: 36px 14px 30px; }
  .intro-h1::after { width: 64px; margin-top: 12px; }
  .intro-desc { text-align: left; text-align-last: left; }
}

/* ---------- 12. TESTIMONIAL (Reviews) ---------- */
.reviews {
  /* padding-top > 17px (pill offset) */
  padding: 36px 16px 24px;
  background: var(--bg-base);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2x2 default desktop */
  gap: 16px;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--bg-elev-2);              /* very light purple tint */
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease,
              box-shadow .25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-300);
  box-shadow: var(--shadow-lg);
}

/* Decorative big quote mark di pojok kanan-atas */
.review-quote {
  position: absolute;
  top: 4px;
  right: 16px;
  font-family: 'Fredoka', Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold-500);
  opacity: .22;
  user-select: none;
  pointer-events: none;
}

/* 5 stars */
.review-stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 10px;
  color: var(--gold-500);
}
.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.12));
}

/* Body */
.review-text {
  margin: 0 0 18px;
  color: var(--text-hi);
  font-size: 14.5px;
  line-height: 1.65;
  letter-spacing: .15px;
  flex: 1;
}

/* Author block */
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.review-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--purple-500) 0%, var(--purple-700) 100%);
  border: 1px solid var(--purple-700);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.review-meta { min-width: 0; }
.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1.2;
}
.review-role {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-low);
  letter-spacing: .2px;
}

/* ---------- 13. TESTIMONIAL â€” RESPONSIVE ---------- */
@media (max-width: 600px) {
  .reviews        { padding: 32px 12px 20px; }
  .reviews-grid   { grid-template-columns: 1fr; gap: 12px; }
  .review-card    { padding: 18px 18px 16px; }
  .review-text    { font-size: 14px; }
  .review-quote   { font-size: 56px; top: 2px; right: 12px; }
}

/* ---------- 14. FAQ ---------- */
.faq {
  /* padding-top > 17px (pill offset) */
  padding: 36px 16px 24px;
  background: var(--bg-base);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}

/* Item (native <details>) */
.faq-item {
  background: var(--bg-elev-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease,
              box-shadow .25s ease;
}
.faq-item:hover {
  border-color: var(--border-purple);
}
.faq-item[open] {
  border-color: var(--purple-500);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-elev-2) 100%);
  box-shadow: var(--shadow-sm);
}

/* Summary (the clickable row) */
.faq-summary {
  /* hilangkan default marker browser */
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  color: var(--text-hi);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  user-select: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover .faq-question { color: var(--purple-500); }
.faq-summary:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: -2px;
}

.faq-question {
  flex: 1;
  transition: color .2s ease;
}

/* Icon: + (closed) -> - (open) via CSS rotation */
.faq-icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(30,64,175,.08);
  border: 1px solid var(--border-purple);
  transition: background-color .25s ease, transform .3s ease,
              border-color .25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  background: var(--purple-500);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background-color .25s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-icon {
  background: var(--purple-500);
  border-color: var(--purple-500);
  transform: rotate(180deg);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: #ffffff;
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);    /* + jadi - */
}

/* Answer body */
.faq-answer {
  padding: 0 18px 18px;
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.7;
  letter-spacing: .15px;
}

/* ---------- 15. FAQ â€” RESPONSIVE ---------- */
@media (max-width: 720px) {
  .faq          { padding: 32px 12px 20px; }
  .faq-summary  { padding: 14px 14px; font-size: 14px; gap: 12px; }
  .faq-answer   { padding: 0 14px 16px; font-size: 13.5px; }
  .faq-icon     { flex-basis: 22px; width: 22px; height: 22px; }
  .faq-icon::before,
  .faq-icon::after { width: 10px; }
}

/* ---------- 16. SERVICES + CONTACT (2 kolom) ---------- */
.services-row {
  /* padding-top > 17px (pill offset) */
  padding: 36px 16px 24px;
  background: var(--bg-base);
}

.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;             /* kedua frame sama tinggi */
}
.services-grid > .framed {
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* === Pelayanan Transaksi (kiri) === */

/* Payment method chips (Bank | E-Wallet | QRIS) */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.pm-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--bg-elev-2) 0%, #dbe9fc 100%);
  border: 1px solid var(--border-purple);
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.service-item { display: flex; flex-direction: column; gap: 8px; }

.service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.service-name {
  color: var(--text-hi);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.service-time {
  color: var(--purple-500);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .3px;
}

/* Count bar */
.service-bar {
  position: relative;
  height: 10px;
  background: rgba(30,64,175,.08);
  border: 1px solid var(--border-purple);
  border-radius: 999px;
  overflow: hidden;
}
.service-bar > span {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  background:
    linear-gradient(90deg, var(--purple-700) 0%, var(--purple-500) 60%, var(--gold-500) 100%);
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    0 0 8px rgba(146, 30, 175, 0.3);
  /* fill animation on first paint */
  animation: bar-fill 1.2s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes bar-fill {
  from { width: 0; }
  to   { width: var(--pct, 0%); }
}
@media (prefers-reduced-motion: reduce) {
  .service-bar > span { animation: none; }
}

/* === Hubungi Kami (kanan) === */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  color: var(--text-hi);
  text-decoration: none;
  transition: transform .2s ease, border-color .25s ease,
              background-color .25s ease, box-shadow .25s ease;
}
.contact-link:hover {
  transform: translateX(4px);
  border-color: var(--purple-500);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-elev-2) 100%);
  box-shadow: var(--shadow-md);
}
.contact-link:focus-visible {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}

.contact-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Variant warna icon per service â€” match brand identity */
.contact-link--livechat .contact-icon {
  background: linear-gradient(180deg, var(--purple-500) 0%, var(--purple-700) 100%);
  border: 1px solid var(--purple-700);
}
.contact-link--telegram .contact-icon {
  background: linear-gradient(180deg, #229ED9 0%, #0088cc 100%);    /* Telegram brand */
  border: 1px solid #006699;
}

.contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--text-hi);
}
.contact-sub {
  font-size: 12.5px;
  color: var(--text-low);
  margin-top: 2px;
}

.contact-arrow {
  flex: 0 0 auto;
  color: var(--purple-500);
  display: inline-flex;
  transition: transform .2s ease;
}
.contact-arrow svg { width: 18px; height: 18px; fill: currentColor; }
.contact-link:hover .contact-arrow { transform: translateX(2px); }

/* ---------- 17. SERVICES + CONTACT â€” RESPONSIVE ---------- */
@media (max-width: 720px) {
  .services-row  { padding: 32px 12px 20px; }
  /* Saat stacked: gap > 15px (mobile pill offset) + breathing-room */
  .services-grid { grid-template-columns: 1fr; gap: 32px; }
  .pm-chip       { font-size: 11px; padding: 4px 12px; }
  .service-name  { font-size: 14px; }
  .contact-link  { padding: 12px 14px; }
  .contact-icon  { flex-basis: 40px; width: 40px; height: 40px; }
}

/* ---------- 18. BROWSER SUPPORT (mini section) ---------- */
.browsers {
  padding: 24px 16px 28px;
  background: var(--bg-base);
  text-align: center;
}

.browsers-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-low);
}

.browsers-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
}

.browser-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Pipe divider antar browser (tidak tampil pada item terakhir) */
.browser-item:not(:last-child)::after {
  content: "|";
  margin-left: 20px;
  color: var(--border-purple);
  font-weight: 400;
  user-select: none;
}

.browser-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 2px rgba(10,37,64,.15));
}
.browser-icon img,
.browser-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- 19. BROWSER SUPPORT â€” RESPONSIVE ---------- */
@media (max-width: 480px) {
  .browsers       { padding: 20px 12px 24px; }
  .browsers-title { font-size: 11px; letter-spacing: 1.5px; margin-bottom: 12px; }
  .browsers-list  { gap: 10px 14px; }
  .browser-item   { font-size: 12px; gap: 6px; }
  .browser-item:not(:last-child)::after { margin-left: 14px; }
  .browser-icon   { width: 24px; height: 24px; }
}

/* ---------- 20. FOOTER ---------- */
.site-footer {
  margin-top: 8px;
  padding: 18px 16px 22px;
  /* Navy gradient â€” premium closing strip, mirroring header style direction */
  background: linear-gradient(180deg, var(--purple-700) 0%, var(--purple-900) 100%);
  /* Gold accent line di atas (mirror header's gold pinstripe di bawah) */
  box-shadow:
    inset 0 1px 0 var(--gold-500),
    0 -2px 12px rgba(10,37,64,.15);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .2px;
  color: rgba(255,255,255,.78);
}

.footer-copy strong {
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: .5px;
}

.footer-divider {
  color: rgba(255,255,255,.30);
  user-select: none;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(248, 113, 113, .15);
  border: 1px solid rgba(248, 113, 113, .55);
  color: #ffb4b4;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .5px;
}

@media (max-width: 480px) {
  .site-footer  { padding: 14px 12px 18px; }
  .footer-inner { font-size: 12px; gap: 8px; }
}