/* ============================================================
   TEMA 20 — SPOTIFY (PREMIUM)
   Konsep diadaptasi dari Wedify (MIT, xsrazy/Wedify): undangan
   sebagai album, jadwal sebagai tracklist, pemutar di bawah.
   Kode ditulis sendiri untuk wedday, bukan salinan Wedify.
   Semua aturan hanya aktif saat <html data-tema="tema-20">.
   Huruf biasa tanpa jarak (skill desain), tepi dari isi (fill).
   ============================================================ */

html[data-tema="tema-20"] {
    --spotify-green: #1db954;
    --spotify-green-bright: #1ed760;
    --spotify-ink: #000000;
    --spotify-panel: #121212;
    --spotify-card: #181818;
    --spotify-field: #2a2a2a;
    --spotify-text: #ffffff;
    --spotify-muted: #b3b3b3;
    background: var(--spotify-ink);
}

html[data-tema="tema-20"] body {
    background: var(--spotify-ink);
    color: var(--spotify-text);
}

/* Ornamen bunga tidak cocok dengan Spotify: disembunyikan. */
html[data-tema="tema-20"] .section-ornament,
html[data-tema="tema-20"] .section-bg-blur,
html[data-tema="tema-20"] .flower-divider {
    display: none;
}

/* Umpan gelap terus-menerus, tanpa kartu krem. */
html[data-tema="tema-20"] .section-card {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--spotify-panel);
}

html[data-tema="tema-20"] .section-inner {
    background: transparent;
    text-align: left;
}

html[data-tema="tema-20"] .section-title {
    color: var(--spotify-text);
    text-align: left;
}

html[data-tema="tema-20"] .section-subtitle,
html[data-tema="tema-20"] .section-text,
html[data-tema="tema-20"] .cover-subtitle,
html[data-tema="tema-20"] .countdown-label,
html[data-tema="tema-20"] .event-address {
    color: var(--spotify-muted);
}

html[data-tema="tema-20"] .couple-headline {
    color: var(--spotify-text);
    font-weight: 500;
}

/* ==================== SPLASH: SAMPUL ALBUM ==================== */
html[data-tema="tema-20"] #cover-modal {
    background: var(--spotify-panel);
}

html[data-tema="tema-20"] #cover-modal::after {
    opacity: 0;
}

html[data-tema="tema-20"] #cover-modal .cover-ornament,
html[data-tema="tema-20"] #cover-modal .cover-photo-floral {
    display: none;
}

html[data-tema="tema-20"] #cover-modal .cover-label {
    display: none;
}

html[data-tema="tema-20"] #cover-modal .cover-photo {
    display: none;
}

/* Sampul album: foto pasangan, dibuat spotifyMotion.js. */
html[data-tema="tema-20"] .spotify-album-art {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

html[data-tema="tema-20"] .spotify-album-label {
    color: var(--spotify-muted);
    font-size: 0.75rem;
    margin: 18px 0 0;
}

html[data-tema="tema-20"] .spotify-album-title {
    color: var(--spotify-text);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 4px 0 0;
}

html[data-tema="tema-20"] #cover-modal .cover-to,
html[data-tema="tema-20"] #cover-modal .cover-to * {
    color: var(--spotify-text);
}

/* Tombol putar hijau bundar: teks disembunyikan, segitiga dari CSS. */
html[data-tema="tema-20"] #cover-modal #btn-open-invitation {
    width: 64px;
    height: 64px;
    padding: 0;
    margin: 20px auto 0;
    border-radius: 50%;
    background: var(--spotify-green);
    color: transparent;
    font-size: 0;
    position: relative;
}

html[data-tema="tema-20"] #cover-modal #btn-open-invitation::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-38%, -50%);
    border-left: 20px solid var(--spotify-ink);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* ==================== HERO ALBUM ==================== */
html[data-tema="tema-20"] #section-cover .section-card {
    background: linear-gradient(180deg, rgba(29, 185, 84, 0.32) 0%, var(--spotify-panel) 60%);
}

html[data-tema="tema-20"] #section-cover .section-inner {
    text-align: center;
}

html[data-tema="tema-20"] #section-cover .cover-section-photo {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 16px;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
}

