/* Halaman pengguna: komponen AdminLTE/Bootstrap dengan tata letak lama dan palet Tema C. */
.public-site { background: var(--bs-tertiary-bg); min-height: 100vh; display: flex; flex-direction: column; }
.public-site.landing { background: #fff; }
.public-site h1, .public-site h2, .public-site h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
.public-site h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 12px; }
.public-site h2 { font-size: 1.35rem; margin: 0 0 8px; }
.public-site h3 { font-size: 1.1rem; margin: 0 0 6px; }
.lead { font-size: 1.1rem; color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); font-size: 0.875rem; }
.alt { text-align: center; margin: 14px 0 0; }
.back { margin: 0 0 8px; }
.public-site .section-title { margin-top: 32px; }
.price { font-size: 1.6rem; font-weight: 800; margin: 8px 0; color: var(--ink); }
.inline { display: inline; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Tata letak (sama seperti sebelumnya) */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.main { flex: 1; padding-top: 28px; padding-bottom: 48px; }
.landing-main { flex: 1; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.public-site.landing .site-header { border-bottom-color: transparent; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.site-header .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 0; }
.site-header .nav a:not(.btn) { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.site-header .nav a:not(.btn):hover { background: var(--accent-soft); }
.site-header .nav .btn { min-height: 44px; display: inline-flex; align-items: center; }
.link-btn { background: none; border: 0; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 44px; border-radius: 6px; }
.link-btn:hover { background: var(--accent-soft); }
.site-footer { background: transparent; padding: 20px 0; color: var(--muted); font-size: 0.9rem; text-align: center; border-top: 1px solid var(--line); }
.public-site.landing .site-footer { background: var(--tint); border-top: 0; }

/* Kartu, tombol, formulir */
.card.narrow { max-width: 460px; margin: 0 auto; }
.card.narrow > .card-body { padding: 24px; }
.btn-lg-touch, .public-site .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.public-site .btn.w-100 { display: flex; }
.public-site .btn-sm { min-height: 40px; }
.public-site .btn-ghost { background: #fff; color: var(--ink); border: 1px solid #cfe2e6; }
.public-site .btn-ghost:hover { background: var(--accent-soft); color: var(--ink); }
.public-site .form-control { min-height: 46px; }
.public-site .form-check-input { width: 1.2em; height: 1.2em; margin-top: 0.2em; }

/* Landing */
.hero { background: var(--tint); }
.hero-inner { max-width: 760px; margin: 0 auto; padding: 64px 20px 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.hero h1 { font-size: 2.9rem; line-height: 1.12; margin: 0; }
.hero .lead { margin: 0; font-size: 1.2rem; max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 6px 0 0; }
.hero-cover { width: 100%; max-width: 620px; height: auto; margin-top: 16px; border-radius: 0.375rem; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(15, 42, 51, 0.1); }
.steps { padding-top: 48px; padding-bottom: 24px; }
.steps h2 { text-align: center; font-size: 1.75rem; margin-bottom: 24px; }
.steps ol { list-style: none; padding: 0; margin: 0; }
.steps .card-body { display: flex; flex-direction: column; gap: 6px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; }
.points { padding-top: 16px; padding-bottom: 48px; text-align: center; }
.points p { margin: 0; color: var(--muted); }

/* Koleksi */
.collection .card-body { display: flex; flex-direction: column; gap: 4px; }
.collection p { margin: 0; }
.collection .card-body > .btn { margin-top: auto; }
.collection .card-body > p:last-of-type { margin-bottom: 14px; }
.status-card { margin: 20px 0; }
.status-card .card-body > :last-child { margin-bottom: 0; }
.order-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 2rem; font-weight: 800; letter-spacing: 0.04em; margin: 0 0 16px; user-select: all; color: var(--accent-dark); }
.pay-steps { padding-left: 22px; margin: 0 0 20px; }
.pay-steps li { margin-bottom: 12px; }
.pay-steps .btn { margin-top: 8px; }
.tracklist { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 0.375rem; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 42, 51, 0.04), 0 4px 12px rgba(15, 42, 51, 0.05); }
.tracklist li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e6f0f2; }
.tracklist li:last-child { border-bottom: 0; }
.track-no { width: 24px; font-weight: 700; color: var(--accent-dark); }
.track-title { flex: 1; }
.track-meta { font-size: 0.85rem; color: var(--muted); }
.tracklist li.current { background: var(--accent-soft); font-weight: 700; border-left: 3px solid var(--accent); }
.tracklist a.track-title { color: var(--ink); text-decoration: none; }
.tracklist a.track-title:hover { text-decoration: underline; }

/* Pemutar */
.player-card { max-width: 520px; margin: 0 auto; text-align: center; }
.player-card > .card-body { padding: 24px 20px; }
.player-art { height: 120px; border-radius: 0.375rem; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 3rem; margin-bottom: 16px; }
.player-title { font-size: 1.35rem; margin: 0 0 4px; }
.player-progress { margin: 18px 0 8px; }
.player-progress input[type="range"] { width: 100%; height: 44px; accent-color: var(--accent); background: transparent; cursor: pointer; }
.player-progress input[type="range"]:disabled { cursor: not-allowed; opacity: 0.6; }
.times { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.player-controls { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin: 8px 0; }
.pc { width: 48px; height: 48px; min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer; text-decoration: none; }
.pc:hover { background: var(--accent-soft); color: var(--ink); }
.pc-off { opacity: 0.35; cursor: default; }
.pc-off:hover { background: transparent; }
.pc-main { width: 64px; height: 64px; background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(14, 124, 134, 0.3); }
.pc-main:hover { background: var(--accent-dark); color: #fff; }
.player-msg { min-height: 1.5em; margin: 8px 0 0; }
.player-after { margin: 8px 0 0; padding: 10px 14px; border-radius: 0.375rem; background: var(--ok-bg); color: var(--ok-ink); }
.player-after a { color: var(--ok-ink); font-weight: 700; }

@media (max-width: 520px) {
    .hero h1 { font-size: 2.1rem; }
    .hero-inner { padding-top: 40px; padding-bottom: 40px; }
    .order-code { font-size: 1.6rem; }
}

/* Gambar sampul koleksi */
.cover-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.collection { overflow: hidden; }
.cover-hero { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.375rem; border: 1px solid var(--line); margin-bottom: 16px; display: block; }
