.server-ip {
    font-weight: bold;
}
      .cards-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Abstand zwischen den Karten */
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

/* Karten-Stil */
.server-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2c2c; /* Dunkler Hintergrund */
    border: 2px solid #4CAF50; /* Grüne Umrandung */
    color: #4CAF50; /* Grüne Schrift */
    padding: 12px 30px;
    border-radius: 8px; /* Abgerundete Ecken */
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    min-width: 250px; /* Einheitliche Breite */
    text-align: center;
}

/* Hover-Effekt */
.server-card:hover {
    background-color: #4CAF50; /* Grün bei Hover */
    color: white; /* Weiße Schrift bei Hover */
}

.material-icons {
    margin-right: 10px;
    font-size: 1.5em; /* Icon-Größe */
}

.card-text {
    display: inline-block; /* Ermöglicht volles Margin */
    margin: 0 5px;
    font-weight: bold;
}
 .quotes-section {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 30px 0;
        flex-wrap: wrap;
    }       
 .quote-card {
        background-color: #f9f9f9;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        width: 300px;
        text-align: center;
        font-family: 'Dancing Script', cursive;
        font-size: 1.4em;
        transition: transform 0.3s ease;
    }

    .quote-card:hover {
        transform: translateY(-5px);
    }

     /* Styling für das Modal */
     #player-list-modal {
         display: none;
         position: fixed;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         z-index: 1000;
         width: 90%;
         max-width: 800px;
         background-color: #2d2d2d;
         border-radius: 10px;
         padding: 20px;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
         color: #fff;
     }
     #server-data-modal {
         display: none;
         position: fixed;
            margin: 20px;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         z-index: 1000;
         width: 90%;
         max-width: 800px;
         background-color: #2d2d2d;
         border-radius: 10px;
         padding: 20px;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
         color: #fff;
     }
     
     /* Styling für den Header des Modals */
     .modal-content h2 {
         font-size: 1.8em;
         color: #4CAF50; /* Grün für den Titel */
         text-align: center;
         margin-bottom: 20px;
         font-family: 'Arial', sans-serif;
     }
     
     /* Styling für die Spieler-Liste */
     .player-list {
         margin: 20px;
         max-height: 300px;
         overflow-y: auto;
         margin-top: 20px;
         font-family: 'Arial', sans-serif;
            gap: 15px;
     }
     
     .player-list div {
        margin-bottom: 15px; /* Abstand zwischen den Spielern erhöhen */
        padding: 10px 20px; /* Innenabstand hinzufügen */
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Spielername links, Symbol rechts */
        background-color: #2c2c2c; /* Dunkler Hintergrund */
        border: 2px solid #4CAF50; /* Grüne Umrandung */
        color: #4CAF50; /* Grüne Schrift */
        padding: 12px 30px;
        border-radius: 8px; /* Abgerundete Ecken */
        font-size: 1.2em;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        min-width: 250px; /* Einheitliche Breite */
        text-align: center;
     }
     
     .player-list div:hover {
         background-color: #4CAF50; /* Hover-Effekt mit grünem Hintergrund */
         color: #fff;
         
     }
     
     /* Styling für den Schließen-Button */
     button.server-card {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #2c2c2c; /* Dunkler Hintergrund */
        border: 2px solid #4CAF50; /* Grüne Umrandung */
        color: #4CAF50; /* Grüne Schrift */
        padding: 12px 30px;
        border-radius: 8px; /* Abgerundete Ecken */
        font-size: 1.2em;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        min-width: 250px; /* Einheitliche Breite */
        text-align: center;
     }
     
     button.server-card:hover {
         background-color: #45a049; /* Dunklerer Grünton bei Hover */
         
     }
     
     /* Styling für das Overlay */
     #overlay {
         display: none;
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: rgba(0, 0, 0, 0.7);
         z-index: 999;
     }
    .material-symbols-outlined {
         margin-left: auto; /* Schiebt das Symbol nach rechts */
     }
    @media (max-width: 768px) { /* Für mobile Geräte mit maximaler Breite von 768px */
        .cards-container {
            flex-direction: column; /* Ändert die Richtung der Karten auf Spalten */
            align-items: center; /* Zentriert die Karten */
        }
    
        .server-card {
            width: 90%; /* Breite der Karten auf mobilen Geräten */
            margin-bottom: 10px; /* Abstand zwischen den Karten */
        }
    }

     .card-textzwei {
         display: inline-block; /* Ermöglicht volles Margin */
         margin: 0 5px;
         font-weight: bold;
         
     }
     

     @media (max-width: 768px) { /* Für mobile Geräte */
     .card-textzwei {
         display: none; /* Versteckt den Text auf mobilen Geräten */
     }
}
        /* Popup Styling */
    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;        
        align-items: center;
    }

    .popup-content {
                margin-bottom: 15px; /* Abstand zwischen den Spielern erhöhen */
                padding: 10px 20px; /* Innenabstand hinzufügen */
                display: flex;
                align-items: center;
                justify-content: flex-start; /* Spielername links, Symbol rechts */
                background-color: #2c2c2c; /* Dunkler Hintergrund */
                border: 2px solid #4CAF50; /* Grüne Umrandung */
                color: #4CAF50; /* Grüne Schrift */
                padding: 12px 30px;
                border-radius: 8px; /* Abgerundete Ecken */
                font-size: 1.2em;
                cursor: pointer;
                transition: background-color 0.3s, color 0.3s;
                min-width: 250px; /* Einheitliche Breite */
                text-align: center;
    }

    .popup-content h2 {
        margin-top: 0;
    }


    .server-stat-item {
                margin: 20px;
                max-height: 300px;
                overflow-y: auto;
                margin-top: 20px;
                font-family: 'Arial', sans-serif;
                gap: 15px;
    }

    .server-stat-item span {
                    margin-bottom: 15px; /* Abstand zwischen den Spielern erhöhen */
                padding: 10px 20px; /* Innenabstand hinzufügen */
                display: flex;
                align-items: center;
                justify-content: flex-start; /* Spielername links, Symbol rechts */
                background-color: #2c2c2c; /* Dunkler Hintergrund */
                border: 2px solid #4CAF50; /* Grüne Umrandung */
                color: #4CAF50; /* Grüne Schrift */
                padding: 12px 30px;
                border-radius: 8px; /* Abgerundete Ecken */
                font-size: 1.2em;
                cursor: pointer;
                transition: background-color 0.3s, color 0.3s;
                min-width: 250px; /* Einheitliche Breite */
                text-align: center;
    }

    .server-stat-item .material-symbols-outlined {
        font-size: 24px;
        margin-right: 10px;
        color: #4CAF50;
    }

    .server-stat-item span:nth-child(2) {
        font-weight: bold;
    }

    .server-stat-item span:nth-child(3) {
        color: #555;
    }
    /* Status-Indikator */
    /* Gemeinsame Styles für den Status-Indikator */
    .status-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 8px; /* Abstand zwischen Punkt und Text */
        animation: pulse 1.5s infinite; /* Pulsier-Animation */
    }
    
    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.2);
            opacity: 0.7;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    .green {
        background-color: green;
    }
    
    .red {
        background-color: red;
    }
    
    .orange {
        background-color: orange;
    }
    
    
        /* Trennlinie zwischen Online- und Offline-Spielern */
