body {
    background-color: #1c1c1c;
    color: #e0dede;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://images.unsplash.com/photo-1505666281475-2b3b0f1e11bb?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

.container {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 20px #111;
}

h1 {
    text-align: center;
    color: #f0c674;
    text-shadow: 2px 2px #000;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #2e2e2e;
}

/* Name der Teilnehmer */
.name-cell {
    position: relative;
}

/* Avatar Tooltip (wird nur beim Hover über den Namen angezeigt) */
.avatar-tooltip {
    display: none; /* Versteckt den Avatar zuerst */
    position: absolute;
    left: 110%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #111;
    padding: 4px;
    border-radius: 8px;
    z-index: 999;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Bildgröße des Avatars */
.avatar-tooltip img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Wenn man über den Namen fährt, wird der Avatar angezeigt */
.name-hover:hover .avatar-tooltip {
    display: block;
}

/* Stil für den Status (offline oder live) */
td.live {
    color: red;
    font-weight: bold;
}

/* Stil für das Spiel, wenn der Spieler live ist */
.stream-game {
    font-size: 0.9rem;
    color: #ffac33;  /* Helle Farbe für das Spiel */
    font-weight: bold;
    margin-top: 5px;
}

/* Style für die Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tab-button {
    padding: 0.5rem 1rem;
    cursor: pointer;
    background: #222;
    color: #fff;
    border: 1px solid #444;
}

.tab-button.active {
    background: #f0c674;
    color: #111;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

footer a {
    color: #f0c674;
    text-decoration: none;
}

/* Kalender Style */
#calendar {
    margin-top: 3rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.day-entry {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid #333;
    padding: 1rem;
    border-radius: 10px;
}

.day-entry.heute {
    border: 2px solid gold;
    background-color: rgba(50, 50, 0, 0.5);
}

.kalender-eintrag {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.kalender-eintrag.live {
    color: #ff4444;
    font-weight: bold;
}

.kalender-eintrag.probe {
    color: #44b;
    font-style: italic;
}
