/* ==========================================================================
   Crater Lake Theme - Deep Blue / Volcanic Majesty Calendar
   Version: 1.0
   Updated: 2026-04-02
   Changes:
   - Deep sapphire lake waters surrounded by ancient volcanic caldera
   - Pristine snowcaps, evergreen forests, and dramatic cliffside geology
   - Wizard Island, phantom ship, and rim drive inspired palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
    /* Crater Lake Palette - Volcanic / Deep Blue */
    --cl-bg: #F0F4F8;
    --cl-text: #2C3E4E;
    --cl-primary: #FFFFFF;
    --cl-secondary: #F8FAFC;
    --cl-date-number: #2C6E9E;

    /* Crater Lake Blue */
    --cl-lake1: #2B6C9E;
    --cl-lake2: #235B87;
    --cl-lake3: #1B4A70;
    --cl-lake4: rgba(43, 108, 158, 0.7);
    --cl-lake5: rgba(43, 108, 158, 0.2);

    /* Evergreen Forest */
    --cl-forest1: #2E5A3E;
    --cl-forest2: #254D33;
    --cl-forest3: #1C4028;
    --cl-forest4: rgba(46, 90, 62, 0.7);
    --cl-forest5: rgba(46, 90, 62, 0.2);

    /* Volcanic Rock */
    --cl-rock1: #6B6B6B;
    --cl-rock2: #5A5A5A;
    --cl-rock3: #494949;
    --cl-rock4: rgba(107, 107, 107, 0.7);
    --cl-rock5: rgba(107, 107, 107, 0.2);

    /* Snowcap White */
    --cl-snow1: #F0F4F8;
    --cl-snow2: #E8EDF2;
    --cl-snow3: #DCE3EA;
    --cl-snow4: rgba(240, 244, 248, 0.7);
    --cl-snow5: rgba(240, 244, 248, 0.25);

    /* Wizard Island Green */
    --cl-island1: #4A7C59;
    --cl-island2: #3D6B4A;
    --cl-island3: #305A3B;
    --cl-island4: rgba(74, 124, 89, 0.7);
    --cl-island5: rgba(74, 124, 89, 0.2);

    /* Sunset Glow */
    --cl-sunset1: #E89B6E;
    --cl-sunset2: #E08A58;
    --cl-sunset3: #D87942;
    --cl-sunset4: rgba(232, 155, 110, 0.7);
    --cl-sunset5: rgba(232, 155, 110, 0.2);

    /* Theme Variables */
    --cl-shadow: rgba(43, 108, 158, 0.15);
    --cl-radius: 20px;
    --cl-transition: 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --cl-hover: #2B6C9E;
    --cl-glow: 0 0 25px rgba(43, 108, 158, 0.3);
    --cl-pattern: repeating-linear-gradient(135deg, rgba(43, 108, 158, 0.04) 0px, rgba(43, 108, 158, 0.04) 2px, transparent 2px, transparent 12px);
}

/* ==================== ANIMATIONS ==================== */
@keyframes cl-water-ripple {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes cl-crater-rise {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cl-lake-glow {

    0%,
    100% {
        box-shadow: 0 0 2px var(--cl-lake4);
    }

    50% {
        box-shadow: var(--cl-glow);
    }
}

@keyframes cl-sun-arc {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

@keyframes cl-pine-sway {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-2px);
    }
}

@keyframes cl-mountain-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes cl-ice-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes cl-branch-sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1deg);
    }
}

@keyframes cl-snow-dust {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    50% {
        transform: translateY(-15px) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0;
    }
}

@keyframes cl-eagle-soar {
    0% {
        transform: translateX(-30px) translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(30px) translateY(-15px);
        opacity: 0;
    }
}

