/* ============ MAPLE • Spotify-style wedding demo ============ */
:root {
  --green: #1DB954;
  --green-bright: #1ed760;
  --bg: #121212;
  --card: #181818;
  --card-hover: #282828;
  --text: #ffffff;
  --text-gray: #b3b3b3;
  --divider: #2a2a2a;
  --player-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Circular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding-bottom: calc(var(--player-h) + 16px); /* keep footer clear of player bar */
  -webkit-font-smoothing: antialiased;
}

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

/* ============ COVER (album splash) ============ */
#cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 35%, #1a4d2e 0%, #0d2418 45%, #060a08 100%);
  transition: opacity .6s ease, visibility .6s ease;
}
#cover.open { opacity: 0; visibility: hidden; pointer-events: none; }

.cover-inner { text-align: center; padding: 24px; }

.cover-art {
  width: 220px; height: 220px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 80px rgba(29, 185, 84, .35);
  animation: coverFloat 4s ease-in-out infinite;
}
.cover-art img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@keyframes coverFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.cover-initials {
  font-size: 3.4rem; font-weight: 800; letter-spacing: .05em; color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.cover-eyebrow {
  color: var(--green-bright); font-size: .75rem; font-weight: 700;
  letter-spacing: .28em; margin-bottom: 12px;
}
.cover-title {
  font-size: 2.9rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.05;
}
.cover-sub { color: var(--text-gray); margin: 10px 0 30px; font-size: 1rem; }

.play-btn {
  border: none; cursor: pointer;
  background: var(--green); color: #000;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
.play-btn:hover { background: var(--green-bright); transform: scale(1.06); }
.play-btn:active { transform: scale(.97); }
.play-btn svg { width: 55%; height: 55%; fill: currentColor; }

.play-btn.big { width: 96px; height: 96px; box-shadow: 0 12px 40px rgba(29,185,84,.45); }

.cover-hint { margin-top: 20px; color: var(--text-gray); font-size: .85rem; }

/* hide content behind cover until opened */
.topbar, .playlist-header, .content, .footer { visibility: hidden; }
body.opened .topbar, body.opened .playlist-header,
body.opened .content, body.opened .footer { visibility: visible; }
.player-bar { display: none; }
body.opened .player-bar { display: flex; }

/* ============ TOP BAR ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(18,18,18,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.brand-name { font-weight: 800; letter-spacing: .18em; font-size: .95rem; }
.topbar-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  color: var(--green-bright); border: 1px solid var(--green);
  padding: 5px 10px; border-radius: 999px;
}

/* ============ PLAYLIST HEADER ============ */
.playlist-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(31,92,51,.88) 0%, rgba(20,61,34,.82) 45%, rgba(18,18,18,.94) 100%);
  padding: 64px 24px 32px;
  display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.playlist-art {
  width: 192px; height: 192px; border-radius: 12px; flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.playlist-art img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.playlist-initials { font-size: 3rem; font-weight: 800; color: #fff; text-shadow: 0 4px 16px rgba(0,0,0,.4); }
.playlist-meta { flex: 1 1 260px; min-width: 0; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .22em; color: #fff; margin-bottom: 12px; }
.playlist-title {
  font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 900; letter-spacing: -.03em; line-height: 1;
}
.playlist-sub { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 1rem; }
.playlist-couple { color: var(--green-bright); font-weight: 700; margin-top: 6px; font-size: 1.05rem; }
.playlist-actions { display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 8px; }
.hero-play { width: 60px; height: 60px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }

.btn-outline {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  border: 1px solid #727272; font-weight: 700; font-size: .85rem;
  transition: border-color .15s, transform .15s;
}
.btn-outline:hover { border-color: #fff; transform: scale(1.04); }
.btn-outline.small { margin-top: 16px; font-size: .8rem; }

.btn-green {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--green); color: #000; font-weight: 800; font-size: .9rem;
  border: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn-green:hover { background: var(--green-bright); transform: scale(1.04); }

/* ============ CONTENT BLOCKS ============ */
.content { max-width: 1100px; margin: 0 auto; padding: 8px 24px 32px; }
.block { margin: 40px 0; }
.block-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }

/* ---- Track table ---- */
.track-table { border-top: 1px solid var(--divider); }
.track-row {
  display: grid; grid-template-columns: 36px 1fr 56px; align-items: center;
  gap: 12px; padding: 12px 8px;
  border-bottom: 1px solid var(--divider);
  border-radius: 6px; transition: background .12s;
}
.track-row:not(.track-head):hover { background: var(--card-hover); }
.track-head {
  color: var(--text-gray); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; border-bottom: 1px solid #3a3a3a;
}
.track-head:hover { background: none !important; }
.t-num { color: var(--text-gray); font-size: .9rem; text-align: center; }
.t-judul { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.t-judul small { display: block; color: var(--text-gray); font-weight: 400; font-size: .82rem; margin-top: 3px; }
.t-durasi { color: var(--text-gray); font-size: .88rem; text-align: right; }

/* ---- Tentang / bio card ---- */
.bio-card {
  background: var(--card); border-radius: 12px; padding: 28px;
  line-height: 1.7; color: #d9d9d9; font-size: .98rem;
}
.bio-card p + p { margin-top: 14px; }
.bio-monthly { color: var(--green-bright); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.countdown { margin-top: 22px; }
.countdown-label { color: var(--text-gray); font-size: .85rem; margin-bottom: 10px; }
.countdown-nums { display: flex; gap: 10px; flex-wrap: wrap; }
.cd-box {
  background: #0d0d0d; border: 1px solid var(--divider); border-radius: 10px;
  min-width: 74px; padding: 12px 8px; text-align: center;
}
.cd-box span { display: block; font-size: 1.7rem; font-weight: 800; color: var(--green-bright); font-variant-numeric: tabular-nums; }
.cd-box small { color: var(--text-gray); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px;
}
.g-card {
  background: var(--card); border-radius: 10px; padding: 14px;
  transition: background .15s, transform .15s;
}
.g-card:hover { background: var(--card-hover); transform: translateY(-4px); }
.g-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%; /* like artist circles */
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.g-card p { margin-top: 12px; font-weight: 700; font-size: .9rem; text-align: center; }

/* ---- Gift cards: Spotify Premium style ---- */
.gift-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.block-sub { color: var(--text-gray); font-size: .9rem; margin: -10px 0 18px; }
.premium-card {
  position: relative;
  background: linear-gradient(135deg, #1b1b1b 0%, #0e2a1a 55%, #0a1f13 100%);
  border: 1px solid rgba(29, 185, 84, .35);
  border-radius: 16px; padding: 22px; text-align: left;
  box-shadow: 0 12px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.premium-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,185,84,.28) 0%, transparent 70%);
  pointer-events: none;
}
.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 185, 84, .7);
  box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 0 32px rgba(29,185,84,.18);
}
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pc-badge {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  color: #000; background: var(--green);
  padding: 5px 10px; border-radius: 6px;
}
.premium-card .bank-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin: 0; filter: brightness(1.1); }
.pc-chip {
  width: 44px; height: 32px; border-radius: 6px; margin-bottom: 14px;
  background: linear-gradient(135deg, #1ed760 0%, #0e7a38 100%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 5px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.pc-chip span { background: rgba(0,0,0,.28); border-radius: 2px; }
.premium-card .acc-num {
  font-family: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  font-size: 1.45rem; font-weight: 700; letter-spacing: .1em;
  color: #fff; margin-bottom: 6px;
  text-shadow: 0 0 14px rgba(29, 185, 84, .65);
  font-variant-numeric: tabular-nums;
}
.premium-card .bank-label { color: var(--text-gray); font-size: .82rem; margin-bottom: 16px; }
.copy-green {
  background: var(--green); border: none; color: #000;
  padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: .82rem;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(29, 185, 84, .35);
}
.copy-green:hover { background: var(--green-bright); transform: scale(1.05); }
.copy-green:active { transform: scale(.96); }
.copy-green.copied {
  background: var(--green-bright);
  animation: copyPop .45s ease;
}
@keyframes copyPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .copy-green.copied { animation: none; }
}

/* ---- Guestbook ---- */
.wish-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.wish-form input, .wish-form textarea {
  background: var(--card); border: 1px solid var(--divider); border-radius: 10px;
  color: var(--text); padding: 13px 16px; font-size: .95rem; font-family: inherit;
  outline: none; resize: vertical; transition: border-color .15s;
}
.wish-form input:focus, .wish-form textarea:focus { border-color: var(--green); }
.wish-form .btn-green { align-self: flex-start; }
.wishes-list { display: flex; flex-direction: column; gap: 12px; }
.wish-item {
  background: var(--card); border-radius: 10px; padding: 16px 18px;
  animation: wishIn .3s ease;
}
@keyframes wishIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wish-item .w-name { font-weight: 800; color: var(--green-bright); font-size: .92rem; margin-bottom: 6px; }
.wish-item .w-msg { color: #d9d9d9; line-height: 1.6; font-size: .95rem; word-wrap: break-word; }
.wish-empty { color: var(--text-gray); font-style: italic; }

/* ============ FOOTER ============ */
.footer {
  max-width: 1100px; margin: 0 auto; padding: 48px 24px 24px;
  text-align: center; border-top: 1px solid var(--divider);
}
.footer-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.footer-brand { font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.footer-tag { color: var(--text-gray); font-size: .88rem; margin: 8px 0 20px; }
.footer .btn-green { margin-bottom: 20px; }
.footer-note { color: #6a6a6a; font-size: .75rem; }

/* ============ STICKY PLAYER BAR ============ */
.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: var(--player-h);
  background: rgba(10,10,10,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--divider);
  align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.pb-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pb-note {
  width: 46px; height: 46px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #1DB954, #062e16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.pb-text { min-width: 0; }
.pb-title {
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.pb-sub { color: var(--text-gray); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-play { width: 44px; height: 44px; flex-shrink: 0; }

/* play state: swap to pause icon */
body.playing .play-btn svg path { d: path("M7 5h4v14H7zM13 5h4v14h-4z"); }

@media (max-width: 560px) {
  .playlist-header { padding-top: 48px; gap: 18px; }
  .playlist-art { width: 140px; height: 140px; }
  .playlist-initials { font-size: 2.2rem; }
  .content { padding: 8px 16px 24px; }
  .g-card img { border-radius: 50%; }
}

/* ================================================================
   MAPLE • Spotify power-up: lightbox, reveal, equalizer, micro-interactions
   (append-only — tidak mengubah blok CSS di atas)
   ================================================================ */

/* ---- 1. LIGHTBOX GALERI ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox:not(.open) .lb-img { visibility: hidden; }
.lb-stage { max-width: min(92vw, 760px); text-align: center; padding: 0 8px; }
.lb-img {
  max-width: 100%; max-height: 74vh; object-fit: contain;
  border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
  transform: scale(.94);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.lightbox.open .lb-img { transform: scale(1); }
.lb-img.lb-swap { animation: lbSwap .3s ease; }
@keyframes lbSwap { from { opacity: .15; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lb-cap { margin-top: 14px; font-weight: 700; font-size: 1rem; color: #fff; }
.lb-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--text-gray); font-size: .85rem; letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: none; color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.lb-btn:hover { background: var(--green); color: #000; transform: scale(1.08); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }
.g-card { cursor: zoom-in; }

/* ---- 2. REVEAL ON SCROLL (stagger playlist) ---- */
.reveal {
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--rd, 0s);
}
.reveal:not(.visible) { opacity: 0; transform: translateY(26px); }

/* ---- 3. EQUALIZER BARS di player bar (signature Spotify) ---- */
.eq {
  display: flex; align-items: flex-end; gap: 3px;
  height: 26px; flex-shrink: 0;
}
.eq-bar {
  width: 3px; height: 18%; border-radius: 2px;
  background: var(--green); opacity: .45;
}
/* hanya berdenyut saat musik diputar (body.playing dari JS musik) */
body.playing .eq-bar { opacity: 1; animation: eqBounce 1.1s ease-in-out infinite; }
body.playing .eq-bar:nth-child(2) { animation-delay: .15s; animation-duration: .9s; }
body.playing .eq-bar:nth-child(3) { animation-delay: .35s; animation-duration: 1.25s; }
body.playing .eq-bar:nth-child(4) { animation-delay: .5s; animation-duration: .8s; }
body.playing .eq-bar:nth-child(5) { animation-delay: .65s; animation-duration: 1.05s; }
@keyframes eqBounce { 0%, 100% { height: 20%; } 50% { height: 100%; } }

/* ---- 4. MICRO-INTERACTIONS khas Spotify ---- */
/* baris track: hover → bg abu terang, tombol play hijau, teks putih */
.track-row:not(.track-head):hover { background: #2a2a2a; }
.track-row:not(.track-head):hover .t-judul { color: #fff; }
.track-row:not(.track-head):hover .t-durasi { color: var(--green-bright); }
.track-row:not(.track-head) .t-num { position: relative; }
.track-row:not(.track-head):hover .t-num { color: transparent; }
.track-row:not(.track-head):hover .t-num::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-35%, -50%);
  border-left: 11px solid var(--green-bright);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* tombol play: pulse hijau + rotate halus saat hover + klik */
.play-btn { position: relative; overflow: hidden; }
.play-btn:hover { background: var(--green-bright); transform: scale(1.08) rotate(6deg); }
.play-btn:active { transform: scale(.94); }
.play-btn.big { animation: btnPulse 2.6s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(29, 185, 84, .45); }
  50% { box-shadow: 0 12px 64px rgba(29, 185, 84, .8); }
}

/* ripple hijau saat tombol play besar diklik */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(30, 215, 96, .55);
  transform: scale(0); pointer-events: none;
  animation: rippleOut .65s ease-out forwards;
}
@keyframes rippleOut { to { transform: scale(3.2); opacity: 0; } }

/* angka countdown: pop kecil saat berubah */
@keyframes cdPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.15); color: #fff; }
  100% { transform: scale(1); }
}
.cd-box.pop span { animation: cdPop .38s ease; }

/* ---- 5. TRANSISI COVER: album-art zoom + fade ---- */
#cover .cover-art {
  animation: coverZoomIn .9s cubic-bezier(.22, .61, .36, 1) both,
             coverFloat 4.5s ease-in-out .95s infinite;
}
@keyframes coverZoomIn { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
.cover-inner > * { animation: coverFadeUp .7s cubic-bezier(.22, .61, .36, 1) both; }
.cover-inner > *:nth-child(2) { animation-delay: .15s; }
.cover-inner > *:nth-child(3) { animation-delay: .25s; }
.cover-inner > *:nth-child(4) { animation-delay: .35s; }
.cover-inner > *:nth-child(5) { animation-delay: .5s; }
.cover-inner > *:nth-child(6) { animation-delay: .6s; }
@keyframes coverFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ================================================================
   MAPLE • Spotify upgrade v2: foto tiap section + profil artis
   (append-only — tidak mengubah blok CSS di atas)
   ================================================================ */

/* ---- BACKGROUND FOTO + PARALLAX tiap section ---- */
.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.has-bg .bg-layer {
  position: absolute; left: 0; right: 0; top: -12%; bottom: -12%;
  background-size: cover; background-position: center;
  z-index: 0; will-change: transform;
  filter: saturate(1.05);
}
.has-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,8,7,.78) 0%, rgba(6,8,7,.86) 50%, rgba(10,10,10,.93) 100%);
  pointer-events: none;
}
.has-bg > *:not(.bg-layer) { position: relative; z-index: 2; }

/* playlist header: konten di atas foto */
.playlist-header > * { position: relative; z-index: 2; }

/* block dengan foto: padding dalam + radius */
.block.has-bg {
  border-radius: 18px;
  padding: 28px 22px;
  margin-left: -8px; margin-right: -8px;
}
@media (min-width: 720px) {
  .block.has-bg { margin-left: 0; margin-right: 0; }
}

/* ---- PROFIL ARTIS (ala Spotify artist page) ---- */
.artist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.artist-card {
  background: var(--card); border-radius: 14px; padding: 26px 22px;
  text-align: center; position: relative; overflow: hidden;
  transition: background .15s ease, transform .2s cubic-bezier(.22,.61,.36,1);
}
.artist-card:hover { background: var(--card-hover); transform: translateY(-4px); }
.artist-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  opacity: 0; transition: opacity .2s ease;
}
.artist-card:hover::before { opacity: 1; }
.artist-photo {
  width: 150px; height: 150px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 0 0 3px rgba(29,185,84,.35);
  transition: box-shadow .2s ease, transform .2s ease;
}
.artist-card:hover .artist-photo {
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 3px var(--green);
}
.artist-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green-bright); margin-bottom: 6px;
}
.artist-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.artist-desc { color: var(--text-gray); font-size: .86rem; margin-top: 8px; line-height: 1.55; }
.artist-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 18px;
}
.artist-play { width: 52px; height: 52px; box-shadow: 0 8px 24px rgba(29,185,84,.4); }
.follow-btn.following {
  background: var(--green); border-color: var(--green); color: #000;
}

