/* GAME-SPECIFIC STYLES: mom_simulator.css */

.game-wrapper {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.game-wrapper h1 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 28px;
}

.story-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scenario-text {
    font-size: 18px;
    line-height: 1.6;
    color: #495057;
}

.options-container {
    display: grid;
    gap: 15px;
}

.option-btn {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit; /* Use the site's font */
    border: 2px solid var(--primary-color);
    background-color: #ffffff;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Ensure buttons take full width of the grid column */
}

.option-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.worry-meter-container {
    margin-top: 30px;
}

.worry-meter-container label {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    color: #555;
}

.meter-bar {
    width: 100%;
    height: 25px;
    background-color: #e9ecef;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    position: relative;
}

.meter-level {
    height: 100%;
    width: 0%; /* Starts at 0 */
    /* Gradient from Green to Red */
    background: linear-gradient(90deg, #2a9d8f 0%, #ffc107 50%, #d62828 100%);
    transition: width 0.5s ease-in-out;
}

#worry-value {
    display: block;
    margin-top: 5px;
    font-weight: 600;
    color: #888;
}

.restart-btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    background-color: var(--success-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.restart-btn:hover {
    background-color: #218838;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .game-wrapper {
        padding: 20px 15px;
    }
    .game-wrapper h1 {
        font-size: 24px;
    }
}