@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */


/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    font-family: 'Serif', 'Georgia', serif;
    color: #6d5d4b;
    background-color: #1a2a33;

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.left-metadata .match {
    color: #46d369;
    /* Hijau khas Match Netflix */
}

.left-metadata .year,
.left-metadata .seasons {
    color: #ffffff;
}

.left-metadata .age-rating {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 6px;
    font-size: 0.7rem;
    border-radius: 2px;
    color: #fff;
}

/* Sedikit penyesuaian pada bride-name agar tidak terlalu mepet ke metadata */
.bride-name-cursive {
    margin: 5px 0 10px 0 !important;
}

/* Animasi khusus untuk metadata agar muncul setelah nama */
.left-metadata {
    animation: fadeInUpNetflix 1.8s ease-out;
}

.left-section {
    flex: 1.4;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    position: relative;
    overflow: hidden;
    /* Efek Zoom masuk saat pertama kali dimuat */
    animation: cinematicScale 10s infinite alternate ease-in-out;
}

/* Overlay Gelap Khas Netflix */
.left-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Gradient hitam pekat dari bawah ke tengah */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Efek Grain/Noise tipis untuk tekstur film digital */
.left-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.left-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: left;
    /* Berubah ke kiri agar lebih seperti UI film */
    animation: fadeInUpNetflix 1.5s ease-out;
}

.left-content h2 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #E50914;
    /* Aksen merah Netflix */
}

.bride-name-cursive {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Ganti ke Sans-serif tebal */
    font-size: 4.5rem;
    margin: 5px 0 20px 0;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-style: normal;
    /* Netflix tidak pakai italic untuk judul utama */
}

.wedding-date {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: #e5e5e5;
    border-left: 3px solid #E50914;
    /* Ganti garis border ke samping (left border) */
    padding: 5px 0 5px 15px;
    display: block;
    margin-top: 10px;
}

/* Animasi Background Zoom */
@keyframes cinematicScale {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Animasi Masuk Teks */
@keyframes fadeInUpNetflix {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}


/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    z-index: 99;
}


.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.0); */
}

/* first  */
/* 1. Animasi Poster (Efek Zoom Out Halus) */
.animate-on-load .poster-img {
    animation: zoomOutEffect 3s ease-out forwards;
}

@keyframes zoomOutEffect {
    from {
        transform: scale(1.2);
        filter: brightness(0);
    }

    to {
        transform: scale(1);
        filter: brightness(0.7) contrast(1.1);
    }
}

/* 2. Default State untuk elemen yang akan muncul */
.animate-on-load .reveal-item {
    opacity: 0;
    transform: translateY(20px);
}

/* 3. Trigger Animasi Teks & Tombol */
.animate-on-load .reveal-item {
    animation: fadeInUpNetflix 0.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeInUpNetflix {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Staggered Delay (Urutan Muncul) */
.animate-on-load .n-logo {
    animation-delay: 0.5s;
}

.animate-on-load .movie-title {
    animation-delay: 0.8s;
}

.animate-on-load .metadata {
    animation-delay: 1s;
}

.animate-on-load .guest-synopsis {
    animation-delay: 1.2s;
}

.animate-on-load .action-buttons {
    animation-delay: 1.4s;
}

.animate-on-load .netflix-badge {
    animation-delay: 1.7s;
}

/* 5. Efek Logo N (Flicker khas Film) */
.animate-on-load .n-red {
    animation: nFlicker 2s ease-in-out infinite alternate;
}

@keyframes nFlicker {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(229, 9, 20, 0.8), 0 0 30px rgba(229, 9, 20, 0.4);
    }
}

.first-screen {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Konten di bawah seperti UI Netflix */
    padding-bottom: 80px;
}

/* Background & Overlay */
.main-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Memberikan kesan sinematik */
    filter: brightness(0.7) contrast(1.1);
}

.netflix-overlay {
    position: absolute;
    inset: 0;
    /* Gradasi gelap khas Netflix agar teks terbaca */
    background: linear-gradient(to top, #000 15%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 40%);
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    width: 100%;
    max-width: 800px;
}

/* Logo N Series */
.n-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.n-red {
    color: #E50914;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.series-text {
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #aaa;
}

/* Movie Title */
.movie-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -2px;
    line-height: 1;
}

