/* Tema Playlist Kita: undangan ala aplikasi musik mode gelap. Sampul = sampul album, beranda = "sedang diputar"
   dengan bar progres, acara = daftar lagu bernomor, galeri = koleksi album, menu bawah = tab aplikasi.
   Warna gradasi atas & tombol putar = warna aksen pilihan pelanggan. Gambar: playlist/*.svg (digambar sendiri). */
:root{--page-bg:#000;--bg:#121212;--surface:#1e1e1e;--ink:#f5f5f5;--muted:#a7a7a7;--accent:#9a6bff;--accent-ink:#fff;--line:#2c2c2c;--radius:10px;
--pl-gelap:#181818;--pl-not:url(playlist/not.svg);--pl-hati:url(playlist/hati.svg);--pl-vinyl:url(playlist/vinyl.svg);
--cover-bg:linear-gradient(180deg,color-mix(in srgb,var(--accent) 75%,#000) 0%,#121212 70%)}
.theme-playlist{counter-reset:trek}
.theme-playlist .nk-main{padding-bottom:90px;background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 55%,#121212) 0,#121212 520px)}
.theme-playlist .nk-section{padding:36px 18px;text-align:left}

/* Huruf */
.theme-playlist .nk-script{font-weight:800;color:#fff;letter-spacing:-.035em;line-height:1}
.theme-playlist .nk-script span{color:var(--accent);opacity:1}
.theme-playlist .nk-eyebrow{text-transform:none;letter-spacing:0;font:700 .8rem/1.2 var(--font-body);color:#fff}
.theme-playlist .nk-heading{font:800 1.6rem/1.1 var(--font-display);letter-spacing:-.02em;color:#fff;margin:0 0 16px}
.theme-playlist .nk-text{color:var(--muted);font-size:.92rem;margin:0 0 16px}
.theme-playlist .nk-strong{color:#fff}

/* Tombol */
.theme-playlist .nk-btn{background:var(--accent);color:var(--accent-ink);font:700 .85rem/1 var(--font-body);letter-spacing:.02em;padding:13px 24px}
.theme-playlist .nk-btn:hover{scale:1.04}
.theme-playlist .nk-btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1px #727272}

/* Sampul: halaman album */
.theme-playlist .nk-cover-inner{width:100%;text-align:left}
.theme-playlist .nk-cover-inner::before{content:"&";display:grid;place-items:center;width:min(250px,62vw);aspect-ratio:1;margin:0 auto 22px;font:800 8rem/1 var(--font-display);color:rgba(255,255,255,.92);background:radial-gradient(circle at 75% 20%,rgba(255,255,255,.35),transparent 40%),linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 40%,#ff6fb1) 60%,#ffb36b);box-shadow:0 24px 60px rgba(0,0,0,.6)}
.theme-playlist .nk-cover .nk-eyebrow{color:var(--muted);font-weight:600}
.theme-playlist .nk-cover .nk-eyebrow::before{content:"Playlist \00B7  "}
.theme-playlist .nk-cover h1{font-size:2.5rem;margin:6px 0 8px}
.theme-playlist .nk-date{font:600 .82rem/1.4 var(--font-body);letter-spacing:0;color:var(--muted);margin:0 0 14px}
.theme-playlist .nk-date::before{content:"";display:inline-block;width:18px;height:18px;margin-right:8px;vertical-align:-4px;border-radius:50%;background:var(--accent)}
.theme-playlist .nk-to{border:0;padding:0;margin-bottom:16px}
.theme-playlist .nk-to p{color:var(--muted)}
.theme-playlist .nk-to .nk-guest{font:700 1.1rem/1.3 var(--font-body);color:#fff;margin-top:2px}
.theme-playlist .nk-to .nk-guest::before{content:"Dibuat khusus untuk  "; font-weight:400;color:var(--muted);font-size:.85rem}
.theme-playlist #openBtn{position:relative;padding-left:52px;height:52px}
.theme-playlist #openBtn::before{content:"";position:absolute;left:20px;top:17px;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent var(--accent-ink)}
.theme-playlist .nk-cover-inner::after{content:"";position:absolute;right:24px;bottom:calc(50% - 300px);width:40px;height:40px}

/* Beranda: sedang diputar */
.theme-playlist .nk-hero{min-height:auto;padding-top:40px;text-align:left}
.theme-playlist .nk-hero::before{content:"SEDANG DIPUTAR";display:block;text-align:center;font:700 .66rem/1 var(--font-body);letter-spacing:.18em;color:#fff;margin-bottom:22px}
.theme-playlist .nk-hero-photo{width:100%;height:auto;aspect-ratio:1;border-radius:8px;border:0;box-shadow:0 20px 50px rgba(0,0,0,.55);margin:0 0 24px}
.theme-playlist .nk-hero-photo img{border-radius:8px}
.theme-playlist .nk-hero:not(:has(.nk-hero-photo)) .nk-eyebrow::before{content:"";display:block;width:100%;aspect-ratio:1;max-width:330px;margin:0 auto 24px;background:var(--pl-vinyl) center/contain no-repeat;animation:pl-putar 6s linear infinite}
.theme-playlist .nk-hero .nk-eyebrow{order:2;color:var(--muted);font-weight:500;margin:4px 0 0}
.theme-playlist .nk-big{font-size:2.2rem;order:1;position:relative;padding-right:40px}
.theme-playlist .nk-big::after{content:"";position:absolute;right:0;top:50%;width:26px;height:24px;translate:0 -50%;background:var(--accent);-webkit-mask:var(--pl-hati) center/contain no-repeat;mask:var(--pl-hati) center/contain no-repeat}
.theme-playlist .nk-hero .nk-countdown{order:3}
.theme-playlist .nk-hero .nk-player{order:4}
.theme-playlist .nk-hero::after{content:"";order:2;display:block;height:4px;margin-top:20px;border-radius:4px;background:linear-gradient(90deg,#fff 0 38%,#4d4d4d 38%)}
.theme-playlist .nk-countdown{justify-content:space-between;gap:6px;margin-top:22px}
.theme-playlist .nk-countdown div{flex:1;background:rgba(255,255,255,.07);border:0;border-radius:10px;padding:12px 0;text-align:center}
.theme-playlist .nk-countdown b{font:800 1.6rem/1 var(--font-display);color:#fff}
.theme-playlist .nk-countdown small{color:var(--muted);text-transform:none;letter-spacing:0;font-size:.7rem}

/* Save the date */
.theme-playlist .nk-bunting{display:none}
.theme-playlist .nk-calendar{background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 40%,#1e1e1e),#1e1e1e 70%);border-radius:12px;padding:18px 14px}
.theme-playlist .nk-cal-month{font:800 1.15rem/1 var(--font-display);color:#fff;margin:0 0 12px}
.theme-playlist .nk-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:.88rem;color:#e6e6e6;gap:2px 0}
.theme-playlist .nk-cal-grid b{font:600 .62rem/2 var(--font-body);color:var(--muted)}
.theme-playlist .nk-cal-grid span{line-height:32px;position:relative;z-index:0}
.theme-playlist .nk-cal-sun{color:var(--muted)}
.theme-playlist .nk-cal-day{color:var(--accent-ink)!important;font-weight:800}
.theme-playlist .nk-cal-day::before{content:"";position:absolute;left:50%;top:50%;width:32px;height:32px;translate:-50% -50%;border-radius:50%;z-index:-1;background:var(--accent);box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 30%,transparent);animation:pl-detak 1.2s ease-in-out infinite}

/* Mempelai = artis */
.theme-playlist .nk-ornament{display:none}
.theme-playlist #mempelai::before{content:"Artis";display:block;font:800 1.6rem/1.1 var(--font-display);color:#fff;margin-bottom:12px}
.theme-playlist .nk-couple{gap:10px;margin-top:6px}
.theme-playlist .nk-person{display:grid;grid-template-columns:60px 1fr;column-gap:14px;align-items:center;background:var(--surface);border-radius:10px;padding:10px}
.theme-playlist .nk-person::before{content:"";grid-row:span 2;width:60px;height:60px;border-radius:50%;background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.85) 0 11px,transparent 12px),radial-gradient(ellipse 22px 16px at 50% 92%,rgba(255,255,255,.85) 0 100%,transparent),linear-gradient(135deg,var(--accent),#ff6fb1)}
.theme-playlist .nk-person:last-child::before{background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.85) 0 11px,transparent 12px),radial-gradient(ellipse 22px 16px at 50% 92%,rgba(255,255,255,.85) 0 100%,transparent),linear-gradient(135deg,#ffb36b,var(--accent))}
.theme-playlist .nk-person h3{font-size:1.15rem;font-weight:700;letter-spacing:-.01em;align-self:end}
.theme-playlist .nk-person p{color:var(--muted);font-size:.8rem;margin:2px 0 0;align-self:start}
.theme-playlist .nk-amp{display:none}

/* Acara = daftar lagu */
.theme-playlist #acara .nk-card{counter-increment:trek;display:grid;grid-template-columns:28px 1fr;column-gap:12px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 0;margin:0;max-width:none;text-align:left}
.theme-playlist #acara .nk-card::before{content:counter(trek);grid-row:span 9;color:var(--muted);font:600 1rem/1.6 var(--font-body);text-align:center}
.theme-playlist #acara .nk-card h3{font:700 1.05rem/1.3 var(--font-body);color:var(--accent);margin:0 0 4px}
.theme-playlist .nk-card p{color:var(--muted);font-size:.86rem}
.theme-playlist .nk-card .nk-strong{color:#fff}
.theme-playlist .nk-card .nk-actions{justify-content:flex-start}
.theme-playlist .nk-gift{background:var(--surface);border:0;border-radius:12px;text-align:left;max-width:none}
.theme-playlist .nk-gift .nk-number{color:#fff;font:800 1.5rem/1 var(--font-display)!important}

/* Galeri = koleksi album */
.theme-playlist .nk-gallery{gap:12px}
.theme-playlist .nk-photo{border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.5)}
.theme-playlist .nk-photo:first-child{border-radius:10px}
.theme-playlist .nk-yt{border-radius:12px}

/* Kisah = lirik */
.theme-playlist .nk-story{margin:0 14px;border-radius:14px;background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 80%,#000),color-mix(in srgb,var(--accent) 45%,#000))}
.theme-playlist .nk-story .nk-heading{font-size:1rem}
.theme-playlist .nk-story .nk-heading::before{content:"Lirik \00B7  "}
.theme-playlist .nk-story .nk-text{color:#fff;font:800 1.35rem/1.35 var(--font-display);letter-spacing:-.01em}

/* Form & ucapan = komentar */
.theme-playlist .nk-form{max-width:none}
.theme-playlist .nk-form input,.theme-playlist .nk-form select,.theme-playlist .nk-form textarea{background:#2a2a2a;border:1px solid transparent;color:#fff;border-radius:8px}
.theme-playlist .nk-form input:focus,.theme-playlist .nk-form select:focus,.theme-playlist .nk-form textarea:focus{outline:0;border-color:#fff}
.theme-playlist .nk-form option{background:#2a2a2a}
.theme-playlist .nk-form .nk-btn{align-self:flex-start}
.theme-playlist .nk-messages{max-width:none}
.theme-playlist .nk-msg{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0 12px 48px;position:relative;color:var(--muted)}
.theme-playlist .nk-msg::before{content:"";position:absolute;left:0;top:12px;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#ffb36b)}
.theme-playlist .nk-msg .nk-strong{color:#fff}

/* Penutup */
.theme-playlist .nk-closing{text-align:center}
.theme-playlist .nk-closing .nk-text{margin:0 auto 18px}
.theme-playlist .nk-closing .nk-eyebrow{color:var(--muted)}
.theme-playlist .nk-closing::after{content:"";display:block;width:140px;height:140px;margin:26px auto 0;background:var(--pl-vinyl) center/contain no-repeat;animation:pl-putar 6s linear infinite}
.theme-playlist .nk-footer a{color:#fff;font-weight:700}

/* Pemutar lagu: bar kontrol */
.theme-playlist .nk-player{display:flex;align-items:center;gap:12px;width:100%;margin:22px 0 0;padding:10px 12px;cursor:pointer;text-align:left;background:rgba(255,255,255,.08);border:0;border-radius:10px;color:#fff;font:inherit}
.theme-playlist .nk-player-icon{flex:none;width:48px;height:48px;border-radius:50%;background:#fff;position:relative}
.theme-playlist .nk-player-icon::before{content:"";position:absolute;left:19px;top:15px;border-style:solid;border-width:9px 0 9px 14px;border-color:transparent transparent transparent #121212}
.theme-playlist:has(.nk-music.nk-playing) .nk-player-icon::before{left:16px;top:16px;width:5px;height:16px;border:0;background:#121212;box-shadow:10px 0 0 #121212}
.theme-playlist .nk-player-text{flex:1;display:flex;flex-direction:column}
.theme-playlist .nk-player-text b{font:700 .95rem/1.2 var(--font-body)}
.theme-playlist .nk-player-text small{font-size:.72rem;color:var(--muted)}
.theme-playlist .nk-player-wave{display:flex;align-items:flex-end;gap:2px;height:20px}
.theme-playlist .nk-player-wave i{width:3px;height:8px;background:var(--accent)}
.theme-playlist:has(.nk-music.nk-playing) .nk-player-wave i{animation:pl-eq .6s ease-in-out infinite alternate}
.theme-playlist .nk-player-wave i:nth-child(2){height:16px;animation-delay:.2s!important}.theme-playlist .nk-player-wave i:nth-child(3){height:12px;animation-delay:.4s!important}.theme-playlist .nk-player-wave i:nth-child(4){height:20px;animation-delay:.1s!important}

/* Menu tab bawah */
.theme-playlist .nk-music{bottom:84px;background:#fff;color:#121212}
.theme-playlist:not(.nk-locked) .nk-nav{display:flex}
.theme-playlist .nk-nav{bottom:0;width:100%;max-width:480px;border-radius:0;border:0;background:linear-gradient(transparent,#000 40%);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;padding:18px 8px 10px}
.theme-playlist .nk-nav a{color:var(--muted)}
.theme-playlist .nk-nav a:hover,.theme-playlist .nk-nav a:focus-visible{color:#fff}

@keyframes pl-putar{to{rotate:360deg}}
@keyframes pl-detak{0%,100%{box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 30%,transparent)}50%{box-shadow:0 0 0 9px color-mix(in srgb,var(--accent) 15%,transparent)}}
@keyframes pl-eq{from{scale:1 .3}to{scale:1 1}}
@media (prefers-reduced-motion:reduce){.theme-playlist *,.theme-playlist *::before,.theme-playlist *::after{animation:none!important}}
