:root {
    /* Color Palette: Purple & Deep Black */
    --bg-main: #050505; /* Hitam sangat pekat */
    --bg-secondary: #0a0a0f; /* Sedikit lebih terang untuk contrast */
    
    /* Neon Purple Accents */
    --accent-primary: #8A2BE2; /* BlueViolet - Ungu utama */
    --accent-secondary: #D500F9; /* Magenta cerah untuk gradien */
    --accent-glow: rgba(138, 43, 226, 0.6); /* Efek cahaya ungu */
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

/* --- Global Reset & Typography --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
.code-font { font-family: 'Fira Code', monospace; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.5px; }
h1 { font-size: 3.5rem; background: linear-gradient(to right, #fff, var(--accent-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.container { max-width: 1100px; margin: auto; padding: 5rem 2rem; }
.accent-point { color: var(--accent-secondary); }

/* --- Background Glow Effects (Hiasan Latar) --- */
.bg-glow-1, .bg-glow-2 {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(150px); opacity: 0.15; z-index: -1;
}
.bg-glow-1 { top: -10%; left: -10%; background: var(--accent-primary); }
.bg-glow-2 { bottom: -10%; right: -10%; background: var(--accent-secondary); }

/* --- Reusable Glass Card Style --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03); /* Sangat transparan */
    border: 1px solid rgba(138, 43, 226, 0.2); /* Border ungu tipis */
    backdrop-filter: blur(10px); /* Efek kaca buram */
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.glass-card:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 25px var(--accent-glow); /* Pendaran ungu saat di-hover */
    transform: translateY(-5px);
}

.section-title {
    text-align: center; margin-bottom: 3rem; font-size: 2.5rem;
    text-transform: uppercase; letter-spacing: 2px;
    /* Teks Gradien Ungu */
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* --- Navbar --- */
nav {
    position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(5, 5, 5, 0.8); /* Semi-transparan hitam */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    padding: 1rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: auto; padding: 0 2rem; }
.logo { font-size: 1.8rem; font-weight: 800; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { 
    color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; transition: 0.3s; position: relative;
}
.nav-links a:hover { color: var(--accent-secondary); text-shadow: 0 0 10px var(--accent-glow); }

/* --- Hero Section --- */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 80px;}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.hero-text h3 { color: var(--accent-secondary); margin-bottom: 1rem; font-size: 1.2rem; }
.hero-text p { color: var(--text-secondary); font-size: 1.1rem; max-width: 500px; margin: 1.5rem 0; }

/* Social Icons dengan Glow */
.social-icons { display: flex; gap: 1.5rem; margin-top: 2rem; }
.social-icons a {
    color: var(--text-secondary); font-size: 1.5rem; transition: 0.3s;
    display: flex; align-items: center; justify-content: center; width: 50px; height: 50px;
    border-radius: 50%; background: rgba(255,255,255,0.05);
}
.social-icons a:hover {
    background: var(--accent-primary); color: white;
    box-shadow: 0 0 20px var(--accent-secondary); transform: scale(1.1);
}

/* Gambar Hero dengan Border Menyala */
.image-glow-container {
    position: relative; width: 350px; height: 350px; border-radius: 50%;
    padding: 6px; /* Jarak untuk border gradien */
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), #00f2ff);
    background-size: 200% 200%; animation: gradientBG 5s ease infinite;
    box-shadow: 0 0 50px var(--accent-glow);
}
.image-glow-container img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg-main); }
@keyframes gradientBG { 0% {background-position: 0% 50%;} 50% {background-position: 100% 50%;} 100% {background-position: 0% 50%;} }

/* --- About & Tech Stack --- */
.about-desc p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; }
.tech-stack { display: flex; gap: 1rem; flex-wrap: wrap; }
.tech-item {
    background: rgba(138, 43, 226, 0.1); color: var(--accent-secondary);
    padding: 0.6rem 1.2rem; border-radius: 30px; font-size: 0.9rem; font-weight: 600;
    border: 1px solid var(--accent-primary); display: flex; align-items: center; gap: 8px;
    transition: 0.3s;
}
.tech-item:hover { background: var(--accent-primary); color: white; box-shadow: 0 0 15px var(--accent-glow); }

/* --- Timeline Experience --- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-marker {
    position: absolute; left: -2.6rem; top: 0.5rem; width: 20px; height: 20px;
    background: var(--accent-secondary); border-radius: 50%;
    border: 3px solid var(--bg-main); box-shadow: 0 0 15px var(--accent-secondary);
}
.timeline-content small { color: var(--accent-secondary); display: block; margin-bottom: 0.5rem; }

/* --- Activities Gallery (Cyberpunk Style) --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.gallery-item { 
    position: relative; border-radius: 15px; overflow: hidden; height: 250px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; filter: grayscale(40%); }
.gallery-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9), transparent);
    transform: translateY(100px); transition: 0.4s ease-in-out; opacity: 0;
}
.gallery-overlay h4 { color: var(--accent-secondary); margin-bottom: 0.3rem; }
.gallery-item:hover img { transform: scale(1.1); filter: grayscale(0%); }
.gallery-item:hover .gallery-overlay { transform: translateY(0); opacity: 1; }

/* --- Education Cards --- */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { text-align: center; }
.accent-icon { font-size: 3rem; color: var(--accent-primary); margin-bottom: 1.5rem; text-shadow: 0 0 20px var(--accent-glow); }
.card.highlight-border { border: 1px solid var(--accent-secondary); box-shadow: 0 0 20px rgba(213, 0, 249, 0.2); }
.badge { display: inline-block; background: var(--accent-primary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; margin-top: 1rem; font-weight: bold; }

/* --- Footer --- */
footer { background: #020202; text-align: center; padding: 5rem 0; margin-top: 4rem; border-top: 1px solid rgba(138, 43, 226, 0.1); }
footer h2 { color: var(--text-primary); margin-bottom: 1rem; }
.footer-socials { display: flex; justify-content: center; gap: 1.5rem; margin: 2rem 0; }
.footer-socials a { color: var(--text-secondary); font-size: 1.5rem; transition: 0.3s; }
.footer-socials a:hover { color: var(--accent-secondary); text-shadow: 0 0 15px var(--accent-glow); }
.copyright { color: var(--text-secondary); font-size: 0.9rem; }

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .hero-inner { flex-direction: column-reverse; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .social-icons { justify-content: center; }
    .nav-links { display: none; } /* In a real scenario, you'd add a hamburger menu here */
    .image-glow-container { width: 280px; height: 280px; }
    .timeline { padding-left: 0; }
    .timeline::before { display: none; }
    .timeline-marker { position: relative; left: 0; margin-bottom: 1rem; }
}