/* cover: cincin foto lebih hidup */
#cover .cover-art { border: 3px solid rgba(29,185,84,.5); }

/* hormati prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .has-bg .bg-layer { transform: none !important; }
  .cover-art, .play-btn.big { animation: none !important; }
}

@media (max-width: 560px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-btn { width: 42px; height: 42px; }
  .block.has-bg { border-radius: 14px; padding: 22px 16px; }
  .artist-photo { width: 128px; height: 128px; }
  .std-date { font-size: 5.5rem; }
  .std-day { font-size: 1.6rem; }
}

/* ================================================================
   MAPLE • Spotify upgrade v3: save the date, single unggulan, RSVP
   ================================================================ */

/* ---- alamat artis ---- */
.artist-addr { color: #6a6a6a; font-size: .76rem; margin-top: 6px; }

/* ---- SAVE THE DATE ---- */
#save-the-date .std-inner { text-align: center; padding: 12px 4px; }
.std-eyebrow {
  color: var(--green-bright); font-size: .72rem; font-weight: 800;
  letter-spacing: .32em; text-transform: uppercase; margin-bottom: 10px;
}
.std-day {
  font-size: 2rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #fff;
}
.std-date {
  font-size: 7.5rem; font-weight: 900; line-height: .95;
  letter-spacing: -.04em; color: var(--green-bright);
  text-shadow: 0 12px 48px rgba(29,185,84,.4);
  margin: 4px 0;
  animation: stdPulse 3s ease-in-out infinite;
}
@keyframes stdPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.std-month {
  font-size: 1.5rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #fff;
}
.std-note { color: var(--text-gray); font-size: .9rem; margin-top: 12px; font-style: italic; }
#save-the-date .countdown { margin-top: 26px; }
#save-the-date .countdown-label { text-align: center; }
#save-the-date .countdown-nums { justify-content: center; }
#save-the-date .cd-box { background: rgba(13,13,13,.75); backdrop-filter: blur(6px); }

/* ---- SINGLE UNGGULAN (Akad & Resepsi) ---- */
.single-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.single-card {
  background: var(--card); border-radius: 14px; padding: 18px;
  transition: background .15s ease, transform .2s cubic-bezier(.22,.61,.36,1);
}
.single-card:hover { background: var(--card-hover); transform: translateY(-4px); }
.single-art {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16 / 10; margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.single-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-play {
  position: absolute; right: 12px; bottom: 12px;
  width: 48px; height: 48px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.single-card:hover .single-play { opacity: 1; transform: none; }
@media (hover: none) { .single-play { opacity: 1; transform: none; } }
.single-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green-bright); margin-bottom: 6px;
}
.single-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.single-detail { color: #d9d9d9; font-size: .92rem; margin-top: 8px; line-height: 1.6; }
.single-venue { color: var(--text-gray); font-size: .84rem; margin: 6px 0 14px; }
.single-card .btn-outline.small { margin-top: 0; }

/* ---- RSVP ---- */
.rsvp-card {
  background: var(--card); border-radius: 14px; padding: 28px 24px;
  max-width: 520px; margin: 0 auto;
}
.rsvp-sub { color: var(--text-gray); font-size: .9rem; margin-bottom: 20px; text-align: center; }
.rsvp-form { display: flex; flex-direction: column; gap: 14px; }
.rsvp-form input[type="text"], .rsvp-form select {
  background: #0d0d0d; border: 1px solid var(--divider); border-radius: 10px;
  color: var(--text); padding: 13px 16px; font-size: .95rem; font-family: inherit;
  outline: none; transition: border-color .15s;
  appearance: none;
}
.rsvp-form input[type="text"]:focus, .rsvp-form select:focus { border-color: var(--green); }
.rsvp-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231DB954' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.rsvp-choice { display: flex; gap: 10px; }
.rsvp-opt { flex: 1; }
.rsvp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-pill {
  display: block; text-align: center; padding: 12px; border-radius: 999px;
  border: 1px solid #727272; font-weight: 700; font-size: .88rem;
  cursor: pointer; transition: all .15s ease; color: var(--text-gray);
}
.rsvp-opt input:checked + .rsvp-pill {
  background: var(--green); border-color: var(--green); color: #000;
  box-shadow: 0 4px 18px rgba(29,185,84,.35);
}
.rsvp-guests-label { color: var(--text-gray); font-size: .82rem; margin-bottom: -8px; }
.rsvp-form .btn-green { margin-top: 4px; }
.rsvp-ok {
  color: var(--green-bright); font-weight: 700; font-size: .9rem;
  text-align: center; animation: wishIn .3s ease;
}

/* ================================================================
   MAPLE • Spotify v4: galeri horizontal, section expand, anti-overflow
   ================================================================ */

/* anti overflow horizontal global (tidak merusak sticky) */
html, body { overflow-x: clip; max-width: 100%; }

/* judul cover responsif agar tidak kepotong di HP */
.cover-title { font-size: clamp(2.1rem, 12vw, 2.9rem); }

/* ---- GALERI HORIZONTAL ala row album Spotify ---- */
.scroll-hint {
  color: var(--text-gray); font-size: .8rem; margin: -8px 0 10px;
  letter-spacing: .04em;
}
#galeri .gallery-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: none; /* Firefox */
}
#galeri .gallery-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */
#galeri .g-card {
  flex: 0 0 auto;
  width: 140px;
  scroll-snap-align: start;
  padding: 12px;
}
#galeri .g-card:hover { transform: translateY(-4px); }
#galeri .g-card img {
  border-radius: 8px; /* kotak ala cover album */
  aspect-ratio: 1 / 1;
}
#galeri .g-card p {
  font-size: .78rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* ---- GALERI: kartu foto mengambang (floating) ---- */
