* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
}

h1 {
    color: #ffd700;
    font-size: 3em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.scoreboard {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.player {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
}

.player h2 {
    color: #ffd700;
    margin-bottom: 10px;
}

.score {
    font-size: 2em;
    font-weight: bold;
}

.game-board {
    background-color: #333;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.question-container {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #444;
    border-radius: 10px;
}

.answers-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.answer {
    background-color: #444;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.answer .number {
    background-color: #ffd700;
    color: black;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 10px;
}

.answer .text {
    flex-grow: 1;
    text-align: left;
}

.answer .points {
    font-weight: bold;
    color: #ffd700;
}

.game-controls {
    margin-bottom: 20px;
}

.game-controls button {
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #2196F3;
    color: white;
    transition: background-color 0.3s;
}

.game-controls button:hover {
    background-color: #1976D2;
}

#skip-question {
    background-color: #FF9800;
}

#skip-question:hover {
    background-color: #F57C00;
}

#pass {
    background-color: #9C27B0;
}

#pass:hover {
    background-color: #7B1FA2;
}

input[type="text"] {
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
    width: 250px;
}

button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #ffd700;
    color: black;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ffed4a;
}

.strikes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.strike {
    color: red;
    font-size: 2em;
    font-weight: bold;
    opacity: 0.3;
}

.strike.active {
    opacity: 1;
}

.hidden {
    visibility: hidden;
}

.game-setup {
    text-align: center;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.setup-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.player-inputs {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.player-input {
    flex: 1;
    min-width: 250px;
}

.player-input label,
.question-input label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
}

.player-input input,
.question-input input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #3498db;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.player-input input:focus,
.question-input input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    outline: none;
}

.question-input {
    max-width: 300px;
    margin: 0 auto;
}

#start-game {
    background: #2ecc71;
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto;
    display: block;
}

#start-game:hover {
    background: #27ae60;
    transform: scale(1.05);
}

.player-name {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-over {
    text-align: center;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    margin-top: 20px;
}

.game-over h2 {
    color: #ffd700;
    font-size: 2em;
    margin-bottom: 20px;
}

#final-scores {
    font-size: 1.5em;
    margin: 20px 0;
    color: white;
}

#questions-remaining {
    color: #ffd700;
    font-size: 1.2em;
    margin-top: 10px;
}

#play-again {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#play-again:hover {
    background-color: #45a049;
}

.scores {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 20px;
}

.player-score {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #2c3e50;
    transition: all 0.3s ease;
    width: 200px;
    opacity: 0.7;
}

.player-score.active {
    background: #3498db;
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.player-score h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.player-score .score {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 10px 0;
}

.turn-indicator {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
}

.current-turn {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    background: #e74c3c;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.question-counter {
    text-align: center;
    color: #fff;
    font-size: 18px;
    margin: 10px 0;
    opacity: 0.8;
}
