/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    background: linear-gradient(to bottom, #87CEEB 0%, #f4e8d0 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #d4a574 0%, #c19660 100%);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-bottom: 5px solid #8B4513;
}

.header-content {
    position: relative;
}

.header-content h1 {
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.header-content p {
    color: #f4e8d0;
    font-size: 1.2rem;
}

/* Meow Mascot CSS Cat */
.meow-mascot {
    position: absolute;
    top: -20px;
    right: 50px;
    transform: scale(0.8);
}

.cat-head {
    width: 60px;
    height: 60px;
    background: #333;
    border-radius: 50% 50% 45% 45%;
    position: relative;
    animation: catBob 3s ease-in-out infinite;
}

.cat-ears {
    position: absolute;
    top: -15px;
    width: 100%;
}

.ear-left, .ear-right {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 30px solid #333;
    position: absolute;
}

.ear-left {
    left: 0;
    transform: rotate(-30deg);
}

.ear-right {
    right: 0;
    transform: rotate(30deg);
}

.ear-left::after, .ear-right::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 15px solid #ff69b4;
    position: absolute;
    top: 10px;
    left: -8px;
}

.cat-face {
    position: relative;
    top: 15px;
}

.cat-eyes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.eye-left, .eye-right {
    width: 8px;
    height: 12px;
    background: #90EE90;
    border-radius: 50%;
    position: relative;
}

.eye-left::after, .eye-right::after {
    content: '';
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 2px;
}

.cat-nose {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #ff69b4;
    margin: 5px auto;
}

.cat-mouth {
    width: 20px;
    height: 10px;
    border: 2px solid #ff69b4;
    border-top: none;
    border-radius: 0 0 20px 20px;
    margin: -2px auto 0;
}

.cat-whiskers {
    position: absolute;
    top: 0;
    width: 100%;
}

.cat-whiskers::before, .cat-whiskers::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 1px;
    background: #666;
    top: 5px;
}

.cat-whiskers::before {
    left: -20px;
    transform: rotate(10deg);
}

.cat-whiskers::after {
    right: -20px;
    transform: rotate(-10deg);
}

.cat-body {
    width: 50px;
    height: 40px;
    background: #333;
    border-radius: 30px 30px 20px 20px;
    margin: -5px auto 0;
    position: relative;
}

.cat-tail {
    width: 40px;
    height: 30px;
    background: #333;
    position: absolute;
    right: -30px;
    bottom: 0;
    border-radius: 0 30px 30px 0;
    transform-origin: left center;
    animation: tailWag 4s ease-in-out infinite;
}

