:root {
    --bg-color: #030712;
    --accent-blue: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- ANIMASI SALJU (5 DETIK) --- */
#snow-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

.snowflake {
    position: absolute; top: -10px; background: white;
    border-radius: 50%; opacity: 0.8;
    animation: fall 5s linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-10px) translateX(0); }
    100% { transform: translateY(100vh) translateX(20px); }
}

/* --- LAYOUT UTAMA --- */
.container { width: 90%; max-width: 450px; padding: 40px 0; text-align: center; position: relative; z-index: 10; }

/* --- PROFILE SECTION (Diperbarui agar tidak rapat) --- */
.profile {
    margin-bottom: 50px; /* Jarak bawah ke tombol */
    padding: 0 15px;
}

.img-wrapper {
    width: 115px; 
    height: 115px; 
    margin: 0 auto 25px; /* Jarak foto ke nama */
}

.profile-img { 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--accent-blue); 
}

h1 { 
    font-size: 1.8rem; 
    margin-bottom: 15px; /* Jarak nama ke bio */
    letter-spacing: 1px;
    font-weight: 800;
}

.bio { 
    color: #cbd5e1; 
    font-size: 0.95rem; 
    line-height: 1.8;      /* Jarak antar baris kalimat */
    letter-spacing: 0.3px; 
    max-width: 420px;
    margin: 0 auto;
}

/* --- TOMBOL LINK --- */
.links-container { display: flex; flex-direction: column; gap: 12px; margin: 30px 0; }
.btn {
    background: var(--glass-bg); border: 1px solid rgba(255,255,255,0.1);
    padding: 16px; border-radius: 12px; color: white;
    text-decoration: none; display: flex; align-items: center; gap: 15px; transition: 0.3s;
}
.btn:hover { background: rgba(255,255,255,0.15); border-color: var(--accent-blue); transform: scale(1.02); }
.admin-btn { background: #25d366; color: black; font-weight: bold; border: none; }

/* --- CAROUSEL ANTI-GEPENG --- */
.carousel-wrapper {
    position: relative; width: 100%; height: 250px;
    background: rgba(0,0,0,0.3); border-radius: 15px; overflow: hidden;
}
.track-container { height: 100%; width: 100%; position: relative; }
.track { list-style: none; height: 100%; transition: transform 0.5s ease-in-out; position: relative; }
.slide { position: absolute; top: 0; height: 100%; width: 100%; display: flex; justify-content: center; align-items: center; }

.slide img {
    max-width: 100%; max-height: 100%;
    object-fit: contain; /* Gambar tidak gepeng */
    cursor: pointer;
}

.nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); border: none; color: white;
    padding: 10px; cursor: pointer; z-index: 20; border-radius: 50%;
}
.next { right: 5px; } .prev { left: 5px; }

.dots-nav { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dot { width: 8px; height: 8px; background: #444; border: none; border-radius: 50%; cursor: pointer; }
.current-dot { background: var(--accent-blue); }

/* --- SPOTIFY & MODAL --- */
.music-section { margin-top: 40px; width: 100%; text-align: left; }
.spotify-wrapper { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.section-title { font-size: 1.1rem; margin-bottom: 15px; color: #cbd5e1; display: flex; align-items: center; gap: 8px; }

.modal {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.9);
}
.modal-img {
    margin: auto; display: block; max-width: 90%; max-height: 80%;
    position: relative; top: 50%; transform: translateY(-50%);
}
.close-modal { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; }

/* --- ANIMASI --- */
.fade-in { opacity: 0; animation: fIn 0.8s forwards; }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fUp 0.6s forwards; }
@keyframes fIn { to { opacity: 1; } }
@keyframes fUp { to { opacity: 1; transform: translateY(0); } }

footer { margin-top: 40px; color: #475569; font-size: 0.8rem; padding-bottom: 30px; }
