.game-container {
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Question */
.question-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.question {
    font-size: clamp(32px, 8vw, 80px);
    font-weight: bold;
    color: #4A4A8C;
    text-shadow: 4px 4px 0 #FFFFFF, -2px -2px 0 #FFFFFF, 2px -2px 0 #FFFFFF, -2px 2px 0 #FFFFFF;
    letter-spacing: 5px;
    background: #FFFFFF;
    padding: 20px 50px;
    border-radius: 25px;
    border: 5px solid #4A4A8C;
    max-width: 95%;
    word-wrap: break-word;
    text-align: center;
}

/* Feedback Message */
.feedback-message {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    min-height: 45px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedback-message.show {
    opacity: 1;
    color: #4A4A8C;
}

.feedback-message.correct {
    color: #228B22;
}

.feedback-message.incorrect {
    color: #DC143C;
}

/* Answer Section */
.answers-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto 10px;
    padding: 0 20px;
}

.character {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
}

.answer-btn {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid;
    font-size: 56px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

/* Button colors */
.answer-btn:nth-child(1) {
    background: linear-gradient(135deg, #A8E6CF 0%, #7FD8BE 100%);
    border-color: #56C596;
    color: #2D5F4E;
}

.answer-btn:nth-child(2) {
    background: linear-gradient(135deg, #FFB3E6 0%, #FF8AD8 100%);
    border-color: #E85FB9;
    color: #8B2E5F;
}

.answer-btn:nth-child(3) {
    background: linear-gradient(135deg, #A8D8FF 0%, #7FC7FF 100%);
    border-color: #4DA6E8;
    color: #2D5A8B;
}

.answer-btn:nth-child(4) {
    background: linear-gradient(135deg, #FFE6A8 0%, #FFD77F 100%);
    border-color: #E8B84D;
    color: #8B6E2D;
}

.answer-btn:nth-child(5) {
    background: linear-gradient(135deg, #FFB8B8 0%, #FF9999 100%);
    border-color: #E85F5F;
    color: #8B2E2E;
}

.answer-btn:nth-child(6) {
    background: linear-gradient(135deg, #D4A8FF 0%, #C17FFF 100%);
    border-color: #9D4DE8;
    color: #5A2D8B;
}

.answer-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.answer-btn:active {
    transform: translateY(3px) scale(1.05);
}

.answer-btn.correct {
    background: linear-gradient(135deg, #90EE90 0%, #32CD32 100%) !important;
    border-color: #228B22 !important;
    color: #0F4D0F !important;
    animation: bounce 0.6s ease;
}

.answer-btn.incorrect {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%) !important;
    border-color: #CC0000 !important;
    color: #660000 !important;
    animation: shake 0.5s ease;
}

.answer-btn:disabled:not(.correct):not(.incorrect) {
    background: linear-gradient(135deg, #D3D3D3 0%, #A9A9A9 100%) !important;
    border-color: #808080 !important;
    color: #505050 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Controls Box */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 20px;
    border: 4px solid #4A4A8C;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.logo-container {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70%;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-btn {
    background: #FFFFFF;
    border: 4px solid #4A4A8C;
    border-radius: 15px;
    height: 56px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(2px);
}

.question-info {
    background: #FFFFFF;
    border: 4px solid #4A4A8C;
    border-radius: 12px;
    height: 56px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #4A4A8C;
}

#fullscreenBtn {
    font-size: 32px;
    color: #4A4A8C;
}

@media (max-width: 900px) {
    .character {
        width: 100px;
    }

    .answers-section {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .question {
        font-size: 50px;
        padding: 15px 30px;
    }

    .feedback-message {
        font-size: 24px;
    }

    .character {
        width: 80px;
        position: absolute;
        bottom: -40px;
    }

    .character-left {
        left: -56px;
    }

    .character-right {
        right: -51px;
    }

    .answers-section {
        position: relative;
        padding-bottom: 40px;
        gap: 10px;
    }

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

    .answer-btn {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .controls {
        width: 95%;
        margin-bottom: 55px;
    }

    .nav-btn {
        height: 40px;
        width: 50px;
        font-size: 20px;
    }

    #fullscreenBtn {
        display: none !important;
    }

    .question-info {
        font-size: 16px;
        height: 40px;
    }

    .logo-container {
        display: none;
    }
}