/* WHY: Extracted from lunasol.html so the browser can cache styles independently of markup and CSP nonce validation can apply via <link nonce>. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sp: 50%;
}

body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: #050b1e;
    user-select: none;
}

.sc {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#night {
    z-index: 1;
    background: linear-gradient( 175deg, #000414 0%, #001033 20%, #001c55 45%, #002d80 70%, #0044b3 100% );
}

#day {
    z-index: 2;
    background: linear-gradient( 175deg, #0066ff 0%, #1a8cff 20%, #4db3ff 45%, #80d4ff 70%, #ccf0ff 100% );
}

#nebs,
#stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#sstars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#clds-bg,
#clds-fg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#clds-bg {
    z-index: 3;
}

#clds-fg {
    z-index: 5;
}

#brds-bg,
#brds-fg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#brds-bg {
    z-index: 4;
}

#brds-fg {
    z-index: 6;
}

#ffs-distant,
#ffs-close,
#dsts {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
}

.landscape-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    /* WHY: Scale applied here so the parallax translate on child paths has overflow room; was previously
       set inline on every animation frame by lunasol.js, which triggered unnecessary style recalcs. */
    transform: scale(1.1);
}

.landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    /* WHY: Same constant scale as .landscape-base — moved to CSS to avoid redundant per-frame inline sets. */
    transform: scale(1.1);
}

.moon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.moon {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient( circle at 38% 32%, #f8f9f4 0%, #eeeee8 25%, #ddddd5 48%, #c0c2ba 72%, #a0a29a 100% );
    box-shadow: 0 0 50px 12px rgba(200, 210, 225, 0.1), 0 0 100px 35px rgba(160, 175, 200, 0.05), 0 0 200px 70px rgba(130, 150, 180, 0.025), inset -5px -3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

    .moon::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: radial-gradient( circle at 62% 68%, transparent 40%, rgba(0, 0, 0, 0.04) 100% );
    }

.crater {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient( circle at 35% 30%, rgba(130, 132, 126, 0.4), rgba(170, 172, 168, 0.15) );
    box-shadow: inset 1px 1.5px 3px rgba(0, 0, 0, 0.1), inset -1px -1px 2px rgba(255, 255, 255, 0.06);
}

.moon-lbl {
    position: absolute;
    top: 50%;
    right: 100%;
    margin-right: 60px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 180px;
    font-weight: 800;
    letter-spacing: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.sun-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.sun {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient( circle at 46% 43%, #fff 6%, #fffef0 16%, #fff4c0 35%, #ffcc50 60%, #ffaa20 85%, #ff8800 100% );
    box-shadow: 0 0 40px 10px rgba(255, 180, 20, 0.4), 0 0 90px 30px rgba(255, 200, 60, 0.18), 0 0 180px 70px rgba(255, 170, 30, 0.07), 0 0 350px 140px rgba(255, 160, 20, 0.025);
}

.sun-corona {
    position: absolute;
    inset: -45px;
    border-radius: 50%;
    background: radial-gradient( circle, transparent 38%, rgba(255, 220, 80, 0.02) 55%, transparent 70% );
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.65;
    }
}

.sun-lbl {
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 60px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 180px;
    font-weight: 800;
    letter-spacing: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.rays-wrap {
    position: absolute;
    inset: -80px;
    animation: rotrays 180s linear infinite;
    will-change: transform;
}

.ray {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 1px;
    transform-origin: 0 50%;
    background: linear-gradient( 90deg, rgba(255, 215, 80, 0.25), transparent );
}

@keyframes rotrays {
    to {
        transform: rotate(360deg);
    }
}

.star {
    position: absolute;
    border-radius: 50%;
}

.star-glow {
    box-shadow: 0 0 3px 1px currentColor;
}

@keyframes tw {
    0%, 100% {
        opacity: var(--o);
        transform: scale(1);
    }

    50% {
        opacity: calc(var(--o) * 0.1);
        transform: scale(0.4);
    }
}

@keyframes tw2 {
    0%, 100% {
        opacity: var(--o);
        transform: scale(1);
    }

    25% {
        opacity: calc(var(--o) * 0.8);
        transform: scale(1.2);
    }

    50% {
        opacity: calc(var(--o) * 0.15);
        transform: scale(0.6);
    }

    75% {
        opacity: calc(var(--o) * 0.85);
        transform: scale(1.1);
    }
}

.sstar {
    position: absolute;
    opacity: 0;
    animation: sshoot linear forwards;
}

.sstar-inner {
    position: relative;
    transform: rotate(var(--ang));
}

.sstar-head {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.7), 0 0 22px 7px rgba(180, 200, 255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.sstar-tail {
    position: absolute;
    top: 1px;
    right: 3px;
    width: 220px;
    height: 2px;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.9), rgba(180, 210, 255, 0.35) 25%, rgba(140, 170, 220, 0.08) 60%, transparent );
    border-radius: 1px;
    transform-origin: left center;
}

@keyframes sshoot {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }

    3% {
        opacity: 1;
    }

    15% {
        opacity: 1;
        transform: translate(var(--dx), var(--dy));
    }

    20% {
        opacity: 0;
        transform: translate(calc(var(--dx) * 1.3), calc(var(--dy) * 1.3));
    }

    100% {
        opacity: 0;
        transform: translate(calc(var(--dx) * 1.3), calc(var(--dy) * 1.3));
    }
}

.cloud {
    position: absolute;
    opacity: 0;
    animation: cdr linear infinite;
    filter: blur(var(--c-blur, 6px));
    will-change: transform;
}

.cl-body {
    position: relative;
}

.cl-puff {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
}

.cl-shad {
    position: absolute;
    bottom: -15%;
    height: 35%;
    background: rgba(60, 110, 160, 0.15);
    border-radius: 50%;
    filter: blur(8px);
}

@keyframes cdr {
    0% {
        transform: translateX(-400px);
        opacity: 0;
    }

    5% {
        opacity: var(--co);
    }

    95% {
        opacity: var(--co);
    }

    100% {
        transform: translateX(calc(100vw + 400px));
        opacity: 0;
    }
}

.bird {
    position: absolute;
    opacity: 0;
}

    .bird svg {
        width: 100%;
        height: 100%;
        display: block;
    }

@keyframes bfly {
    0% {
        left: -6vw;
        opacity: 0;
    }

    3% {
        opacity: var(--bo);
    }

    96% {
        opacity: var(--bo);
    }

    100% {
        left: 106vw;
        opacity: 0;
    }
}

@keyframes bflap {
    0%, 100% {
        transform: translateY(0) scaleY(1);
    }

    50% {
        transform: translateY(-8px) scaleY(0.45);
    }
}

.ff {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 245, 180, 0.95);
    box-shadow: 0 0 6px 2px rgba(255, 235, 150, 0.6), 0 0 16px 6px rgba(255, 220, 120, 0.3);
    animation: ffl linear infinite, flk 0.25s ease-in-out infinite alternate;
}

