/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #3a7bd5, #3a7bd5);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Animasi Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Partikel */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: transparent;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

header:hover .logo {
    transform: scale(1.05);
}

/* Navbar Links */
nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

nav a:hover {
    background: rgba(0, 0, 0, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Main Content */
main {
    padding: 40px 20px;
    text-align: center;
    color: white;
    max-width: 1000px;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

/* Glassmorphism Buttons */
ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

ul li {
    display: inline-block;
    margin: 10px;
}

ul li a {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 12px;
    background: rgba(63, 62, 62, 0.4);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgb(255, 255, 255);
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

ul li a:hover {
    background: rgba(127, 255, 144, 0.959);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    h2 {
        font-size: 32px;
    }
}