@keyframes cl-rim-drift {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

/* ==================== BASE STYLES ==================== */
.crater-lake-oregon {
    font-family: 'Nunito', sans-serif;
    color: var(--cl-text);
    line-height: 1.65;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--cl-bg) 0%, #E8EDF5 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.crater-lake-oregon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 40%, var(--cl-lake5) 0%, transparent 55%),
        radial-gradient(circle at 70% 60%, var(--cl-forest5) 0%, transparent 55%),
        radial-gradient(circle at 50% 20%, var(--cl-snow5) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><path d="M60,20 L80,50 L70,50 L80,80 L50,70 L20,80 L30,50 L20,20 L50,30 Z" fill="%232B6C9E" opacity="0.04"/><path d="M40,90 L60,70 L80,90 L60,110 Z" fill="%232E5A3E" opacity="0.04"/></svg>');
    background-size: 300px 300px, 260px 260px, 220px 220px, 160px 160px;
    pointer-events: none;
    z-index: 1;
}

.crater-lake-oregon .container {
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    padding: 2rem;
    border: 1px solid var(--cl-lake4);
    box-shadow:
        0 8px 32px var(--cl-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 36px;
    z-index: 2;
    background-image: var(--cl-pattern);
}

.crater-lake-oregon .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--cl-lake1) 0%,
            var(--cl-forest1) 25%,
            var(--cl-snow1) 50%,
            var(--cl-sunset1) 75%,
            var(--cl-rock1) 100%);
    animation: cl-sun-arc 15s linear infinite;
    background-size: 300% 100%;
}

.crater-lake-oregon .container::after {
    content: "🏔️";
    position: absolute;
    bottom: 12px;
    right: 20px;
    font-size: 1.8rem;
    opacity: 0.15;
    animation: cl-branch-sway 8s ease-in-out infinite;
}

/* ==================== HEADER & TITLE ==================== */
.crater-lake-oregon #calendar-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--cl-text);
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    position: relative;
    font-weight: 500;
    text-shadow:
        2px 2px 4px rgba(255, 255, 255, 0.8),
        1px 1px 0 rgba(0, 0, 0, 0.02);
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 50%, var(--cl-sunset1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: cl-ice-shimmer 10s linear infinite;
}

.crater-lake-oregon #calendar-title::after {
    content: "🌲";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    opacity: 0.4;
    animation: cl-pine-sway 6s ease-in-out infinite;
}

/* ==================== DATE & WEATHER DISPLAY ==================== */
.crater-lake-oregon #date-weather-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    border: 1px solid var(--cl-lake4);
    border-radius: 80px;
    position: relative;
    box-shadow:
        0 4px 20px var(--cl-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.crater-lake-oregon #date-weather-container::before {
    content: "CRATER LAKE";
    position: absolute;
    top: -10px;
    right: 30px;
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    padding: 0 14px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--cl-lake2);
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    text-transform: uppercase;
    border: 1px solid var(--cl-lake4);
    border-radius: 20px;
}

.crater-lake-oregon #date-weather-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cl-lake2), transparent);
}

.crater-lake-oregon #current-date {
    font-family: 'Quicksand', sans-serif;
    color: var(--cl-text);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.crater-lake-oregon #today-weather {
    font-family: 'Nunito', sans-serif;
    color: var(--cl-lake2);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

/* ==================== ANALOG CLOCK ==================== */
.crater-lake-oregon #analog-watch {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.crater-lake-oregon .clock-face {
    width: 180px;
    height: 180px;
    border: 2px solid var(--cl-lake1);
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    box-shadow:
        0 8px 30px var(--cl-shadow),
        inset 0 0 0 2px rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.crater-lake-oregon .clock-face::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, var(--cl-sunset1) 0%, var(--cl-lake2) 100%);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 8px var(--cl-lake1);
}

.crater-lake-oregon .clock-face::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at center, transparent 70%, var(--cl-lake5) 100%),
        repeating-conic-gradient(from 0deg,
            transparent 0deg 5deg,
            var(--cl-forest5) 6deg 7deg,
            transparent 8deg 15deg);
}