html[data-tema="tema-20"] #section-cover .cover-section-photo::before {
    display: none;
}

html[data-tema="tema-20"] #section-cover .cover-photo-frame {
    width: 100%;
    height: 100%;
    clip-path: none;
    background: none;
    border-radius: 8px;
    overflow: hidden;
}

html[data-tema="tema-20"] #section-cover .cover-photo-frame::before,
html[data-tema="tema-20"] #section-cover .cover-photo-frame::after {
    display: none;
}

html[data-tema="tema-20"] #section-cover .cover-section-img {
    background-size: cover;
    background-position: center;
}

html[data-tema="tema-20"] .date-day,
html[data-tema="tema-20"] .date-number,
html[data-tema="tema-20"] .date-month,
html[data-tema="tema-20"] .date-year {
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .count-value {
    color: var(--spotify-green-bright);
}

html[data-tema="tema-20"] .countdown-item {
    background: var(--spotify-card);
}

html[data-tema="tema-20"] .count-label {
    color: var(--spotify-muted);
}

/* ==================== ACARA: TRACKLIST ==================== */
html[data-tema="tema-20"] #section-event .section-inner {
    counter-reset: spotify-track;
}

html[data-tema="tema-20"] .event-card {
    counter-increment: spotify-track;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding-left: 44px;
    margin-bottom: 8px;
}

html[data-tema="tema-20"] .event-card::before {
    content: counter(spotify-track);
    position: absolute;
    left: 6px;
    top: 22px;
    color: var(--spotify-muted);
    font-size: 1rem;
}

html[data-tema="tema-20"] .event-card-header {
    background: transparent;
    color: var(--spotify-text);
    font-family: var(--ff-body);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    padding: 14px 0 0;
}

html[data-tema="tema-20"] .event-card-body {
    padding: 2px 0 14px;
}

html[data-tema="tema-20"] .event-card-body h5 {
    color: var(--spotify-text);
    font-weight: 400;
}

html[data-tema="tema-20"] .event-card-body .event-location {
    color: var(--spotify-muted);
}

html[data-tema="tema-20"] .calendar-reminder {
    background: var(--spotify-card);
}

