/*index.html css start*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
}

/* 1. Keadaan default body: Tak Terlihat */
body {
    opacity: 0;
    transition: opacity 0.6s ease-in-out; /* Durasi transisi */
    background-color: #000; /* Biar transisi gelapnya cantik */
}

/* 2. Saat halaman sudah siap muncul */
body.page-loaded {
    opacity: 1 !important;
}

/* 3. Saat proses pindah halaman */
body.fade-out {
    opacity: 0 !important;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Agar video tidak keluar jalur */
    display: flex;
    flex-direction: column;
}

/* 1. Lapisan Video (Paling Bawah) */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; /* Angka terkecil */
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 2. Lapisan Siluet Hitam (Di atas Video) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gunakan linear-gradient agar siluetnya lebih estetik (gelap di bawah/atas) */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    z-index: 2; /* Di atas video */
}

.hero-content {
    position: relative;
    z-index: 1; /* Pastikan teks di paling depan */
    /* ... sisa css kamu ... */
}

header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
}


.logo {
    height: 80px;
    width: auto;

}

.header-btns {
    display: flex;
    gap: 20px;
}


/* Konten Tengah */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin: auto;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 0px;
}

.h2 {
    font-size: 1,5rem;
    font-weight: 100px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: grey;
}

/* TOMBOL MASUK */
.btn-signin {
    background-color: #e50914;
    color: #fff;
    text-decoration: none;
    padding: 7px 17px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: grey;
}

/* FORM */
.cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cta-form input[type="text"] {
    width: 450px;
    padding: 18px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #8c8c8c;
    color: white;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-start {
    background-color: #e50914;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
/*index.html css end*/

/*Rensponsive for Handphone Start*/
@media (max-width: 476px) {
    header {
        padding: 15px 20px;
    }

    .logo {
        height: 50px; /* Logo diperkecil di HP */
    }

    .video-bg {
        /* Memastikan video memenuhi layar portrait */
        width: 100%;
        height: 100%;
        
        /* Kuncinya di sini: 'cover' akan memotong bagian kiri-kanan video 
           landscape agar pas dengan rasio 9:16 HP tanpa merusak proporsi */
        object-fit: cover; 
        
        /* Reset transform jika tidak diperlukan, atau biarkan tetap di tengah */
        top: 0;
        left: 0;
        transform: none;
        
        /* Opsional: Jika video kamu aslinya landscape dan 
           objek pentingnya ada di tengah, gunakan ini: */
        object-position: center center;
    }

    .hero {
        /* Pastikan container hero benar-benar setinggi layar HP */
        height: 100vh;
        width: 100vw;
    }

    .hero-content {
        padding: 10px;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 28px; /* Ukuran teks judul diperkecil */
        line-height: 1.2;
    }

    .h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .cta-text {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    /* FORM HP: Input dan Tombol jadi tumpuk (Stack) */
    .cta-form {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .cta-form input[type="text"] {
        width: 100%; /* Lebar penuh di HP */
        padding: 14px;
        font-size: 0.9rem;
    }

    .btn-start {
        width: 100%; /* Tombol jadi lebar penuh */
        justify-content: center;
        font-size: 1.2rem;
        padding: 12px;
    }
}
/*Rensponsive for Handphone End*/