/* Metadata */
.metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
}

.match-score {
    color: #46d369;
    font-weight: bold;
}

.rating {
    border: 1px solid #777;
    padding: 0 5px;
    font-size: 0.7rem;
}

.year,
.duration {
    color: #fff;
}

/* Synopsis Style Guest Name */
.guest-synopsis {
    max-width: 500px;
    margin-bottom: 30px;
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-play {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.7);
}

.btn-info {
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Badge */
.netflix-badge {
    position: absolute;
    top: 40px;
    left: 5%;
    font-weight: bold;
    letter-spacing: 5px;
    font-size: 0.8rem;
    z-index: 2;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .movie-title {
        font-size: 3rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-play,
    .btn-info {
        width: 100%;
        justify-content: center;
    }
}

/* opening  */
.opening-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 60px 20px;
    overflow: hidden;
    /* Penting agar slide tidak keluar */
}

/* Background Slideshow Logic */
.opening-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    animation: slideAnimation 15s infinite;
    /* 3 foto x 5 detik */
}

/* Delay tiap slide */
.slide-item:nth-child(2) {
    animation-delay: 5s;
}

.slide-item:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    5% {
        opacity: 0.4;
    }

    /* Opacity rendah agar konten depan tetap tajam */
    33% {
        opacity: 0.4;
        transform: scale(1);
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(20, 20, 20, 0.4) 0%, rgba(20, 20, 20, 0.9) 100%);
    z-index: 1;
}

/* Konten tetap di atas slideshow */
.netflix-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

/* Typography & Layout (Sesuai gaya Netflix Anda sebelumnya) */
.opening-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.profile-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.profile-card {
    cursor: pointer;
    width: 150px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-card:hover {
    transform: scale(1.1);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.profile-card:hover .profile-avatar {
    border-color: #fff;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-avatar {
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-icon {
    font-size: 4rem;
    font-weight: 900;
    color: #E50914;
}

.profile-name {
    display: block;
    font-size: 1.6rem;
    text-shadow: 3px 3px 5px #ffffff;
    color: #000000;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.profile-card:hover .profile-name {
    color: #fff;
}

.btn-manage {
    background: transparent;
    border: 1px solid #808080;
    color: #808080;
    padding: 10px 30px;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-manage:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsif */
@media (max-width: 768px) {
    .profile-card {
        width: 120px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }
}

/* --- Animation (Sesuai Observer Anda) --- */
.opening-section .reveal-item {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.opening-section.reveal .reveal-item {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Delay */
.opening-section.reveal .profile-card:nth-child(1) {
    transition-delay: 0.2s;
}

.opening-section.reveal .profile-card:nth-child(2) {
    transition-delay: 0.4s;
}

.opening-section.reveal .profile-card:nth-child(3) {
    transition-delay: 0.6s;
}

.opening-section.reveal .manage-profile {
    transition-delay: 0.8s;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .profile-card {
        width: 120px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }
}

/* quotes  */
.quotes-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
    padding: 100px 0;
}

/* Background Image & Overlay */
.quotes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Membuat teks lebih menonjol */
}

.vignette-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0) 50%);
}

/* Content Area */
.quotes-content {
    position: relative;
    z-index: 2;
    padding: 0 8%;
    max-width: 800px;
}

.category-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.red-line {
    width: 4px;
    height: 25px;
    background-color: #E50914;
}

.quote-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    font-weight: 700;
}

.quote-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    line-height: 1.5;
    color: #e5e5e5;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.quote-author {
    font-size: 1.2rem;
    color: #aaa;
    font-weight: 500;
}

/* UI Controls Mockup */
.ui-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

.age-badge {
    background: rgba(51, 51, 51, 0.6);
    border-left: 3px solid #dcdcdc;
    padding: 5px 20px 5px 10px;
    font-weight: bold;
    font-size: 1rem;
}

/* --- Animasi On Scroll --- */
.quotes-section .reveal-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.quotes-section.reveal .reveal-item {
    opacity: 1;
    transform: translateX(0);
}