@keyframes catBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes tailWag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Month Section */
.month-section {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.month-section h2 {
    color: #d4a574;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.month-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Lessons Grid */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Lesson Card */
.lesson-card {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 3px solid #f4e8d0;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-color: #d4a574;
}

.lesson-card h3 {
    color: #8B4513;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.lesson-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.lesson-tag {
    display: inline-block;
    background: #FFD700;
    color: #8B4513;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* CSS Illustrations for Landing Page */
.lesson-illustration {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4e8d0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Week 1: Nile Map */
.nile-map {
    width: 100px;
    height: 120px;
    position: relative;
}

.river {
    width: 20px;
    height: 100px;
    background: linear-gradient(to bottom, #4a90e2, #5ba3f5);
    position: absolute;
    left: 40px;
    top: 0;
    border-radius: 10px;
}

.delta {
    width: 60px;
    height: 30px;
    background: #4a90e2;
    position: absolute;
    top: -10px;
    left: 20px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.pyramid-marker {
    width: 20px;
    height: 20px;
    background: #d4a574;
    position: absolute;
    left: 20px;
    top: 50px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Week 2: Egyptian House */
.egyptian-house {
    position: relative;
    width: 120px;
    height: 100px;
}

.house-base {
    width: 80px;
    height: 60px;
    background: #deb887;
    position: absolute;
    bottom: 0;
    left: 20px;
    border: 3px solid #c19660;
}

.house-door {
    width: 20px;
    height: 30px;
    background: #8B4513;
    position: absolute;
    bottom: 0;
    left: 50px;
}

.house-window {
    width: 15px;
    height: 15px;
    background: #333;
    position: absolute;
    top: 10px;
    left: 70px;
}

.palm-tree-small {
    position: absolute;
    right: 10px;
    bottom: 0;
    transform: scale(0.7);
}

.palm-trunk {
    width: 10px;
    height: 40px;
    background: #8B4513;
    position: relative;
}

.palm-leaves {
    position: absolute;
    top: -20px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #228B22;
}

/* Week 3: Pyramid Scene */
.pyramid-scene {
    position: relative;
    width: 150px;
    height: 120px;
}

.pyramid {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 80px solid #d4a574;
    position: absolute;
    bottom: 0;
    left: 15px;
}

.pharaoh-mini {
    position: absolute;
    bottom: 10px;
    right: 10px;
    transform: scale(0.5);
}

.pharaoh-headdress {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 25px 25px 10px 10px;
}

.pharaoh-face {
    width: 30px;
    height: 35px;
    background: #deb887;
    border-radius: 15px 15px 20px 20px;
    margin: -10px auto 0;
}

/* Week 4: Mummy Scene */
.mummy-scene {
    position: relative;
    width: 120px;
    height: 100px;
}

.sarcophagus {
    width: 60px;
    height: 80px;
    background: linear-gradient(to bottom, #FFD700, #d4a574);
    border-radius: 30px 30px 10px 10px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    border: 3px solid #8B4513;
}

.sarcophagus-lid {
    width: 50px;
    height: 30px;
    background: #FFD700;
    border-radius: 25px 25px 0 0;
    margin: 5px auto;
}

.mummy-wrap {
    width: 40px;
    height: 40px;
    background: repeating-linear-gradient(
        45deg,
        #f5f5f5,
        #f5f5f5 5px,
        #e0e0e0 5px,
        #e0e0e0 10px
    );
    border-radius: 20px 20px 5px 5px;
    margin: 5px auto;
}

.canopic-jar {
    width: 25px;
    height: 35px;
    background: #deb887;
    border-radius: 0 0 10px 10px;
    position: absolute;
    right: 15px;
    bottom: 10px;
    border: 2px solid #8B4513;
}

.canopic-jar::before {
    content: '';
    width: 20px;
    height: 15px;
    background: #8B4513;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 2.5px;
}

/* Week 5: Greek Temple */
.greek-temple-scene {
    width: 150px;
    height: 120px;
    position: relative;
    margin: 0 auto;
}

.temple-base {
    width: 120px;
    height: 20px;
    background: #e0e0e0;
    position: absolute;
    bottom: 10px;
    left: 15px;
}

.temple-columns {
    display: flex;
    justify-content: space-between;
    width: 100px;
    position: absolute;
    bottom: 30px;
    left: 25px;
}

.column {
    width: 15px;
    height: 60px;
    background: linear-gradient(to bottom, #f5f5f5, #d0d0d0);
    border-radius: 2px;
}

.temple-roof {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 40px solid #b87333;
    position: absolute;
    top: 10px;
    left: 5px;
}

.zeus-lightning {
    position: absolute;
    top: 0;
    right: 10px;
}

.lightning-bolt {
    width: 20px;
    height: 40px;
    background: #ffd700;
    clip-path: polygon(40% 0%, 60% 40%, 100% 35%, 50% 100%, 50% 60%, 0% 65%);
    animation: lightning-flash 3s ease-in-out infinite;
}

@keyframes lightning-flash {
    0%, 90%, 100% { opacity: 0; }
    95% { opacity: 1; }
}

/* Week 6: Olympic Scene */
.olympic-scene {
    width: 150px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.olympic-torch {
    position: absolute;
    left: 20px;
}

.torch-handle {
    width: 8px;
    height: 40px;
    background: #8B4513;
    position: relative;
}

.torch-flame {
    width: 20px;
    height: 25px;
    background: linear-gradient(to top, #ff6347, #ffd700);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: -20px;
    left: -6px;
    animation: flame-flicker 1s ease-in-out infinite;
}

@keyframes flame-flicker {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.laurel-wreath {
    position: relative;
    width: 80px;
    height: 80px;
}

.laurel-left, .laurel-right {
    position: absolute;
    width: 40px;
    height: 80px;
    border: 3px solid #228b22;
    border-radius: 50%;
}

.laurel-left {
    left: 0;
    transform: rotate(-30deg);
    border-right: none;
}

.laurel-right {
    right: 0;
    transform: rotate(30deg);
    border-left: none;
}

.discus {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    background: #cd853f;
    border-radius: 50%;
    border: 2px solid #8b6914;
}

/* Week 7: Roman Empire */
.roman-empire-scene {
    width: 150px;
    height: 120px;
    position: relative;
}

.aqueduct {
    position: absolute;
    bottom: 20px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.arch {
    width: 35px;
    height: 50px;
    border: 4px solid #8b7355;
    border-top: none;
    border-radius: 0 0 50% 50%;
}

.roman-eagle {
    position: absolute;
    top: 20px;
    right: 30px;
}

.eagle-body {
    width: 30px;
    height: 40px;
    background: #4b0082;
    border-radius: 50% 50% 40% 40%;
    position: relative;
}

.eagle-wings {
    position: absolute;
    top: 10px;
    left: -10px;
    width: 50px;
    height: 20px;
    background: #4b0082;
    border-radius: 50%;
}

.eagle-body::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 10px;
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 50%;
}

/* Week 8: Gladiator Scene */
.gladiator-scene {
    width: 150px;
    height: 120px;
    position: relative;
}

.colosseum {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.colosseum-wall {
    width: 80px;
    height: 60px;
    background: #deb887;
    border-radius: 40px 40px 0 0;
    position: relative;
}

.colosseum-arches {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
}

.colosseum-arches::before,
.colosseum-arches::after {
    content: '';
    width: 15px;
    height: 25px;
    border: 2px solid #8b7355;
    border-top: none;
    border-radius: 0 0 50% 50%;
}

.gladiator-gear {
    position: absolute;
    top: 20px;
    right: 20px;
}

.helmet {
    width: 25px;
    height: 30px;
    background: #c0c0c0;
    border-radius: 50% 50% 0 0;
    position: relative;
}

.helmet::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 5px;
    height: 15px;
    background: #dc143c;
}

.shield {
    width: 30px;
    height: 35px;
    background: #cd853f;
    border-radius: 0 0 50% 50%;
    margin-top: 5px;
    position: relative;
}

.shield::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #8b0000;
    border-radius: 50%;
}

/* Coming Soon Section */
.coming-soon {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.coming-soon h2 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 2rem;
}

.future-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.future-month {
    background: #f4e8d0;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.future-month:hover {
    opacity: 1;
}

.month-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.future-month h4 {
    color: #8B4513;
    font-size: 0.9rem;
}

/* Week 9: Castle Scene */
.castle-scene {
    position: relative;
    width: 120px;
    height: 100px;
}

.castle-base {
    width: 80px;
    height: 50px;
    background: #8B7355;
    position: absolute;
    bottom: 0;
    left: 20px;
    border: 2px solid #5D4E37;
}

.castle-towers {
    position: absolute;
    bottom: 50px;
    width: 80px;
    left: 20px;
    display: flex;
    justify-content: space-between;
}

.tower {
    width: 25px;
    height: 40px;
    background: #8B7355;
    border: 2px solid #5D4E37;
    position: relative;
}

.tower::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -2px;
    width: 29px;
    height: 10px;
    background: #696969;
    border-radius: 2px 2px 0 0;
}

.castle-gate {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 20px;
    height: 25px;
    background: #4B3621;
    border-radius: 10px 10px 0 0;
}

.castle-flag {
    position: absolute;
    top: -30px;
    right: 2px;
    width: 15px;
    height: 10px;
    background: #DC143C;
    clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%);
}

/* Week 10: Village Scene */
.village-scene {
    position: relative;
    width: 120px;
    height: 100px;
}

.village-houses {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.house-small {
    width: 25px;
    height: 30px;
    background: #DEB887;
    position: relative;
}

.house-small::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 15px solid #8B4513;
}

.windmill {
    position: absolute;
    right: 10px;
    bottom: 30px;
}

.windmill-base {
    width: 20px;
    height: 35px;
    background: #F5DEB3;
    border-radius: 2px 2px 0 0;
}

.windmill-blades {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 30px;
    height: 30px;
    animation: windmill-rotate 8s linear infinite;
}

.windmill-blades::before,
.windmill-blades::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 4px;
    background: #8B4513;
    left: 50%;
    top: 50%;
}

.windmill-blades::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.windmill-blades::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

@keyframes windmill-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Week 11: Viking Scene */
.viking-scene {
    position: relative;
    width: 120px;
    height: 100px;
}

.viking-ship {
    position: absolute;
    bottom: 30px;
    left: 20px;
}

.ship-hull {
    width: 60px;
    height: 25px;
    background: #8B4513;
    border-radius: 0 0 30px 30px;
    border: 2px solid #654321;
}

.ship-sail {
    position: absolute;
    bottom: 25px;
    left: 20px;
    width: 30px;
    height: 35px;
    background: #DC143C;
    border-radius: 0 0 15px 15px;
    transform: skewX(-5deg);
}

.dragon-head {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 15px;
    height: 20px;
    background: #8B4513;
    clip-path: polygon(0 50%, 50% 0, 100% 20%, 100% 80%, 50% 100%);
}

.waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
}

.wave {
    position: absolute;
    width: 40px;
    height: 10px;
    background: #4682B4;
    border-radius: 50% 50% 0 0;
    bottom: 10px;
}

.wave-1 {
    left: 10px;
    animation: wave-move 2s ease-in-out infinite;
}

.wave-2 {
    right: 10px;
    animation: wave-move 2s ease-in-out infinite 0.5s;
}

@keyframes wave-move {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Week 12: Plague Scene */
.plague-scene {
    position: relative;
    width: 120px;
    height: 100px;
}

.medieval-doctor {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.plague-mask {
    width: 20px;
    height: 25px;
    background: #2F4F4F;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.plague-mask::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -8px;
    width: 12px;
    height: 5px;
    background: #2F4F4F;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.doctor-robe {
    width: 25px;
    height: 30px;
    background: #2F4F4F;
    border-radius: 0 0 5px 5px;
}

.herb-garden {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
}

.herb {
    width: 8px;
    height: 20px;
    background: #228B22;
    position: relative;
}

.herb::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -2px;
    width: 12px;
    height: 8px;
    border-radius: 50%;
}

.herb-1::before {
    background: #9370DB;
}

.herb-2::before {
    background: #3CB371;
}

.herb-3::before {
    background: #228B22;
}

/* Week 13: Columbus Scene */
.columbus-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 60%, #4682B4 60%);
    border-radius: 10px;
    overflow: hidden;
}

.ocean-horizon {
    position: absolute;
    bottom: 40%;
    width: 100%;
    height: 2px;
    background: #1E90FF;
}

.sailing-ships {
    position: absolute;
    bottom: 35px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.ship {
    position: relative;
}

.santa-maria {
    transform: scale(1.2);
}

.ship-hull-exploration {
    width: 40px;
    height: 20px;
    background: #8B4513;
    border-radius: 0 0 20px 20px;
    border: 2px solid #654321;
}

.ship-masts {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.main-sail {
    width: 30px;
    height: 25px;
    background: #F5F5DC;
    border-radius: 0 0 15px 15px;
    position: relative;
}

.cross-symbol {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: #DC143C;
    font-size: 12px;
    font-weight: bold;
}

.cross-symbol::before {
    content: "✚";
}

.nina, .pinta {
    transform: scale(0.8);
}

.ship-hull-small {
    width: 25px;
    height: 12px;
    background: #8B4513;
    border-radius: 0 0 12px 12px;
}

.small-sail {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: #F5F5DC;
    border-radius: 0 0 10px 10px;
}

.sun-rising {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 20px #FFA500;
}

/* Week 14: Explorers Map Scene */
.explorers-scene {
    position: relative;
    width: 150px;
    height: 120px;
}

.world-map-simple {
    width: 120px;
    height: 80px;
    background: #F0E68C;
    border: 2px solid #8B4513;
    border-radius: 10px;
    position: absolute;
    left: 15px;
    top: 10px;
    overflow: hidden;
}

.continent {
    position: absolute;
    background: #228B22;
}

.europe {
    width: 20px;
    height: 20px;
    top: 20px;
    right: 40px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
}

.africa {
    width: 25px;
    height: 35px;
    top: 35px;
    right: 35px;
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
}

.asia {
    width: 35px;
    height: 30px;
    top: 15px;
    right: 10px;
    clip-path: polygon(0% 30%, 30% 0%, 100% 0%, 100% 100%, 30% 100%, 0% 70%);
}

.americas {
    width: 20px;
    height: 50px;
    top: 10px;
    left: 10px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.explorer-routes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.route {
    position: absolute;
    height: 2px;
    background: #DC143C;
    transform-origin: left center;
}

.route-magellan {
    width: 100px;
    top: 50%;
    left: 10px;
    transform: rotate(-5deg);
}

.route-dagama {
    width: 60px;
    top: 60%;
    right: 10px;
    transform: rotate(15deg);
}

.route-polo {
    width: 40px;
    top: 30%;
    right: 20px;
    transform: rotate(-10deg);
}

.compass-rose {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 2px solid #8B4513;
    border-radius: 50%;
    background: white;
}

.compass-points {
    position: relative;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    font-size: 8px;
    font-weight: bold;
    color: #8B4513;
}

.north {
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.south {
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.east {
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.west {
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
}

/* Week 15: Native Civilizations Scene */
.native-civilizations-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 40%, #DEB887 40%);
    border-radius: 10px;
}

.aztec-pyramid {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.pyramid-steps {
    width: 80px;
    height: 60px;
    background: linear-gradient(to bottom,
        #8B7355 0%, #8B7355 20%,
        #A0826D 20%, #A0826D 40%,
        #BC9A6A 40%, #BC9A6A 60%,
        #D2B48C 60%, #D2B48C 80%,
        #DEB887 80%, #DEB887 100%);
    clip-path: polygon(20% 100%, 50% 0%, 80% 100%);
}

.temple-top {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: #8B4513;
    border: 2px solid #654321;
}

.sun-disk {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: #FFD700;
    border-radius: 50%;
    border: 3px solid #FFA500;
}

.sun-disk::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 2px solid #FF8C00;
    border-radius: 50%;
}

.native-symbols {
    position: absolute;
    top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.symbol {
    width: 20px;
    height: 20px;
}

.aztec-calendar {
    background: #CD853F;
    border-radius: 50%;
    border: 2px solid #8B4513;
    position: relative;
}

.aztec-calendar::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid #8B4513;
    border-radius: 50%;
}

.inca-llama {
    background: #F5DEB3;
    clip-path: polygon(
        20% 80%, 20% 60%, 10% 60%, 10% 40%, 20% 40%, 20% 20%,
        40% 10%, 60% 10%, 70% 20%, 70% 40%, 90% 40%, 90% 60%,
        80% 60%, 80% 80%, 60% 80%, 60% 100%, 40% 100%, 40% 80%
    );
}

.native-eagle {
    background: #8B4513;
    clip-path: polygon(
        50% 10%, 70% 30%, 90% 20%, 80% 50%, 90% 70%,
        70% 60%, 50% 80%, 30% 60%, 10% 70%, 20% 50%,
        10% 20%, 30% 30%
    );
}

/* Week 16: Columbian Exchange Scene */
.exchange-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 50%, #4682B4 50%);
    border-radius: 10px;
}

.exchange-ships {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.ship-going-west, .ship-going-east {
    width: 50px;
    height: 40px;
    background: #8B4513;
    border-radius: 0 0 25px 25px;
    position: relative;
    border: 2px solid #654321;
}

.cargo-icons {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.icon {
    font-size: 14px;
}

.exchange-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.arrow {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
}

/* Week 17: Mayflower Scene */
.mayflower-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 50%, #4682B4 50%);
    border-radius: 10px;
    overflow: hidden;
}

.ocean-colonial {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: #4682B4;
}

.mayflower-ship {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
}

.ship-hull-mayflower {
    width: 60px;
    height: 25px;
    background: #8B4513;
    border-radius: 0 0 30px 30px;
    border: 3px solid #654321;
}

.ship-masts-colonial {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.colonial-sail {
    width: 35px;
    height: 30px;
    background: #F5F5DC;
    position: absolute;
    left: -17px;
    border-radius: 0 0 17px 17px;
}

.colonial-flag {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 15px;
    height: 10px;
    background: #DC143C;
    clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%);
}

.plymouth-rock {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 25px;
    height: 15px;
    background: #808080;
    border-radius: 50%;
    border: 2px solid #696969;
}

/* Week 18: Colonial Life Scene */
.colonial-life-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 40%, #90EE90 40%);
    border-radius: 10px;
}

.colonial-house {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.house-frame {
    width: 50px;
    height: 40px;
    background: #8B4513;
    position: relative;
}

.chimney {
    position: absolute;
    right: 5px;
    bottom: 35px;
    width: 12px;
    height: 20px;
    background: #DC143C;
    border: 2px solid #8B0000;
}

.chimney::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: #808080;
    opacity: 0.5;
    border-radius: 50%;
    animation: smoke-rise 3s ease-out infinite;
}

@keyframes smoke-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    100% { transform: translateY(-20px) scale(2); opacity: 0; }
}

.colonial-door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 20px;
    background: #654321;
}

.colonial-windows {
    position: absolute;
    top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.colonial-windows::before,
.colonial-windows::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #87CEEB;
    border: 2px solid #654321;
}

.colonial-activities {
    position: absolute;
    right: 20px;
    bottom: 30px;
    display: flex;
    gap: 10px;
}

.spinning-wheel {
    width: 20px;
    height: 20px;
    border: 2px solid #8B4513;
    border-radius: 50%;
    position: relative;
}

.spinning-wheel::before {
    content: '';
    position: absolute;
    inset: 2px;
    border: 1px solid #8B4513;
    border-radius: 50%;
}

.butter-churn {
    width: 12px;
    height: 18px;
    background: #DEB887;
    border-radius: 0 0 6px 6px;
    position: relative;
}

.butter-churn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: #654321;
}

.quill-inkwell {
    position: relative;
    width: 15px;
    height: 10px;
}

.quill-inkwell::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.quill-inkwell::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 10px;
    height: 2px;
    background: #F5F5DC;
    transform: rotate(-45deg);
}

/* Week 19: Boston Tea Party Scene */
.boston-tea-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #2F4F4F 40%, #4682B4 40%);
    border-radius: 10px;
    overflow: hidden;
}

.boston-harbor {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
}

.harbor-water {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #4682B4;
}

.british-ship {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.ship-with-tea {
    width: 50px;
    height: 30px;
    background: #8B4513;
    border-radius: 0 0 25px 25px;
    border: 2px solid #654321;
}

.tea-crates-falling {
    position: absolute;
    top: -20px;
    left: 10px;
}

.tea-crate {
    width: 10px;
    height: 10px;
    background: #DEB887;
    border: 1px solid #8B4513;
    position: absolute;
    animation: crate-fall 2s ease-in infinite;
}

.tea-crate:nth-child(1) {
    left: 0;
    animation-delay: 0s;
}

.tea-crate:nth-child(2) {
    left: 15px;
    animation-delay: 0.5s;
}

.tea-crate:nth-child(3) {
    left: 30px;
    animation-delay: 1s;
}

@keyframes crate-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(40px) rotate(180deg); opacity: 0; }
}

.colonists-disguised {
    position: absolute;
    bottom: 25px;
    left: 20px;
}

.colonist-figure {
    width: 15px;
    height: 25px;
    background: #2F4F4F;
    position: absolute;
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
}

.colonist-figure:nth-child(2) {
    left: 20px;
}

/* Week 20: Revolutionary War Scene */
.revolution-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #B0C4DE 50%, #F5F5DC 50%);
    border-radius: 10px;
}

.liberty-bell {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.bell-body {
    width: 40px;
    height: 45px;
    background: #B87333;
    border-radius: 20px 20px 25px 25px;
    position: relative;
}

.bell-crack {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: #654321;
    clip-path: polygon(0 0, 100% 10%, 50% 50%, 100% 90%, 0 100%);
}

.bell-mount {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: #654321;
    border-radius: 10px 10px 0 0;
}

.revolutionary-symbols {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.colonial-flag-waving {
    width: 25px;
    height: 20px;
    background: linear-gradient(
        180deg,
        #DC143C 0%, #DC143C 7%,
        white 7%, white 14%,
        #DC143C 14%, #DC143C 21%,
        white 21%, white 28%,
        #DC143C 28%, #DC143C 35%,
        white 35%, white 42%,
        #DC143C 42%, #DC143C 49%,
        white 49%, white 56%,
        #DC143C 56%, #DC143C 63%,
        white 63%, white 70%,
        #DC143C 70%, #DC143C 77%,
        white 77%, white 84%,
        #DC143C 84%, #DC143C 91%,
        white 91%, white 100%
    );
    position: relative;
    animation: flag-wave 3s ease-in-out infinite;
}

.colonial-flag-waving::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 50%;
    background: #002868;
}

@keyframes flag-wave {
    0%, 100% { transform: skewY(0deg); }
    50% { transform: skewY(5deg); }
}

.musket-crossed {
    width: 30px;
    height: 30px;
    position: relative;
}

.musket-crossed::before,
.musket-crossed::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #654321;
    top: 50%;
    left: 50%;
}

.musket-crossed::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.musket-crossed::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.tricorn-hat {
    width: 25px;
    height: 15px;
    background: #000;
    clip-path: polygon(10% 100%, 20% 20%, 50% 0%, 80% 20%, 90% 100%);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #8B4513;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .meow-mascot {
        transform: scale(0.6);
        right: 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .lessons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Month 6: Westward Expansion Styles */

/* Week 21: Louisiana Purchase */
.louisiana-purchase-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: #F0E68C;
    border-radius: 10px;
    overflow: hidden;
}

.map-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F5DEB3 0%, #DEB887 100%);
}

.expansion-visual {
    position: absolute;
    width: 100%;
    height: 100%;
}

.original-states {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 40px;
    height: 60px;
    background: #4169E1;
    clip-path: polygon(100% 0, 100% 100%, 60% 90%, 50% 60%, 60% 30%, 50% 10%);
}

.louisiana-territory {
    position: absolute;
    left: 10px;
    top: 15px;
    width: 80px;
    height: 70px;
    background: #228B22;
    clip-path: polygon(20% 0, 100% 10%, 90% 90%, 10% 100%, 0 50%);
    opacity: 0.7;
}

.lewis-clark-route {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 100px;
    height: 3px;
    background: #8B4513;
    transform: translateY(-50%);
}

.lewis-clark-route::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: -8px;
    color: #8B4513;
    font-size: 16px;
}

.purchase-elements {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.dollar-sign {
    font-size: 20px;
    color: #FFD700;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.handshake-symbol {
    width: 25px;
    height: 15px;
    background: #8B4513;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 20px;
}

/* Week 22: Oregon Trail */
.oregon-trail-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 40%, #F4A460 40%);
    border-radius: 10px;
    overflow: hidden;
}

.prairie-landscape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #D2691E 0%, #F4A460 100%);
}

.wagon-train {
    position: absolute;
    bottom: 35px;
    left: 20px;
}

.covered-wagon {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.covered-wagon::before {
    content: '';
    width: 25px;
    height: 15px;
    background: #8B4513;
    position: absolute;
    bottom: 0;
    border-radius: 2px;
}

.covered-wagon::after {
    content: '';
    width: 20px;
    height: 15px;
    background: #F5F5DC;
    position: absolute;
    bottom: 5px;
    left: 2px;
    border-radius: 10px 10px 0 0;
}

.wagon-1 {
    z-index: 2;
}

.wagon-2 {
    transform: scale(0.8);
    opacity: 0.8;
}

.oxen {
    width: 15px;
    height: 10px;
    background: #8B4513;
    position: absolute;
    bottom: 0;
    left: -20px;
    border-radius: 50% 50% 0 0;
}

.trail-markers {
    position: absolute;
    bottom: 20px;
    right: 10px;
}

.chimney-rock {
    width: 15px;
    height: 25px;
    background: #A0522D;
    position: absolute;
    bottom: 0;
    clip-path: polygon(40% 100%, 60% 100%, 50% 0);
}

.milestone-marker {
    width: 10px;
    height: 15px;
    background: #696969;
    position: absolute;
    bottom: 0;
    right: 20px;
    border-radius: 2px;
}

/* Week 23: Gold Rush */
.gold-rush-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 30%, #F4A460 30%);
    border-radius: 10px;
    overflow: hidden;
}

.mining-town {
    position: absolute;
    top: 30px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.saloon, .general-store, .bank {
    width: 35px;
    height: 40px;
    background: #8B4513;
    position: relative;
}

.saloon::before {
    content: 'SALOON';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    color: #FFD700;
}

.general-store::before {
    content: 'STORE';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    color: white;
}

.bank::before {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #FFD700;
}

.mining-activity {
    position: absolute;
    bottom: 10px;
    left: 20px;
}

.gold-miner {
    position: relative;
    width: 20px;
    height: 30px;
}

.miner-hat {
    width: 15px;
    height: 8px;
    background: #2F4F4F;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: 0;
}

.pickaxe {
    width: 20px;
    height: 3px;
    background: #696969;
    position: absolute;
    bottom: 10px;
    transform: rotate(-45deg);
}

.pickaxe::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #696969;
    position: absolute;
    right: -3px;
    top: -2px;
}

.gold-pan {
    width: 25px;
    height: 15px;
    background: #696969;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 30px;
}

.gold-nuggets {
    position: absolute;
    bottom: 8px;
    right: 10px;
}

.nugget {
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    display: inline-block;
    margin: 1px;
    box-shadow: 0 0 3px #FFD700;
}

/* Week 24: Wild West */
.wild-west-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #FFE4B5 40%, #F4A460 40%);
    border-radius: 10px;
    overflow: hidden;
}

.desert-background {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        #F4A460,
        #F4A460 20px,
        #DEB887 20px,
        #DEB887 40px
    );
}