@keyframes gFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(var(--tilt, 0deg)); }
}
#galeri .g-card img {
  animation: gFloat 3.6s ease-in-out infinite;
  will-change: transform;
}
/* variasi playful ala Spotify: miring bergantian + durasi beda */
#galeri .g-card:nth-child(odd) img { --tilt: 2deg; animation-duration: 4.3s; }
#galeri .g-card:nth-child(even) img { --tilt: -2deg; animation-duration: 3.1s; }
/* stagger delay agar tidak seragam — terlihat organik */
#galeri .g-card:nth-child(3n) img { animation-delay: -1.2s; }
#galeri .g-card:nth-child(3n+1) img { animation-delay: -2.5s; }
#galeri .g-card:nth-child(3n+2) img { animation-delay: -0.7s; }
/* beri ruang napas atas-bawah agar float tidak terpotong */
#galeri .gallery-grid { padding: 16px 4px 24px; }
@media (prefers-reduced-motion: reduce) {
  #galeri .g-card img { animation: none; }
}

/* fade kanan sebagai isyarat bisa digeser */
#galeri .gallery-grid {
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
}

/* ---- TRACK ROW: klik → expand detail ---- */
.t-expand {
  grid-column: 1 / -1;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}
.track-row.open .t-expand { max-height: 260px; opacity: 1; }
.track-row.open { background: #1e1e1e; }
.t-expand-inner {
  padding: 2px 4px 14px 48px;
  color: var(--text-gray); font-size: .86rem; line-height: 1.6;
}
.t-expand-inner a {
  display: inline-block; margin-top: 8px;
  color: var(--green-bright); font-weight: 700; font-size: .85rem;
}
/* ikon hover jadi chevron bawah (expand), bukan segitiga play */
.track-row:not(.track-head):hover .t-num::after {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--green-bright);
  border-bottom: none;
  transform: translate(-50%, -30%);
}
.track-row.open:not(.track-head):hover .t-num::after {
  border-top: none;
  border-bottom: 10px solid var(--green-bright);
  transform: translate(-50%, -70%);
}
.track-row:not(.track-head) { cursor: pointer; }