.quotes-section.reveal .category-tag {
    transition-delay: 0.2s;
}

.quotes-section.reveal .quote-text {
    transition-delay: 0.4s;
}

.quotes-section.reveal .quote-author {
    transition-delay: 0.6s;
}

.quotes-section.reveal .ui-controls {
    transition-delay: 0.8s;
}

/* Mobile View */
@media (max-width: 768px) {
    .vignette-overlay {
        background: linear-gradient(to top, #000 9%, rgba(0, 0, 0, 0.4) 37%);
    }

    .quotes-content {
        padding: 0 5%;
        text-align: center;
    }

    .category-tag {
        justify-content: center;
    }
}

/* couple  */
.couple-section {
    padding: 100px 20px;
    background-color: #141414;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.couple-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.salam {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E50914;
    /* Merah Netflix */
    margin-bottom: 15px;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #d2d2d2;
}

.section-label {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 4px solid #E50914;
}

/* Cast Grid */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cast-card {
    display: flex;
    flex-direction: column;
}

.cast-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cast-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cast-card:hover .cast-poster img {
    transform: scale(1.05);
}

/* Overlay Follow Instagram */
.cast-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cast-card:hover .cast-overlay {
    opacity: 1;
}

.ig-badge {
    background: #000000;
    color: #ff0000;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Cast Detail */
.cast-info {
    margin-top: 20px;
}

.cast-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.cast-role {
    color: #E50914;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.family-detail {
    color: #a3a3a3;
    font-size: 0.95rem;
    line-height: 1.5;
}

.parents {
    color: #fff;
    font-weight: 600;
    margin-top: 5px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cast-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cast-name {
        font-size: 1.6rem;
    }

    .cast-poster {
        aspect-ratio: 4/5;
        /* Lebih pendek sedikit di mobile */
    }
}

/* --- Animation --- */
.couple-section .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.couple-section.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .cast-card:nth-child(1) {
    transition-delay: 0.3s;
}

.couple-section.reveal .cast-card:nth-child(2) {
    transition-delay: 0.5s;
}

/* Styling Label Bride n Groom */
.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding-left: 5px;
}

.netflix-logo-small {
    color: #E50914;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.series-label-top {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #E5E5E5;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    opacity: 0.8;
}

/* Sedikit penyesuaian pada section-label agar jaraknya pas */
.section-label {
    font-size: 1.8rem;
    /* Sedikit lebih besar untuk nama 'Starring' */
    font-weight: 800;
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 4px solid #E50914;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Efek Glow Tipis pada N Logo */
.netflix-logo-small {
    animation: glowN 3s ease-in-out infinite alternate;
}

@keyframes glowN {
    from {
        text-shadow: 0 0 5px rgba(229, 9, 20, 0.2);
    }

    to {
        text-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
    }
}

/* Penyesuaian Responsif */
@media (max-width: 768px) {
    .series-label-top {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .netflix-logo-small {
        font-size: 1.4rem;
    }
}

/* save date  */
.save-the-date {
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

/* Badge New Season */
.new-season-badge {
    background-color: #E50914;
    color: #fff;
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 40px;
    border-radius: 2px;
}

/* Layout Grid */
.std-main-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Date Poster Visual */
.std-poster-wrapper {
    position: relative;
}

.date-poster {
    background: #1a1a1a;
    width: 200px;
    height: 280px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    z-index: 2;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.date-poster .month {
    font-size: 1.5rem;
    color: #E50914;
    font-weight: 800;
    letter-spacing: 5px;
}

.date-poster .day {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0;
}

.date-poster .year {
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 3px;
}

.poster-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Info Content */
.std-status {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.std-title {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 25px;
}

.std-synopsis {
    color: #888;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Action Buttons */
.std-actions {
    display: flex;
    gap: 30px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.action-item:hover {
    color: #E50914;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.action-item span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Progress Bar (Video UI) */
.std-progress-container {
    max-width: 900px;
    margin: 80px auto 0;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #333;
    position: relative;
    border-radius: 10px;
}

.progress-filled {
    width: 70%;
    /* Progress menuju hari H */
    height: 100%;
    background: #E50914;
    border-radius: 10px;
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #E50914;
    border-radius: 50%;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #777;
    font-weight: bold;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .std-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .std-poster-wrapper {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
    }

    .std-synopsis {
        margin: 0 auto 30px;
    }

    .std-actions {
        justify-content: center;
    }
}

/* --- Animation --- */
.save-the-date .reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.save-the-date.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* event  */
.event-section {
    padding: 80px 20px;
    background-color: #141414;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

.episodes-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.season-selector {
    background: #2f2f2f;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

/* Episode Card List */
.episode-list {
    max-width: 900px;
    margin: 0 auto;
}

.episode-card {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    gap: 25px;
    transition: background 0.3s ease;
}

.episode-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.ep-number {
    font-size: 1.5rem;
    color: #808080;
    font-weight: 400;
    min-width: 30px;
    text-align: center;
}

.ep-thumbnail {
    position: relative;
    width: 200px;
    aspect-ratio: 9 / 9;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.ep-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ep-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.episode-card:hover .ep-play-overlay {
    opacity: 1;
}

.ep-info {
    flex-grow: 1;
}

.ep-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ep-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.ep-duration {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.ep-synopsis {
    font-size: 0.9rem;
    color: #d2d2d2;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ep-location,
.btn-maps {
    font-size: 0.85rem;
    color: #E50914;
    /* Merah Netflix untuk link/lokasi */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.btn-maps:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .episode-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .ep-number {
        display: none;
        /* Sembunyikan nomor di mobile agar ringkas */
    }

    .ep-thumbnail {
        width: 100%;
    }

    .ep-top-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* --- Animation --- */
.event-section .reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.event-section.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* story  */
.story-section {
    padding: 100px 20px;
    background-color: #141414;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.story-header {
    margin-bottom: 50px;
    padding-left: 5%;
}

.story-label {
    color: #E50914;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Poster Side */
.poster-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.main-story-img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.poster-container:hover .main-story-img {
    transform: scale(1.03);
}

.poster-overlay-top {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 2px;
}

.top-10-badge {
    background: #E50914;
    padding: 2px 5px;
    font-weight: 900;
    font-size: 0.7rem;
}

.trend-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Story List Side */
.story-timeline-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-part {
    border-bottom: 1px solid #333;
    padding-bottom: 25px;
}

.part-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.part-number {
    color: #E50914;
    font-weight: 800;
    font-size: 1.1rem;
}

.part-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.part-summary {
    color: #a3a3a3;
    line-height: 1.6;
    font-size: 1rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-poster-side {
        max-width: 300px;
        margin: 0 auto;
    }

    .story-header {
        text-align: center;
        padding-left: 0;
    }

    .part-title {
        font-size: 1.1rem;
    }
}

/* --- Animation --- */
.story-section .reveal-item {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.8s ease-out;
}

.story-section.reveal .reveal-item {
    opacity: 1;
    transform: translateX(0);
}

.story-section.reveal .story-part:nth-child(1) {
    transition-delay: 0.3s;
}

.story-section.reveal .story-part:nth-child(2) {
    transition-delay: 0.5s;
}

.story-section.reveal .story-part:nth-child(3) {
    transition-delay: 0.7s;
}

/* galeri  */
.gallery-section {
    padding: 80px 20px;
    min-height: 70vh;
    background-color: #141414;
    color: #fff;
}

.gallery-header {
    margin-bottom: 30px;
    padding-left: 20px;
}

.gallery-label {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #e5e5e5;
}

.gallery-title {
    font-size: 0.9rem;
    color: #808080;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Netflix Grid */
.netflix-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    /* Proporsi poster vertikal Netflix */
    border-radius: 4px;
    overflow: hidden;
    background-color: #2f2f2f;
}

.card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

/* Hover Effect ala Netflix Hover Card */
.gallery-card:hover {
    transform: scale(1.08);
    z-index: 10;
}

.card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-card:hover .card-play-btn {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #E50914;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 2px;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .netflix-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Kolom di mobile */
        gap: 10px;
    }
}

/* --- Animation (Observer) --- */
.gallery-section .reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.gallery-section.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* rsvp  */
.rsvp-section {
    padding: 30px 20px;
    background-color: #141414;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.rsvp-header {
    max-width: 1000px;
    margin: 0 auto 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.reviews-label {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #46d369;
    font-weight: bold;
    font-size: 0.9rem;
}

.star-rating i {
    color: #f1c40f;
}

.rsvp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Netflix Floating Label Form */
.rsvp-form-card {
    background: #000;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.input-box {
    position: relative;
    margin-bottom: 25px;
}

.input-box input,
.input-box select,
.input-box textarea {
    width: 100%;
    padding: 15px 15px 5px;
    background: #333;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #8c8c8c;
    transition: 0.2s;
    pointer-events: none;
}

/* Floating Label Logic */
.input-box input:focus~label,
.input-box input:valid~label,
.input-box select:focus~label,
.input-box select:valid~label,
.input-box textarea:focus~label,
.input-box textarea:valid~label {
    top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

.btn-submit-review {
    width: 100%;
    padding: 15px;
    background: #E50914;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit-review:hover {
    background: #b20710;
}

/* Review Cards List */
.wishes-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.review-top {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: #E50914;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 1rem;
}

.review-date {
    font-size: 0.75rem;
    color: #888;
}

.status-tag {
    color: #46d369;
    font-weight: 700;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d2d2d2;
}

/* Responsive */
@media (max-width: 768px) {
    .rsvp-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-form-card {
        padding: 30px 20px;
    }
}

/* gift  */
.gift-section {
    padding: 100px 20px;
    background-color: #141414;
    color: #fff;
    text-align: center;
}

.gift-header {
    margin-bottom: 60px;
}

.gift-subtitle {
    color: #E50914;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.gift-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.gift-desc {
    color: #a3a3a3;
    max-width: 600px;
    margin: 0 auto;
}

/* Plan Grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: #000;
    border: 1px solid #333;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: scale(1.05);
}

.plan-card.featured {
    border: 2px solid #E50914;
}

.plan-header {
    background: #E50914;
    padding: 20px;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.plan-body {
    padding: 40px 20px;
    flex-grow: 1;
}

.acc-number {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.acc-name {
    color: #808080;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.address-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.plan-features li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #d2d2d2;
}

.plan-features i {
    color: #E50914;
    margin-right: 10px;
}

/* Copy Button */
.btn-copy {
    width: 100%;
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy.highlight {
    background: #E50914;
}

.btn-copy:hover {
    opacity: 0.8;
}

/* Badge Most Popular */
.best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E50914;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 900;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.closing-section {
    padding: 100px 20px 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    position: relative;
}

/* Final Photo Frame */
.final-frame {
    position: relative;
    max-width: 600px;
    margin: 0 auto 60px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(229, 9, 20, 0.2);
}

.final-photo {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.5);
    /* Gelap untuk teks THE END */
}

.the-end-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Credits Styling */
.credits-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.closing-statement {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b3b3b3;
    margin-bottom: 50px;
}

.cast-names {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hashtag {
    color: #E50914;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 60px;
}

/* Production Badge */
.production-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.n-symbol {
    color: #E50914;
    font-size: 3rem;
    font-weight: 900;
}

.original-label {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #808080;
    font-weight: 700;
}

/* Footer Styling */
.netflix-footer {
    padding: 40px 0;
    border-top: 1px solid #333;
    background: #000;
}

.netflix-footer p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 1px;
}

.netflix-footer i {
    color: #E50914;
}

/* --- Animation on Scroll --- */
.closing-section .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.21, 1, 0.36, 1);
}

.closing-section.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.closing-section.reveal .final-frame {
    transition-delay: 0.2s;
}

.closing-section.reveal .closing-statement {
    transition-delay: 0.5s;
}

.closing-section.reveal .lead-cast {
    transition-delay: 0.8s;
}

.closing-section.reveal .production-logo {
    transition-delay: 1.1s;
}

/* Mobile View */
@media (max-width: 768px) {
    .the-end-overlay {
        font-size: 2rem;
        letter-spacing: 8px;
    }

    .cast-names {
        font-size: 2.2rem;
    }
}

/* Import Google Fonts (Tambahkan di bagian head HTML) */