/* =========================
   Global / Root
========================= */
:root{
  --muted:#a9a9b3; --ring:#ffffff14;
  --glow1: rgba(255,255,255,.7);
  --glow2: rgba(124,77,255,.35);
  --glow3: rgba(80,170,255,.28);
}
*{ box-sizing:border-box }
body{ margin:0; font-family:'Figtree',sans-serif; background:black; color:#fff; }
a{ color:inherit; text-decoration:none; }

/* =========================
   FULLSCREEN PRELOADER (gated by body.ready)
========================= */
#preloader{
  position:fixed; inset:0; width:100%; height:100%;
  background:#0a0a0f; display:flex; align-items:center; justify-content:center;
  z-index:9999; opacity:1; visibility:visible;
  transition:opacity .5s ease, visibility 0s linear 0s;
}
#preloader img{ height:80px; width:auto; animation:pulse 1.5s infinite ease-in-out; }
body.ready #preloader{ opacity:0; visibility:hidden; transition:opacity .5s ease, visibility 0s linear .5s; }
@keyframes pulse{ 0%,100%{ transform:scale(1); opacity:.9 } 50%{ transform:scale(1.1); opacity:1 } }

/* =========================
   Layout
========================= */
.container{ max-width:1200px; margin:0 auto; padding:0 40px; }

/* =========================
   PARALLAX (single source of truth; scrolls with page)
========================= */
.parallax{ position:absolute; inset:0; height:100vh; overflow:hidden; z-index:-1; }
/* hide while not ready */
body:not(.ready) .parallax{ opacity:0; transform:translateZ(0); }
body.ready .parallax{ opacity:1; transition:opacity .35s ease; }

/* readability overlays */
.parallax::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:70;
  background:linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0, 0, 0, 0.801) 40%, rgba(0,0,0,1) 100%);
}
.parallax::before{
  content:""; position:absolute; left:0; right:0; top:0; height:min(18vh,240px);
  pointer-events:none; z-index:2;
  background:linear-gradient(to bottom, rgba(10,10,15,.70) 0%, rgba(10,10,15,0) 100%);
}

/* Parallax layers */
/* --- PARALLAX: make every layer fill the viewport and be re-positionable --- */

.parallax .layer{
  position:absolute; inset:0;        /* fill container */
  width:100%; height:100%;           /* critical: cover instead of shrinking */
  object-fit:cover;                   /* keep aspect ratio, crop overflow */
  object-position: var(--objX,50%) var(--objY,50%);  /* we’ll tune these */
  pointer-events:none; backface-visibility:hidden; will-change:transform,opacity;

  /* initial state (works with the entry animation below) */
  opacity:0; transform:translateY(100px) scale(var(--scale,1));
}
.parallax .layer-sky{ top:0; opacity:1 !important; transform:none !important; }

/* Enter animation */
/* Base: jangan pakai 'animation:' shorthand */
.animate-in .parallax .layer{
  opacity: 1;
  animation-name: riseUp;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  /* JANGAN set animation-delay di sini */
}
@keyframes riseUp{ from{ opacity:1; transform:translateY(100px) } to{ opacity:1; transform:translateY(0) } }
/* Biarkan shorthand di base, tapi spesifisitas delay harus lebih tinggi */
.animate-in .parallax .layer.layer-landscape{ animation-delay:.1s; }
.animate-in .parallax .layer.layer-building { animation-delay:.3s; }
.animate-in .parallax .layer.layer-tree     { animation-delay:.6s; }
.animate-in .parallax .layer.layer-tiang    { animation-delay:.8s; }

/* =========================
   Navbar
========================= */
nav{ padding:28px 0; position:sticky; top:0; z-index:50; }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; }
.logo{ position:relative; display:inline-block; cursor:pointer; overflow:hidden; }
.logo img{ height:60px; width:auto; display:block; transition:transform .3s ease; }
.logo-shine{
  position:absolute; top:0; left:0; width:120%; height:100%; pointer-events:none;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.85) 50%, transparent 100%);
  filter:blur(2px); mix-blend-mode:screen; transform:translateX(-150%) skewX(-20deg);
}
.logo:hover img{ transform:scale(1.05) }
.logo:hover .logo-shine{ animation:shine 1s ease forwards }
@keyframes shine{ from{ transform:translateX(-150%) skewX(-20deg) } to{ transform:translateX(150%) skewX(-20deg) } }

