/* game.css */

/* General choice container styling */
.choice-container {
    display: flex;
    justify-content: center; /* Ensure text is centered horizontally */
    align-items: center; /* Ensure text is centered vertically */
    margin-bottom: 2rem; /* Increased margin for better spacing */
    font-size: 1.8rem;
    border: 0.2rem solid rgba(15, 117, 189, 0.7); /* Transparent border for softer look */
    background-color: rgba(15, 117, 189, 0.7); /* Softer color for buttons */
    color: white;
    border-radius: 15px; /* Slightly smaller radius */
    text-align: center;
    padding: 1rem; /* Reduced padding for better fit */
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.choice-container:hover {
    cursor: pointer;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2); /* Stronger shadow for visual feedback */
    transform: translateY(-0.15rem);
    background-color: rgba(247, 44, 147, 0.7); /* Changed hover color to pink */
/* Active/focus effects for touch devices */
@media (hover: none) and (pointer: coarse) {
    .choice-container:active,
    .choice-container:focus {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
        transform: translateY(-0.1rem);
        background-color: rgba(15, 117, 189, 0.85);
    }
}

.choice-text {
    width: 100%;
    font-size: 1.8rem; /* Slightly reduced for mobile */
    text-align: center; /* Center text horizontally */
}

.correct {
    background-color: rgba(40, 167, 69, 0.7); /* Soft green for correct answer */
    color: white;
}

.incorrect {
    background-color: rgba(220, 53, 69, 0.7); /* Soft red for incorrect answer */
}

/* HUD prefix styling */
.hud-prefix {
    font-size: 1.6rem; /* Slightly reduced */
    color: #333;
}

/* Game container */
#game {
    text-align: center;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 600px; /* Smaller max-width for better fit on mobile */
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    #game {
        padding: 1rem; /* Further reduced padding */
    }
    .choice-container {
        width: 100%;
        margin-bottom: 1rem; /* Reduced margin for better fit on smaller screens */
    }
    #progress-bar {
        height: 1.2rem; /* Reduced height */
    }
}

@media screen and (min-width: 769px) {
    #game {
        padding: 3rem;
    }
    .choice-container {
        width: 80%;
        margin: 1rem auto; /* Center buttons and give more breathing room on desktop */
    }
}

/* Progress bar styling */
#progress-bar {
    width: 100%;
    height: 2rem;
    border: none;
    margin-top: 4.7rem;
    text-align: center;
    border-radius: 25px;
}

#progressBarFull {
    height: 1.6rem;
    background-color: rgba(247, 44, 147, 0.7);
    width: 0%;
    border-radius: 25px;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}