.cowboy-elements {
    position: absolute;
    bottom: 25px;
    left: 20px;
}

.cowboy-figure {
    position: relative;
    width: 20px;
    height: 35px;
}

.cowboy-hat {
    width: 20px;
    height: 8px;
    background: #8B4513;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: 0;
}

.cowboy-hat::before {
    content: '';
    width: 30px;
    height: 3px;
    background: #8B4513;
    position: absolute;
    bottom: 0;
    left: -5px;
}

.lasso {
    width: 25px;
    height: 25px;
    border: 2px solid #8B4513;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: -20px;
}

.cattle {
    position: absolute;
    bottom: 20px;
    left: 60px;
}

.cow {
    width: 15px;
    height: 10px;
    background: #8B4513;
    border-radius: 40%;
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.cow::before {
    content: '';
    width: 3px;
    height: 3px;
    background: white;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
}

.native-elements {
    position: absolute;
    bottom: 20px;
    right: 15px;
}

.teepee {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #D2691E;
    position: relative;
}

.teepee::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #D2691E;
    position: absolute;
    bottom: -5px;
    left: -5px;
}

.buffalo {
    width: 20px;
    height: 12px;
    background: #654321;
    border-radius: 40% 60% 60% 40%;
    position: absolute;
    bottom: 0;
    right: 30px;
}

