* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(120deg, #ffffff, #d6ecff, #ffffff);
    background-size: 400% 400%; /* Perbesar ukuran gradasi */
    color: #333;
    line-height: 1.6;
    padding: 20px;
    font-family: Arial, sans-serif;
    position: relative;
    min-height: 100vh;
    animation: gradientBackground 10s ease infinite; /* Animasi gradasi */
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%; /* Posisi awal gradasi */
    }
    50% {
        background-position: 100% 50%; /* Posisi tengah gradasi */
    }
    100% {
        background-position: 0% 50%; /* Kembali ke posisi awal */
    }
}

.wave-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1; /* Pastikan wave di belakang konten */
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: rgba(220, 240, 255, 0.6);
    opacity: 0.8;
    transform: translateY(10px);
    animation: waveMove 6s linear infinite alternate;
}

.wave:nth-child(2) {
    background: rgba(200, 230, 255, 0.8);
    height: 120%;
    animation-duration: 8s;
}

.wave:nth-child(3) {
    background: rgba(180, 220, 255, 0.9);
    height: 140%;
    animation-duration: 10s;
}

@keyframes waveMove {
    0% { transform: translateX(-10%) translateY(10px); }
    100% { transform: translateX(10%) translateY(-10px); }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #007bff;
    text-align: center;
}

/* Gaya untuk Kategori */
.api-category {
    margin-bottom: 30px;
}

.api-category h2 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.api-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.api-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.api-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.api-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.api-method {
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    width: 60px;
    text-align: center;
}

/* Gaya untuk Badge Status */
.api-status-badge {
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 10px;
    text-transform: uppercase;
}

.api-status-badge.online {
    background-color: #28a745; /* Hijau untuk ONLINE */
    color: #fff;
}

.api-status-badge.offline {
    background-color: #dc3545; /* Merah untuk OFFLINE */
    color: #fff;
}

.api-title {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.api-title:hover {
    text-decoration: underline;
}

.api-description {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    display: none; /* Deskripsi disembunyikan secara default */
}

.api-description p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.api-endpoint {
    font-family: monospace;
    color: #333;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 4px;
    margin-top: 10px;
}

.api-description button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.api-description button:hover {
    background-color: #0056b3;
}

footer {
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    .api-category h2 {
        font-size: 20px;
    }

    .api-title {
        font-size: 16px;
    }

    .api-description p {
        font-size: 12px;
    }

    .api-description button {
        font-size: 12px;
        padding: 8px 16px;
    }
}