/* style.css */

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

body {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.section {
    margin-top: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #6c63ff;
    outline: none;
}

.btn {
    background-color: #6c63ff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #5751d9;
}

.btn:active {
    transform: scale(0.98);
}

.hidden {
    display: none;
}

.question-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
    gap: 10px;
}

.player-name {
    font-weight: bold;
    color: #6c63ff;
}

.question {
    background: #f0f0f0;
    padding: 25px;
    border-radius: 10px;
    font-size: 1.2em;
    color: #444;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.score-display {
    margin-top: 20px;
    font-size: 1em;
    color: #555;
}

@media (max-width: 600px) {
    .game-container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .question {
        font-size: 1em;
        padding: 20px;
    }

    .btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9em;
    }

    .question-header {
        flex-direction: column;
        gap: 10px;
    }
}