
    :root {
      --ink:      #0a0a0f;
      --ink2:     #13131a;
      --ink3:     #1c1c28;
      --surface:  #ffffff;
      --muted:    #6b7280;
      --muted2:   #9ca3af;
      --accent:   #6366f1;
      --accent2:  #8b5cf6;
      --gold:     #f59e0b;
      --emerald:  #10b981;
      --rose:     #f43f5e;
      --cyan:     #06b6d4;
      --border:   rgba(255,255,255,0.08);
      --border2:  rgba(255,255,255,0.04);
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--ink);
      color: var(--surface);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* ══════════════════════════════
       NAV
    ══════════════════════════════ */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.25rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(10,10,15,0.7);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border2);
      transition: all 0.3s;
    }

    nav.scrolled {
      padding: 0.9rem 2rem;
      background: rgba(10,10,15,0.95);
      border-bottom-color: var(--border);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
    }

    .nav-logo img {
      height: 56px;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--muted2);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s;
      letter-spacing: 0.2px;
    }

    .nav-links a:hover { color: var(--surface); }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .btn-ghost {
      padding: 0.5rem 1.25rem;
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--muted2);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      background: transparent;
      transition: all 0.2s;
      text-decoration: none;
    }

    .btn-ghost:hover {
      border-color: rgba(255,255,255,0.2);
      color: var(--surface);
      background: rgba(255,255,255,0.04);
    }

    .btn-primary {
      padding: 0.5rem 1.25rem;
      border: none;
      border-radius: 8px;
      background: var(--accent);
      color: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }

    .btn-primary:hover {
      background: var(--accent2);
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(99,102,241,0.35);
    }
    
        /* =========================
       DROPDOWN NAV
    ========================= */
    .nav-dropdown {
      position: relative;
    }
    
    /* default hidden */
    .dropdown-menu {
      opacity: 0;
      pointer-events: none;
      transform: translateY(20px);
      transition: all 0.25s ease;
    }
    
    /* active state */
    .nav-dropdown.active .dropdown-menu {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(10px);
    }
    
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      width: 520px;
    
      background: rgba(10,10,15,0.95);
      backdrop-filter: blur(20px);
    
      border: 1px solid var(--border);
      border-radius: 16px;
    
      padding: 1.25rem;
      margin-top: 0.75rem;
    
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s ease;
    
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }
    
    /* GRID */
    .dropdown-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
    
    /* ITEM */
    .dropdown-item {
      display: flex;
      gap: 0.75rem;
      align-items: center;
    
      padding: 0.75rem;
      border-radius: 10px;
    
      text-decoration: none;
      color: var(--surface);
    
      transition: all 0.2s;
    }
    
    .dropdown-item:hover {
      background: rgba(255,255,255,0.05);
    }
    
    /* ICON */
    .dropdown-item .icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: rgba(255,255,255,0.05);
    
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* TEXT */
    .dropdown-item .title {
      font-size: 0.85rem;
      font-weight: 600;
    }
    
    /* BADGE */
    .badge {
      font-size: 0.65rem;
      margin-top: 2px;
    }
    
    .badge.live {
      color: #34d399;
    }
    
    .badge.soon {
      color: #9ca3af;
    }
    
    /* DISABLED */
    .dropdown-item.disabled {
      opacity: 0.5;
      cursor: not-allowed;
      pointer-events: none;
    }
    
    .dropdown-menu {
      backdrop-filter: blur(24px);
    }
    


/* ══════════════════════════════
   HERO (REFINED CLEAN VERSION)
══════════════════════════════ */

.hero {
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* =========================
   BACKGROUND
========================= */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(circle at 70% 50%, rgba(139,92,246,0.25), transparent 40%),
    radial-gradient(circle at 30% 30%, rgba(99,102,241,0.2), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(245,158,11,0.1), transparent 40%),
    var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  z-index: 0;
}

/* =========================
   LEFT VISUAL
========================= */

.hero-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* glow ambient */
.hero-left::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
  filter: blur(120px);
  z-index: 0;
}

/* wheel image */
.hero-wheel {
  width: 750px;
  max-width: none;
  transform: translateX(60px);

  filter:
    drop-shadow(0 0 60px rgba(99,102,241,0.4))
    drop-shadow(0 0 120px rgba(139,92,246,0.3));

  animation: float 6s ease-in-out infinite;
}

/* =========================
   RIGHT CONTENT
========================= */

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 520px;
}

/* badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
}

/* title */
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.hero-title .line1 {
  display: block;
  color: var(--surface);
}

.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* desc */
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.btn-hero-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99,102,241,0.35);
}

.btn-hero-ghost {
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--surface);
  text-decoration: none;
  transition: 0.25s;
}

.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.05);
}

/* =========================
   ANIMATION
========================= */

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================
   RESPONSIVE
