/* ================================== */
/* Palet Warna & Variabel */
/* ================================== */
:root {
    --bg-color-start: #001f40; /* Biru Gelap (Navy) */
    --bg-color-end: #000000;   /* Hitam Penuh */
    --text-color: #E0FFFF;     /* Cyan Sangat Terang */
    --accent-color: #00FFFF;   /* Cyan Neon untuk Aksen */
    --header-bg: rgba(0, 0, 0, 0.8); /* Header Transparan Hitam */
    --card-bg: rgba(0, 20, 40, 0.7); /* Kartu Transparan Biru Gelap (Glassmorphism) */
    --logo-color: #FF00FF;     /* Magenta Menyala */
    --glow-shadow: 0 0 8px rgba(0, 255, 255, 0.6), 0 0 15px rgba(0, 255, 255, 0.3); /* Bayangan Glow Neon */
    --neon-blue: #00bfff;
}

/* ================================== */
/* Pengaturan Dasar & Font */
/* ================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif; /* Font Baca yang Bersih */
    line-height: 1.6;
    /* Gradien Biru ke Hitam */
    background: linear-gradient(135deg, var(--bg-color-start) 0%, var(--bg-color-end) 100%);
    background-attachment: fixed;
    color: var(--text-color);
    padding-top: 70px; /* Padding untuk Header Fixed */
    min-height: 100vh;
}

/* Font Keren untuk Judul */
.name, .content-title, .logo {
    font-family: 'Orbitron', sans-serif; /* Font Futuristik */
    font-weight: 800;
}

/* Nama 'ZDNNAFIZZ' */
.name {
    font-size: 3em;
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color), 0 0 15px rgba(0, 255, 255, 0.7);
    margin: 10px 0;
}

/* Judul Blok Konten */
.content-title {
    font-size: 1.8em;
    color: var(--neon-blue);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--neon-blue);
    padding-bottom: 10px;
}

.icon {
    margin-right: 10px;
    color: var(--accent-color);
}

/* ================================== */
/* ANIMASI LATAR BELAKANG GRID */
/* ================================== */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10; 
    opacity: 0.2; 
    /* Pola Grid Neon Cyan */
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    animation: moveGrid 60s linear infinite;
}

@keyframes moveGrid {
    from { background-position: 0 0; }
    to { background-position: 600px 600px; }
}

/* ================================== */
/* Header dan Logo */
/* ================================== */
.header {
    background-color: var(--header-bg);
    backdrop-filter: blur(5px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
}

.logo {
    font-size: 1.8em;
    color: var(--logo-color); 
    text-decoration: none;
    text-shadow: 0 0 5px var(--logo-color), 0 0 10px #f0f;
    letter-spacing: 3px; 
}

/* ================================== */
/* Kontainer Utama & Kartu */
/* ================================== */
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

hr {
    border: none;
    border-top: 1px dashed rgba(0, 255, 255, 0.3);
    margin: 40px 0;
}

.profile-card, .content-block {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(3px); /* Glassmorphism */
    margin-bottom: 30px;
}

.profile-header {
    text-align: center;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: var(--glow-shadow);
    object-fit: cover;
}

/* ================================== */
/* Keterampilan */
/* ================================== */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--neon-blue);
    color: var(--bg-color-end); /* Teks gelap di atas neon */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9em;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--neon-blue);
}

/* ================================== */
/* Video & Kontak */
/* ================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--glow-shadow);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-link {
    background-color: var(--card-bg);
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-link:hover {
    box-shadow: 0 0 10px var(--accent-color);
    transform: translateX(5px);
}

/* ================================== */
/* Footer */
/* ================================== */
.footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    color: #888;
    font-size: 0.8em;
    margin-top: 50px;
}

/* ================================== */
/* Animasi Fade-in (Agar Tampil Keren) */
/* ================================== */
.fade-in {
    animation: fadeInAnimation 1.5s ease-out forwards;
    opacity: 0; 
}

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.profile-section { animation-delay: 0.2s; }
.skills-section { animation-delay: 0.4s; }
.video-section { animation-delay: 0.6s; }
.contact-section { animation-delay: 0.8s; }

/* ================================== */
/* Responsif Sederhana */
/* ================================== */
@media (max-width: 600px) {
    .name { font-size: 2.2em; }
    .content-title { font-size: 1.5em; }
    .profile-photo { width: 120px; height: 120px; }
    .profile-card, .content-block { padding: 20px; }
}