.crater-lake-oregon .hand {
    position: absolute;
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: all 0.05s;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
    z-index: 5;
}

.crater-lake-oregon .hour-hand {
    width: 35%;
    left: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--cl-lake2) 0%, var(--cl-rock1) 100%);
    margin-top: -1.5px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.crater-lake-oregon .minute-hand {
    width: 45%;
    left: 5%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--cl-forest2) 0%, var(--cl-rock2) 100%);
    margin-top: -1.25px;
    border-radius: 2.5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.crater-lake-oregon .second-hand {
    width: 45%;
    left: 5%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--cl-sunset2) 0%, var(--cl-snow1) 100%);
    margin-top: -0.75px;
}

/* ==================== CALENDAR TABLE ==================== */
.crater-lake-oregon table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: 2rem auto;
    background-color: transparent;
    table-layout: fixed;
}

/* DAY OF WEEK HEADERS */
.crater-lake-oregon th {
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    color: var(--cl-primary) !important;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    padding: 0.9rem 0.5rem;
    border-radius: 30px 30px 12px 12px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.crater-lake-oregon th::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 100%);
    pointer-events: none;
}

.crater-lake-oregon th span.full-day-name {
    display: inline;
    position: relative;
    z-index: 1;
}

.crater-lake-oregon th abbr {
    display: none;
    text-decoration: none;
    border-bottom: none;
}

/* DATE NUMBER STYLES */
.crater-lake-oregon td {
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    color: var(--cl-text);
    padding: 0.9rem;
    border: 1px solid var(--cl-lake4);
    height: 100px;
    vertical-align: top;
    transition: all var(--cl-transition);
    position: relative;
    border-radius: 24px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        0 4px 12px var(--cl-shadow);
}

.crater-lake-oregon td .date-number {
    color: var(--cl-date-number) !important;
    font-weight: 600;
    font-size: 1.2rem;
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: 'Quicksand', sans-serif;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.crater-lake-oregon td:hover {
    background: linear-gradient(135deg, #F5F8FC 0%, #F0F5FA 100%);
    box-shadow:
        0 8px 24px var(--cl-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.85);
    border-color: var(--cl-lake2);
    transform: translateY(-3px);
}

/* Current date highlight */
.crater-lake-oregon td.current-day {
    background: linear-gradient(135deg, rgba(43, 108, 158, 0.08) 0%, rgba(46, 90, 62, 0.08) 100%);
    border: 1px solid var(--cl-lake1);
    animation: cl-lake-glow 3s infinite;
    background-image: radial-gradient(circle at 70% 30%, var(--cl-lake5) 0%, transparent 60%);
}

.crater-lake-oregon td.current-day .date-number {
    color: var(--cl-lake2) !important;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.crater-lake-oregon td.current-day::before {
    content: "⛰️";
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 1;
    font-size: 1rem;
    animation: cl-water-ripple 3s ease-in-out infinite;
    opacity: 0.7;
}

/* ==================== EVENT MARKERS ==================== */
.crater-lake-oregon .event-marker {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    margin: 0 2px;
    transition: all var(--cl-transition);
    animation: cl-mountain-pulse 3s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 3px var(--cl-lake1);
}

.crater-lake-oregon .event-marker::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background-color: var(--cl-primary);
    border-radius: 50%;
    opacity: 0.8;
}

.crater-lake-oregon .event-marker:hover {
    transform: scale(1.4);
    background: radial-gradient(circle, var(--cl-forest1) 0%, var(--cl-sunset1) 100%);
    box-shadow: 0 0 8px var(--cl-sunset1);
}

/* ==================== MODAL STYLES ==================== */
.crater-lake-oregon .modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    border: 1px solid var(--cl-lake4);
    padding: 22px;
    color: var(--cl-text);
    box-shadow:
        0 12px 32px var(--cl-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    animation: cl-crater-rise 0.3s ease-out;
    overflow: hidden;
}

.crater-lake-oregon .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--cl-lake1) 0%,
            var(--cl-forest1) 25%,
            var(--cl-snow1) 50%,
            var(--cl-sunset1) 75%,
            var(--cl-rock1) 100%);
    animation: cl-sun-arc 12s linear infinite;
    background-size: 300% 100%;
}

