/* ============================================================
   TEMA 19 — NETFLIX (PREMIUM)
   Adaptasi konsep nikahfix (fork milik user, tanpa berkas lisensi —
   jadi konsepnya yang diadaptasi ke kode wedday sendiri, bukan
   salinan komponen React-nya): profil penonton, hero "Coming Soon",
   pemeran, dan cerita sebagai episode. Semua aturan hanya aktif
   saat <html data-tema="tema-19">. Huruf biasa tanpa jarak
   (skill desain), tepi dari isi (fill), bukan garis tipis.
   ============================================================ */

html[data-tema="tema-19"] {
    --netflix-red: #e50914;
    --netflix-ink: #000000;
    --netflix-panel: #141414;
    --netflix-card: #1a1a1a;
    --netflix-field: #2a2a2a;
    --netflix-text: #ffffff;
    --netflix-muted: #a3a1a1;
    --netflix-chip: #4d4d4d;
    --netflix-green: #46d369;
    background: var(--netflix-ink);
}

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

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

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

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

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

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

html[data-tema="tema-19"] .couple-headline {
    color: var(--netflix-text);
    font-weight: 500;
    text-align: left;
}

/* ==================== SPLASH: SIAPA YANG MENONTON? ==================== */
html[data-tema="tema-19"] #cover-modal {
    background: var(--netflix-ink);
}

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

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

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

html[data-tema="tema-19"] .netflix-wordmark {
    color: var(--netflix-red);
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1;
    margin: 0 0 0.4rem;
}

html[data-tema="tema-19"] .netflix-whos-watching {
    color: var(--netflix-text);
    font-size: 1.35rem;
    margin: 1.8rem 0 1rem;
}

/* Avatar profil: kotak membulat merah, bukan heksagon. */
html[data-tema="tema-19"] #cover-modal .cover-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

html[data-tema="tema-19"] #cover-modal .cover-photo-frame {
    width: 100%;
    height: 100%;
    clip-path: none;
    border-radius: 8px;
    background: linear-gradient(160deg, #e50914, #7a040c);
}

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

html[data-tema="tema-19"] #cover-modal .cover-initials {
    color: var(--netflix-text);
}

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

html[data-tema="tema-19"] #cover-modal #btn-open-invitation {
    background: var(--netflix-red);
    color: var(--netflix-text);
}

/* ==================== HERO: FOTO FULL-BLEED ==================== */
html[data-tema="tema-19"] #section-cover .cover-section-photo {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    z-index: 0;
    filter: none;
}

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

html[data-tema="tema-19"] #section-cover .cover-photo-frame {
    width: 100%;
    height: 100%;
    clip-path: none;
    background: none;
}

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

html[data-tema="tema-19"] #section-cover .cover-section-img {
    background-size: cover;
    background-position: center;
    /* Foto contoh sangat terang (gaun putih): gelapkan supaya semua
       tulisan hero terbaca — hero Netflix memang gelap. */
    filter: brightness(0.5);
}

html[data-tema="tema-19"] #section-cover .cover-section-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.95) 100%);
}

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

html[data-tema="tema-19"] #section-cover .section-inner > *:not(.cover-section-photo) {
    position: relative;
    z-index: 1;
}

html[data-tema="tema-19"] #section-cover .couple-headline,
html[data-tema="tema-19"] #section-cover .cover-subtitle,
html[data-tema="tema-19"] #section-cover .date-day,
html[data-tema="tema-19"] #section-cover .date-number,
html[data-tema="tema-19"] #section-cover .date-month,
html[data-tema="tema-19"] #section-cover .date-year,
html[data-tema="tema-19"] #section-cover .countdown-label,
html[data-tema="tema-19"] #section-cover .netflix-hero-date {
    /* Teks hero HARUS putih: abu-abu tema di atas gaun putih tidak
       terbaca meski foto sudah digelapkan (cek 18:36: "Sabtu" gagal). */
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.9);
}

/* Lencana, meta, dan tagar hero (dibuat netflixMotion.js). */
html[data-tema="tema-19"] .netflix-hero-extra {
    margin-top: 10px;
}

html[data-tema="tema-19"] .netflix-badge-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

html[data-tema="tema-19"] .netflix-coming {
    background: var(--netflix-red);
    color: var(--netflix-text);
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 4px;
}

html[data-tema="tema-19"] .netflix-hero-date {
    color: var(--netflix-text);
    font-size: 0.9rem;
}

