:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --background-color: #f5f6fa;
    --button-hover: #2980b9;
}

body {
    margin: 0;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

#level-info {
    text-align: center;
    margin-bottom: 30px;
}

#level-title {
    color: var(--primary-color);
    margin-bottom: 10px;
}

#scene-display {
    text-align: center;
    margin: 20px 0;
}

#scene-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.option-btn {
    padding: 15px 20px;
    font-size: 1.1em;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.option-btn:hover {
    background-color: var(--button-hover);
}

#feedback-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.feedback-success {
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 5px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    margin-bottom: 15px;
}

.feedback-failure {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    margin-bottom: 15px;
}

.feedback-failure::before {
    content: '❌';
    margin-right: 8px;
}

.feedback-success::before {
    content: '✅';
    margin-right: 8px;
}

#feedback-container.hidden {
    display: none;
}

.stage-button {
    display: block;
    margin: 20px auto;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.stage-button:hover {
    background-color: var(--button-hover);
}

.feedback-stage {
    margin: 20px 0;
}

.feedback-stage.hidden {
    display: none;
}

#next-level:hover {
    background-color: #34495e;
}

.hidden {
    display: none !important;
}

#pedagogical-text {
    background: linear-gradient(to right, #f6f9fc, #ffffff);
    padding: 25px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin: 25px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

#pedagogical-text b {
    color: var(--primary-color);
    font-size: 1.15em;
}

#pedagogical-text i {
    color: #666;
    font-style: italic;
}