.crater-lake-oregon .modal-content h2 {
    color: var(--cl-text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal date display */
.crater-lake-oregon .modal-date {
    font-family: 'Quicksand', sans-serif;
    color: var(--cl-text);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--cl-lake2);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

/* Event list */
.crater-lake-oregon .event-list {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

.crater-lake-oregon .event-item {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(240, 244, 248, 0.8) 100%);
    padding: 0.9rem;
    margin-bottom: 0.9rem;
    border-left: 3px solid var(--cl-lake1);
    border-radius: 18px;
    transition: all var(--cl-transition);
    box-shadow: 0 2px 8px var(--cl-shadow);
    border: 1px solid rgba(43, 108, 158, 0.2);
}

.crater-lake-oregon .event-item:hover {
    background: linear-gradient(135deg, rgba(240, 245, 250, 0.9) 0%, rgba(235, 240, 248, 0.9) 100%);
    transform: translateX(4px);
    border-left-color: var(--cl-forest1);
    box-shadow: 0 4px 16px var(--cl-shadow);
}

.crater-lake-oregon .event-time {
    font-family: 'Nunito', sans-serif;
    color: var(--cl-lake2);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: block;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.crater-lake-oregon .event-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--cl-text);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

.crater-lake-oregon .event-description {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--cl-rock2);
}

.crater-lake-oregon .modal-content button {
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    color: var(--cl-primary);
    border: none;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--cl-transition);
    letter-spacing: 0.3px;
    font-family: 'Quicksand', sans-serif;
    border-radius: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.crater-lake-oregon .modal-content button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.crater-lake-oregon .modal-content button:hover::before {
    left: 100%;
}

.crater-lake-oregon .modal-content button:hover {
    background: linear-gradient(135deg, var(--cl-lake2) 0%, var(--cl-forest2) 100%);
    box-shadow: 0 4px 16px var(--cl-shadow);
    transform: translateY(-1px);
}

/* Close Button */
.crater-lake-oregon .modal .close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    color: var(--cl-lake2);
    border: 1px solid var(--cl-lake2);
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all var(--cl-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px var(--cl-shadow);
}

.crater-lake-oregon .modal .close-button:hover {
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    color: var(--cl-primary);
    border-color: var(--cl-lake1);
    transform: rotate(90deg);
}

/* ==================== BUTTONS & CONTROLS ==================== */
.crater-lake-oregon .button,
.crater-lake-oregon .transparent-button {
    border: 1px solid var(--cl-lake2);
    color: var(--cl-lake2);
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    padding: 0.75rem 1.4rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--cl-transition);
    position: relative;
    overflow: hidden;
    margin: 0.4rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px var(--cl-shadow);
}

.crater-lake-oregon .button::before,
.crater-lake-oregon .transparent-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cl-lake5), transparent);
    transition: left 0.5s;
}

.crater-lake-oregon .button:hover::before,
.crater-lake-oregon .transparent-button:hover::before {
    left: 100%;
}

.crater-lake-oregon .button:hover,
.crater-lake-oregon .transparent-button:hover {
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    color: var(--cl-primary);
    box-shadow: 0 4px 14px var(--cl-shadow);
    transform: translateY(-1px);
    border-color: var(--cl-lake1);
}

.crater-lake-oregon .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    gap: 0.6rem;
}

/* ==================== THEME SWITCHER ==================== */
.crater-lake-oregon #theme-switcher-container {
    position: relative;
    margin: 0 0.8rem;
    min-width: 190px;
    z-index: 1000;
}