html[data-tema="tema-19"] .netflix-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.85rem;
}

html[data-tema="tema-19"] .netflix-match {
    color: var(--netflix-green);
}

html[data-tema="tema-19"] .netflix-rating,
html[data-tema="tema-19"] .netflix-quality {
    background: var(--netflix-chip);
    color: var(--netflix-text);
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 2px;
}

html[data-tema="tema-19"] .netflix-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

html[data-tema="tema-19"] .netflix-tags li {
    background: var(--netflix-chip);
    color: var(--netflix-text);
    font-size: 0.72rem;
    padding: 5px 10px;
    border-radius: 999px;
}

html[data-tema="tema-19"] .netflix-see-detail {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--netflix-text);
    color: var(--netflix-ink);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

html[data-tema="tema-19"] .netflix-chevron {
    display: inline-block;
    margin-left: 6px;
    animation: netflixBounce 1.6s ease-in-out infinite;
}

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

html[data-tema="tema-19"] .couple-card {
    border: none;
    border-radius: 8px;
    background: var(--netflix-card);
    min-height: 0;
    margin-bottom: 0;
}

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

html[data-tema="tema-19"] .couple-card-body {
    background: transparent;
    padding: 0 0 12px;
    text-align: left;
}

html[data-tema="tema-19"] .couple-card-img {
    clip-path: none;
    width: 100%;
    height: 180px;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
}

html[data-tema="tema-19"] .couple-card-body h4 {
    color: var(--netflix-text);
    font-weight: 500;
    padding: 10px 12px 0;
    text-align: left;
}

html[data-tema="tema-19"] .couple-card-body p {
    color: var(--netflix-muted);
    padding: 0 12px;
    text-align: left;
}

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

/* ==================== ACARA ==================== */
html[data-tema="tema-19"] .event-card {
    background: var(--netflix-card);
    border-radius: 8px;
}

html[data-tema="tema-19"] .event-card-header {
    background: var(--netflix-red);
    color: var(--netflix-text);
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
}

html[data-tema="tema-19"] .event-card-body h5 {
    color: var(--netflix-text);
}

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

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

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

html[data-tema="tema-19"] .btn-primary-custom {
    background: var(--netflix-red);
    color: var(--netflix-text);
}

/* ==================== CERITA: DAFTAR EPISODE ==================== */
html[data-tema="tema-19"] .story-timeline {
    max-width: none;
}

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

html[data-tema="tema-19"] .story-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 0 0 20px 0;
}

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

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

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

html[data-tema="tema-19"] .netflix-episode {
    display: block;
    font-size: 0.72rem;
    color: var(--netflix-muted);
    margin-bottom: 2px;
}

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

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

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

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

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

html[data-tema="tema-19"] .gallery-dot.active {
    background: var(--netflix-red);
}

html[data-tema="tema-19"] .gallery-modal {
    background: var(--netflix-ink);
    color: var(--netflix-text);
}

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

html[data-tema="tema-19"] .count-value {
    color: var(--netflix-text);
}

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

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

html[data-tema="tema-19"] #bottom-nav {
    background: var(--netflix-ink);
}

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

html[data-tema="tema-19"] #bottom-nav .nav-link.active {
    color: var(--netflix-red);
}

html[data-tema="tema-19"] .btn-audio {
    background: var(--netflix-red);
    color: var(--netflix-text);
}

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

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

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

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

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

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

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

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

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

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

html[data-tema="tema-19"] .select-menu li:hover,
html[data-tema="tema-19"] .select-menu li.selected {
    background: rgba(229, 9, 20, 0.2);
    color: var(--netflix-text);
}

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

/* ==================== KEYFRAMES ==================== */
@keyframes netflixBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    html[data-tema="tema-19"] .netflix-chevron {
        animation: none;
    }
}




/* Hero Netflix: matikan animasi masuk di sampul.
   Akar "Sabtu" tetap redup: warnanya SUDAH putih (aturan di atas), tapi
   .animate-in memberi transition-delay acak (index % 6) * 70ms (maks 350ms)
   + opacity 0 -> 1 selama 0,7 detik — "Sabtu" (delay terbesar) masih
   setengah transparan saat screenshot/di awal buka. Di sampul, teks harus
   langsung terbaca penuh; animasi masuk tetap jalan di section lain. */
html[data-tema="tema-19"] #section-cover .animate-in {
    opacity: 1;
    transform: none;
}
