body {
    font-family: Arial, sans-serif;
    background-color: #d0e4fe;
    margin: 0;
    padding: 0;
}

/* Navigation Styles - Full width at top */
nav {
    background-color: #4a90e2;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 100;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}

nav li {
    position: relative;
}

nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main content layout */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

/* Ensure all headings and content are left-aligned by default */
h1, h2, h3, h4, h5, h6 {
    text-align: left;
}

p, ul, ol {
    text-align: left;
}

/* Images should be responsive but not centered unless specified */
img {
    max-width: 100%;
    height: auto;
}

/* Trivia game styles */
.trivia-container {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

/* Wings of Fire trivia page specific styling */
.trivia-page main {
    text-align: center;
    padding: 10px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.trivia-page h1 {
    text-align: center !important;
    font-size: 2em;
    margin: 10px 0;
    flex-shrink: 0;
}

.trivia-page img {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
    max-height: 25vh;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* Trivia game layout - Responsive */
.trivia-game {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.question-counter {
    font-size: 1.1em;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 20px;
}

.game-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.game-controls button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 120px;
    flex: 0 1 auto;
}

.game-controls button:hover:not(:disabled) {
    background-color: #357abd;
}

.game-controls button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.score-display {
    background-color: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.score-display h3 {
    color: #2e7d32;
    margin-top: 0;
    font-size: 1.5em;
}

.score-display p {
    font-size: 1.1em;
    margin: 10px 0;
}

#restart-button {
    background-color: #4caf50 !important;
}

#restart-button:hover {
    background-color: #45a049 !important;
}

/* Question and answer text styling */
.question p {
    font-size: 1.1em;
    line-height: 1.5;
    margin: 0;
    padding: 10px;
    max-width: 100%;
    word-wrap: break-word;
}

.answer p {
    margin: 5px 0;
    line-height: 1.4;
    max-width: 100%;
    word-wrap: break-word;
}

/* Multiple choice styling */
.choices {
    margin: 20px 0;
}

.choice-button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-sizing: border-box;
}

.choice-button:hover:not(:disabled) {
    background-color: #e9ecef;
    border-color: #4a90e2;
}

.choice-button:disabled {
    cursor: not-allowed;
}

.choice-button.correct {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
    font-weight: bold;
}

.choice-button.incorrect {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.explanation {
    background-color: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
}

.explanation p {
    margin: 5px 0;
    line-height: 1.4;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .trivia-page h1 {
        font-size: 1.5em;
        margin: 8px 0;
    }
    
    .trivia-page img {
        max-height: 20vh;
        margin-bottom: 10px;
    }
    
    .trivia-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .question p {
        font-size: 1em;
        padding: 8px;
    }
    
    .choice-button {
        padding: 12px 15px;
        font-size: 0.9em;
        margin: 8px 0;
    }
    
    .explanation {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .game-controls button {
        padding: 10px 20px;
        font-size: 0.9em;
        min-width: 100px;
    }
    
    .question-counter {
        font-size: 1em;
    }
    
    .score-display {
        padding: 15px;
        margin: 15px auto;
    }
    
    .score-display h3 {
        font-size: 1.3em;
    }
    
    .score-display p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .trivia-page main {
        padding: 5px;
    }
    
    .trivia-game {
        padding: 0 10px;
    }
    
    .trivia-page h1 {
        font-size: 1.3em;
        margin-bottom: 8px;
    }
    
    .trivia-page img {
        max-height: 15vh;
        margin-bottom: 8px;
    }
    
    .trivia-container {
        padding: 12px;
    }
    
    .question p {
        font-size: 0.95em;
    }
    
    .choice-button {
        padding: 10px 12px;
        font-size: 0.85em;
        margin: 6px 0;
    }
    
    .explanation {
        padding: 10px;
        font-size: 0.85em;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .game-controls button {
        width: 100%;
        max-width: 200px;
        margin: 5px 0;
    }
    
    .question-counter {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
}

@media (max-height: 600px) {
    .trivia-page img {
        max-height: 15vh;
    }
    
    .trivia-page h1 {
        font-size: 1.4em;
        margin: 5px 0;
    }
    
    .trivia-container {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .question-counter {
        margin-bottom: 10px;
    }
}

@media (min-width: 1200px) {
    .trivia-game {
        padding: 0 40px;
    }
    
    .question p {
        font-size: 1.3em;
        padding: 15px;
    }
    
    .choice-button {
        font-size: 1.1em;
        padding: 18px 25px;
        margin: 12px 0;
    }
    
    .explanation {
        font-size: 1.1em;
        padding: 20px;
    }
    
    .trivia-container {
        padding: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .trivia-game {
        padding: 0 25px;
    }
    
    .question p {
        font-size: 1.2em;
        padding: 12px;
    }
    
    .choice-button {
        font-size: 1em;
        padding: 16px 20px;
        margin: 10px 0;
    }
    
    .explanation {
        font-size: 1em;
        padding: 18px;
    }
    
    .trivia-container {
        padding: 25px;
    }
}

.question {
    font-size: 20px;
    margin-bottom: 20px;
}

.answer {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.answer:hover {
    background-color: #0056b3;
}

.hidden-answer {
    display: none;
}

.answer.revealed .answer-text {
    display: none;
}

.answer.revealed .hidden-answer {
    display: block;
    color: white;
}

/* Blog Styles */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-posts ul {
    list-style: none;
    padding: 0;
}

.blog-posts li {
    background: white;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-posts a {
    font-size: 1.2em;
    font-weight: bold;
    color: #4a90e2;
    text-decoration: none;
}

.blog-posts a:hover {
    text-decoration: underline;
}

.blog-posts time {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 0.5rem;
}

/* Wishlist Page Styles */
.wishlist-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.wishlist-container h1 {
    text-align: center;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.wishlist-container h2 {
    color: #2c5d8f;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.wishlist-container ul {
    list-style: disc;
    padding-left: 2rem;
}

.wishlist-container li {
    margin: 0.8rem 0;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    transition: background-color 0.2s;
}

.wishlist-container li:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.wishlist-container .update-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.wishlist-container .love-note {
    text-align: center;
    color: #d63384;
    font-weight: bold;
    margin-top: 1rem;
}

/* Special announcement on homepage */
.special-announcement {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.special-announcement a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.special-announcement a:hover {
    text-decoration: underline;
}