/* ---- SINGLE CARD: klik → expand detail ---- */
.single-card { position: relative; cursor: pointer; }
.single-card::after {
  content: "\25BE";
  position: absolute; top: 16px; right: 18px;
  color: var(--text-gray); font-size: 1.1rem;
  transition: transform .3s ease, color .2s ease;
}
.single-card.open::after {
  transform: rotate(180deg); color: var(--green-bright);
}
.single-more {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}
.single-card.open .single-more { max-height: 260px; opacity: 1; }
.single-more-inner {
  padding: 2px 0 12px;
  color: var(--text-gray); font-size: .88rem; line-height: 1.6;
}

/* ---- anti-overflow tambahan untuk layar kecil ---- */
@media (max-width: 380px) {
  .std-date { font-size: 4.8rem; }
  .cd-box { min-width: 62px; padding: 10px 6px; }
  .cd-box span { font-size: 1.4rem; }
  .acc-num { font-size: 1.25rem; }
  #galeri .g-card { width: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-expand, .single-more { transition: none; }
}

/* ================================================================
   MAPLE • Spotify: ORDER section yang HIDUP
   ================================================================ */
.order-sec {
  position: relative;
  margin: 48px 0 8px;
  padding: 56px 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--divider);
  background: radial-gradient(ellipse at 50% 120%, rgba(29,185,84,.16) 0%, transparent 60%), var(--bg);
}
.order-glow {
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(29,185,84,.07) 60deg, transparent 120deg, transparent 180deg, rgba(29,185,84,.07) 240deg, transparent 300deg);
  animation: orderSpin 14s linear infinite;
  pointer-events: none;
}
@keyframes orderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.order-inner { position: relative; max-width: 520px; margin: 0 auto; }
/* mini equalizer yang selalu berdenyut */
.order-eq {
  display: flex; align-items: flex-end; justify-content: center; gap: 4px;
  height: 34px; margin-bottom: 18px;
}
.order-eq span {
  width: 5px; border-radius: 3px;
  background: linear-gradient(to top, var(--green), var(--green-bright));
  box-shadow: 0 0 10px rgba(29,185,84,.6);
  animation: orderEq 1.1s ease-in-out infinite;
}
.order-eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.order-eq span:nth-child(2) { height: 75%; animation-delay: .12s; }
.order-eq span:nth-child(3) { height: 55%; animation-delay: .24s; }
.order-eq span:nth-child(4) { height: 95%; animation-delay: .36s; }
.order-eq span:nth-child(5) { height: 60%; animation-delay: .48s; }
.order-eq span:nth-child(6) { height: 80%; animation-delay: .6s; }
.order-eq span:nth-child(7) { height: 45%; animation-delay: .72s; }
@keyframes orderEq {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}
.order-eyebrow {
  font-size: .72rem; font-weight: 800; letter-spacing: .22em;
  color: var(--green-bright); margin-bottom: 10px;
  text-transform: uppercase;
}
.order-title {
  font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; letter-spacing: -.01em;
  margin-bottom: 10px;
}
.order-sub { color: var(--text-gray); font-size: .95rem; line-height: 1.6; margin-bottom: 26px; }
/* tombol order hidup: glow pulse + shimmer */
.btn-order-live {
  position: relative;
  display: inline-block;
  background: var(--green); color: #000;
  font-weight: 800; font-size: 1.05rem;
  padding: 16px 44px; border-radius: 999px;
  box-shadow: 0 8px 32px rgba(29,185,84,.5);
  animation: orderPulse 2.4s ease-in-out infinite;
  overflow: hidden;
  transition: transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-order-live:hover { transform: scale(1.06); }
.btn-order-live:active { transform: scale(.96); }
.btn-order-live::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: orderShimmer 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orderPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(29,185,84,.5); }
  50% { box-shadow: 0 8px 48px rgba(29,185,84,.85); }
}
@keyframes orderShimmer {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.bol-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: scale(0);
  animation: bolRipple .7s ease-out forwards;
  pointer-events: none;
}
@keyframes bolRipple {
  to { transform: scale(2.6); opacity: 0; }
}
.order-note { color: #6a6a6a; font-size: .78rem; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) {
  .order-glow, .order-eq span, .btn-order-live, .btn-order-live::before { animation: none; }
}

