* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Arial, sans-serif;

    background: #10131a;
    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    width: 100%;
    max-width: 700px;
    padding: 30px 20px;
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h1 {
    margin: 20px 0 8px;
    font-size: 36px;
}

.game-header p {
    color: #aeb4c0;
}

.back-button {
    color: #8ab4ff;
    text-decoration: none;
}

.progress {
    margin-bottom: 25px;
}

#question-number {
    display: block;
    margin-bottom: 10px;
    color: #aeb4c0;
}

.progress-bar {
    width: 100%;
    height: 8px;

    background: #292e38;
    border-radius: 20px;

    overflow: hidden;
}

#progress-fill {
    width: 11.11%;
    height: 100%;

    background: #5b8cff;

    transition: width 0.3s ease;
}

.question-card {
    background: #191d26;

    padding: 30px;

    border-radius: 16px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.question-card h2 {
    margin-top: 0;
    margin-bottom: 25px;

    font-size: 24px;
    line-height: 1.4;
}

.answers {
    display: grid;
    gap: 12px;
}

.answer {
    width: 100%;

    padding: 16px;

    border: 2px solid #303642;
    border-radius: 10px;

    background: #222733;
    color: white;

    font-size: 17px;

    cursor: pointer;

    transition: 0.2s;
}

.answer:hover {
    border-color: #5b8cff;
    background: #272e3d;
}

.result {
    text-align: center;

    background: #191d26;

    padding: 40px 30px;

    border-radius: 16px;
}

.score {
    width: 130px;
    height: 130px;

    margin: 25px auto;

    border-radius: 50%;

    background: #5b8cff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.score span {
    font-size: 42px;
    font-weight: bold;
}

#result-message {
    color: #c4c9d2;
    font-size: 18px;
    margin-bottom: 30px;
}

button,
.home-button {
    display: block;

    width: 100%;

    padding: 15px;

    margin-top: 12px;

    border: none;
    border-radius: 10px;

    font-size: 16px;

    cursor: pointer;

    text-decoration: none;
}

#restart-button {
    background: #5b8cff;
    color: white;
}

.home-button {
    background: #292e38;
    color: white;
}

.hidden {
    display: none;
}

@media (max-width: 600px) {

    .game-container {
        padding: 20px 15px;
    }

    .game-header h1 {
        font-size: 28px;
    }

    .question-card {
        padding: 22px;
    }

    .question-card h2 {
        font-size: 20px;
    }
}