========================= */

    /* ══════════════════════════════
       SECTION BASE
    ══════════════════════════════ */
    section {
      padding: 6rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-label {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(1.8rem, 4vw, 2.75rem);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.15;
      margin-bottom: 1rem;
    }

    .section-desc {
      font-size: 1rem;
      color: var(--muted2);
      line-height: 1.7;
      max-width: 520px;
    }

    /* ══════════════════════════════
       GAMES SECTION
    ══════════════════════════════ */
    .games-section {
      padding: 3rem 2rem;
      background: var(--ink2);
      border-top: 1px solid var(--border2);
      border-bottom: 1px solid var(--border2);
    }

    .games-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .games-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3rem;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.25rem;
    }

    .game-card {
      background: var(--ink3);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 1.75rem;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }

    .game-card::before {
      content: '';
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.3s;
      border-radius: 20px;
    }

    .game-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255,255,255,0.15);
      box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

    .game-card:hover::before { opacity: 1; }

    .game-card.spinwheel::before  { background: radial-gradient(ellipse at top left, rgba(99,102,241,0.08), transparent 60%); }
    .game-card.quiz::before       { background: radial-gradient(ellipse at top left, rgba(16,185,129,0.08), transparent 60%); }
    .game-card.scratch::before    { background: radial-gradient(ellipse at top left, rgba(245,158,11,0.08), transparent 60%); }
    .game-card.gacha::before      { background: radial-gradient(ellipse at top left, rgba(244,63,94,0.08), transparent 60%); }
    .game-card.tebak::before      { background: radial-gradient(ellipse at top left, rgba(6,182,212,0.08), transparent 60%); }
    .game-card.leaderboard::before { background: radial-gradient(ellipse at top left, rgba(139,92,246,0.08), transparent 60%); }

    .game-card-icon {
      width: 52px; height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }

    .game-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
    }

    .game-card-badge {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      padding: 0.3rem 0.75rem;
      border-radius: 100px;
    }

    .badge-live    { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
    .badge-soon    { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.2); }

    .game-card-name {
      font-family: 'Syne', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
    }

    .game-card-desc {
      font-size: 0.875rem;
      color: var(--muted2);
      line-height: 1.6;
    }

    .game-card-footer {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 1rem;
      border-top: 1px solid var(--border2);
    }

    .game-card-players {
      font-size: 0.8rem;
      color: var(--muted);
    }

    .game-card-arrow {
      width: 32px; height: 32px;
      border-radius: 8px;
      background: var(--accent);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      color: var(--muted2);
      transition: all 0.2s;
    }

    .game-card:hover .game-card-arrow {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    /* ══════════════════════════════
       HOW TO PLAY
    ══════════════════════════════ */
    .how-section {
      padding: 6rem 2rem;
    }

    .how-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .how-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .how-step {
      position: relative;
      padding: 2rem 1.75rem;
      background: var(--ink2);
      border: 1px solid var(--border2);
      border-radius: 20px;
      transition: all 0.3s;
    }

    .how-step:hover {
      border-color: var(--border);
      transform: translateY(-3px);
    }

    .how-step-num {
      font-family: 'Syne', sans-serif;
      font-size: 3rem;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 1.25rem;
      background: linear-gradient(135deg, rgba(99,102,241,0.4), rgba(139,92,246,0.2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .how-step-icon {
      font-size: 1.75rem;
      margin-bottom: 1rem;
    }

    .how-step-title {
      font-family: 'Syne', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .how-step-desc {
      font-size: 0.875rem;
      color: var(--muted2);
      line-height: 1.6;
    }

    /* Connector line between steps */
    .how-connector {
      display: none;
    }

    /* ══════════════════════════════
       FOOTER
    ══════════════════════════════ */
    footer {
      background: var(--ink2);
      border-top: 1px solid var(--border2);
      padding: 4rem 2rem 2rem;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 3rem;
    }

    .footer-brand img {
      height: 36px;
      margin-bottom: 1rem;
      object-fit: contain;
    }

    .footer-brand p {
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.7;
      max-width: 280px;
    }

    .footer-col h4 {
      font-family: 'Syne', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--muted2);
      margin-bottom: 1.25rem;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .footer-col ul a {
      font-size: 0.875rem;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-col ul a:hover { color: var(--surface); }

    .footer-bottom {
      padding-top: 2rem;
      border-top: 1px solid var(--border2);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: 0.8rem;
      color: var(--muted);
    }

    .footer-bottom a {
      color: var(--muted2);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-bottom a:hover { color: var(--surface); }

    /* ══════════════════════════════
       ANIMATIONS
    ══════════════════════════════ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ══════════════════════════════
       RESPONSIVE
    ══════════════════════════════ */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
      .footer-brand { grid-column: 1 / -1; }
      .games-header { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 480px) {
      .footer-top { grid-template-columns: 1fr; }
      .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
    }
    
    
    .game-card.instagram::before {
    background: radial-gradient(
    ellipse at top left,
    rgba(236,72,153,0.12),
    transparent 60%);
    }


/* =========================
   HERO MOBILE FIX (CRITICAL)
========================= */

@media (max-width: 768px) {

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem 3rem;
  }

  /* TEXT selalu di atas */
  .hero-content {
    order: 1;
    text-align: center;
    z-index: 2;
    margin: 0 auto;
  }

  /* IMAGE pindah ke bawah */
  .hero-left {
    order: 2;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;

    width: 100%; /* 🔥 penting */
    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
  }
  

  /* kecilkan image */
    .hero-wheel {
      width: 80%;
      max-width: 340px;
      margin: 0 auto;
      display: block;
    
      /* 🔥 INI YANG PENTING */
      transform: none;
      animation: none;
    }
    
    .hero-left {
    justify-content: center;
    }

  /* glow jangan terlalu besar */
  .hero-left::before {
    width: 300px;
    height: 300px;
    filter: blur(70px);
  }

  /* spacing biar lega */
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   GALAXY STARS
========================= */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,0.5), transparent);
  background-repeat: repeat;
  background-size: 300px 300px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* swap posisi tanpa ubah struktur */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  order: 1;
}

.hero-left {
  order: 2;
}

@media (max-width: 768px) {
.hero-left {
  overflow: visible;
}}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* desktop paksa 5 kolom */
@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Style untuk Toggle Billing dan Harga IDR */
.btoggle { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.tlabel { font-size: 0.9rem; color: #9ca3af; }
.tlabel.active { color: #fff; font-weight: 600; }
.tswitch { width: 44px; height: 24px; background: #1a1a24; border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; position: relative; cursor: pointer; transition: background 0.2s; }
.tswitch.on { background: #6366f1; }
.tswitch::after { content:''; position: absolute; width: 16px; height: 16px; background: #fff; border-radius: 50%; top: 3px; left: 4px; transition: transform 0.2s; }
.tswitch.on::after { transform: translateX(20px); }
.sbadge { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 100px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.25); color: #6ee7b7; }
.pidr { font-size: 0.75rem; color: #6b7280; margin-top: -0.5rem; margin-bottom: 0.5rem; }
.pcard.cur { border-color: rgba(99,102,241,0.4) !important; }
.cbadge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.85rem; border-radius: 100px; }

/* ── JOIN BAR ── */
.join-bar {
  background: rgba(99,102,241,0.07);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  padding: 12px 24px;
  position: sticky;
  top: 60px;
  z-index: 49;
  backdrop-filter: blur(10px);
}

.join-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.join-bar-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #a5b4fc;
  white-space: nowrap;
}

.join-code-row {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 380px;
}

.join-code-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.join-code-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 6px #6ee7b7;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.join-code-row {
  display: flex;
  gap: 8px;
}

.join-code-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 10px 14px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}

.join-code-input:focus {
  border-color: rgba(99,102,241,0.6);
  background: rgba(99,102,241,0.06);
}

.join-code-input::placeholder {
  color: rgba(255,255,255,0.2);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

.join-code-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 9px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.join-code-btn:hover:not(:disabled) {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99,102,241,0.35);
}

.join-code-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.join-code-error {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 7px;
}

@media (max-width: 640px) {
  .join-code-box { max-width: 100%; }
  .join-code-input { font-size: 0.9rem; }
}

body {
  padding-top: 90px; /* navbar + join-bar */
}

.join-bar-inner {
  justify-content: center;
}

.join-code-row {
  justify-content: center;
}

/* =========================
   HERO SLIDER
========================= */

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter:
    drop-shadow(0 0 40px rgba(99,102,241,0.35))
    drop-shadow(0 0 80px rgba(139,92,246,0.25));
}

/* REMOVE OLD IMAGE EFFECT */
.hero-wheel {
  display: none;
}

@media (max-width: 768px) {

  .hero-slider {
    height: 260px;
    max-width: 320px;
  }

}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 6px;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

@media (max-width: 768px) {

  .hero {
    grid-template-columns: 1fr !important;
  }

  .hero-content {
    order: 1;
    text-align: center;
  }

  .hero-left {
    order: 2;
    width: 100%;
    margin-top: 1.5rem;

    display: flex;
    justify-content: center;
  }

}

@media (max-width: 768px) {

  .hero-slider {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

}

@media (max-width: 768px) {

  .hero-slider {
    height: auto !important;
    aspect-ratio: 1 / 1; /* biar proporsional */
    max-width: 320px;
    margin: 0 auto;
  }

  .slide {
    position: absolute;
    inset: 0;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 🔥 penting */
  }

}

@media (max-width: 768px) {

  .slider-dots {
    bottom: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }

}

@media (max-width: 768px) {

  .hero-left {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

}

.hero-slider {
  aspect-ratio: 4 / 3;
}

/* =========================
   FAQ SECTION
========================= */

.faq-section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-inner {
  width: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ITEM */
.faq-item {
  background: var(--ink2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border);
}

/* QUESTION */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--surface);
}

/* ICON */
.faq-icon {
  font-size: 1.2rem;
  color: var(--muted2);
  transition: transform 0.25s;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.7;
  padding: 0 1.2rem;
  transition: all 0.3s ease;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.2rem 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--surface);
}

.about-section {
  padding: 3.5rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-content {
  font-size: 0.95rem;
  color: var(--muted2);
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1rem;
}

.highlight {
  color: var(--surface);
  font-weight: 600;
}
