/* ============ DASAR & WARNA ============ */
:root {
  --bg: #000;
  --pink: #ff2d6f;
  --red: #ff1f4b;
  --soft: #ffd1e0;
  --white: #fff;
  --kamu-color: #fff; 
  --glow: 0 0 10px rgba(255, 45, 111, .8), 0 0 28px rgba(255, 45, 111, .45);
  --font-title: "Playfair Display", serif;
  --font-script: "Dancing Script", cursive;
  --font-body: "Poppins", sans-serif;
  --font-mono: "Space Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
body.lock { overflow: hidden; }

/* ============ NAVIGASI ============ */
.nav {
  position: fixed; top: 12px; right: 12px; z-index: 50;
  display: flex; gap: 14px; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(10, 0, 5, .75); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 45, 111, .35);
  font-size: 11px;
}
.nav a { color: #ddd; text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--pink); }
.nav-badge { color: var(--pink); font-weight: 600; font-size: 10px; letter-spacing: .06em; }
@media (max-width: 560px) {
  .nav { left: 8px; right: 8px; justify-content: space-between; gap: 6px; padding: 8px 12px; font-size: 10px; }
  .nav-badge { display: none; }
}

/* ============ HALAMAN & GARIS ============ */
.page { position: relative; }
.trail {
  position: absolute; left: 0; top: 0; z-index: 0;
  pointer-events: none; overflow: visible;
}
.trail-base {
  fill: none; stroke: rgba(255, 45, 111, .55); stroke-width: 2.5;
  stroke-dasharray: 9 10; stroke-linecap: round;
}
.trail-run {
  fill: none; stroke: #ffb3cf; stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: .07 1; stroke-dashoffset: .07;
  animation: runTrail 2.6s linear infinite;
}
@keyframes runTrail { to { stroke-dashoffset: -1; } }

.station { position: relative; z-index: 1; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 90px 20px 60px;
}
.hero-inner { max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.badge {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
  border: 1px solid rgba(255, 45, 111, .6); color: var(--soft);
  background: rgba(255, 45, 111, .08); box-shadow: 0 0 14px rgba(255, 45, 111, .35);
}
.title {
  font-family: var(--font-title); font-weight: 900; line-height: 1.02;
  display: flex; flex-direction: column; align-items: center;
}
.t-red {
  font-size: clamp(44px, 11vw, 92px); color: var(--red);
  text-shadow: 0 0 14px rgba(255, 31, 75, .7), 0 0 42px rgba(255, 31, 75, .45);
}
.t-name {
  font-size: clamp(54px, 14vw, 112px); color: var(--kamu-color);
  text-shadow: 0 0 18px rgba(255, 255, 255, .35), 0 0 40px rgba(255, 45, 111, .35);
}
.tagline { font-family: var(--font-script); font-size: clamp(18px, 4vw, 24px); color: var(--pink); margin-top: 16px; }
.desc { margin-top: 14px; max-width: 460px; font-weight: 300; font-size: 14px; line-height: 1.7; color: #ddd; }
.scroll-hint { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--soft); }
.scroll-hint small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.scroll-circle {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--pink); color: var(--pink); box-shadow: var(--glow);
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ============ STASIUN (jarak antar benda dibuat jauh) ============ */
.station:not(.hero) {
  min-height: 150vh; display: flex; align-items: center; padding: 0 12vw;
}
.station.left { justify-content: flex-start; }
.station.right { justify-content: flex-end; }
.station.center { justify-content: center; }
@media (max-width: 700px) {
  .station:not(.hero) { padding: 0 6vw; min-height: 135vh; }
}

.hint {
  position: absolute; top: 14vh; left: 0; right: 0; text-align: center;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255, 45, 111, .55);
}

.item { width: min(300px, 78vw); text-align: center; }
.icon-btn {
  display: block; width: fit-content; height: auto; padding: 0; margin: 0 auto 30px;
  color: var(--pink); filter: drop-shadow(0 0 8px rgba(255, 45, 111, .9)) drop-shadow(0 0 22px rgba(255, 45, 111, .5));
  transition: transform .3s;
  animation: floaty 4s ease-in-out infinite;
}
.icon-btn:hover { transform: scale(1.1) rotate(-3deg); }
.neon-svg { display: block; width: auto; height: 130px; overflow: visible; }
#anchorBouquet .neon-svg { height: 140px; }
#anchorCassette .neon-svg { height: 105px; }
#anchorNotebook .neon-svg { height: 150px; }
@keyframes floaty { 50% { translate: 0 -8px; } }
.caption { font-family: var(--font-script); color: var(--pink); font-size: 20px; }
.item h2 { font-family: var(--font-title); font-size: 22px; margin: 2px 0 8px; }
.item-text { font-size: 12px; font-weight: 300; line-height: 1.7; color: #ccc; margin-bottom: 16px; }

.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--red), var(--pink));
  box-shadow: 0 0 18px rgba(255, 45, 111, .55); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 28px rgba(255, 45, 111, .85); }

.reveal { opacity: 0; transition: opacity 1s ease; }
.reveal.in { opacity: 1; }

