/* Global Reset and Body Style */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Optional: Ein sehr dunkler Hintergrund für maximalen Kontrast */
    background-color: #121212;
}

/* Nav Bar */
.navbar {
	background-image:
	url('headerbar_bg.png'),
	 url('headerbar_bg2.png');

	 background-position:
		left center,
        right center;
		background-size:
        100% 110%,
        100% 110%;
		background-repeat: no-repeat;

    background-color: rgba(18, 18, 18, 0.98); /* Dunkler, weniger transparent */
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1010;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Deutlicherer Schatten */
}

.navbar-brand {
    color: #fff; /* Hochkontrast Weiß */
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-link {
    color: #e0e0e0; /* Helleres Grau für bessere Lesbarkeit */
    text-decoration: none;
    margin-left: 25px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.3s, background-color 0.3s;
}

.nav-link:hover {
    color: #fff; /* Weiß beim Hover */
    background-color: #333; /* Dunkelgrauer Hintergrund beim Hover */
}

/* Main Content & Form */
.main-content {
     width: 100%;
    max-width: 1000px;
    padding: 40px 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.register-container {
    background-color: rgba(30, 30, 30, 0.9); /* Dunkler, fast undurchsichtig */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7); /* Stärkerer Schatten */
    border: 1px solid #444; /* Sichtbarer Rahmen */
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    margin: 40px auto 0;
}

h1 {
    color: #fff;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); /* Deutlicherer Textschatten */
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Form Elements */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; color: #fff; /* Weiß für max. Kontrast */ text-align: left; }

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #555; /* Sichtbarer Rahmen */
    border-radius: 4px;
    background-color: #222; /* Dunkler Hintergrund für Eingabefelder */
    color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border: 1px solid #777; /* Grauer Fokus-Rahmen */
    box-shadow: 0 0 8px rgba(100, 100, 100, 0.6); /* Deutlicherer Glow */
}

button {
    width: 100%;
	padding: 12px;
	background-color: #444; /* Gut sichtbarer dunkler Knopf */
	border: none;
	color: #fff;
    font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.2s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
button:hover {
	background-color: #666; /* Deutlicher Hover-Effekt */
	color: #fff;
}

/* Download Link Style */
.download-link {
    display: inline-block;
    margin-top: 25px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 25px;
    border: 2px solid #777; /* Sichtbarer Rahmen */
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.6); /* Dunkler Hintergrund */
    transition: all 0.3s;
}
.download-link:hover {
    background-color: #555; /* Dunklerer Hintergrund beim Hover */
    border-color: #999; /* Hellerer Rahmen beim Hover */
    color: #fff;
}

/* SERVER STATUS & COOKIE NOTICE */
/* CSS Variables for Colors */
:root {
    --status-online: #4CAF50; /* Green (Kept for status) */
    --status-offline: #f44336; /* Red (Kept for status) */
}

/* SERVER STATUS WIDGET */
.server-status-widget {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 999;
    width: 220px;
}

.server-status-widget h3 {
    text-align: center;
    color: #fff;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.status-card {
    background-color: rgba(34, 34, 34, 0.98); /* Weniger transparent, besser sichtbar */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #444; /* Rahmen zur Abgrenzung */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8); /* Stärkerer Schatten */
    color: #f0f0f0;
}

.status-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
}

.status-line .label {
    font-weight: normal;
    color: #ccc;
}

.indicator-group {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #fff; /* Statuswerte in Weiß für besten Kontrast */
}

hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Hellerer Separator */
    margin: 10px 0;
}

.player-info {
    text-align: center;
    font-size: 16px;
    padding: 5px 0;
    font-weight: bold;
    color: #fff;
}

footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.8); /* Dunklerer Hintergrund */
    padding: 30px 0;
    box-sizing: border-box;
    z-index: 100;
}

.footer-content {
    text-align: center;
    padding: 0 20px;
    font-size: 14px;
    color: #ccc; /* Helleres Grau */
}

.copyright {
    margin-top: 15px;
    font-size: 0.8em;
    color: #999;
}

.footer-links .nav-link {
     color: #fff !important;
}

.server-info-box {
    width: 100%;
    max-width: 600px;
    margin: 30px auto 30px auto;
    padding: 20px 30px;

    background-color: rgba(30, 30, 30, 0.95); /* Sehr dunkel und deckend */

    /* Verbesserter neutraler Rahmen/Schatten */
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow:
        0 0 18px rgba(100, 100, 100, 0.4), /* Deutlicherer Glow außen */
        inset 0 0 10px rgba(100, 100, 100, 0.15); /* Deutlicherer Glow innen */

    text-align: center;
    color: #f0f0f0;
    line-height: 1.6;
}

.server-info-box p {
    margin: 5px 0;
}

.server-info-box .highlight-text {
    font-weight: bold;
    color: #fff; /* Weißer Highlight-Text */
    font-size: 1.1em;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.4); /* Gut sichtbare gestrichelte Linie */
    margin-top: 10px;
}

.register-container h2 {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Deutlicherer weißer Glow */
}