/* === GENERAL STYLE === */
body {
    font-family: "Poppins", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
    overflow-x: hidden;
}

/* HEADER */
header {
    background: rgba(15, 52, 96, 0.9);
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

nav a {
    color: #e94560;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease-in-out;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #e94560;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* MAIN */
main {
    padding: 30px;
    text-align: center;
}

.foto-profil {
    width: 160px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #e94560;
    transition: transform 0.3s ease-in-out;
}

.foto-profil:hover {
    transform: scale(1.1) rotate(5deg);
}

/* TABLE */
table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

table, th, td {
    border: 1px solid #e94560;
    padding: 12px;
    text-align: left;
}

th {
    background: rgba(233, 69, 96, 0.8);
}

.glow {
    animation: glow 2s infinite alternate;
}

/* LIST */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: rgba(255,255,255,0.1);
    margin: 8px auto;
    padding: 10px;
    width: 200px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, background 0.3s;
}

ul li:hover {
    transform: scale(1.1);
    background: rgba(233, 69, 96, 0.8);
}

/* FOOTER */
footer {
    background: rgba(15, 52, 96, 0.9);
    padding: 10px;
    text-align: center;
    margin-top: 30px;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideUp {
    from {transform: translateY(30px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    from { box-shadow: 0 0 5px #e94560, 0 0 10px #e94560; }
    to { box-shadow: 0 0 20px #e94560, 0 0 40px #e94560; }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

.slide-up {
    animation: slideUp 1.5s ease-in-out;
}

.bounce {
    animation: bounce 3s infinite;
}