.buffalo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #654321;
    border-radius: 50%;
    position: absolute;
    left: -5px;
    top: 0;
}

/* Month 7: Modern History Lesson Cards */

/* Week 25: Industrial Revolution */
.industrial-revolution-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #696969 40%, #2F4F4F 40%);
    border-radius: 10px;
    overflow: hidden;
}

.factory-skyline {
    position: absolute;
    bottom: 20px;
    left: 10px;
}

.factory-building {
    width: 60px;
    height: 40px;
    background: #8B4513;
    position: relative;
}

.factory-chimney {
    width: 12px;
    height: 30px;
    background: #654321;
    position: absolute;
    bottom: 100%;
}

.smoke-stack-1 {
    left: 10px;
}

.smoke-stack-2 {
    left: 35px;
}

.factory-roof {
    position: absolute;
    top: -10px;
    width: 100%;
    height: 10px;
    background: #4B0000;
    transform: skewY(-3deg);
}

.smoke-clouds {
    position: absolute;
    top: 5px;
    left: 15px;
}

.smoke-puff {
    width: 20px;
    height: 20px;
    background: rgba(105, 105, 105, 0.6);
    border-radius: 50%;
    display: inline-block;
    margin: 0 -5px;
    animation: float 3s ease-in-out infinite;
}

