* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: white;
    height: 100vh;
    overflow: hidden;
}

/* Screens */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Startbildschirm */
.start-container {
    text-align: center;
    background: rgba(20, 20, 20, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #333;
    box-shadow: 0 0 30px rgba(227, 148, 177, 0.2);
}

.start-container h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #e394b1;
    text-shadow: 0 0 20px rgba(227, 148, 177, 0.5);
}

.player-selection {
    margin-bottom: 30px;
}

.player-selection label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.player-selection select {
    padding: 10px 20px;
    font-size: 1rem;
    background: #333;
    color: white;
    border: 2px solid #555;
    border-radius: 8px;
    cursor: pointer;
}

.player-selection select:hover {
    border-color: #e394b1;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, #e394b1, #c47291);
    color: white;
    box-shadow: 0 5px 15px rgba(227, 148, 177, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #f0a8c3, #e394b1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 148, 177, 0.5);
}

.btn-danger {
    background: linear-gradient(45deg, #e394b1, #c47291);
    color: white;
    box-shadow: 0 5px 15px rgba(227, 148, 177, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(45deg, #f0a8c3, #e394b1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 148, 177, 0.5);
}

.btn-secondary {
    background: #555;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: #666;
    transform: translateY(-2px);
}

/* Spielerliste */
.player-list {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.9);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #333;
    z-index: 1000;
    min-width: 200px;
}

.player-list h3 {
    margin-bottom: 15px;
    color: #e394b1;
    text-align: center;
}

.player-item {
    padding: 10px;
    margin-bottom: 8px;
    background: #333;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
}

.player-item.active {
    border-color: #e394b1;
    background: #3d2a33;
    box-shadow: 0 0 10px rgba(227, 148, 177, 0.3);
}

.player-item.eliminated {
    background: #222;
    color: #666;
    text-decoration: line-through;
}

/* Spielbildschirm */
.game-container {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e394b1;
    text-shadow: 0 0 20px rgba(227, 148, 177, 0.5);
}

#chamberInfo {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Revolver */
.revolver-container {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.revolver {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    transition: transform 0.5s ease;
}

.revolver.spin {
    animation: spin 1s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(20deg); }
}

.revolver-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(227, 148, 177, 0.5));
    transition: filter 0.3s ease;
}

.revolver:hover .revolver-image {
    filter: drop-shadow(0 0 30px rgba(227, 148, 177, 0.8));
}

/* Action Container */
.action-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Game Over Screen */
.game-over-container {
    text-align: center;
    background: rgba(20, 20, 20, 0.9);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #333;
    box-shadow: 0 0 30px rgba(227, 148, 177, 0.3);
}

.game-over-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e394b1;
    text-shadow: 0 0 20px rgba(227, 148, 177, 0.5);
}

.game-over-container p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .start-container h1 {
        font-size: 2rem;
    }
    
    .game-info h2 {
        font-size: 2rem;
    }
    
    .revolver-image {
        width: 150px;
        height: 150px;
    }
    
    .player-list {
        top: 10px;
        left: 10px;
        padding: 15px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}
