:root {
    --bg: #03051a;
    --bg-alt: #050827;
    --accent: #6E8CFB;              /* warna utama */
    --accent-alt: #636CCB;          /* aksen kedua */
    --accent-soft: rgba(110, 140, 251, 0.25);
    --text: #f5f7ff;
    --muted: #a6b0ff;
    --border-soft: rgba(255, 255, 255, 0.08);
    --radius-xl: 20px;
    --nav-height: 70px;
    --transition-fast: 0.2s ease-out;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #141127 0, #050308 55%, #020107 100%);
    color: var(--text);
    scroll-behavior: smooth;
  }
  
  /* NAVBAR */
  .nav {
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    backdrop-filter: blur(16px);
    background: linear-gradient(
      to bottom,
      rgba(5, 3, 12, 0.9),
      rgba(5, 3, 12, 0.6),
      transparent
    );
    border-bottom: 1px solid rgba(110, 140, 251, 0.25);
  }
  
  .logo {
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1.2rem;
  }
  .logo span {
    color: var(--accent);
  }
  
  .nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .nav-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    position: relative;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-fast);
  }
  .nav-link:hover {
    color: var(--text);
  }
  .nav-link:hover::after {
    width: 100%;
  }
  .nav-link.cta {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
  }
  
  /* SECTIONS */
  .section {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 3rem) 7vw 5rem;
    position: relative;
  }
  .section-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  .section-dark {
    background: radial-gradient(circle at top, #151229 0, #050308 60%);
  }
  
  /* HERO */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to bottom,
        rgba(5, 3, 12, 0.4),
        rgba(5, 3, 12, 0.95)
      ),
      url("https://images.pexels.com/photos/1121123/pexels-photo-1121123.jpeg?auto=compress&w=1600");
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    will-change: transform;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(110, 140, 251, 0.3), transparent 55%);
    pointer-events: none;
  }
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: left;
  }
  .coming-label {
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
  }
  .hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1;
    margin: 0 0 0.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 30rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
  }
  .platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
  }
  .platforms span {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  
  /* BUTTONS */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast),
      background var(--transition-fast), border-color var(--transition-fast);
  }
  .btn.primary {
    background: linear-gradient(135deg, #6E8CFB, #636CCB);
    color: #050308;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
  }
  .btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  }
  .btn.ghost {
    background: rgba(5, 3, 12, 0.8);
    color: var(--text);
    border-color: var(--accent);
  }
  .btn.ghost:hover {
    background: rgba(110, 140, 251, 0.12);
  }
  
  /* SCROLL INDICATOR */
  .scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .scroll-dot {
    width: 8px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid var(--accent-soft);
    position: relative;
    overflow: hidden;
  }
  .scroll-dot::after {
    content: "";
    position: absolute;
    inset: 3px 2px auto 2px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    animation: scrollDot 1.3s infinite;
  }
  @keyframes scrollDot {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    60% {
      transform: translateY(10px);
      opacity: 0.2;
    }
    100% {
      transform: translateY(0);
      opacity: 0;
    }
  }
  
  /* SECTION TITLES */
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
  }
  .section-desc {
    color: var(--muted);
    max-width: 34rem;
    margin-bottom: 2.5rem;
  }
  
  /* TRAILER */
  /* SECTION TRAILER FULLSCREEN DENGAN BACKGROUND VIDEO BLUR */
  .section-trailer {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .trailer-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }
  
  .trailer-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.1); /* sedikit zoom supaya blur tidak ada edge */
  }
  
  .trailer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at center,
      rgba(110, 140, 251, 0.25),
      rgba(0, 0, 0, 0.9)
    );
    z-index: 1;
  }
  
  .trailer-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: calc(var(--nav-height) + 2rem) 7vw 3rem;
    text-align: left;
  }
  
  .trailer-content .section-title {
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
  }
  
  .trailer-content .section-desc {
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
  }
  
  /* FRAME TRAILER (GIF DI DEPAN) */
  .trailer-frame {
    margin-top: 1.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  }
  .trailer-frame img {
    width: 100%;
    display: block;
  }
  
  /* CHARACTERS */
  .section-characters {
    background: radial-gradient(circle at top, #241733 0, #050308 60%);
  }
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .character-card {
    border-radius: var(--radius-xl);
    background: rgba(5, 3, 12, 0.9);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(30px);
    opacity: 0;
  }
  .character-card.visible {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  }
  
  /* GIF di dalam card */
  .character-card img {
    width: 100%;
    display: block;
  }
  
  /* === WORLD SECTION DENGAN BACKGROUND VIDEO BLUR === */
  .section-world {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-height) + 3rem) 7vw 5rem;
    overflow: hidden;
  }
  
  /* Layer belakang: video blur */
  .world-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }
  
  .world-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px);
    transform: scale(1.1);
  }
  
  /* Overlay di atas video */
  .world-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at center,
      rgba(3, 5, 26, 0.2),
      rgba(3, 5, 26, 0.9)
    );
    z-index: 1;
  }
  
  /* Konten world di depan */
  .section-world .section-inner {
    position: relative;
    z-index: 2;
  }
  
  /* WORLD GRID */
  .world-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .world-item {
    background: rgba(5, 3, 12, 0.9);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid rgba(110, 140, 251, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(24px);
  }
  .world-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .world-image {
    height: 160px;
    border-radius: 16px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
  }
  .world-image-1 {
    background-image: url("https://images.pexels.com/photos/1229042/pexels-photo-1229042.jpeg?auto=compress&w=1600");
  }
  .world-image-2 {
    background-image: url("https://images.pexels.com/photos/373912/pexels-photo-373912.jpeg?auto=compress&w=1600");
  }
  .world-image-3 {
    background-image: url("https://images.pexels.com/photos/1388030/pexels-photo-1388030.jpeg?auto=compress&w=1600");
  }
  
  /* PREORDER SECTION */
  .section-preorder {
    background: radial-gradient(circle at top, #201325 0, #050308 60%);
  }
  .preorder-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .newsletter-form {
    max-width: 480px;
  }
  .newsletter-form label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
  }
  .newsletter-input {
    display: flex;
    gap: 0.7rem;
  }
  .newsletter-input input {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(5, 3, 12, 0.8);
    color: var(--text);
  }
  
  /* FOOTER */
  .footer {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: #050308;
    padding: 1.5rem 7vw 2rem;
  }
  
  /* ANIMATIONS via JS (initial state only) */
  .fade-on-scroll {
    opacity: 0;
    transform: translateY(24px);
  }
  .fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  /* AUDIO CONTROL */
.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
  }
  
  .audio-control button {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent-soft);
    background: rgba(5, 3, 12, 0.85);
    color: var(--text);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease-out, transform 0.15s ease-out,
      box-shadow 0.2s ease-out, border-color 0.2s ease-out;
  }
  
  .audio-control button:hover {
    background: rgba(110, 140, 251, 0.18);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  }
  
  .audio-control button.is-paused {
    opacity: 0.8;
  }
  
  
  /* =========================
     RESPONSIVE: ≤ 900px
     ========================= */
  @media (max-width: 900px) {
    /* NAVBAR: logo di kiri, tombol penting tetap kelihatan */
    .nav {
      padding: 0 4vw;
    }
  
    .nav-right {
      gap: 1rem;
    }
  
    .nav-link {
      font-size: 0.75rem;
      letter-spacing: 0.12em;
    }
  
    /* HERO: teks lebih sempit, tombol stacked */
    .hero-content {
      padding: 0 4vw;
      max-width: 640px;
    }
  
    .hero-subtitle {
      max-width: 22rem;
    }
  
    .hero-actions {
      flex-wrap: wrap;
      gap: 0.75rem;
    }
  
    .btn {
      width: auto;
    }
  
    /* SECTION PADDING LEBIH RINGKAS */
    .section {
      padding: calc(var(--nav-height) + 2.5rem) 6vw 4rem;
    }
  
    /* TRAILER: konten lebih sempit, tapi tetap tengah */
    .trailer-content {
      padding: calc(var(--nav-height) + 2rem) 6vw 3rem;
    }
  
    .trailer-frame {
      margin-top: 1.2rem;
    }
  
    /* GRID JADI 2 KOLOM DI TABLET */
    .cards-grid,
    .world-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.2rem;
    }
  
    /* PREORDER BUTTONS: bisa dua baris */
    .preorder-buttons {
      flex-direction: column;
      align-items: stretch;
    }
  
    .preorder-buttons .btn {
      justify-content: center;
    }
  
    /* NEWSLETTER: input & tombol di stack */
    .newsletter-input {
      flex-direction: column;
    }
  
    .newsletter-input input,
    .newsletter-input .btn {
      width: 100%;
    }
  }
  
  /* =========================
     RESPONSIVE: ≤ 600px
     ========================= */
  @media (max-width: 600px) {
    /* NAVBAR: sembunyikan link, sisakan logo saja (versi simpel) */
    .nav-right {
      display: none;
    }
  
    .nav {
      padding: 0 4vw;
    }
  
    /* HERO: lebih fokus pada judul dan CTA */
    .hero {
      align-items: flex-end;
    }
  
    .hero-content {
      text-align: left;
      padding-bottom: 3.5rem;
    }
  
    .hero-title {
      font-size: clamp(2.2rem, 9vw, 2.8rem);
    }
  
    .hero-subtitle {
      font-size: 0.95rem;
      max-width: 100%;
    }
  
    .platforms {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    /* GLOBAL SECTION PADDING */
    .section {
      padding-inline: 5vw;
      padding-bottom: 3.5rem;
    }
  
    /* TRAILER SECTION BLUR */
    .section-trailer {
      min-height: 100vh;
    }
  
    .trailer-content {
      padding: calc(var(--nav-height) + 1.6rem) 5vw 2.8rem;
    }
  
    .trailer-frame {
      border-radius: 16px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    }
  
    .trailer-frame img {
      min-height: 200px;
      object-fit: cover;
    }
  
    .section-title {
      font-size: 1.8rem;
    }
  
    .section-desc {
      font-size: 0.95rem;
      max-width: 100%;
    }
  
    /* CHARACTERS & WORLD: 1 kolom */
    .cards-grid,
    .world-grid {
      grid-template-columns: 1fr;
      gap: 1.1rem;
    }
  
    .character-card,
    .world-item {
      border-radius: 16px;
    }
  
    .character-card img {
      max-height: 260px;
      object-fit: cover;
    }
  
    /* PREORDER SECTION */
    .preorder-buttons {
      flex-direction: column;
      align-items: stretch;
    }
  
    .newsletter-form {
      max-width: 100%;
    }
  
    /* FOOTER */
    .footer {
      padding-inline: 5vw;
      font-size: 0.75rem;
    }
  
    /* WORLD SECTION padding lebih rapat */
    .section-world {
      padding: calc(var(--nav-height) + 2.2rem) 5vw 3.5rem;
    }
  }
  