body {
    font-family: 'Roboto', sans-serif;
    background-color: #0c141c;
    background-image: url('images (8).jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: rgba(26, 44, 61, 0.95);
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(52, 152, 219, 0.35);
    border: 1px solid rgba(52, 152, 219, 0.25);
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

header {
    margin-bottom: 20px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 14px;
}

.question-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #4a627a;
}

.logo {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
    animation: pulse 4s infinite ease-in-out;
}

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

h1 {
    font-family: 'Cinzel', serif;
    color: #ecf0f1;
    text-shadow: 0 0 8px rgba(230, 126, 34, 0.65);
    margin: 0;
    font-size: 2.2em;
}

header p {
    font-size: 1.05em;
    color: #bdc3c7;
    margin-top: 6px;
}

/* Post-it Note Styles */
.post-it-note {
    font-family: 'Kalam', cursive;
    background-color: #fefabc;
    color: #333;
    padding: 25px;
    margin: 20px auto 30px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.25);
    transform: rotate(-2deg);
    max-width: 600px;
    text-align: left;
    border-radius: 4px;
}

.post-it-note h2 {
    font-size: 1.8em;
    color: #c0392b;
    margin: 0 0 10px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 5px;
}

.post-it-note p {
    font-size: 1.1em;
    margin: 0 0 15px 0;
}

.post-it-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-it-note li {
    font-size: 1.1em;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-it-note li strong {
    color: #2980b9;
}

.post-it-note li em {
    display: block;
    margin-top: 4px;
    font-style: italic;
    color: #555;
}

/* Presentation Styles */
.presentation {
    text-align: left;
    margin-bottom: 18px;
}

.presentation h2 {
    font-family: 'Cinzel', serif;
    color: #ecf0f1;
    margin: 0 0 10px 0;
    font-size: 1.3em;
    text-shadow: 0 0 6px rgba(230,126,34,0.45);
}

.slide {
    background-color: rgba(44,62,80,0.88);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    border-left: 5px solid #e67e22;
}

.place-slide {
    display: flex;
    gap: 14px;
    align-items: center;
    width: 100%;
}

.slide-image {
    width: 40%;
    max-width: 320px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #4a627a;
}

.slide-text {
    flex: 1;
    color: #dfe9f3;
}

.slide-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    color: #f7f1e6;
}

.slide-text p {
    margin: 0;
    color: #cfdff0;
    line-height: 1.45;
    font-size: 0.98em;
}

/* Presentation controls */
.presentation-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
    justify-content: flex-end;
}

.ctrl {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.ctrl:hover { background-color: #d35400; }

.slide-progress {
    color: #dfe9f3;
    font-weight: 600;
    margin-left: 6px;
}

/* Grammar Flashcard Styles */
.grammar-flashcard {
    background-color: #2c3e50;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    border-left: 5px solid #1abc9c;
}

.grammar-flashcard h2 {
    font-family: 'Cinzel', serif;
    color: #ecf0f1;
    margin: 0 0 10px 0;
    font-size: 1.3em;
    text-shadow: 0 0 6px rgba(26, 188, 156, 0.45);
}

.grammar-flashcard > p {
    margin: 0 0 15px 0;
    line-height: 1.5;
    color: #bdc3c7;
}

.grammar-flashcard ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grammar-flashcard li {
    background-color: rgba(52, 73, 94, 0.8);
    padding: 12px 15px;
    border-radius: 6px;
    line-height: 1.5;
    border-left: 3px solid #e67e22;
    color: #cfdff0;
}

.grammar-flashcard li strong {
    color: #e67e22;
}

.grammar-flashcard li em {
    color: #bdc3c7;
    font-style: italic;
    display: block;
    margin-top: 5px;
    padding-left: 10px;
    border-left: 2px solid #4a627a;
    font-size: 0.95em;
}

/* Existing question styles */
.mystery-section {
    margin-bottom: 30px;
}

.mystery-section .question-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #4a627a;
}

.question {
    background-color: #34495e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 5px solid #e67e22;
}

.question p {
    font-size: 1.1em;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

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

.option {
    display: block;
    background-color: #2c3e50;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.22s, transform 0.15s;
    border: 1px solid #4a627a;
}

.option:hover {
    background-color: #4a627a;
    transform: translateY(-1px);
}

.option input[type="radio"] {
    display: none;
}

.option input[type="radio"]:checked + span {
    font-weight: bold;
    color: #e67e22;
}

.explanation {
    margin-top: 15px;
    padding: 15px;
    background-color: #2c3e50;
    border-radius: 5px;
    border-left: 4px solid #1abc9c;
    text-align: left;
}

.explanation p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: #bdc3c7;
}

/* Feedback Styles */
.option.correct {
    background-color: #27ae60;
    color: white;
    border-color: #2ecc71;
}

.option.incorrect {
    background-color: #c0392b;
    color: white;
    border-color: #e74c3c;
}

#check-answers-btn {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.25s;
    margin-top: 12px;
}

#check-answers-btn:hover {
    background-color: #d35400;
}

#results-container {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ecf0f1;
}

/* Places list removed visually but keep responsive spacing */
.places {
    text-align: left;
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .place-slide { flex-direction: column; align-items: flex-start; }
    .slide-image { width: 100%; height: 180px; }
    .presentation-controls { justify-content: space-between; }
}