body {
    margin: 0;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#game-title {
    font-size: 32px;
    color: #333;
    margin: 0 0 20px 0;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #4CAF50;
}

.character-status {
    text-align: center;
    margin-bottom: 20px;
}

.main-character {
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.main-character.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.main-character.fullscreen img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.main-character img {
    max-width: 300px;
    height: auto;
    transition: opacity 0.5s ease;
}

.progress-status {
    margin: 20px 0;
}

.stage-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.stage-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.stage-dot.active {
    background-color: #4CAF50;
}

.stage-dot.completed {
    background-color: #45a049;
}

.game-controls {
    text-align: center;
}

.choices {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.choice-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.choice-btn:active {
    transform: translateY(0);
}

.choice-btn.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.choice-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.game-status {
    margin: 20px 0;
}

#message {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.game-clear {
    color: #4CAF50;
    font-weight: bold;
    font-size: 24px;
    animation: pulse 1.5s infinite;
}

.expressions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.expression {
    display: none;
    max-width: 100px;
    height: auto;
}

.expression.active {
    display: block;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #game-title {
        font-size: 24px;
        padding: 5px;
    }

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

    .choice-btn {
        padding: 10px 20px;
    }

    .main-character img {
        max-width: 200px;
    }
}