/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow: hidden;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Efek Cahaya Berjalan */
.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), transparent);
    animation: rotateLight 10s linear infinite;
    z-index: -1;
}

@keyframes rotateLight {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00ffcc, #0077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    font-size: 1.1rem;
    color: #ddd;
}

/* Tombol Menu */
.button-container {
    display: flex;
    flex-wrap: wrap; /* Tombol bisa pindah ke baris baru jika tidak muat */
    gap: 10px; /* Jarak antar tombol */
    margin-bottom: 30px;
}

.button-container button {
    flex: 1 1 150px; /* Lebar minimal tombol 150px, fleksibel */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Teks tidak wrap ke baris baru */
}

.button-container button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1), transparent);
    animation: rotateLight 5s linear infinite;
    z-index: -1;
}

.button-container button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.button-container button i {
    font-size: 1.2rem;
}

/* Daftar Server */
.server-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.server-list::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), transparent);
    animation: rotateLight 8s linear infinite;
    z-index: -1;
}

.server-list h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00ffcc, #0077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.server-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), transparent);
    animation: rotateLight 6s linear infinite;
    z-index: -1;
}

.server-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.server-item p {
    margin: 0;
    font-size: 1.1rem;
}

.server-item button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.server-item button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}