/* ---------- Voice comment (tema Spotify) ---------- */
.voice-row { display: flex; align-items: center; gap: .6rem; margin: .7rem 0 .4rem; }
.btn-voice {
  background: #181818; color: #1DB954;
  border: 1px solid #1DB954; border-radius: 999px;
  padding: .55rem 1.1rem; font-size: .88rem; font-weight: 700;
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-voice:hover { transform: scale(1.05); box-shadow: 0 0 14px rgba(29,185,84,.35); }
.btn-voice.recording {
  background: #1DB954; color: #0a0a0a;
  animation: voicePulse 1.1s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,185,84,.55); }
  50% { box-shadow: 0 0 0 10px rgba(29,185,84,0); }
}
.voice-status { color: #b3b3b3; font-size: .8rem; }
.voice-preview { width: 100%; margin: .3rem 0 .6rem; accent-color: #1DB954; }
.w-audio { width: 100%; margin-top: .5rem; accent-color: #1DB954; }
@media (prefers-reduced-motion: reduce) {
  .btn-voice.recording { animation: none; }
}

/* ---- LOVE STORY: OUR LOVE PLAYLIST ---- */
.love-eyebrow {
  color: var(--text-gray); font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px;
}
.love-title .love-heart {
  color: var(--green-bright); display: inline-block;
  animation: heartBeat 1.6s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.25); }
  24% { transform: scale(1); }
  36% { transform: scale(1.18); }
  48% { transform: scale(1); }
}
.love-sub { color: var(--text-gray); font-size: .9rem; margin: 0 0 14px; }
.love-row, .love-head { grid-template-columns: 32px 52px 1fr 52px; gap: 10px; }
.love-head .t-judul { grid-column: 2 / 4; }
.love-thumb {
  width: 48px; height: 48px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.love-row:hover .love-thumb { transform: scale(1.08); box-shadow: 0 6px 18px rgba(29,185,84,.25); }
.love-row.open .love-thumb { box-shadow: 0 0 0 2px var(--green-bright), 0 6px 18px rgba(29,185,84,.35); }
.love-row.open { background: #16241a; }
.love-row .t-durasi { color: var(--green-bright); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .love-title .love-heart { animation: none; }
}

/* ---------- Instagram link di profil artis ---------- */
.artist-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(29, 185, 84, 0.12);
  border: 1px solid rgba(29, 185, 84, 0.45);
  color: #1db954;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.artist-ig:hover {
  background: rgba(29, 185, 84, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 185, 84, 0.35);
}
.artist-ig .ig-icon {
  width: 17px;
  height: 17px;
  fill: #1db954;
  flex-shrink: 0;
}
/* ============ COOL VOICE BUTTON ============ */
.btn-voice {
  background: linear-gradient(135deg, #e50914 0%, #b00610 100%);
  color: #fff;
  border: none;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 4px 20px rgba(229,9,20,.4), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn-voice::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.btn-voice:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(229,9,20,.6), 0 4px 12px rgba(0,0,0,.4);
}
.btn-voice:hover::before { left: 100%; }
.btn-voice:active { transform: scale(.97); }
.btn-voice.recording {
  background: linear-gradient(135deg, #ff2222 0%, #cc0000 100%);
  animation: voiceCoolPulse 1s ease-in-out infinite;
}
@keyframes voiceCoolPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(229,9,20,.6), 0 4px 20px rgba(229,9,20,.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(229,9,20,0), 0 4px 25px rgba(229,9,20,.7);
    transform: scale(1.05);
  }
}