.footer-line { display: block; line-height: 1.9; }
.footer { position: relative; z-index: 1; text-align: center; padding: 60px 20px 50px; border-top: 1px solid rgba(255, 45, 111, .15); font-size: 11px; color: #888; }

/* ============ OVERLAY UMUM ============ */
.overlay {
  position: fixed; inset: 0; z-index: 100; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1a0310 0%, #050005 70%, #000 100%);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
  display: grid; place-items: center;
}
.overlay.open { opacity: 1; visibility: visible; }
.close {
  position: absolute; top: 14px; right: 14px; z-index: 20;
  width: 42px; height: 42px; border-radius: 50%; font-size: 16px;
  border: 1.5px solid var(--pink); color: var(--pink); background: rgba(0, 0, 0, .6);
  box-shadow: var(--glow);
}
.ov-title { font-family: var(--font-script); font-size: clamp(24px, 6vw, 36px); color: var(--soft); text-shadow: var(--glow); text-align: center; }
.ov-sub { font-size: 11px; color: #aaa; text-align: center; letter-spacing: .04em; }
.nav-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 10;
  width: 42px; height: 42px; border-radius: 50%; font-size: 26px; line-height: 1;
  border: 1.5px solid var(--pink); color: var(--pink); background: rgba(0, 0, 0, .6); box-shadow: var(--glow);
}
.nav-arrow.prev { left: 6px; } .nav-arrow.next { right: 6px; }
.nav-arrow:disabled { opacity: .25; cursor: default; }

/* ============ BUKET ============ */
.petal-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: -8%;
  background: radial-gradient(circle at 30% 30%, #ffc2d6, var(--pink) 70%, #b3123f);
  border-radius: 150% 0 150% 0; opacity: .85;
  animation: petalFall linear infinite;
  box-shadow: 0 0 10px rgba(255, 45, 111, .5);
}
@keyframes petalFall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(40px, 28vh, 0) rotate(120deg); }
  50%  { transform: translate3d(-30px, 58vh, 0) rotate(240deg); }
  75%  { transform: translate3d(35px, 86vh, 0) rotate(330deg); }
  100% { transform: translate3d(-10px, 115vh, 0) rotate(420deg); }
}
.bq-stage { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.flower { position: relative; width: min(86vw, 400px); aspect-ratio: 1; }
.overlay.open .flower { animation: bloom 1.1s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes bloom { from { transform: scale(.1) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.flower-petals { position: absolute; inset: 0; animation: slowSpin 40s linear infinite; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.flower-petals i, .mini-petals i {
  position: absolute; left: 50%; top: 50%; width: 30%; height: 44%;
  margin-left: -15%; margin-top: -44%; transform-origin: 50% 100%;
  background: radial-gradient(ellipse at 50% 20%, #ffd1e0, var(--pink) 60%, #a80e3a);
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; opacity: .92;
  box-shadow: 0 0 18px rgba(255, 45, 111, .55);
}
.flower-center {
  position: absolute; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; overflow: hidden; border: 4px solid #fff;
  box-shadow: 0 0 0 6px var(--pink), 0 0 36px rgba(255, 45, 111, .9);
  background: linear-gradient(135deg, var(--pink), #5b0a24);
}
.flower-center img, .mini-center img, .vinyl-photo img, .pg-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-photos { position: absolute; inset: 0; }
.float-photo {
  position: absolute; width: 25%; aspect-ratio: 1; cursor: pointer;
  filter: brightness(.35) saturate(.6);
  transition: filter .35s ease, scale .35s ease;
  animation: bobPhoto 4s ease-in-out infinite;
}
.float-photo:hover, .float-photo:focus-visible { filter: brightness(1.1) saturate(1.1) drop-shadow(0 0 14px rgba(255, 45, 111, .9)); scale: 1.1; }
.mini-petals { position: absolute; inset: 0; animation: slowSpin 40s linear infinite; }
.mini-center {
  position: absolute; left: 50%; top: 50%; width: 48%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; overflow: hidden; border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--pink), 0 0 16px rgba(255, 45, 111, .8);
  background: linear-gradient(135deg, var(--pink), #5b0a24);
}
@keyframes bobPhoto { 50% { transform: translateY(-9px) scale(1.04); } }

/* ============ KASET / PIRINGAN ============ */
.cs-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; padding: 56px 0 20px; }
.vinyl-viewport {
  --disc: min(64vw, 300px);
  position: relative; width: 100%; height: calc(var(--disc) + 20px); touch-action: pan-y; user-select: none;
}
.vinyl-track { position: relative; width: 100%; height: 100%; }
.vinyl {
  position: absolute; left: 50%; top: 10px; width: var(--disc); height: var(--disc); margin-left: calc(var(--disc) / -2);
  transition: transform .6s cubic-bezier(.3, .9, .3, 1), opacity .6s; cursor: grab;
}
.vinyl-spin {
  width: 100%; height: 100%; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle, transparent 0 28%, rgba(255, 255, 255, .06) 28.5% 29%, transparent 29.5% 100%),
    repeating-radial-gradient(circle, #0a0a0a 0 3px, #1a1a1a 3px 4px);
  border: 3px solid var(--pink);
  box-shadow: 0 0 26px rgba(255, 45, 111, .7), inset 0 0 40px rgba(0, 0, 0, .9);
}
.vinyl-spin::after { 
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 20%, rgba(255, 255, 255, .13) 25%, transparent 30% 70%, rgba(255, 255, 255, .1) 75%, transparent 80%);
  pointer-events: none;
}
.vinyl-photo {
  position: absolute; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; overflow: hidden; border: 3px solid #fff;
  background: linear-gradient(135deg, var(--pink), #5b0a24); z-index: 2;
}
.vinyl-hole { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; translate: -50% -50%; border-radius: 50%; background: #000; z-index: 3; box-shadow: 0 0 0 2px #fff; }
.vinyl.playing .vinyl-spin { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.player {
  width: min(92vw, 460px); padding: 16px 18px; border-radius: 16px;
  border: 1.5px solid var(--pink); background: rgba(15, 0, 8, .85);
  box-shadow: 0 0 24px rgba(255, 45, 111, .45);
}
.player-info { display: flex; flex-direction: column; text-align: center; margin-bottom: 12px; }
.player-info strong { font-family: var(--font-title); font-size: 18px; }
.player-info span { font-size: 12px; color: var(--pink); }
.player-controls { display: flex; align-items: center; gap: 14px; }
.play-btn {
  flex: none; width: 48px; height: 48px; border-radius: 50%; font-size: 18px;
  background: linear-gradient(135deg, var(--red), var(--pink)); box-shadow: 0 0 18px rgba(255, 45, 111, .7);
}
.progress-wrap { flex: 1; }
.times { display: flex; justify-content: space-between; font-size: 10px; color: #aaa; margin-top: 2px; }
input[type=range] { width: 100%; accent-color: var(--pink); height: 4px; cursor: pointer; }
.volume-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 45, 111, .25); }
.vol-btn { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--pink); transition: .2s; }
.vol-btn:hover { box-shadow: var(--glow); }
.vol-num { flex: none; width: 36px; text-align: right; font-size: 10px; color: #aaa; }
.player-msg { text-align: center; font-size: 10px; color: #ff8aa8; margin-top: 8px; min-height: 14px; }

/* ============ BUKU CATATAN ============ */
.nb-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; padding: 50px 0 16px; }
.book {
  position: relative; width: min(92vw, 780px); height: min(74vh, 520px);
  border-radius: 14px; border: 2px solid var(--pink); background: #0d0409;
  box-shadow: 0 0 34px rgba(255, 45, 111, .55); perspective: 1200px; overflow: hidden;
}
.book-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 22px; z-index: 3;
  background: repeating-linear-gradient(to bottom, transparent 0 16px, var(--pink) 16px 18px, transparent 18px 34px);
  border-right: 2px solid rgba(255, 45, 111, .5); opacity: .8;
}
.book-pages { position: absolute; inset: 0 0 0 22px; }
.pg {
  position: absolute; inset: 0; padding: 26px 56px; display: flex; gap: 24px; align-items: center;
  opacity: 0; pointer-events: none; transform-origin: left center;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(255, 45, 111, .12) 31px 32px);
}
.pg.active { opacity: 1; pointer-events: auto; }
.pg.enter-next { animation: pageNext .6s ease both; }
.pg.enter-prev { animation: pagePrev .6s ease both; }
@keyframes pageNext { from { opacity: 0; transform: translateX(60px) rotateY(-18deg); } to { opacity: 1; transform: none; } }
@keyframes pagePrev { from { opacity: 0; transform: translateX(-60px) rotateY(18deg); } to { opacity: 1; transform: none; } }
.pg-photo {
  flex: 0 0 42%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; transform: rotate(-3deg);
  border: 6px solid #fff; box-shadow: 0 0 20px rgba(255, 45, 111, .6);
  background: linear-gradient(135deg, var(--pink), #5b0a24);
}
.pg-body { flex: 1; min-width: 0; overflow-y: auto; max-height: 100%; }
.pg-body h4 { font-family: var(--font-script); font-size: 30px; color: var(--pink); text-shadow: var(--glow); margin-bottom: 10px; }
.pg-body p { font-size: 14px; line-height: 2.28; color: #f1e6ea; white-space: pre-line; }
.pg-num { position: absolute; bottom: 10px; right: 20px; font-family: var(--font-mono); font-size: 10px; color: var(--pink); }
.pg.no-photo .pg-body { text-align: center; }
.dots { display: flex; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #3a1626; transition: .3s; }
.dots span.on { background: var(--pink); box-shadow: var(--glow); width: 22px; border-radius: 6px; }
@media (max-width: 640px) {
  .book { height: min(78vh, 600px); }
  .pg { flex-direction: column; padding: 22px 46px 28px 30px; gap: 14px; justify-content: center; }
  .pg-photo { flex: none; width: 46%; }
  .pg-body h4 { font-size: 26px; text-align: center; }
  .pg-body p { font-size: 13px; line-height: 2; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
