/* Globale Variablen für Farben und Schriftarten */
:root {
    --background-color: #121212;
    --text-color: #ffffff;
    --primary-color: #f39c12; /* Orange */
    --link-color: #3498db; /* Blau */
    --online-color: #27ae60; /* Grün */
    --offline-color: #c0392b; /* Rot */
    --container-max-width: 720px; /* Etwas breiter */
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh; /* min-height statt height für Flexibilität */
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    text-align: center;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.status-badge {
    margin-top: 10px; /* Weniger Abstand oben */
    margin-bottom: 20px; /* Abstand zum Video */
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 20px;
    text-align: center;
    display: inline-block;
    color: white;
    transition: background-color 0.3s ease; /* Sanfter Übergang */
    min-width: 150px; /* Mindestbreite für Konsistenz */
}

.status-badge.online {
    background-color: var(--online-color);
}

.status-badge.offline {
    background-color: var(--offline-color);
}

.video-container {
    width: 100%;
    margin-bottom: 20px; /* Abstand zur Link-Sektion */
}

video {
    width: 100%;
    background-color: #000; /* Schwarzer Hintergrund, falls Video nicht lädt */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: block; /* Verhindert zusätzlichen Leerraum unter dem Video */
}

.vlc-note {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #aaa; /* Etwas dezenter */
}

.vlc-note em {
    font-style: normal; /* Normaler Stil, Hervorhebung durch Farbe/Kontext */
}

.link-section {
    font-size: 1rem;
    text-align: center;
    background-color: #2a2a2a; /* Leichter Hintergrund für Abgrenzung */
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.link-section p {
    margin: 8px 0;
    word-wrap: break-word; /* Lange Links umbrechen */
}

.link-section code {
    background-color: #444;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.link-section a {
    color: var(--link-color);
    text-decoration: none;
}

.link-section a:hover,
.vlc-note a:hover {
    text-decoration: underline;
}