@keyframes flk {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

@keyframes ffl {
    0% {
        transform: translate(0, 0) scale(0);
    }

    10% {
        transform: translate(10px, -10px) scale(1);
    }

    20% {
        transform: translate(28px, -20px);
    }

    45% {
        transform: translate(-15px, -45px);
    }

    65% {
        transform: translate(20px, -30px);
    }

    90% {
        transform: translate(-10px, -50px) scale(1);
    }

    100% {
        transform: translate(-18px, -60px) scale(0);
    }
}

.neb {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    mix-blend-mode: screen;
    opacity: 0.06;
}

.dust {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: dfl linear infinite;
    /* WHY: Static warm-amber colour shared by all dust particles; moved from per-element cssText in lunasol.js. */
    background: rgba(255, 240, 200, 0.45);
}

@media (max-width: 768px) {
    /* WHY: Mobile viewports cannot fit the desktop wordmark scale without overlap, so we place labels on the
       moon/sun corners with smaller type to preserve the same visual concept while keeping both sides readable. */
    .moon-lbl,
    .sun-lbl {
        font-size: clamp(52px, 14vw, 88px);
        letter-spacing: 8px;
    }

    .moon-lbl {
        top: 0;
        left: 0;
        right: auto;
        margin-right: 0;
        transform: translate(-38%, -42%);
    }

    .sun-lbl {
        bottom: 0;
        right: 0;
        top: auto;
        left: auto;
        margin-left: 0;
        transform: translate(38%, 42%);
    }
}

@keyframes dfl {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }

    12% {
        opacity: var(--do);
    }

    88% {
        opacity: var(--do);
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(var(--dx));
    }
}

.cdot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 14px 4px rgba(255, 200, 120, 0.3);
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

#divider-zone {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

    #divider-zone canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
/* Last-Modified: 2026-03-04T05:54:42.0000000Z */