:root {
    --green: #70e000;
    --dark-green: #38b000;
    --yellow: #ffff3f;
    --white: #ffffff;
    --soft-bg: #f0f7ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Lexend', sans-serif; background: var(--soft-bg); overflow-x: hidden; }

nav {
    padding: 20px 5%; display: flex; justify-content: space-between; align-items: center;
    background: white; border-bottom: 4px solid var(--green);
}

.logo { font-family: 'Fredoka One', cursive; font-size: 28px; color: var(--dark-green); }
.logo span { color: #ccff00; text-shadow: 1px 1px 2px #000; }

header {
    height: 80vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green), var(--yellow));
    text-align: center; clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-box { padding: 20px; animation: bounce 2s infinite; }
h1 { font-family: 'Fredoka One'; font-size: 4rem; color: white; text-shadow: 3px 3px var(--dark-green); }
.highlight { color: var(--yellow); }

.btn-main {
    padding: 15px 35px; border: none; border-radius: 50px; background: var(--dark-green);
    color: white; font-weight: bold; cursor: pointer; font-size: 1.1rem; transition: 0.3s;
}
.btn-main:hover { background: black; transform: scale(1.1); }

/* Modal Artikel */
.modal-hidden { display: none; }
.modal-show {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 9999; display: flex; justify-content: center; align-items: center;
}

.modal-content {
    background: white; width: 80%; max-height: 80vh; padding: 40px; border-radius: 30px;
    overflow-y: auto; position: relative; border: 8px solid var(--green);
}

/* Grid Menu */
.container { padding: 80px 10%; text-align: center; }
.grid-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 40px; }

.card {
    background: white; border-radius: 20px; padding: 20px;
    box-shadow: 10px 10px 0px var(--green); transition: 0.3s;
}
.card:hover { transform: translateY(-10px) rotate(2deg); }
.img-wrapper img { width: 100%; height: 200px; object-fit: cover; border-radius: 15px; }

.label { display: inline-block; margin-top: 10px; padding: 5px 15px; background: var(--yellow); border-radius: 20px; font-weight: bold; font-size: 12px; }

/* Footer Anggota */
footer { background: var(--dark-green); color: white; padding: 60px 10%; border-radius: 50px 50px 0 0; }
.anggota-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; }
.name-tag { background: rgba(255,255,255,0.2); padding: 10px 20px; border-radius: 10px; border: 1px dashed white; }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.anggota-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.anggota-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    width: 200px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.anggota-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.profile-frame {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--yellow); /* Bingkai kuning ceria */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar muka nggak gepeng */
}

.anggota-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.anggota-card span {
    font-size: 0.8rem;
    color: var(--yellow);
    font-weight: 300;
}

/* Rumus Gambar Berotot */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-muscle {
    width: 200%;
    max-width: 300px; /* Ukuran bisa kamu sesuaikan */
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.3)); /* Efek bayangan biar dramatis */
    animation: muscleFloat 3s ease-in-out infinite;
}

/* Animasi Gerakan Naik Turun */
@keyframes muscleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Agar di HP tetap rapi */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding-top: 100px;
    }
    .floating-muscle {
        max-width: 200px;
        margin-top: 30px;
    }
}