.list-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 20px 0;
    width: 100%;
}

/* Stile für die Spielerlisten-Sektionen im Modal */
.player-list-section {
    margin-bottom: 20px;
    width: 100%;
}

.player-list-section h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0;
    padding: 0 10px;
}


.player-list-section h3 .status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}
.player-count {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.online-indicator {
    background-color: #4CAF50;
    box-shadow: 0 0 8px #4CAF50;
}

.offline-indicator {
    background-color: #ff4444;
    box-shadow: 0 0 8px #ff4444;
}

.player-list-section .player-list {
    max-height: 300px;
    overflow-y: auto;
    background-color: rgba(51, 51, 51, 0.5);
    border-radius: 8px;
    padding: 15px;
    width: 100%;
}

/* Spieler-Elemente im Modal - ANGEPASST AN POPUP-DESIGN */
.player-list-section .player-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.player-list-section .player-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 5px;
}

.player-list-section .player-item .player-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.player-list-section .player-item .player-name {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 500;
}

.player-list-section .player-item .player-status {
    font-size: 0.9rem;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.player-list-section .player-item .status-online {
    background-color: #4CAF50;
    color: white;
}

.player-list-section .player-item .status-offline {
    background-color: #ff4444;
    color: white;
}

/* Stile für Player-Tags im Modal */
.player-list-section .player-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
    text-transform: uppercase;
}

.player-list-section .tag-admin {
    background-color: #ff4444;
    color: white;
}

.player-list-section .tag-owner {
    background-color: #7944ff;
    color: white;
}