.smoke-puff:nth-child(2) {
    animation-delay: 0.5s;
}

.steam-engine {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.engine-body {
    width: 30px;
    height: 15px;
    background: #2F4F4F;
    border-radius: 0 5px 5px 0;
}

.engine-wheels {
    position: absolute;
    bottom: -5px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.engine-wheels::before,
.engine-wheels::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

.gears-spinning {
    position: absolute;
    top: 15px;
    right: 20px;
}

.gear {
    position: absolute;
    border: 3px solid #4682B4;
    border-style: dashed;
    border-radius: 50%;
    animation: spin 4s linear infinite;
}

.large-gear {
    width: 25px;
    height: 25px;
}

.small-gear {
    width: 15px;
    height: 15px;
    left: 20px;
    top: 5px;
    animation-direction: reverse;
    animation-duration: 3s;
}

/* Week 26: World War I */
.wwi-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #C0C0C0 40%, #8B7355 40%);
    border-radius: 10px;
    overflow: hidden;
}

.trench-warfare {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.trench-line {
    position: absolute;
    bottom: 10px;
    width: 40%;
    height: 15px;
    background: #654321;
    border-top: 3px solid #4B4B4B;
}

.no-mans-land {
    position: absolute;
    bottom: 10px;
    left: 40%;
    right: 40%;
    height: 15px;
    background: #8B7355;
}

.barbed-wire {
    position: absolute;
    bottom: 15px;
    left: 45%;
    right: 45%;
    height: 5px;
    background: repeating-linear-gradient(
        45deg,
        #4B4B4B,
        #4B4B4B 2px,
        transparent 2px,
        transparent 5px
    );
}

.biplane {
    position: absolute;
    top: 20px;
    left: 20px;
    animation: fly 8s linear infinite;
}

.plane-body {
    width: 25px;
    height: 8px;
    background: #556B2F;
    border-radius: 50% 20% 20% 50%;
}

.plane-wings {
    position: absolute;
    top: -3px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: #556B2F;
    clip-path: polygon(50% 50%, 0% 0%, 100% 0%);
}

.plane-propeller {
    position: absolute;
    left: -3px;
    top: 2px;
    width: 6px;
    height: 4px;
    background: #333;
    animation: spin 0.1s linear infinite;
}

.poppy-field {
    position: absolute;
    bottom: 5px;
    right: 10px;
}

.poppy {
    width: 8px;
    height: 8px;
    background: #DC143C;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    position: relative;
}

.poppy::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 3px;
    width: 2px;
    height: 5px;
    background: #228B22;
}

/* Week 27: World War II */
.wwii-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #87CEEB 50%, #F0E68C 50%);
    border-radius: 10px;
    overflow: hidden;
}

