@charset "utf-8";
/* CSS Document */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a472a 0%, #2a623d 100%);
    margin: 0;
    padding: 20px;
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.subtitle {
    color: #c8e6c9;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    width: 100%;
    box-sizing: border-box;
}

.section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.dice-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dice {
    width: 90px;
    height: 90px;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, margin-top 0.3s;
    border: 2px solid #ffd700;
}

.dice img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    transition: transform 0.5s;
}

.checkbox-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checkbox-item label {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #c8e6c9;
}

.checkbox-container input[type="checkbox"] {
    transform: scale(1.7);
    margin: 0 5px;
    cursor: pointer;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

button {
    padding: 14px 28px;
    font-size: 1.1rem;
    background: linear-gradient(to bottom, #ffd700, #e6b800);
    color: #1a472a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
    background: linear-gradient(to bottom, #ffed4a, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button:disabled {
    background: linear-gradient(to bottom, #cccccc, #aaaaaa);
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.info {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.player-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.player {
    padding: 12px 25px;
    border-radius: 8px;
    background-color: rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
    min-width: 120px;
}

.player.active {
    background-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

/* Neue Styles für die Erweiterungen */
.player-names {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.name-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.name-input label {
    color: #c8e6c9;
    font-weight: bold;
}

.name-input input {
    padding: 10px 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a472a;
    font-size: 1rem;
    text-align: center;
    width: 150px;
}

.rounds-selection {
    margin-bottom: 30px;
}

.rounds-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.rounds-btn {
    padding: 12px 20px;
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.rounds-btn.active {
    background: linear-gradient(to bottom, #ffd700, #e6b800);
    color: #1a472a;
    transform: scale(1.1);
}

.rounds-btn:hover {
    transform: translateY(-2px);
}

.selected-rounds-info {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
}

.start-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: white;
    margin: 20px 0;
}

.start-button:hover {
    background: linear-gradient(to bottom, #66BB6A, #4CAF50);
}

.scoreboard-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}

.score-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

.score-column h3 {
    color: #ffd700;
    margin-bottom: 15px;
    border-bottom: 1px solid #ffd700;
    padding-bottom: 8px;
}

.round-scores {
    text-align: left;
    margin-bottom: 15px;
    min-height: 100px;
}

.round-score-item {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.total-score {
    font-weight: bold;
    color: #ffd700;
    font-size: 1.1rem;
    border-top: 2px solid #ffd700;
    padding-top: 10px;
    margin-top: 10px;
}

.game-info {
    color: #c8e6c9;
    font-size: 1.1rem;
    margin: 15px 0;
}

.main-site-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to bottom, #2196F3, #1976D2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
    margin-top: 15px;
}

.main-site-btn:hover {
    background: linear-gradient(to bottom, #42A5F5, #2196F3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.download-btn {
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: white;
    margin: 10px;
}

.download-btn:hover {
    background: linear-gradient(to bottom, #66BB6A, #4CAF50);
}

.back-btn {
    background: linear-gradient(to bottom, #ff9800, #f57c00);
    color: white;
    margin: 10px;
}

.back-btn:hover {
    background: linear-gradient(to bottom, #ffb74d, #ff9800);
}

.winner-announcement {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dice-container {
        gap: 15px;
    }
    
    .dice {
        width: 70px;
        height: 70px;
    }
    
    .checkbox-container {
        gap: 20px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 15px;
    }
    
    button {
        width: 100%;
    }
    
    .player-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .player-names {
        flex-direction: column;
        gap: 20px;
    }
    
    .scoreboard-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .rounds-container {
        flex-direction: column;
        align-items: center;
    }
    
    .rounds-btn {
        width: 150px;
    }
}