* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body, html { 
    height: 100%; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: #fff; 
    overflow: hidden; 
}

.background {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: url('/download_page_background.png') no-repeat center center;
    background-size: cover;
    filter: blur(8px) brightness(0.8);
    transform: scale(1.05);
    z-index: -1;
}

.container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100%; 
    width: 100%; 
    padding: 20px; 
}

.card {
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.logo {
    max-width: 100%;
    width: 380px;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    border-radius: 12px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

/* Base Buttons */
.btn-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    box-shadow: inset 0 2px 0px rgba(255, 255, 255, 0.2), 0 4px 6px rgba(0, 0, 0, 0.3);
    border: none;
}

.btn-hub:hover { 
    filter: brightness(1.1); 
    transform: translateY(-1px); 
}

.btn-hub:active { 
    transform: translateY(1px); 
}

/* Spezifische Button-Farben (Minecraft- / Service-Stile) */
.btn-map {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border: 2px solid #1d4ed8;
    text-shadow: 1px 1px 0px #1e3a8a;
}

.btn-dl {
    background: linear-gradient(180deg, #5c8e32 0%, #3b5e1f 100%);
    border: 2px solid #2e4b17;
    text-shadow: 1px 1px 0px #1e330f;
}

.btn-discord {
    background: linear-gradient(180deg, #5865F2 0%, #4752C4 100%);
    border: 2px solid #404eed;
    text-shadow: 1px 1px 0px #313381;
}

/* Styling für die Dateigrößenanzeige in den Download-Buttons */
.btn-dl .btn-size {
    font-size: 0.85em;
    font-weight: normal;
    opacity: 0.85;
    margin-left: 4px;
}

/* Server-Status-Bereich (Modernes Kapsel-Design) */
.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Styling für den Versionstext auf der Download-Unterseite */
.version-text {
    color: #ccc;
    font-size: 14px;
    margin-top: -10px;   /* Zieht den Text näher an die H1-Überschrift heran */
    margin-bottom: 25px;  /* Abstand nach unten zum Button */
    line-height: 1.5;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6b7280; /* Standard: Grau */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.status-dot.online { 
    background-color: #10b981; 
    box-shadow: 0 0 8px #10b981; 
}

.status-dot.offline { 
    background-color: #ef4444; 
    box-shadow: 0 0 8px #ef4444; 
}

.player-info { 
    color: #b3b3b3; 
    font-weight: bold; 
}

.maintenance-notice {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 10px;
    /* 5px Abstand nach oben, 15px nach unten zu den Buttons */
    margin: 5px 0 15px 0; 
    font-size: 0.9rem;
    color: #e0e0e0;
    text-align: center;
}