.right{ display:flex; align-items:center; gap:32px; }
.nav-links{
  position:relative; 
  display:flex; 
  align-items:center; 
  gap:40px; 
  padding:12px 24px;
  border-radius:999px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari fix */

  border:1px solid var(--ring);
  box-shadow:0 8px 24px rgba(89, 0, 148, 0.103), inset 0 0 0 1px #ffffff08;
}
.nav-link{ font-weight:500; font-size:1.1rem; color:var(--muted); padding-left:22px; transition:color .25s ease; }
.nav-link:hover{ color:#fff }
.nav-link.active{ color:#fff; font-weight:600 }
.active-dot{
  position:absolute; top:50%; translate:0 -50%; width:6px; height:6px; border-radius:50%; left:0;
  background:#fff; filter:drop-shadow(0 0 6px rgba(255,255,255,.35));
  transition:left .28s cubic-bezier(.22,.61,.36,1);
}

/* CTA */
.cta{
  background:linear-gradient(-100deg,#5d00b4,#9700fc); color:#fff;
  padding:12px 26px; border-radius:35px; font-weight:600; font-size:1rem;
  display:flex; align-items:center; gap:12px;
}
.cta .count{ background:rgba(0,0,0,.3); padding:5px 12px; border-radius:20px; font-size:.9rem; }
.cta .count i{ display:inline-block; line-height:1; font-size:1em; vertical-align:middle; transform:translateY(.05em); margin-right:10px; }

/*override*/


/* =========================
   Hero
========================= */
.hero{
  text-align:center; max-width:1080px; margin:0 auto; height:100vh;
  padding:clamp(180px,22vh,240px) 20px clamp(100px,14vh,170px);
  margin-top:-50px;
}
.feature-badge{
  display:inline-flex; align-items:center; gap:12px; margin-bottom:20px; color:#fff;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  padding:6px 14px; border-radius:999px; font-weight:500; font-size:.95rem;
  transition:transform .25s ease, box-shadow .25s ease;
}
.feature-badge i{ display:inline-block; line-height:1; font-size:1em; vertical-align:middle; transform:translateY(.05em); }
.feature-badge:hover{ transform:translateY(-3px); box-shadow:0 4px 10px rgba(90,50,140,.35); cursor:pointer; }
.feature-badge .tag{ background:linear-gradient(90deg,#7b5cff,#5b2f91); padding:4px 10px; border-radius:999px; font-size:.85rem; font-weight:600; display:inline-flex; align-items:center; gap:4px; }
.feature-badge .label{ font-weight:600 }
.feature-badge .arrow{ font-size:1rem; opacity:.8 }

.hero h1{
  font-size:clamp(2.4rem,8vw,6.4rem); font-weight:500; line-height:1.08; letter-spacing:-.015em; margin:0 0 28px;
  text-shadow:0 0 2px var(--glow1), 0 6px 40px var(--glow2), 0 10px 90px var(--glow3);
}
.hero p{
  font-size:clamp(1rem,1.2vw + .2rem,1.25rem); font-weight:400; color:#8e8e99; line-height:1.8; letter-spacing:.2px;
  max-width:760px; margin:0 auto 88px; text-wrap:balance;
}
.hero .btn{
  position:relative; overflow:hidden; display:inline-block; color:#fff; text-decoration:none;
  background:linear-gradient(-100deg,#5d00b4,#9700fc);
  padding:20px 34px; border-radius:999px; font-weight:700; font-size:1.05rem;
  box-shadow:0 6px 18px rgba(93,121,255,.28), inset 0 0 0 1px rgba(255,255,255,.12);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hero .btn::before{
  content:""; position:absolute; top:0; left:-120%; width:80%; height:100%; transform:skewX(-20deg);
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.6) 50%, transparent 100%);
}
.hero .btn:hover{ transform:translateY(-4px); box-shadow:0 10px 24px rgba(93,121,255,.35), inset 0 0 0 1px rgba(255,255,255,.15); }
.hero .btn:hover::before{ animation:btn-shine .9s ease forwards }
@keyframes btn-shine{ from{ left:-120% } to{ left:140% } }

/* =========================
   Section: About
========================= */
.section.about{ padding:clamp(96px,18vh,160px) 0; background-color: black;}
.about-inner{ max-width:900px; margin:0 auto; text-align:center; }
.about-stem{
  display:inline-block; width:2px; height:80px; margin:0 auto 28px; border-radius:1px;
  background:linear-gradient(to bottom, #ffffffc0, #ffffff0a);
  transform:scaleY(0); transform-origin:top; opacity:0;
}
.eyebrow{ font-size:.85rem; letter-spacing:.16em; color:#cfcfe2; text-transform:uppercase; margin:0 0 10px; opacity:0; transform:translateY(14px); }
.about-title{ font-size:clamp(2rem,5vw,3rem); font-weight:700; letter-spacing:.02em; margin:0 0 18px; opacity:0; transform:translateY(14px); }
.about-desc{ color:#b6b6c3; font-size:clamp(1rem,1.1vw + .2rem,1.15rem); line-height:1.9; margin:0 auto 18px; max-width:840px; opacity:0; transform:translateY(14px); }

/* reveal sequence */
.js-reveal.inview .about-stem{ transition:transform .9s cubic-bezier(.22,.61,.36,1), opacity .4s ease; transform:scaleY(1); opacity:1; }
.js-reveal.inview .eyebrow{ transition:opacity .5s ease .15s, transform .6s ease .15s; opacity:1; transform:none; }
.js-reveal.inview .about-title{ transition:opacity .6s ease .30s, transform .7s ease .30s; opacity:1; transform:none; }
.js-reveal.inview .about-desc:nth-of-type(1){ transition:opacity .6s ease .45s, transform .7s ease .45s; opacity:1; transform:none; }
.js-reveal.inview .about-desc:nth-of-type(2){ transition:opacity .6s ease .60s, transform .7s ease .60s; opacity:1; transform:none; }


/* ===== OUR TEAM (clean) ===== */
#team{
  margin-top: 10%;
}
.team-inner{ text-align:center; position:relative; }
.team-stem{
  display:block; width:1px; height:72px; margin:0 auto 14px;
  background:linear-gradient(#ffffffa6,transparent);
  transform-origin:top; transform:scaleY(0);
  transition:transform .8s cubic-bezier(.2,.7,0,1) .15s;
}
.team.js-reveal.inview .team-stem{ transform:scaleY(1); }

.team-title{ margin:.1rem 0 .25rem; font-size:clamp(24px,3.6vw,40px); }
.team-desc { margin:0 auto 22px; max-width:820px; color:#cfcfe6; opacity:.9; }

/* grid = perspective parent */
.team-grid{
  display:grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ⬅️ 3 kolom */
  justify-items: stretch;  /* kartu melebar penuh kolom */
  align-items: stretch;
  perspective:950px;
  perspective-origin:50% 30%;
}

/* ==== CARD ==== */
.team-card{
  cursor: pointer;
  --radius:18px;
  --rx:0deg; --ry:0deg; --tz:0px; --scale:1;
  --tx:0px;  --ty:0px;                /* parallax image shift */
  --mx:50%;  --my:50%;                /* glare pos */
  --holo-rot:0deg;                    /* rainbow rotation (by JS) */
  --holo-str:0;                       /* 0..1 strength (by JS) */
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;      /* tinggi tetap proporsional */
  position:relative; width:min(100%,360px); aspect-ratio:3/4;
  border-radius:var(--radius); overflow:hidden;
  transform-style:preserve-3d; will-change:transform;
  background:rgba(20,18,26,.55);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px) saturate(1.1);
  -webkit-backdrop-filter:blur(10px) saturate(1.1);
  box-shadow:0 10px 26px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.02) inset;

  /* 3D tilt (pakai perspective dari parent) */
  transform:
    rotateX(var(--rx)) rotateY(var(--ry))
    translateZ(var(--tz)) scale(var(--scale));
  transition:transform .08s ease, box-shadow .2s ease;
}
.team-card:hover{
  --tz:20px; --scale:1.02;
  box-shadow:0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
}

/* Hologram film (rainbow) */
.team-card::before{
  content:""; position:absolute; inset:-1px; border-radius:inherit; pointer-events:none;
  background:
    radial-gradient(140% 160% at var(--mx) var(--my),
      rgba(255,255,255,.10), transparent 60%),
    conic-gradient(from 0deg at 50% 50%,
      #ff52de, #54f0ff, #ffd55a, #ff52de);
  mix-blend-mode:screen; filter:saturate(130%);
  transform:rotate(var(--holo-rot));
  opacity:calc(.10 + (.22 * var(--holo-str)));
  transition:opacity .18s ease, transform .18s ease;
}

/* Glare (spot mengikuti kursor) */
.team-card .shine{
  position:absolute; inset:-20%; pointer-events:none;
  background:radial-gradient(200px 200px at var(--mx) var(--my),
    rgba(255,255,255,.25), transparent 60%);
  mix-blend-mode:screen;
  opacity:.0; transition:opacity .2s ease;
}
.team-card.hover .shine{ opacity:.5; }

/* Thumb (parallax kecil, smooth) */
.team-card .thumb{ position:absolute; inset:0; overflow:hidden; }
.team-card .thumb img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform:translate3d(var(--tx),var(--ty),18px) scale(1.06);
  transition:transform .08s ease-out;
}

/* Label */
.team-card .label{
  position:absolute; left:0; right:0; bottom:0;
  padding:12px 14px; text-align:left; color:#fff;
  background:linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
}
.team-card .label h4{ margin:0 0 2px; font-size:1.05rem; }
.team-card .label p { margin:0; opacity:.85; }

/* Placeholder */
.team-card.empty .nodata{
  position:absolute; inset:0; display:grid; place-items:center;
  color:#cfcfe6b3;
  background:radial-gradient(220px 220px at 50% 30%, rgba(255,255,255,.06), transparent 60%), #0f0f13;
}
.team-card.empty .nodata .mark{
  width:88px; height:88px; border-radius:50%;
  box-shadow:0 0 0 6px rgba(255,255,255,.07) inset, 0 0 0 2px rgba(255,255,255,.06);
  display:block; margin-bottom:10px;
}
.team-card.empty small{ opacity:.7; }

/* Interaksi stabil */
.team-card{ user-select:none; touch-action:none; }
.team-card .thumb, .team-card .shine, .team-card .label{ pointer-events:none; }

/* Responsive */
@media (max-width:900px){
  .team-title{ font-size:clamp(22px,5vw,34px); }
}

.team-grid > li { display: block; list-style: none; }
.team-grid > li > .team-card { width: 100%; max-width: none; }

.team-card:hover,
.team-card.hover{
  --tz:20px; --scale:1.02;
  box-shadow:0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.03) inset;
}

/* =========================
   Accessibility: Reduce Motion
========================= */
@media (prefers-reduced-motion: reduce){
  .about-stem, .eyebrow, .about-title, .about-desc{ transition:none !important; transform:none !important; opacity:1 !important; }
  .animate-in .parallax .layer:not(.layer-sky){ animation:none !important; opacity:1 !important; transform:none !important; }
}

/* =========================
   Responsive
========================= */
/* Global container & safe-area padding */
@media (max-width:1200px){ .container{ padding:0 28px } }
@media (max-width:768px){
  .container{ padding-left:max(20px, env(safe-area-inset-left)); padding-right:max(20px, env(safe-area-inset-right)); }
}

/* Nav */
@media (max-width:1200px){
  nav{ padding:22px 0 }
  .logo img{ height:52px }
  .right{ gap:20px }
  .cta{ padding:10px 22px; font-size:.98rem }
}
@media (max-width:900px){
  nav{ padding:18px 0 }
  .logo img{ height:46px }
  .right{ gap:14px }
  .nav-links{ display:none }
  .active-dot{ display:none }
  .cta{ padding:10px 18px; font-size:.95rem }
}
@media (max-width:480px){
  .logo img{ height:40px }
  .cta{ padding:10px 16px; font-size:.92rem; border-radius:30px }
}

/* Hero */
@media (min-width:901px){ .hero{ padding-top:clamp(220px,26vh,300px); padding-bottom:clamp(120px,16vh,170px) } }
@media (max-width:900px){
  .hero{ padding-top:clamp(160px,22vh,200px); padding-bottom:clamp(84px,12vh,110px) }
  .hero p{ margin-bottom:64px }
  .feature-badge{ gap:clamp(8px,2.5vw,12px); padding:clamp(5px,1.6vw,6px) clamp(12px,3vw,14px); font-size:clamp(.9rem,1.8vw,.95rem) }
  .feature-badge .tag{ padding:clamp(3px,1.5vw,4px) clamp(8px,2.5vw,10px); font-size:clamp(.78rem,1.7vw,.85rem) }
  .feature-badge .arrow{ font-size:clamp(.9rem,1.8vw,1rem) }
}
@media (max-width:600px){
  .hero{ padding-top:clamp(120px,20vh,160px); padding-bottom:clamp(64px,12vh,90px) }
  .hero p{ font-size:clamp(.95rem,3.5vw,1.1rem); margin-bottom:48px; padding:0 4px }
  .hero .btn{ padding:16px 26px; font-size:1rem; border-radius:999px }
  .feature-badge{ display:flex; justify-content:space-between; width:100% }
}
@media (max-width:380px){
  .hero{ padding-top:110px; padding-bottom:60px }
  .feature-badge{ font-size:.9rem }
  .feature-badge .tag{ font-size:.8rem }
}

/* keep sky static on load */
.parallax .layer.layer-sky{ opacity:1 !important; transform:none !important; }


/* entry animation still works and respects --scale */
.animate-in .parallax .layer{
  opacity:1; animation:riseUp 1s ease-out forwards;
}
@keyframes riseUp{
  from{ transform:translateY(100px) scale(var(--scale,1)); }
  to  { transform:translateY(-50px)      scale(var(--scale,1)); }
}

.parallax .layer{
  transform-origin: var(--originX, 50%) var(--originY, 50%);
}

/* FINAL FRAMING PER-LAYER */
.parallax .layer.layer-landscape { --objY: calc(10% + 350px); --scale: 1.02; }
.parallax .layer.layer-building  { --objY: calc(10% - 100px); --scale: 1.15; }
.parallax .layer.layer-tree      { --objY: calc(10% - 150px); --scale: 1.16; }

/* butuh geser horizontal? */
.parallax .layer.layer-building  { --objX: 52%; }

/* responsive nudge contoh */
@media (max-width:1024px){
  .parallax .layer.layer-building { --objY: 58%; }
}
@media (max-width:600px){
  .parallax .layer.layer-building { --objY: 62%; }
}

/* --- UNIVERSAL MEDIA TARGETING UNTUK LAYER --- */
.parallax .layer { position:absolute; inset:0; }

/* 1) Layer langsung berupa <img> / <video> */
.parallax .layer:is(img,video) {
  width:100%; height:100%;
  object-fit: cover;
  object-position: var(--objX,50%) var(--objY,50%);
  display:block;
}

/* 2) Layer berupa <div> dengan background-image */
.parallax .layer:not(img):not(video) {
  background-size: cover;
  background-position: var(--objX,50%) var(--objY,50%);
}

/* 3) Layer berupa <div> yang DI DALAMNYA ada <img>/<video> */
.parallax .layer:not(img):not(video) > img,
.parallax .layer:not(img):not(video) > video{
  width:100%; height:100%; display:block;
  object-fit: cover;
  /* pakai var yang diwariskan dari .layer */
  object-position: var(--objX,50%) var(--objY,50%);
}

/* ===== PATCH: Active Dot anim + centering ===== */
#navLinks { position: relative; }

#activeDot{
  position:absolute;
  top:50%;
  left:0;
  width:6px; height:6px; border-radius:50%;
  background:#fff;
  filter:drop-shadow(0 0 6px rgba(255,255,255,.35));
  /* penting: animasi transform, bukan left */
  transform:translate3d(0,-50%,0);     /* baseline: center vertikal */
  transition:transform .28s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
  z-index:1;
}

/* saat init (instant snap, no tween) */
#activeDot.is-boot{ transition:none; }

/* --- Nav links: teks benar2 center --- */
.nav-link{
  display:inline-flex;
  align-items:center;
  line-height:1;
  font-weight:500;
  font-size:1.1rem;
  color:var(--muted);
  padding-left:22px;
  transition:color .25s ease;
}

/* --- Active dot (hapus baris 'translate: 0 -50%' lama kalau masih ada) --- */
#activeDot{
  position:absolute;
  top:50%;
  left:0;
  width:6px; height:6px; border-radius:50%;
  background:#fff;
  filter:drop-shadow(0 0 6px rgba(255,255,255,.35));
  /* tweak vertikal optik: atur di sini (boleh -2px s.d. +3px) */
  --dot-y: 1px;
  transform:translate3d(0, calc(-50% + var(--dot-y)), 0);
  transition:transform .28s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
  z-index:1;
}
#activeDot.is-boot{ transition:none; }

.active-dot{
  position:absolute; top:50%;
  translate:0 -50%;              /* ← ini biang keroknya */
  /* ... */
  transition:left .28s cubic-bezier(.22,.61,.36,1);
}

#navLinks{ position:relative; }

#activeDot{
  position:absolute; top:50%; left:0;
  width:6px; height:6px; border-radius:50%;
  background:#fff; filter:drop-shadow(0 0 6px rgba(255,255,255,.35));

  /* tweak optik 0–3px kalau perlu */
  --dot-y: 3px;
  transform: translate3d(0, calc(-50% + var(--dot-y)), 0);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  z-index:1;
}



/* ===================================
   MUSIC HERO SECTION (full height)
====================================== */
.music-hero,
.hero--music{
  position: relative;
  min-height: clamp(560px, 82svh, 980px);
  padding: clamp(48px, 8vh, 96px) 0;
  display: grid;
  place-items: center;
  overflow: hidden; /* potong ring/garis di luar hero */
}

/* Container rings */
.rings{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 0;

  /* knobs */
  --ring-color: #1f1f1f2d;
  --ring-op: 1;
  --ring-size: min(92vmin, 1000px);
  --outer-scale: 1.58;
  --mid-scale:   1.00;
  --inner-scale: 0.46;
}

/* Base ring */
.ring{
  position: absolute;
  width: var(--ring-size);
  height: auto;
  opacity: var(--ring-op);
  will-change: transform;
  animation: spin var(--dur, 40s) linear infinite;
}
.ring .ring-text{ fill: var(--ring-color); }

/* Per-ring: skala + speed + arah */
.ring-outer{ --scale: var(--outer-scale); --dur: 64s; }
.ring-mid  { --scale: var(--mid-scale);   --dur: 44s; animation-direction: reverse; }
.ring-inner{ --scale: var(--inner-scale); --dur: 28s; }

/* Tipografi ring */
.ring-outer .ring-text{ font: 800 34px/1 'Figtree', sans-serif; letter-spacing:.26em; }
.ring-mid   .ring-text{ font: 800 26px/1 'Figtree', sans-serif; letter-spacing:.23em; }
.ring-inner .ring-text{ font: 800 17px/1 'Figtree', sans-serif; letter-spacing:.20em; }

/* Spin include scale var -> tidak saling timpa */
@keyframes spin{
  from { transform: rotate(0)   translateZ(0) scale(var(--scale,1)); }
  to   { transform: rotate(360deg) translateZ(0) scale(var(--scale,1)); }
}

/* Intro wrapper (fade + scale in) */
.ring-wrap{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(.2) rotate(-90deg);
  animation: ring-intro .9s cubic-bezier(.22,.8,.2,1) forwards;
  will-change: transform, opacity;
  z-index: 1; /* di bawah logo */
}
.ring-wrap-outer{ animation-delay: 0s; }
.ring-wrap-mid  { animation-delay: .08s; }
.ring-wrap-inner{ animation-delay: .16s; }

@keyframes ring-intro{
  0%   { opacity:0; transform: scale(.2)  rotate(-90deg); }
  60%  { opacity:1; transform: scale(1.04) rotate(-10deg); }
  100% { opacity:1; transform: scale(1)    rotate(0deg); }
}

/* Center logo */
.ring-center{
  position:absolute; inset:0;
  display:grid; place-items:center;
  z-index:2;
}
.ring-center img{
  width: calc(var(--ring-size) * .54); /* sudah dibesarkan */
  max-width:none;
  height:auto;
  opacity:0;
  transform: scale(.4) rotate(-8deg);
  animation: ringCenterIn .8s cubic-bezier(.22,.8,.2,1) .12s forwards;
}
@keyframes ringCenterIn{
  0%   { opacity:0; transform: scale(.40) rotate(-8deg); }
  65%  { opacity:1; transform: scale(1.06) rotate(-2deg); }
  100% { opacity:1; transform: scale(1)    rotate(0deg); }
}

/* Garis vertikal di bawah logo (tinggi & top diatur via JS) */
.center-rail{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  pointer-events:none;
  z-index:1; /* di bawah logo */
}
.center-rail .rail-line{
  display:block;
  width:2px;
  height:0; /* JS yang set */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.9),
    rgba(255,255,255,.55) 60%,
    rgba(255,255,255,0) 100%
  );
  border-radius:2px;
  will-change: height;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset;
}

/* Responsive tweak */
@media (max-width: 720px){
  .rings{
    --outer-scale: 1.06;
    --mid-scale:   0.72;
    --inner-scale: 0.48;
  }
  .ring-center img{ width: calc(var(--ring-size) * .62); }
}

/* Motion preference */
@media (prefers-reduced-motion: reduce){
  .ring{ animation:none; }
  .ring-wrap, .ring-center img{ animation:none; opacity:1; transform:none; }
  .center-rail .rail-line{ transition:none !important; }
}



/* ==== Section 2 (lebih tinggi + reveal rapi) ==== */
.music-sec2{
  --sec2-min: clamp(900px, 120svh, 1400px);
  min-height: var(--sec2-min);
  padding: clamp(120px, 18vh, 200px) 16px clamp(120px, 22vh, 240px);
  position: relative;
}
.music-sec2 .music-label{
  text-align:center;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.22,.8,.2,1),
              transform 700ms cubic-bezier(.22,.8,.2,1);
}
.music-sec2 .music-label .overline{
  display:block;
  font: 800 12px/1 'Figtree', sans-serif;
  letter-spacing:.18em;
  color:#e7e7ea;
  opacity:.9;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.music-sec2 .music-label .title{
  font: 800 clamp(28px, 5vw, 56px)/1.12 'Figtree', sans-serif;
}
.music-sec2 .music-label.show{
  opacity:1; transform:none;
}

/* semula: padding-top: clamp(120px, 18vh, 200px); */
.music-sec2{ --pt: clamp(120px,18vh,200px); padding-top: var(--pt); }
.music-sec2.tight{ --pt: clamp(60px,10vh,120px); }  /* lebih dekat */

/* “Rem” global: kalau JS set atribut ke body, pastikan tetap tampil */
body[data-music-head-shown="1"] .music-sec2 [data-music-head]{
  opacity:1 !important;
  transform:none !important;
}
/* ---------- FILTER ---------- */
.music-filter{
  display:flex; gap:10px; justify-content:center;
  margin: clamp(18px,3vh,24px) 0 8px;
}
.music-filter button{
  padding:.56rem .9rem; border-radius:999px; border:1px solid #ffffff14;
  background:#19191d; color:#e9e9ee; font:600 12px/1 'Figtree',sans-serif;
  letter-spacing:.06em; text-transform:uppercase; cursor:pointer;
}
.music-filter button.is-active{ background:#2a2a30; border-color:#ffffff22; }

/* ---------- GRID ---------- */
.music-grid{
  max-width: 1400px;
  padding: clamp(12px,2vw,20px) 12px 0;
  display:grid; gap:28px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  margin: 0 auto;
}

/* ---------- CARD ---------- */
.mcard{ position:relative; border-radius:16px; overflow:hidden; background:#111;
  box-shadow:0 1px 0 #ffffff0d inset, 0 20px 50px #0006;
  transition:transform .36s cubic-bezier(.22,.8,.2,1), box-shadow .36s; cursor:pointer;
}
.mcard.is-disabled{ cursor:not-allowed; }
.mthumb{ aspect-ratio:16/9; position:relative; overflow:hidden; }
.mthumb img{ width:100%; height:100%; object-fit:cover; display:block; opacity:.92;
  filter:saturate(1.05) contrast(1.04); transition:transform .6s cubic-bezier(.22,.8,.2,1), opacity .4s;
}
.mcard:hover:not(.is-disabled) img{ transform:scale(1.05); opacity:1; }
.mscrim{ position:absolute; inset:auto 0 0 0; height:42%;
  background:linear-gradient(to top, rgba(0,0,0,.66), transparent); z-index:1;
}
.mtitle{ position:absolute; left:14px; bottom:14px; z-index:2;
  background:#15161aee; color:#fff; padding:.56rem .9rem; border-radius:10px;
  font:700 16px/1 'Figtree',sans-serif; box-shadow:0 0 0 1px #ffffff1f inset;
}
.mmeta{ font:500 14px/1.6 'Figtree',sans-serif; color:#cfcfd6; opacity:.9; padding:12px 6px 2px; margin:0 8px 8px; }

/* Badge Coming Soon */
.cs-badge{
  position:absolute; top:12px; left:-6px; z-index:3;
  padding:.4rem .75rem; font:800 12px/1 'Figtree',sans-serif; letter-spacing:.12em; text-transform:uppercase;
  color:#fff; background:#6b7280; border-radius:8px; box-shadow:0 0 0 1px #ffffff22 inset;
}
.mcard.is-disabled .mthumb::after{
  content:""; position:absolute; inset:0; background:#00000075; z-index:2; backdrop-filter: blur(1px);
}

/* ---------- MODAL (hanya aktif saat open) ---------- */
.yt-modal{ border:none; padding:0; background:transparent; }
.yt-modal[open]{
  position: fixed; inset: 0; display: grid; place-items: center;
  background: transparent; z-index: 9999;
}
.yt-modal[open]::backdrop{
  background: rgba(0,0,0,.65);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.yt-frame-wrap{
  width: min(1100px, 92vw); aspect-ratio:16/9; border-radius:14px; overflow:hidden;
  box-shadow: 0 30px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset;
  background:#0e0f13; transform: scale(.96); opacity:0;
  animation: mv-pop .26s cubic-bezier(.2,.7,0,1) forwards;
}
@keyframes mv-pop{ to { transform:scale(1); opacity:1; } }
#mvIframe, #mvVideo{ width:100%; height:100%; border:0; display:block; background:#0e0f13; }

.yt-close{
  position:absolute; right:12px; top:12px; width:40px; height:40px; border-radius:999px;
  border:1px solid rgba(255,255,255,.22); background:rgba(18,18,24,.86); color:#fff; cursor:pointer; z-index:10000;
}
.yt-close:hover{ background:rgba(26,26,32,.95); }

/* Skeleton loading */
.mv-skel{ position:absolute; inset:0; z-index:5; pointer-events:none;
  background:linear-gradient(90deg,#1b1c22 0%,#22232a 20%,#1b1c22 40%) 0/200% 100%;
  animation: mv-shimmer 1.2s linear infinite;
}
@keyframes mv-shimmer{ to { background-position:200% 0; } }

/* Lock scroll saat modal terbuka */
body.modal-open{ overflow:hidden; }

@media (max-width:480px){
  .yt-frame-wrap{ width:100vw; height:100dvh; aspect-ratio:auto; border-radius:0; }
  #mvIframe, #mvVideo{ height:100%; }
}
.mv-skel { display: none; }  /* skeleton hanya muncul saat JS menyalakan */

/* ===== Rail (garis vertikal) ===== */
.music-hero { position: relative; }

.center-rail{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;                      /* ketebalan rail */
  height: 0;                       /* akan diubah via JS */
  pointer-events: none;
  z-index: 3;
}

.center-rail .rail-line{
  display: block;
  width: 2px;
  height: 0;                       /* diubah via JS */
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,0));
  border-radius: 1px;
}

/* ===== Label "Music" (reveal) ===== */
.music-label{ 
  opacity: 0; 
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}

.music-label.show{
  opacity: 1;
  transform: none;
}

/* =========================
   NEWS — clean 30:70 layout
   - Right list 70%
   - Uniform chip width
   - Minimal overrides
========================= */

#news{ margin-top:clamp(120px,14vh,220px); }
.news{ --date-w:10.2ch; --chip-w:120px; }          /* fixed cols for date & chip */

.news .container{ max-width:min(96vw,1400px); }
.news-grid{
  display:grid;
  grid-template-columns:3fr 7fr;                   /* 30 : 70 */
  gap:36px;
  align-items:start;
}

/* Left title */
.title-row{ display:flex; align-items:center; gap:clamp(12px,1.4vw,18px); margin-bottom:.35rem; }
.news-title{ margin:.05rem 0 .4rem; font-size:clamp(26px,3.8vw,46px); line-height:1.1; }
.news-subtext{ margin:0; max-width:64ch; color:#cfcfe6; opacity:.92; }

/* Hide decorative line if any */
.news-line,.news-rule{ display:none !important; }

/* Right list */
.news-right{ position:relative; }
.news-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }

.news-item{
  display:grid;
  grid-template-columns:var(--date-w) var(--chip-w) 1fr; /* fixed, fixed, fluid */
  gap:12px 16px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.news-item:last-child{ border-bottom:none; }

.news-item .date{
  width:var(--date-w);
  font-variant-numeric:tabular-nums;
  color:#cfcfe6; opacity:.8; white-space:nowrap;
}

.chip{
  width:var(--chip-w);
  padding:6px 0;                                     /* keep width consistent */
  border-radius:999px;
  font-size:.78rem; line-height:1; text-align:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#eaeaff;
  white-space:nowrap;
}

.item-title{
  color:#fff; text-decoration:none; display:block;
  transition:opacity .2s ease, transform .2s ease;
}
.item-title:hover{ opacity:.9; transform:translateX(2px); }

.news-more{
  display:inline-block; margin-top:14px;
  color:#fff; opacity:.85; text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.35);
}
.news-more:hover{ opacity:1; }

/* Responsive */
@media (max-width:980px){
  .news .container{ max-width:min(94vw,1100px); }
  .news-grid{ grid-template-columns:1fr; gap:22px; }
  .news-item{ grid-template-columns:auto auto 1fr; }  /* relax fixed widths */
  .chip{ width:auto; padding:6px 10px; }
}
/* --- jangan ubah position di sini --- */
nav{ padding:28px 0; z-index:50; }
@media (min-width:901px){
  nav{ padding:28px 0; } /* styling saja, bukan position */
}

/* === Sticky Nav: kanon & anti-timpuk === */
:root{ --nav-z: 300; }

nav{
  position: sticky !important;
  top: 0 !important;
  z-index: var(--nav-z) !important;  /* di atas konten/parallax, di bawah modal 9999 */
}
html, body{ overflow: auto; }