.crater-lake-oregon #theme-switcher {
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%);
    color: var(--cl-lake2) !important;
    border: 1px solid var(--cl-lake2);
    padding: 0.75rem 2rem 0.75rem 1rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232B6C9E'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    cursor: pointer;
    transition: all var(--cl-transition);
    border-radius: 50px;
    box-shadow: 0 2px 8px var(--cl-shadow);
}

.crater-lake-oregon #theme-switcher option {
    background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-secondary) 100%) !important;
    color: var(--cl-lake2) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 12px !important;
}

.crater-lake-oregon #theme-switcher:focus {
    outline: none;
    border-color: var(--cl-lake1);
    box-shadow: 0 0 0 3px var(--cl-lake5);
}

/* ==================== BACK TO TOP BUTTON ==================== */
.crater-lake-oregon #backToTopBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    border: none;
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--cl-primary);
    background: linear-gradient(135deg, var(--cl-lake1) 0%, var(--cl-forest1) 100%);
    cursor: pointer;
    transition: all var(--cl-transition);
    opacity: 0.9;
    display: none;
    border-radius: 50px;
    box-shadow: 0 4px 16px var(--cl-shadow);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.crater-lake-oregon #backToTopBtn:hover {
    background: linear-gradient(135deg, var(--cl-lake2) 0%, var(--cl-forest2) 100%);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--cl-shadow);
}