.wwii-sky {
    position: absolute;
    top: 10px;
    width: 100%;
}

.allied-bomber {
    width: 35px;
    height: 10px;
    background: #4682B4;
    position: absolute;
    left: 20px;
    border-radius: 50% 20% 20% 50%;
}

.allied-bomber::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 10px;
    width: 25px;
    height: 3px;
    background: #4682B4;
}

.fighter-plane {
    width: 20px;
    height: 8px;
    background: #DC143C;
    position: absolute;
    right: 20px;
    top: 15px;
    border-radius: 40% 10% 10% 40%;
}

.home-front {
    position: absolute;
    bottom: 20px;
    left: 10px;
}

.victory-garden {
    width: 30px;
    height: 20px;
    background: #228B22;
    border-radius: 5px;
    position: relative;
}

.victory-garden::before {
    content: '🥕';
    position: absolute;
    top: -5px;
    left: 5px;
    font-size: 12px;
}

.ration-book {
    width: 20px;
    height: 15px;
    background: #F5DEB3;
    position: absolute;
    left: 40px;
    border: 1px solid #8B4513;
}

.liberation-scene {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.allied-flag {
    width: 20px;
    height: 15px;
    background: linear-gradient(
        to bottom,
        #FF0000 33%,
        #FFFFFF 33%,
        #FFFFFF 66%,
        #0000FF 66%
    );
    border: 1px solid #333;
}

.peace-dove {
    width: 15px;
    height: 10px;
    background: white;
    border-radius: 50% 50% 0 50%;
    position: absolute;
    right: -20px;
    top: -5px;
    transform: rotate(-20deg);
}

/* Week 28: Civil Rights */
.civil-rights-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #FFE4B5 40%, #98FB98 40%);
    border-radius: 10px;
    overflow: hidden;
}