.player-list-section .tag-coadmin {
    background-color: #ff8800;
    color: white;
}

.player-list-section .tag-player {
    background-color: #666666;
    color: white;
}

/* Open-in-new Icon im Modal */
.player-list-section .material-symbols-outlined {
    color: white;
    margin-left: 10px;
    font-size: 22px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.player-list-section .player-item:hover .material-symbols-outlined {
    opacity: 1;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .player-list-section .player-item img {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
    
    .player-list-section .player-item .player-name {
        font-size: 1.3rem;
    }
    
    .player-list-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .player-list-section .player-item {
        padding: 10px;
    }
    
    .player-list-section .player-item img {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .player-list-section .player-item .player-name {
        font-size: 1.1rem;
    }
    
    .player-list-section h3 {
        font-size: 1.1rem;
    }
    
    .player-list-section .player-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}
        /* Stile für das Fullscreen-Popup */
        #fullscreen-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            color: white;
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
        }
        
        #fullscreen-popup.hidden {
            display: none;
        }
        
        .popup-content {
            max-width: 600px;
            width: 90%;
            background-color: rgba(30, 30, 30, 0.9);
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .popup-title {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #4CAF50;
        }
        
        .popup-subtitle {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: #FFC107;
        }
        
        .countdown-container {
            margin: 20px 0;
            font-size: 2rem;
            font-weight: bold;
            color: #4CAF50;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }
        
        .countdown-row {
            display: flex;
            justify-content: center;
            margin-bottom: 10px;
            width: 100%;
        }
        
        .countdown-item {
            margin: 0 10px;
            padding: 10px 15px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            min-width: 80px;
        }
        
        .countdown-labels {
            display: flex;
            justify-content: center;
            width: 100%;
        }
        
        .countdown-label {
            font-size: 1rem;
            color: #ccc;
            margin: 0 25px;
            min-width: 80px;
            text-align: center;
        }
        
        .popup-message {
            margin: 20px 0;
            font-size: 1.2rem;
            line-height: 1.5;
        }
        
        .signup-button {
            display: inline-block;
            background-color: #4CAF50;
            color: white;
            padding: 20px 40px;
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
            border-radius: 10px;
            margin-top: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
            width: 80%;
            max-width: 300px;
        }
        
        .signup-button:hover {
            background-color: #45a049;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
        }
        
        .close-popup {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 10px;
        }
        
        /* Stile für Player-Tags */
        .player-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: bold;
            margin-left: 8px;
            text-transform: uppercase;
        }
        
        .tag-admin {
            background-color: #ff4444;
            color: white;
        }
        .tag-owner {
            background-color: #7944ff;
            color: white;
        }
        
        
        .tag-coadmin {
            background-color: #ff8800;
            color: white;
        }
        
        .tag-player {
            background-color: #666666;
            color: white;
        }
        
        /* Stile für die registrierte Spieler-Liste im Popup */
        .registered-players-popup {
            margin-top: 20px;
            width: 100%;
            max-height: 300px;
            overflow-y: auto;
            background-color: rgba(51, 51, 51, 0.5);
            border-radius: 8px;
            padding: 10px;
        }

        .registered-players-popup h3 {
            margin-bottom: 10px;
            color: #FFC107;
        }

        .registered-players-popup .player-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
            padding: 8px;
            border-radius: 5px;
            background-color: rgba(255, 255, 255, 0.1);
            position: relative;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .registered-players-popup .player-item:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .registered-players-popup .player-item img {
            width: 24px;
            height: 24px;
            margin-right: 10px;
        }

        /* Stil für das Open-in-new Icon im Popup */
        .registered-players-popup .player-item .material-symbols-outlined {
            color: white;
            margin-left: auto;
            margin-right: 5px;
            font-size: 20px;
        }
        
        /* Stile für die erweiterte Spielerliste - ANGEPASST AN POPUP-DESIGN */
        .player-list-section {
            margin-bottom: 20px;
        }
        
        .player-list-section h3 {
            margin-bottom: 10px;
            color: #fff;
            display: flex;
            align-items: center;
        }
        
        .player-list-section h3 .status-indicator {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .online-indicator {
            background-color: #4CAF50;
        }
        
        .offline-indicator {
            background-color: #ff4444;
        }
        
        .player-list-section .player-list {
            max-height: 200px;
            overflow-y: auto;
            background-color: rgba(51, 51, 51, 0.5);
            border-radius: 8px;
            padding: 10px;
        }
        
        /* ANGELEHNT AN POPUP-DESIGN */
        .player-list-section .player-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
            padding: 8px;
            border-radius: 5px;
            background-color: rgba(255, 255, 255, 0.1);
            position: relative;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .player-list-section .player-item:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        .player-list-section .player-item img {
            width: 36px;
            height: 36px;
            margin-right: 15px;
        }
        
        .player-list-section .player-item .player-info {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }
        
        .player-list-section .player-item .player-name {
            font-size: 1.5rem;
            color: #fff;
        }
        
        .player-list-section .player-item .player-status {
            font-size: 1.1rem;
            margin-left: 10px;
            padding: 2px 6px;
            border-radius: 10px;
        }
        
        .player-list-section .player-item .status-online {
            background-color: #4CAF50;
            color: white;
        }
        
        .player-list-section .player-item .status-offline {
            background-color: #ff4444;
            color: white;
        }
        
        /* Modal-Design für Spielerliste angepasst */
        .modal-content {
            background-color: rgba(30, 30, 30, 0.95);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
            color: white;
            max-width: 700px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .modal-content h2 {
            color: #4CAF50;
            margin-bottom: 20px;
            text-align: center;
            font-size: 2rem;
        }
        
        @media (max-width: 768px) {
            .popup-content {
                padding: 20px;
            }
            
            .popup-title {
                font-size: 2rem;
            }
            
            .popup-subtitle {
                font-size: 1.2rem;
            }
            
            .countdown-container {
                font-size: 1.5rem;
            }
            
            .countdown-item {
                min-width: 60px;
                margin: 0 5px;
                padding: 8px 12px;
            }
            
            .countdown-label {
                min-width: 60px;
                margin: 0 5px;
            }
            
            .signup-button {
                font-size: 1.2rem;
                padding: 15px 30px;
            }
            
            .player-list-section .player-item .player-name {
                font-size: 1.2rem;
            }
            
            .player-list-section .player-item img {
                width: 30px;
                height: 30px;
                margin-right: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .popup-content {
                padding: 15px;
            }
            
            .popup-title {
                font-size: 1.8rem;
            }
            
            .popup-subtitle {
                font-size: 1.1rem;
            }
            
            .countdown-container {
                font-size: 1.3rem;
            }
            
            .countdown-item {
                min-width: 50px;
                margin: 0 3px;
                padding: 6px 10px;
            }
            
            .countdown-label {
                min-width: 50px;
                margin: 0 3px;
                font-size: 0.9rem;
            }
            
            .popup-message {
                font-size: 1rem;
            }
            
            .signup-button {
                font-size: 1.1rem;
                padding: 12px 25px;
            }
            
            .player-list-section .player-item .player-name {
                font-size: 1rem;
            }
            
            .player-list-section .player-item img {
                width: 24px;
                height: 24px;
                margin-right: 8px;
            }
        }
/* Gemeinsame Tag-Stile für alle Tag-Typen */
.player-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
    text-transform: uppercase;
    line-height: 1;
    vertical-align: middle;
}

/* Spezifische Tag-Farben */
.tag-admin {
    background-color: #ff4444;
    color: white;
}

.tag-owner {
    background-color: #7944ff;
    color: white;
}

.tag-coadmin {
    background-color: #ff8800;
    color: white;
}

.tag-player {
    background-color: #666;
    color: white;
}

/* Status-Tags - verwenden die gleichen Stile wie normale Tags */
.status-online {
    background-color: #4CAF50;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    text-transform: uppercase;
    line-height: 1;
    vertical-align: middle;
}

.status-offline {
    background-color: #ff4444;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    text-transform: uppercase;
    line-height: 1;
    vertical-align: middle;
}

/* Angepasste Spieler-Item Stile für korrekte Ausrichtung */
.player-list-section .player-item .player-status {
    font-size: 0.8rem;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
}

/* Für die erweiterte Spielerliste im Popup */
.registered-players-popup .player-item .player-status {
    font-size: 0.7rem;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .player-tag,
    .status-online,
    .status-offline,
    .player-list-section .player-item .player-status {
        font-size: 0.7rem;
        padding: 3px 8px;
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .player-tag,
    .status-online,
    .status-offline,
    .player-list-section .player-item .player-status {
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-left: 4px;
    }
    
    .registered-players-popup .player-item .player-status {
        font-size: 0.6rem;
        padding: 2px 5px;
    }
}