/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d32f2f;
    --secondary-color: #ffd700;
    --accent-color: #4caf50;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #fff9f0;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Fullscreen Video Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeInVideo 0.5s ease-in;
    overflow: hidden;
    touch-action: none;
}

.video-overlay.fade-out {
    animation: fadeOutVideo 0.8s ease-out forwards;
    pointer-events: none;
}

.fullscreen-video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    aspect-ratio: 4/3;
    background: #000;
}

.video-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 4999;
    text-align: center;
    position: absolute;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.video-loading-indicator p {
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    animation: blink 1.5s ease-in-out infinite;
    margin: 0;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}

@keyframes fadeInVideo {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOutVideo {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideUpIn {
    from {
        transform: translateX(-50%) translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fff9f0 0%, #ffecd2 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: relative;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 60px 20px 40px;
    text-align: center;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
}

.date-badge {
    display: inline-block;
    font-size: 4rem;
    font-weight: 700;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.main-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.school-logo {
    margin-top: 30px;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
}

.school-name {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bird {
    position: absolute;
    font-size: 2rem;
    animation: fly 5s ease-in-out infinite;
}

.bird-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bird-2 {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes fly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -20px) rotate(5deg);
    }
}

.tree {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.7;
}

/* Hero Section */
.hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%234caf50" fill-opacity="0.3" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>'),
                linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.3) 80%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Section Styles */
.section {
    margin-bottom: 80px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.decorative-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    margin: 20px auto;
    border-radius: 2px;
}

/* Content Cards */
.content-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.question-card,
.story-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.question-card::before,
.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.question-card:hover::before,
.story-card:hover::before {
    transform: scaleX(1);
}

.question-card:hover,
.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.question-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.question {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.answer {
    color: var(--accent-color);
    font-style: italic;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.story-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.story-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* Story Full Layout */
.story-full {
    padding: 20px 0;
}

.story-paragraph {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(to right, rgba(76, 175, 80, 0.05), transparent);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.story-paragraph:hover {
    background: linear-gradient(to right, rgba(76, 175, 80, 0.1), transparent);
    transform: translateX(5px);
}

.story-paragraph p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.story-ending {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 15px;
}

.story-ending p {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
}

/* Poem Card */
.poem-card {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
}

.poem-content,
.poem-info {
    margin-bottom: 20px;
}

.poem-content p,
.poem-info p {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-style: italic;
}

.poem-author {
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 20px;
}

/* Message Content */
.message-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

/* Music Notes */
.music-notes {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 40px 0;
}

.note {
    display: inline-block;
    margin: 0 15px;
    animation: bounce 2s ease-in-out infinite;
}

.note:nth-child(2) {
    animation-delay: 0.3s;
}

.note:nth-child(3) {
    animation-delay: 0.6s;
}

.note:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 20px 0;
    font-family: 'Playfair Display', serif;
}

.footer-signature {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin: 30px 0;
}

.stars {
    margin-top: 30px;
}

.star {
    display: inline-block;
    font-size: 2rem;
    margin: 0 10px;
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(2) {
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    animation-delay: 1s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .date-badge {
        font-size: 3rem;
        padding: 15px 30px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .date-badge {
        font-size: 1.6rem !important;
        padding: 12px 20px !important;
        width: auto !important;
        height: auto !important;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 2.4rem !important;
    }

    .hero-subtitle {
        font-size: 1.8rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-highlight {
        font-size: 1.2rem;
    }

    .footer-signature {
        font-size: 1.5rem;
    }
}

/* Music Player Styles */
.music-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.music-player-wrapper {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Audio Player Container */
.audio-player-container {
    width: 100%;
    margin-bottom: 20px;
}

.album-art {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.album-icon {
    font-size: 6rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Equalizer Animation */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equalizer.active {
    opacity: 1;
}

.equalizer .bar {
    width: 6px;
    background: white;
    border-radius: 3px;
    animation: equalize 1s ease-in-out infinite;
}

.equalizer .bar:nth-child(1) {
    animation-delay: 0s;
    height: 10px;
}

.equalizer .bar:nth-child(2) {
    animation-delay: 0.2s;
    height: 20px;
}

.equalizer .bar:nth-child(3) {
    animation-delay: 0.4s;
    height: 15px;
}

.equalizer .bar:nth-child(4) {
    animation-delay: 0.6s;
    height: 25px;
}

.equalizer .bar:nth-child(5) {
    animation-delay: 0.8s;
    height: 18px;
}

@keyframes equalize {
    0%, 100% {
        height: 10px;
    }
    50% {
        height: 40px;
    }
}

#audioPlayer {
    display: none;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #e53935);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.control-btn:active {
    transform: scale(0.95);
}

.player-info {
    flex: 1;
}

.song-title {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 3px;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-btn:hover {
    transform: scale(1.1);
}

.volume-slider {
    width: 80px;
    height: 6px;
    border-radius: 3px;
    outline: none;
    background: #e0e0e0;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

/* Lyrics Container */
.lyrics-container {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.lyrics-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    scroll-behavior: smooth;
}

.lyrics-scroll::-webkit-scrollbar {
    width: 8px;
}

.lyrics-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.lyrics-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.lyrics-scroll::-webkit-scrollbar-thumb:hover {
    background: #b71c1c;
}

.lyric-line {
    padding: 12px 0;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.95);
}

.lyric-line.active {
    opacity: 1;
    transform: scale(1);
    font-weight: 500;
}

.lyric-line.active .lyric-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(211, 47, 47, 0.2);
}

.lyric-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
}

.lyrics-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.lyrics-note p {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive for Music Section */
@media (max-width: 768px) {
    .music-container {
        grid-template-columns: 1fr;
    }

    .player-controls {
        flex-direction: column;
        gap: 15px;
    }

    .player-info {
        width: 100%;
    }

    .lyrics-scroll {
        max-height: 300px;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Quiz Styles */
.quiz-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quiz-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.quiz-card .question-number {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1rem;
}

.quiz-question {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid transparent;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 500;
}

.quiz-option:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #cffafe 100%);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.quiz-option.selected {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-color: #ffd700;
    transform: translateX(10px);
}

.quiz-option.correct {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
    border-color: #4caf50;
    color: white;
    cursor: default;
}

.quiz-option.incorrect {
    background: linear-gradient(135deg, #d32f2f 0%, #ef5350 100%);
    border-color: #d32f2f;
    color: white;
    cursor: default;
}

.quiz-option.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.quiz-result {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.quiz-result.show {
    display: block;
}

.quiz-result.correct {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.quiz-result.incorrect {
    background: rgba(211, 47, 47, 0.1);
    color: #c62828;
    border: 2px solid #d32f2f;
}

.quiz-score-container {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.check-answers-btn,
.reset-quiz-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    margin: 10px;
}

.check-answers-btn:hover,
.reset-quiz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.reset-quiz-btn {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    display: none;
}

.reset-quiz-btn:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.quiz-score {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
    display: none;
}

.quiz-score.show {
    display: block;
}

.quiz-score.excellent {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
    color: white;
}

.quiz-score.good {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.quiz-score.average {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: white;
}

/* Responsive for Quiz */
@media (max-width: 768px) {
    .quiz-question {
        font-size: 1rem;
    }
    
    .quiz-option {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .check-answers-btn,
    .reset-quiz-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ========================================
   MOBILE OPTIMIZATION
   ======================================== */

/* Video Overlay Mobile */
@media (max-width: 768px) {
    .fullscreen-video {
        object-fit: cover;
    }
    
    #videoUnmutePrompt {
        bottom: 20px !important;
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }
    
    #videoSkipBtn {
        top: 10px !important;
        right: 10px !important;
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
}

/* Header Mobile */
@media (max-width: 768px) {
    .header {
        padding: 40px 15px 30px;
    }
    
    .main-title {
        font-size: 1.5rem !important;
    }
    
    .date-badge {
        font-size: 1.8rem !important;
        padding: 12px 20px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .school-name {
        font-size: 0.9rem !important;
    }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 30vh;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important;
    }
}

/* Container Mobile */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Styles Mobile */
@media (max-width: 768px) {
    .section {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 1.7rem !important;
    }
    
    .section-subtitle {
        font-size: 1.1rem !important;
    }
}

/* Audio Player Mobile */
@media (max-width: 768px) {
    .audio-player-container {
        max-width: 100%;
        margin: 0;
    }
    
    .player-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .player-info {
        min-width: 100%;
        order: 3;
    }
    
    .control-btn {
        font-size: 1.5rem !important;
    }
    
    .volume-control {
        order: 2;
        width: 100%;
    }
    
    .volume-slider {
        width: 100%;
    }
    
    .lyrics-container {
        max-height: 300px;
    }
}

/* Gallery Mobile */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-photo {
        aspect-ratio: auto;
        min-height: 250px;
    }
    
    .photo-placeholder {
        aspect-ratio: 1;
    }
}

/* Quiz Mobile */
@media (max-width: 480px) {
    .quiz-card {
        padding: 20px;
    }
    
    .question-number {
        padding: 6px 15px !important;
        font-size: 1rem !important;
    }
    
    .quiz-question {
        font-size: 1.05rem !important;
    }
    
    .quiz-option {
        padding: 12px 12px !important;
        font-size: 0.95rem !important;
    }
}

/* Story Mobile */
@media (max-width: 768px) {
    .story-paragraph {
        padding: 15px;
        margin: 10px 0;
        border-left-width: 3px;
    }
    
    .story-paragraph p {
        font-size: 1.02rem;
    }
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }
    
    .footer-text {
        font-size: 0.95rem;
    }
    
    .footer-highlight {
        font-size: 1.1rem;
    }
    
    .stars {
        margin-top: 15px;
    }
    
    .star {
        font-size: 1.5rem;
        margin: 0 8px;
    }
}

/* Poem Mobile */
@media (max-width: 768px) {
    .poem-content {
        padding: 20px;
    }
    
    .poem-content p {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

/* Touch-friendly adjustments */
@media (max-width: 480px) {
    /* Increase touch target sizes */
    button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .quiz-option {
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    
    .control-btn {
        min-width: 50px;
        min-height: 50px;
    }
    
    /* Reduce padding for better space usage */
    .content-card {
        padding: 20px;
    }
    
    .intro-text {
        font-size: 1.02rem;
        line-height: 1.7;
    }
    
    /* Reduce decorative elements on mobile */
    .bird {
        font-size: 2rem !important;
        opacity: 0.7;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screen optimizations */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Prevent text selection issues on mobile */
@media (max-width: 768px) {
    body {
        -webkit-user-select: none;
        user-select: none;
    }
    
    .intro-text,
    .quiz-question,
    .story-paragraph,
    .poem-content {
        -webkit-user-select: text;
        user-select: text;
    }
}

/* Reduce animations on low-power devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