.march-for-freedom {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.protesters {
    display: flex;
    gap: 5px;
}

.protester {
    width: 8px;
    height: 20px;
    background: #8B4513;
    border-radius: 40% 40% 0 0;
    position: relative;
}

.protester::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #654321;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 1px;
}

.equality-signs {
    position: absolute;
    top: -25px;
    left: -5px;
}

.sign {
    background: white;
    padding: 2px 5px;
    border: 1px solid #333;
    font-size: 8px;
    font-weight: bold;
}

.unity-symbols {
    position: absolute;
    top: 20px;
    right: 20px;
}

.linked-hands {
    width: 30px;
    height: 15px;
    border: 3px solid #8B4513;
    border-bottom: none;
    border-radius: 50% 50% 0 0;
}

.peace-symbol {
    width: 25px;
    height: 25px;
    border: 3px solid #4169E1;
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: 15px;
}

.peace-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 12px;
    background: #4169E1;
}

.peace-symbol::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50%;
    border-top: 3px solid #4169E1;
    clip-path: polygon(0 0, 35% 100%, 65% 100%, 100% 0);
}

@keyframes fly {
    from { transform: translateX(0); }
    to { transform: translateX(130px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Month 8: Digital Age Lesson Cards */

/* Week 29: Birth of Computers */
.early-computer-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #E6E6E6 40%, #4B4B4B 40%);
    border-radius: 10px;
    overflow: hidden;
}

.eniac-computer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 5px;
}

.computer-panel {
    width: 40px;
    height: 60px;
    background: #8B7355;
    border: 2px solid #654321;
    position: relative;
    padding: 5px;
}

.vacuum-tubes {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.tube {
    width: 8px;
    height: 15px;
    background: #FFD700;
    border-radius: 40%;
    opacity: 0.8;
}

.switches {
    display: flex;
    gap: 5px;
}

.switch {
    width: 6px;
    height: 10px;
    background: #333;
    border-radius: 2px;
}

.dials {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.dial {
    width: 12px;
    height: 12px;
    border: 2px solid #333;
    border-radius: 50%;
}

.lights {
    display: flex;
    gap: 3px;
}

.light {
    width: 6px;
    height: 6px;
    background: #8B0000;
    border-radius: 50%;
}

.light.on {
    background: #FF0000;
    box-shadow: 0 0 4px #FF0000;
}

.punch-cards {
    position: absolute;
    right: 20px;
    bottom: 30px;
}

.card {
    width: 25px;
    height: 15px;
    background: #F5DEB3;
    border: 1px solid #8B7355;
    margin-bottom: 2px;
}

/* Week 30: Internet */
.internet-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #000033 40%, #003366 40%);
    border-radius: 10px;
    overflow: hidden;
}

.world-network {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.globe {
    width: 50px;
    height: 50px;
    background: #4169E1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.continent {
    position: absolute;
    background: #228B22;
}

.continent:first-child {
    width: 20px;
    height: 25px;
    top: 10px;
    left: 5px;
    border-radius: 40%;
}

.continent:last-child {
    width: 15px;
    height: 20px;
    top: 15px;
    right: 8px;
    border-radius: 30%;
}

.network-lines {
    position: absolute;
    top: 25px;
    left: -20px;
    width: 90px;
}

.connection {
    position: absolute;
    height: 2px;
    background: #00FF00;
    transform-origin: left;
}

.connection:nth-child(1) {
    width: 40px;
    transform: rotate(-30deg);
}

.connection:nth-child(2) {
    width: 40px;
    transform: rotate(30deg);
}

.connection:nth-child(3) {
    width: 30px;
    left: 35px;
    top: -10px;
}

.data-packets {
    position: absolute;
    top: 30px;
}

.packet {
    width: 6px;
    height: 6px;
    background: #FFFF00;
    position: absolute;
    animation: dataFlow 3s linear infinite;
}

.packet:nth-child(2) {
    animation-delay: 1.5s;
}

.early-browser {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 30px;
    background: #C0C0C0;
    border: 2px solid #808080;
}

.browser-bar {
    height: 6px;
    background: #4169E1;
    border-bottom: 1px solid #808080;
}

.webpage {
    padding: 2px;
    background: white;
    height: calc(100% - 7px);
}

/* Week 31: Social Media */
.social-media-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    overflow: hidden;
}

.smartphone {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 70px;
    background: #333;
    border-radius: 8px;
    padding: 5px;
}

.phone-screen {
    width: 100%;
    height: 85%;
    background: #FFF;
    border-radius: 4px;
    padding: 3px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

.app {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    border-radius: 3px;
}

.phone-button {
    width: 15px;
    height: 5px;
    background: #666;
    border-radius: 10px;
    margin: 3px auto 0;
}

.social-icons {
    position: absolute;
    right: 20px;
    top: 20px;
}

.like-heart {
    width: 15px;
    height: 13px;
    background: #FF1744;
    position: relative;
    transform: rotate(-45deg);
    margin-bottom: 10px;
}

.like-heart::before,
.like-heart::after {
    content: '';
    width: 15px;
    height: 13px;
    background: #FF1744;
    border-radius: 50%;
    position: absolute;
}

.like-heart::before {
    left: 7px;
    top: 0;
}

.like-heart::after {
    left: 0;
    top: -7px;
}

.share-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #1DA1F2;
    margin-bottom: 10px;
}

.comment-bubble {
    width: 18px;
    height: 15px;
    background: #4CAF50;
    border-radius: 10px;
    position: relative;
}

.comment-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 3px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #4CAF50;
}

/* Week 32: Future Tech */
.future-tech-scene {
    position: relative;
    width: 150px;
    height: 120px;
    background: linear-gradient(to bottom, #1a1a2e 40%, #16213e 40%);
    border-radius: 10px;
    overflow: hidden;
}

.robot-helper {
    position: absolute;
    left: 30px;
    bottom: 20px;
}

.robot-head {
    width: 30px;
    height: 25px;
    background: #C0C0C0;
    border-radius: 10px 10px 5px 5px;
    position: relative;
}

.robot-eyes {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}

.robot-eyes .eye {
    width: 6px;
    height: 6px;
    background: #00FFFF;
    border-radius: 50%;
    animation: robotBlink 3s infinite;
}

.robot-antenna {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: #666;
}

.robot-antenna::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -2px;
    width: 6px;
    height: 6px;
    background: #FF0000;
    border-radius: 50%;
}

.robot-body {
    width: 35px;
    height: 30px;
    background: #A9A9A9;
    border-radius: 5px;
    position: relative;
    margin-top: 2px;
}

.robot-screen {
    width: 25px;
    height: 15px;
    background: #000;
    margin: 5px auto;
    border: 2px solid #666;
    position: relative;
    overflow: hidden;
}

.robot-screen::after {
    content: '010101';
    color: #00FF00;
    font-size: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.robot-arms {
    position: absolute;
    top: 5px;
    width: 100%;
}

.robot-arms .arm {
    position: absolute;
    width: 8px;
    height: 20px;
    background: #808080;
    border-radius: 4px;
}

.robot-arms .arm:first-child {
    left: -10px;
}

.robot-arms .arm:last-child {
    right: -10px;
}

.future-elements {
    position: absolute;
    right: 20px;
    top: 20px;
}

.vr-headset {
    width: 25px;
    height: 15px;
    background: #4B0082;
    border-radius: 5px;
    position: relative;
    margin-bottom: 10px;
}

.vr-headset::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    right: -5px;
    height: 2px;
    background: #333;
}

.ai-brain {
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #FF1493, #8B008B);
    border-radius: 50%;
    position: relative;
}

.ai-brain::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid #FFF;
    border-radius: 50%;
    border-style: dashed;
    animation: aiThink 2s linear infinite;
}

@keyframes dataFlow {
    from { transform: translateX(0); }
    to { transform: translateX(40px); }
}

@keyframes robotBlink {
    0%, 90% { opacity: 1; }
    95% { opacity: 0; }
}

@keyframes aiThink {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}