html[data-tema="tema-20"] .calendar-reminder span {
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .btn-primary-custom {
    background: var(--spotify-green);
    color: var(--spotify-ink);
}

/* ==================== MEMPELAI: ARTIS ==================== */
html[data-tema="tema-20"] .couple-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

html[data-tema="tema-20"] .couple-card {
    border: none;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    min-height: 0;
    margin-bottom: 0;
}

html[data-tema="tema-20"] .couple-card-bg {
    display: none;
}

html[data-tema="tema-20"] .couple-card-body {
    background: transparent;
    padding: 0;
    text-align: center;
}

html[data-tema="tema-20"] .couple-card-img {
    clip-path: none;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

html[data-tema="tema-20"] .couple-card-body h4 {
    color: var(--spotify-text);
    font-weight: 500;
    margin-top: 10px;
}

html[data-tema="tema-20"] .couple-card-body p {
    color: var(--spotify-muted);
}

html[data-tema="tema-20"] .couple-ampersand-divider {
    display: none;
}

html[data-tema="tema-20"] .spotify-follow {
    margin-top: 10px;
    padding: 7px 18px;
    border: none;
    border-radius: 999px;
    background: var(--spotify-field);
    color: var(--spotify-text);
    font-size: 0.8rem;
    cursor: pointer;
}

html[data-tema="tema-20"] .spotify-follow.following {
    background: var(--spotify-green);
    color: var(--spotify-ink);
}

/* ==================== CERITA: DAFTAR PUTAR ==================== */
html[data-tema="tema-20"] .story-timeline {
    max-width: none;
    counter-reset: spotify-track;
}

html[data-tema="tema-20"] .story-timeline::before {
    display: none;
}

html[data-tema="tema-20"] .story-item {
    display: grid;
    grid-template-columns: 28px 56px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 0;
    padding: 0 0 18px 0;
}

html[data-tema="tema-20"] .story-item::before {
    counter-increment: spotify-track;
    content: counter(spotify-track);
    color: var(--spotify-muted);
    font-size: 0.95rem;
    text-align: center;
}

html[data-tema="tema-20"] .story-node {
    position: static;
    width: 56px;
    height: 56px;
}

html[data-tema="tema-20"] .story-node::before {
    display: none;
}

html[data-tema="tema-20"] .story-node-img,
html[data-tema="tema-20"] .story-node-fallback {
    clip-path: none;
    border-radius: 8px;
    width: 56px;
    height: 56px;
}

html[data-tema="tema-20"] .story-date {
    color: var(--spotify-muted);
    font-style: normal;
    font-family: var(--ff-body);
    font-size: 0.78rem;
}

html[data-tema="tema-20"] .story-content h4 {
    color: var(--spotify-text);
    font-weight: 500;
}

html[data-tema="tema-20"] .story-content p {
    color: var(--spotify-muted);
}

/* ==================== GALERI, PROGRES, NAV ==================== */
html[data-tema="tema-20"] .gallery-slider {
    border-radius: 8px;
}

html[data-tema="tema-20"] .gallery-nav {
    background: rgba(0, 0, 0, 0.65);
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .gallery-dot.active {
    background: var(--spotify-green-bright);
}

html[data-tema="tema-20"] .gallery-modal {
    background: var(--spotify-panel);
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .gallery-modal-header h3,
html[data-tema="tema-20"] .gallery-modal-header button {
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .spotify-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9991;
    background: var(--spotify-green);
    transform: scaleX(0);
    transform-origin: left;
}

html[data-tema="tema-20"] #bottom-nav {
    background: var(--spotify-card);
}

html[data-tema="tema-20"] #bottom-nav .nav-link {
    color: var(--spotify-muted);
}

html[data-tema="tema-20"] #bottom-nav .nav-link.active {
    color: var(--spotify-green-bright);
}

html[data-tema="tema-20"] .btn-audio {
    background: var(--spotify-green);
    color: var(--spotify-ink);
}

/* ==================== RSVP, UCAPAN, HADIAH ==================== */
html[data-tema="tema-20"] .rsvp-card {
    border: none;
    background: var(--spotify-card);
}

html[data-tema="tema-20"] .rsvp-card::before {
    display: none;
}

html[data-tema="tema-20"] .wishes-form-container,
html[data-tema="tema-20"] .wishes-list-container {
    background: var(--spotify-card);
}

html[data-tema="tema-20"] .form-group label {
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .form-group input,
html[data-tema="tema-20"] .form-group select,
html[data-tema="tema-20"] .form-group textarea,
html[data-tema="tema-20"] .rsvp-field textarea {
    background: var(--spotify-field);
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .form-group input::placeholder,
html[data-tema="tema-20"] .form-group textarea::placeholder,
html[data-tema="tema-20"] .rsvp-field textarea::placeholder {
    color: var(--spotify-muted);
}

html[data-tema="tema-20"] .select-trigger {
    background: var(--spotify-field);
    border: none;
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .select-trigger.placeholder .select-value,
html[data-tema="tema-20"] .select-trigger i {
    color: var(--spotify-muted);
}

html[data-tema="tema-20"] .select-menu {
    background: var(--spotify-card);
    border: none;
}

html[data-tema="tema-20"] .select-menu li {
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .select-menu li:hover,
html[data-tema="tema-20"] .select-menu li.selected {
    background: rgba(29, 185, 84, 0.2);
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .wish-item,
html[data-tema="tema-20"] .gift-card {
    background: var(--spotify-card);
    color: var(--spotify-text);
}

html[data-tema="tema-20"] .gift-card .btn-copy {
    background: var(--spotify-green);
    color: var(--spotify-ink);
}

/* ==================== PERBAIKAN HERO ==================== */
/* Foto contoh transparan (cutout): beri latar gelap di belakangnya
   supaya kotak album benar-benar terbaca, bukan cuma siluet. */
html[data-tema="tema-20"] .spotify-album-art {
    background-color: #181818;
}

html[data-tema="tema-20"] #section-cover .cover-photo-frame {
    background: #181818;
}

/* Hero lebih ringkas supaya muat satu layar. */
html[data-tema="tema-20"] #section-cover .cover-section-photo {
    width: 200px;
    height: 200px;
}



