/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid red;
    box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.5);
    animation: floating 3s infinite ease-in-out;
    transition: 0.3s;
}

.profile-pic:hover {
    box-shadow: 0px 0px 25px red;
    transform: scale(1.1);
}

/* Header */
header {
    background: #111;
    padding: 20px;
    border-bottom: 3px solid red;
    animation: fadeIn 1.5s ease-in-out;
}

h1 {
    color: red;
    font-size: 2.8rem;
    text-shadow: 0px 0px 10px red;
    transition: 0.3s;
}

h1:hover {
    text-shadow: 0px 0px 20px red;
    transform: scale(1.05);
}

/* Papan Peringkat */
.leaderboard {
    margin: 20px auto;
    background: #222;
    padding: 15px;
    border-radius: 8px;
    width: 80%;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

.leaderboard h2 {
    color: red;
}

.leaderboard ol {
    list-style: none;
    padding: 0;
}

.leaderboard li {
    background: #333;
    padding: 12px;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.leaderboard li:hover {
    background: red;
    color: white;
    transform: scale(1.05);
    box-shadow: 0px 0px 10px red;
}

/* Slider */
.slider {
    margin: 20px 0;
}

.slider-container {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.slide {
    width: 100%;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: red;
    box-shadow: 0px 0px 10px red;
}

/* List Anggota */
.members {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    width: 80%;
    margin: 20px auto;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

.members h2 {
    color: red;
}

.members ul {
    list-style: none;
    padding: 0;
}

.members li {
    background: #333;
    padding: 12px;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.members li:hover {
    background: red;
    color: white;
    transform: scale(1.05);
    box-shadow: 0px 0px 10px red;
}

/* Sosial Media */
.social-media {
    margin: 20px auto;
}

.social-media a {
    display: inline-block;
    margin: 10px;
    color: red;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
    background: rgba(255, 0, 0, 0.2);
}

.social-media a:hover {
    background: red;
    color: white;
    box-shadow: 0px 0px 10px red;
}

/* Footer */
footer {
    background: #111;
    padding: 15px;
    margin-top: 20px;
    color: red;
    text-shadow: 0px 0px 10px red;
    border-radius: 10px;
}

/* Animasi Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}