/* === Minecraft-Themed Site Styles === */
body {
    margin: 0;
    padding: 0;
    background-image: url('assets/dirt_background.png');
    background-size: cover;
    font-family: 'Minecraftia', sans-serif;
    color: white;
}

@font-face {
    font-family: 'Minecraftia';
    src: url('assets/fonts/Minecraftia.ttf') format('truetype');
}

header {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
}

.logo {
    height: 64px;
}

main {
    padding: 20px;
}

.server-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.server {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
}

.server img {
    height: 48px;
    margin-bottom: 10px;
}

.server button {
    margin-top: 10px;
    padding: 10px 15px;
    font-family: 'Minecraftia', sans-serif;
    font-size: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.server button:hover {
    background-color: #45a049;
}

.status {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

/* === Password Overlay Styles === */
#password-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Minecraftia', sans-serif;
}

#password-box {
    background: rgba(30, 30, 30, 0.95);
    padding: 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
    box-shadow: 0 0 15px black;
}

#password-box h2 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

#password-input {
    padding: 10px;
    width: 80%;
    font-size: 1em;
    font-family: 'Minecraftia', sans-serif;
}

#password-box button {
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 1em;
    font-family: 'Minecraftia', sans-serif;
    background: #444;
    color: white;
    border: none;
    cursor: pointer;
}

#password-box button:hover {
    background: #666;
}

#error-message {
    color: #ff5555;
    margin-top: 10px;
    font-size: 0.9em;
}