/* --- RESET DASAR --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; overflow: hidden; height: 100vh; background: #111; }

/* --- NAVBAR MENU ATAS --- */
.glass-nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; z-index: 100;
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0; transition: opacity 1.5s ease;
}
.nav-logo { color: white; font-weight: 900; font-size: 1.2rem; letter-spacing: 2px; }
.nav-btn { text-decoration: none; color: white; border: 1px solid rgba(255,255,255,0.5); padding: 10px 25px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; transition: all 0.3s ease; background: rgba(255,255,255,0.1); }
.nav-btn:hover { background: white; color: #333; box-shadow: 0 0 15px rgba(255,255,255,0.5); }

/* --- BACKGROUND ANIMASI --- */
.area { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 400% 400%; animation: gradientBG 15s ease infinite; z-index: 1; }
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.circles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.circles li { position: absolute; display: block; list-style: none; width: 20px; height: 20px; background: rgba(255, 255, 255, 0.2); animation: floatUp 25s linear infinite; bottom: -150px; }
.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; } 100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 50%; } }

/* --- OVERLAY PEMBUKA --- */
#start-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
.overlay-content { text-align: center; color: white; }
.welcome-text { font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px;}
.brand-name { font-size: 2rem; font-weight: 900; letter-spacing: 5px; margin-bottom: 30px; }
.enter-btn { padding: 15px 50px; font-size: 1.2rem; font-weight: bold; color: white; background: transparent; border: 2px solid white; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; font-family: 'Montserrat', sans-serif; }
.enter-btn:hover { background: white; color: #333; transform: scale(1.05); }

/* --- MAIN CONTAINER --- */
.main-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 10; opacity: 0; transition: opacity 1s ease; }

/* --- TAHAP 1: TEKS AWAL --- */
#text-section { text-align: center; position: absolute; width: 100%; transition: opacity 2s ease-out; opacity: 1; }
h1 { font-size: 5rem; font-weight: 900; text-transform: uppercase; color: transparent; background: linear-gradient(to right, #fff, #ff00cc, #3333ff, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; animation: shineText 4s linear infinite; }
.subtitle { font-size: 1.5rem; color: white; letter-spacing: 5px; margin-top: 10px; }

/* --- TAHAP 2: GALERI 4 FOTO --- */
#gallery-section { text-align: center; position: absolute; width: 100%; opacity: 0; visibility: hidden; transition: opacity 3s ease-in-out; }
#gallery-section h2 { color: white; font-size: 3rem; margin-bottom: 10px; letter-spacing: 3px; }
.photo-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 0 20px; max-width: 1000px; margin: 0 auto; }
.photo-grid img { width: 200px; height: 250px; object-fit: cover; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 3px solid rgba(255,255,255,0.3); transition: all 0.5s ease; cursor: pointer; }
.photo-grid img:hover { transform: scale(1.1) rotate(2deg); border-color: white; }
.footer-text { margin-top: 40px; color: rgba(255,255,255,0.7); font-size: 0.9rem; letter-spacing: 2px; }

/* --- TAHAP 3: CLOSING SECTION & TOMBOL BAWAH --- */
#closing-section { 
    text-align: center; position: absolute; width: 100%; 
    opacity: 0; visibility: hidden; 
    transition: opacity 3s ease-in; 
}
.cta-container { margin-top: 40px; }

/* Gaya Tombol Besar di Bawah */
.big-cta-btn {
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #ff00cc, #3333ff); /* Warna gradient keren */
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 204, 0.4);
    border: 2px solid rgba(255,255,255,0.2);
    display: inline-block;
}

.big-cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(51, 51, 255, 0.6);
    background: white;
    color: #333;
}

@keyframes shineText { to { background-position: 200% center; } }

/* --- MUSIC PLAYER CONTROL --- */
.music-controls {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 100;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 10px 25px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex; align-items: center; gap: 20px; color: white; opacity: 0; transition: opacity 1s ease;
}
.control-btn { cursor: pointer; font-size: 1.2rem; width: 20px; text-align: center;}
.time-info { font-size: 0.85rem; font-weight: 300; min-width: 80px; text-align: center; }
.volume-box { display: flex; align-items: center; gap: 10px; }
.volume-box i { font-size: 0.9rem; }
input[type=range] { -webkit-appearance: none; width: 80px; height: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: white; cursor: pointer; }

/* --- ZOOM ELEMENT --- */
#photo-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 20000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
#photo-backdrop.active { opacity: 1; pointer-events: auto; cursor: zoom-out; }

#zoomed-photo-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    pointer-events: none; z-index: 20001;
}
#zoomed-photo-container img {
    width: auto; height: auto; max-width: 90vw; max-height: 85vh; object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.8); border: 2px solid rgba(255,255,255,0.8);
    cursor: zoom-out; pointer-events: auto; opacity: 0; transform: scale(0.8); transition: all 0.3s ease-out;
}
#zoomed-photo-container img.visible { opacity: 1; transform: scale(1); }

/* --- RESPONSIF HP --- */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .photo-grid img { width: 44%; height: 180px; margin-bottom: 10px; }
    .music-controls { width: 90%; justify-content: space-between; bottom: 20px;}
    .glass-nav { padding: 15px 20px; }
    .nav-btn { padding: 8px 15px; font-size: 0.75rem; }
    
    /* Tombol Besar di HP */
    .big-cta-btn { font-size: 0.9rem; padding: 12px 30px; }
}