/* ==================== FOOTER ==================== */
.crater-lake-oregon footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--cl-lake3);
    color: var(--cl-rock2);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 992px) {
    .crater-lake-oregon .container {
        padding: 1.5rem;
    }

    .crater-lake-oregon #calendar-title {
        font-size: 2.4rem;
    }

    .crater-lake-oregon #current-date {
        font-size: 1.5rem;
    }

    .crater-lake-oregon #today-weather {
        font-size: 1.05rem;
    }

    .crater-lake-oregon .clock-face {
        width: 160px;
        height: 160px;
    }

    .crater-lake-oregon .modal-date {
        font-size: 1.3rem;
    }

    .crater-lake-oregon .event-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .crater-lake-oregon {
        font-size: 0.95rem;
    }

    .crater-lake-oregon .clock-face {
        width: 140px;
        height: 140px;
        border-width: 2px;
    }

    .crater-lake-oregon th {
        font-size: 0.85rem;
        padding: 0.75rem 0.3rem;
    }

    .crater-lake-oregon th span.full-day-name {
        display: none;
    }

    .crater-lake-oregon th abbr {
        display: inline;
    }

    .crater-lake-oregon td {
        padding: 0.75rem;
        height: 85px;
        font-size: 0.85rem;
    }

    .crater-lake-oregon td .date-number {
        font-size: 1.05rem;
        top: 6px;
        left: 6px;
    }

    .crater-lake-oregon td.current-day::before {
        font-size: 0.9rem;
        top: 4px;
        right: 6px;
    }

    .crater-lake-oregon #backToTopBtn {
        right: 15px;
        bottom: 15px;
        padding: 0.75rem 1.3rem;
        font-size: 0.9rem;
    }

    .crater-lake-oregon #theme-switcher {
        padding: 0.65rem 1.8rem 0.65rem 0.9rem;
        font-size: 0.9rem;
        min-width: 170px;
    }

    .crater-lake-oregon .modal-content {
        padding: 16px;
    }

    .crater-lake-oregon .event-item {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .crater-lake-oregon .container {
        padding: 1rem;
    }

    .crater-lake-oregon #calendar-title {
        font-size: 2rem;
    }

    .crater-lake-oregon #current-date {
        font-size: 1.3rem;
    }

    .crater-lake-oregon #today-weather {
        font-size: 0.95rem;
    }

    .crater-lake-oregon .clock-face {
        width: 120px;
        height: 120px;
    }

    .crater-lake-oregon th {
        font-size: 0.8rem;
        padding: 0.6rem 0.2rem;
    }

    .crater-lake-oregon td {
        padding: 0.6rem;
        height: 75px;
        font-size: 0.8rem;
    }

    .crater-lake-oregon td .date-number {
        font-size: 0.95rem;
        top: 5px;
        left: 5px;
    }

    .crater-lake-oregon #theme-switcher {
        min-width: 150px;
        font-size: 0.85rem;
        padding: 0.55rem 1.6rem 0.55rem 0.8rem;
    }

    .crater-lake-oregon .modal-content {
        padding: 12px;
    }

    .crater-lake-oregon .modal-date {
        font-size: 1.15rem;
    }

    .crater-lake-oregon .event-time {
        font-size: 0.85rem;
    }

    .crater-lake-oregon .event-title {
        font-size: 0.9rem;
    }

    .crater-lake-oregon .event-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .crater-lake-oregon th {
        font-size: 0.75rem;
        padding: 0.5rem 0.15rem;
    }

    .crater-lake-oregon td {
        height: 70px;
        padding: 0.5rem;
    }

    .crater-lake-oregon td .date-number {
        font-size: 0.9rem;
    }

    .crater-lake-oregon #theme-switcher {
        min-width: 130px;
        font-size: 0.8rem;
    }

    .crater-lake-oregon .controls {
        flex-direction: column;
        gap: 0.4rem;
    }

    .crater-lake-oregon .button,
    .crater-lake-oregon .transparent-button {
        width: 100%;
        margin: 0.2rem 0;
        padding: 0.65rem 1.1rem;
    }

    .crater-lake-oregon #backToTopBtn {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .crater-lake-oregon {
        --cl-lake2: #1B4A70;
        --cl-lake1: #235B87;
        --cl-text: #1A2A35;
    }

    .crater-lake-oregon td.current-day {
        border: 2px solid var(--cl-lake2);
        background: rgba(27, 74, 112, 0.1);
    }

    .crater-lake-oregon th {
        background: var(--cl-lake2);
        color: white !important;
    }

    .crater-lake-oregon #calendar-title,
    .crater-lake-oregon #current-date,
    .crater-lake-oregon .event-title,
    .crater-lake-oregon .event-description,
    .crater-lake-oregon .modal-date {
        text-shadow: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .crater-lake-oregon *,
    .crater-lake-oregon *::before,
    .crater-lake-oregon *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .crater-lake-oregon .hand {
        transition: none;
    }

    .crater-lake-oregon .clock-face::before {
        animation: none;
    }
}

/* Dark mode support - twilight crater adaptation */
@media (prefers-color-scheme: dark) {
    .crater-lake-oregon {
        --cl-bg: #1A2528;
        --cl-text: #DCE3EA;
        --cl-primary: #2A3A3F;
        --cl-secondary: #223035;
        --cl-date-number: #6FA6D0;
        --cl-shadow: rgba(0, 0, 0, 0.3);
    }

    .crater-lake-oregon .container,
    .crater-lake-oregon td {
        background: linear-gradient(135deg, #2A3A3F 0%, #223035 100%);
        border-color: var(--cl-lake3);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .crater-lake-oregon .modal-content {
        background: linear-gradient(135deg, #2A3A3F 0%, #223035 100%);
        box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .crater-lake-oregon .button,
    .crater-lake-oregon .transparent-button {
        background: linear-gradient(135deg, #2A3A3F 0%, #223035 100%);
        border-color: var(--cl-lake2);
        color: var(--cl-lake1);
    }

    .crater-lake-oregon .event-item {
        background: linear-gradient(135deg, #2A3A3F 0%, #223035 100%);
    }

    .crater-lake-oregon #calendar-title,
    .crater-lake-oregon #current-date,
    .crater-lake-oregon .event-title,
    .crater-lake-oregon .event-description,
    .crater-lake-oregon .modal-date {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
}