/* Pengaturan dasar */
:root {
    --primary-color: #007BFF;
    --background-color: #f0f2f5;
    --card-bg-color: #ffffff;
    --text-color: #0e0d0d;
    --link-hover-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Kunci Perubahan: Hapus 'overflow: hidden;' dari body */
body {
    font-family: 'Chivo', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    position: relative;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    z-index: 1; 
    /* Gunakan Flexbox untuk mengatur konten agar responsif */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* =========================== */
/* Header Profil & Efek Hover */
/* =========================== */
.profile-header {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.profile-header:hover {
    transform: scale(1.05);
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0808087b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.678);
    margin-bottom: 15px;
    background: black;
    transition: box-shadow 0.3s ease;
}

.profile-header:hover .profile-pic {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9);
}
 
.profile-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-header .bio {
    font-size: 1rem;
    color: #ddd;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* =========================== */
/* Daftar Tautan & Efek Hover Api */
/* =========================== */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.568);
    color: var(--text-color);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, background-image 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-image: url('assets/birds-13541.gif'); 
    background-size: cover;
    background-position: center;
    color: #080808;
    border-color: orange;
}

.link-item:hover .link-icon {
    filter: brightness(1.5);
}

.link-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    transition: filter 0.3s ease;
}

/* Footer */
.footer {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 0.9rem;
    color: #ccc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* =========================== */
/* MEDIA QUERIES RESPONSIVE */
/* =========================== */

/* Tablet (lebar 601px - 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .profile-header {
        margin-bottom: 35px;
    }
}

/* Ponsel (lebar <= 600px) */
@media (max-width: 600px) {
    .profile-header {
        margin-bottom: 30px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .profile-header h1 {
        font-size: 1.5rem;
    }

    .profile-header .bio {
        font-size: 0.9rem;
    }

    .link-list {
        gap: 12px;
    }

    .link-item {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}