
/* =====================================
   ORBIT — GLOBAL STYLES
===================================== */

:root {
    --background: #070816;
    --background-light: #101329;
    --card: #151a35;
    --purple: #8c63ff;
    --blue: #4f9cff;
    --white: #ffffff;
    --gray: #a5a8c2;
    --border: rgba(255,255,255,0.1);
}

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

html {
    scroll-behavior: smooth;
}

/* Smooth transitions between the site's separate HTML pages. */
@view-transition { navigation: auto; }
::view-transition-old(root) {
    animation: page-slide-out .48s cubic-bezier(.35,0,.25,1) both;
}
::view-transition-new(root) {
    animation: page-slide-in .58s cubic-bezier(.2,.7,.25,1) both;
}
@keyframes page-slide-out { to { opacity: 0; transform: translateX(-2vw); } }
@keyframes page-slide-in { from { opacity: 0; transform: translateX(2vw); } }

body.page-enter { animation: page-fallback-in .48s cubic-bezier(.2,.7,.25,1) both; }
body.page-leave { pointer-events: none; animation: page-fallback-out .28s ease-in both; }
@keyframes page-fallback-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes page-fallback-out { to { opacity: 0; transform: translateX(-14px); } }

body {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 30% 55% at 0% 45%, rgba(112, 69, 190, 0.12), transparent 82%),
        radial-gradient(ellipse 30% 55% at 100% 58%, rgba(63, 86, 181, 0.11), transparent 82%),
        var(--background);
    background-attachment: fixed;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* A quiet nebula glow and distant stars sit behind every page. */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: -8%;
    z-index: -1;
    pointer-events: none;
}
body::before {
    background: url("fog-texture.svg") center / 100% 100% no-repeat;
    opacity: .82;
    mix-blend-mode: screen;
    filter: blur(5px);
    animation: nebula-drift 42s ease-in-out infinite alternate;
}
body::after {
    opacity: .38;
    background-image:
        radial-gradient(1px 1px at 8% 16%, #fff 65%, transparent 100%),
        radial-gradient(1.5px 1.5px at 22% 72%, #c8d8ff 55%, transparent 100%),
        radial-gradient(1px 1px at 39% 28%, #fff 65%, transparent 100%),
        radial-gradient(1.5px 1.5px at 54% 88%, #d8ccff 55%, transparent 100%),
        radial-gradient(1px 1px at 68% 14%, #fff 65%, transparent 100%),
        radial-gradient(1px 1px at 81% 56%, #c8d8ff 65%, transparent 100%),
        radial-gradient(1.5px 1.5px at 94% 32%, #fff 55%, transparent 100%);
    background-size: 520px 430px;
    animation: starfield-drift 100s linear infinite;
    background-blend-mode: screen;
}
@keyframes nebula-drift {
    from { transform: translate3d(-1%, -1%, 0) scale(1); }
    to { transform: translate3d(1%, 1%, 0) scale(1.06); }
}
@keyframes starfield-drift {
    from { background-position: 0 0; }
    to { background-position: 260px 430px; }
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, textarea {
    font-family: inherit;
}

/* =====================================
   HEADER
===================================== */

.header {
    width: 100%;
    height: 85px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7,8,22,0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 3px;
}

.logo span {
    color: var(--purple);
}

.navigation {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 5px;
    padding: 7px;
    border: 1px solid rgba(165, 145, 255, .16);
    border-radius: 999px;
    background: rgba(15, 17, 39, .72);
    box-shadow: inset 0 1px rgba(255,255,255,.035), 0 8px 28px rgba(0,0,0,.15);
}

.navigation a {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.navigation a:hover,
.navigation a.active {
    color: #fff;
    background: linear-gradient(110deg, rgba(123, 82, 230, .3), rgba(66, 112, 221, .24));
    border-color: rgba(170, 148, 255, .35);
    box-shadow: 0 0 22px rgba(125, 91, 255, .16);
}

.navigation a:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* =====================================
   HERO
===================================== */

.hero {
    min-height: 700px;
    padding: 100px 10%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 50%, #28205c 0%, transparent 35%),
        radial-gradient(circle at 10% 80%, #111b45 0%, transparent 30%),
        var(--background);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.subtitle {
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(48px, 7vw, 90px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -3px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--purple);
}

.hero-description {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    max-width: 480px;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    padding: 16px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.primary-btn {
    background: linear-gradient(120deg, var(--purple), var(--blue));
    color: white;
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px #7655ff55;
}

.secondary-btn {
    border: 1px solid var(--border);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.08);
}

/* Animated gradient for quiz answers */
.quiz-answer {
    width: 100%;
    text-align: left;
    color: #fff;
    border: 1px solid rgba(190, 170, 255, .45);
    background: linear-gradient(110deg, #6845d9, #376ed4, #9a4bd0, #6845d9);
    background-size: 280% 100%;
    animation: quiz-color-flow 5s ease-in-out infinite;
    box-shadow: 0 5px 22px rgba(74, 61, 176, .16);
}

.quiz-answer:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 28px rgba(132, 92, 255, .35);
}

@keyframes quiz-color-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* =====================================
   PLANET ANIMATION
===================================== */

.hero-planet {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
}

.planet-orbit {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbit 30s linear infinite;
}

.planet {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #c6b1ff, #7752d9 35%, #23134e 75%);
    box-shadow:
        inset -30px -25px 50px #08071b,
        0 0 80px #7957ff88,
        0 0 150px #6540ff44;
    animation: glow 4s ease-in-out infinite alternate;
}

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

@keyframes glow {
    from { box-shadow: 0 0 50px #7957ff55; }
    to { box-shadow: 0 0 100px #7957ffaa; }
}

/* =====================================
   STARS
===================================== */

.stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 70% 60%, white, transparent),
        radial-gradient(1px 1px at 50% 80%, white, transparent),
        radial-gradient(2px 2px at 90% 20%, white, transparent);
    background-size: 250px 250px;
    opacity: 0.6;
}

/* =====================================
   STATISTICS
===================================== */

.statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 55px 10%;
    background: var(--background-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border: none;
}

.stat h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 35px;
    color: var(--purple);
}

.stat p {
    color: var(--gray);
    font-size: 13px;
    margin-top: 10px;
}

/* =====================================
   SECTIONS
===================================== */

.section {
    padding: 110px 10%;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    color: var(--gray);
    line-height: 1.7;
}

/* =====================================
   PLANET CARDS
===================================== */

.planet-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.planet-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s;
}

.planet-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple);
}

.planet-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.card-info {
    padding: 25px;
}

.card-info span,
.planet-item span {
    color: var(--purple);
    font-size: 10px;
    letter-spacing: 2px;
}

.card-info h3 {
    font-size: 25px;
    margin: 15px 0;
}

.card-info p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-info a {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

/* =====================================
   QUOTE
===================================== */

.quote-section {
    padding: 100px 20px;
    text-align: center;
    background:
        linear-gradient(#111329cc, #111329cc),
        url('assets/images/photo-1462331940025-496dfbfc7564-1800.jpg') center/cover;
}

.quote-section p {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(22px, 4vw, 40px);
    margin-bottom: 20px;
}

.quote-section span {
    color: var(--purple);
    letter-spacing: 4px;
    font-size: 11px;
}

/* =====================================
   INNER PAGES
===================================== */

.page-main {
    min-height: 80vh;
}

.page-title {
    padding: 100px 20px;
    text-align: center;
    background:
        radial-gradient(circle at center, #28205c, transparent 60%);
}

.page-title h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(35px, 6vw, 65px);
    margin-bottom: 20px;
}

.page-title > p:last-child {
    color: var(--gray);
    line-height: 1.7;
}

.slideshow-open { margin-top: 28px; border: 0; }
.gallery-clickable { cursor: pointer; }
.gallery-clickable:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.slideshow[hidden] { display: none; }
.slideshow {
    position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 18px; padding: 55px 5vw 24px;
    background: #03040deF; backdrop-filter: blur(16px); animation: slideshow-backdrop .35s ease both;
}
@keyframes slideshow-backdrop { from { opacity: 0; } to { opacity: 1; } }
body.slideshow-active { overflow: hidden; }
.slideshow-frame {
    position: relative; width: min(1100px, 100%); height: min(72vh, 760px);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    border: 1px solid var(--border); border-radius: 14px; background: #080a18;
    box-shadow: 0 25px 90px #0009, 0 0 55px #7957ff22;
}
.slideshow-frame img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain;
    opacity: 0; transform: translateX(0);
    transition: opacity .42s ease-out, transform .82s cubic-bezier(.35,0,.25,1);
    will-change: opacity, transform;
}
.slideshow-frame img.is-active { opacity: 1; transform: translateX(0); }
.slideshow-frame img.enter-from-right { opacity: 0; transform: translateX(30%); }
.slideshow-frame img.enter-from-left { opacity: 0; transform: translateX(-30%); }
.slideshow-frame img.exit-to-left { opacity: 0; transform: translateX(-30%); }
.slideshow-frame img.exit-to-right { opacity: 0; transform: translateX(30%); }
.slideshow-caption { position: absolute; inset: auto 0 0; padding: 65px 28px 22px; background: linear-gradient(transparent, #050611e8); }
.slideshow-caption h2 { font-family: 'Orbitron', sans-serif; font-size: clamp(20px, 3vw, 32px); }
.slideshow-caption p { margin-top: 7px; color: #d0d1df; font-size: 14px; }
.slideshow-close { position: absolute; right: 26px; top: 15px; border: 0; background: transparent; color: white; font-size: 42px; cursor: pointer; line-height: 1; }
.slide-indicators {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 42px; padding: 0 16px; border: 1px solid #ffffff1c;
    border-radius: 24px; background: #151a35d9; box-shadow: 0 8px 30px #0006;
    backdrop-filter: blur(10px);
}
.slide-indicator {
    width: 8px; height: 8px; flex: 0 0 8px; padding: 0; border: 0; border-radius: 8px;
    background: #a5a8c277; cursor: pointer;
    transition: width .55s cubic-bezier(.2,.8,.2,1), flex-basis .55s cubic-bezier(.2,.8,.2,1),
        height .3s ease, background .3s ease, box-shadow .3s ease;
}
.slide-indicator:hover { background: #d5ccf9; }
.slide-indicator.active {
    width: 28px; flex-basis: 28px; height: 8px; border-radius: 8px;
    background: linear-gradient(90deg, var(--purple), var(--blue));
    box-shadow: 0 0 14px #8c63ff99;
}
.slide-indicator:focus-visible { outline: 2px solid white; outline-offset: 4px; }

/* =====================================
   ALL PLANETS
===================================== */

.all-planets {
    padding: 50px 10% 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.planet-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .4s;
    position: relative;
    overflow: hidden;
}

.planet-item:hover {
    border-color: var(--purple);
    transform: translateY(-7px) scale(1.01);
    box-shadow: 0 18px 45px #08071b88, 0 0 28px #7957ff22;
}

.planet-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(115deg, transparent 25%, #ffffff08 48%, transparent 70%);
    transform: translateX(-100%);
    transition: opacity .3s;
}
.planet-item:hover::before { opacity: 1; animation: card-sheen .9s ease; }
@keyframes card-sheen { to { transform: translateX(100%); } }

.planet-copy { flex: 1; min-width: 0; position: relative; z-index: 1; }

.planet-item h2 {
    font-size: 25px;
    margin: 12px 0;
}

.planet-item p {
    color: var(--gray);
    font-size: 12px;
    line-height: 1.7;
}

.planet-item .planet-fact {
    color: #a78aff;
    margin-top: 12px;
}

.planet-image {
    min-width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 30px #7655ff33;
    flex: 0 0 100px;
    animation: planet-float 5s ease-in-out infinite;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.planet-item:hover .planet-image { transform: scale(1.09) rotate(-7deg); box-shadow: 0 0 42px #7655ff77; }
@keyframes planet-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }

.mercury {
    background: radial-gradient(circle at 30% 30%, #b7b0a8, #55504e, #211e20);
}

.venus {
    background: radial-gradient(circle at 30% 30%, #ffdfa2, #c77a36, #63331f);
}

.earth {
    background: radial-gradient(circle at 30% 30%, #65d7ff, #2464bd, #10264d);
}

.mars {
    background: radial-gradient(circle at 30% 30%, #ffb27d, #bd4e2e, #4b1712);
}

.jupiter {
    background: repeating-linear-gradient(
        0deg, #dba879 0 10px, #986246 10px 18px, #f0c99e 18px 26px
    );
}

.saturn {
    background: radial-gradient(circle, #edc58d, #bd8d59, #61432d);
    position: relative;
}
.saturn::after {
    content: ""; position: absolute; width: 145px; height: 42px; border: 5px solid #f4d39b;
    border-left-color: #f4d39b88; border-right-color: #f4d39b88; border-radius: 50%;
    left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-25deg); box-shadow: 0 0 10px #edc58d66;
}

.uranus {
    background: radial-gradient(circle at 30% 30%, #d3ffff, #67c8d8, #286a83);
}

.neptune {
    background: radial-gradient(circle at 30% 30%, #70a8ff, #1746b4, #071b5e);
}

.planet-more {
    margin-top: 15px; padding: 9px 12px; border: 1px solid #8c63ff77; border-radius: 6px;
    color: #d8ccff; background: #8c63ff12; cursor: pointer; font-size: 12px; font-weight: 600;
    transition: background .25s, transform .25s, border-color .25s;
}
.planet-more:hover, .planet-more:focus-visible { background: #8c63ff33; border-color: var(--purple); transform: translateY(-2px); }
.planet-more:focus-visible { outline: 2px solid #b8a2ff; outline-offset: 3px; }
.planet-more span { padding-left: 6px; }
.planet-details { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); animation: details-in .35s ease both; }
.planet-details[hidden] { display: none; }
.planet-details > p { font-size: 13px; line-height: 1.75; color: #c4c7dc; }
.planet-details dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.planet-details dl div { padding: 9px; border-radius: 7px; background: #0b0e22; }
.planet-details dt { color: var(--gray); font-size: 10px; line-height: 1.4; }
.planet-details dd { color: #d9ceff; font-size: 12px; font-weight: 700; margin-top: 5px; }
.planet-sources { padding: 0 10% 75px; color: var(--gray); font-size: 12px; text-align: center; line-height: 1.8; }
.planet-sources a { color: #b9a4ff; text-decoration: underline; text-underline-offset: 3px; }
.planet-sources a:hover { color: white; }
@keyframes details-in { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }

/* =====================================
   GALLERY
===================================== */

.gallery {
    padding: 40px 10% 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item.large {
    grid-column: span 2;
    height: 420px;
}
.gallery-feature { height: min(68vh, 620px); min-height: 460px; }
.gallery-topic { width: 100%; padding: 0; border: 1px solid var(--border); color: var(--white); background: var(--card); text-align: left; }
.gallery-overlay { align-items: flex-start; }
.gallery-kicker { color: #c2b3ff; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.gallery-title { font-size: 25px; font-weight: 700; }
.gallery-caption { color: #d0d1df; font-size: 12px; }
.gallery-source-note { padding: 0 10% 70px; color: var(--gray); text-align: center; font-size: 12px; }
.gallery-source-note a { color: #b9a4ff; text-decoration: underline; text-underline-offset: 3px; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-feature:hover img { transform: scale(1.035); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    background: linear-gradient(transparent, #000c);
}

.gallery-overlay h3 {
    font-size: 25px;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: #ddd;
    font-size: 13px;
}

/* =====================================
   CONTACTS
===================================== */

.contact-section {
    padding: 50px 10% 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-info h2 {
    font-size: 35px;
    margin-bottom: 25px;
}

.contact-info > p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-detail {
    margin-bottom: 30px;
}

.contact-detail span {
    color: var(--purple);
    font-size: 11px;
    letter-spacing: 3px;
}

.contact-detail p {
    margin-top: 10px;
}

.contact-form {
    padding: 35px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    margin: 20px 0 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #090c20;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    color: white;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--purple);
}

.contact-form button {
    width: 100%;
    margin-top: 25px;
}

#formMessage {
    color: #9e8aff;
    margin-top: 15px;
    font-size: 13px;
}

/* =====================================
   FOOTER
===================================== */

.footer {
    padding: 40px 8%;
    background: #050611;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer p {
    color: var(--gray);
    font-size: 12px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--gray);
    font-size: 12px;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--purple);
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */

@media (max-width: 1000px) {

    .navigation { gap: 0; }
    .navigation a { padding: 7px 6px; font-size: 11px; }

    .hero-planet {
        opacity: 0.35;
        right: -100px;
    }

    .planet-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .all-planets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .navigation { gap: 0; }
    .navigation a { padding: 7px 7px; font-size: 11px; }
}

@media (max-width: 850px) {
    .menu-toggle { display: block; }
    .navigation, .navigation.open {
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        padding: 18px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border: 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        background: rgba(13, 16, 37, .98);
        transform: none;
        box-shadow: 0 16px 28px rgba(0,0,0,.3);
    }
    .navigation { display: none; }
    .navigation.open { display: flex; }
    .navigation a { text-align: center; }
}

@media (max-width: 700px) {

    .header {
        padding: 0 6%;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: #0d1025;
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        transform: none;
        box-shadow: 0 16px 28px rgba(0,0,0,.3);
    }

    .navigation.open {
        display: flex;
    }

    .hero {
        min-height: 650px;
        padding: 70px 7%;
    }

    .hero-planet {
        width: 260px;
        height: 260px;
        right: -90px;
        opacity: 0.25;
    }

    .planet {
        width: 170px;
        height: 170px;
    }

    .statistics {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .section {
        padding: 75px 7%;
    }

    .planet-cards {
        grid-template-columns: 1fr;
    }

    .all-planets {
        padding: 30px 6%;
    }

    .planet-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery {
        grid-template-columns: 1fr;
        padding: 30px 6%;
    }

    .gallery-item,
    .gallery-item.large {
        grid-column: span 1;
        height: 280px;
    }
    .gallery-feature { height: min(62vh, 520px); min-height: 360px; }

    .contact-section {
        grid-template-columns: 1fr;
        padding: 30px 6% 70px;
        gap: 35px;
    }

    .contact-form {
        padding: 22px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .page-title {
        padding: 75px 20px;
    }
    .slideshow { padding: 65px 4vw 20px; }
    .slideshow-frame { height: 62vh; }
    .slideshow-caption { padding: 55px 18px 18px; }
}

/* Scroll reveal animation */

.reveal {
    opacity: 0;
    transform: translateY(35px) scale(.985);
    transition: opacity 0.75s ease var(--reveal-delay, 0ms), transform 0.75s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .planet-image { animation: none !important; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
    body.page-enter, body.page-leave { animation: none !important; }
}

/* Interactive three-dimensional solar system */
.solar-observatory {
    width: min(1180px, 92%);
    margin: 0 auto 90px;
    padding: clamp(14px, 3vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(161, 143, 255, .2);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(15, 17, 39, .88), rgba(7, 8, 22, .88));
    box-shadow: 0 30px 100px rgba(0,0,0,.28), 0 0 60px rgba(111,82,228,.08);
}
.solar-toolbar, .solar-controls, .solar-legend, .solar-clock { display: flex; align-items: center; }
.solar-toolbar { justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.solar-live, .solar-info-kicker, .solar-clock > span:first-child {
    color: #b8a9ff; font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
}
.solar-live { display: inline-flex; align-items: center; gap: 9px; }
.solar-live i { width: 7px; height: 7px; border-radius: 50%; background: #78f0bd; box-shadow: 0 0 12px #78f0bd; animation: solar-pulse 1.8s ease-in-out infinite; }
@keyframes solar-pulse { 50% { opacity: .45; box-shadow: 0 0 3px #78f0bd; } }
.solar-controls { gap: 8px; }
.solar-controls button {
    min-width: 38px; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px;
    color: #e9e6ff; background: rgba(255,255,255,.045); cursor: pointer; transition: .2s ease;
}
.solar-controls button:hover { border-color: rgba(169,145,255,.55); background: rgba(130,99,255,.16); }
.solar-canvas-wrap {
    position: relative; height: clamp(360px, 57vw, 620px); overflow: hidden; border: 1px solid rgba(167,164,218,.1);
    border-radius: 16px; background: radial-gradient(ellipse at center, rgba(47,43,101,.32), rgba(8,9,24,.28) 46%, rgba(3,4,13,.65));
}
.solar-canvas-wrap::before, .solar-canvas-wrap::after { content:""; position:absolute; pointer-events:none; border-radius:50%; filter:blur(1px); }
.solar-canvas-wrap::before { width:55%; height:55%; left:22%; top:20%; background:radial-gradient(ellipse,rgba(104,80,196,.09),transparent 70%); }
.solar-canvas-wrap::after { inset:0; opacity:.28; background-image:radial-gradient(1px 1px at 12% 26%,#fff 70%,transparent),radial-gradient(1px 1px at 77% 18%,#dce4ff 70%,transparent),radial-gradient(1px 1px at 63% 78%,#fff 70%,transparent),radial-gradient(1px 1px at 30% 83%,#dce4ff 70%,transparent); }
#solarCanvas { position:relative; z-index:1; display:block; width:100%; height:100%; cursor:grab; touch-action:none; }
#solarCanvas.is-dragging { cursor:grabbing; }
.solar-hint { position:absolute; z-index:2; left:16px; bottom:14px; color:rgba(198,199,224,.55); font-size:11px; pointer-events:none; }
.solar-legend { justify-content:center; flex-wrap:wrap; gap:8px; padding:18px 0 8px; }
.solar-legend-item { display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border:1px solid transparent; border-radius:999px; color:#c6c8dc; background:transparent; font:inherit; font-size:12px; cursor:pointer; transition:.2s ease; }
.solar-legend-item:hover { border-color:rgba(167,146,255,.25); color:#fff; background:rgba(255,255,255,.05); }
.solar-legend-item i { width:8px; height:8px; border-radius:50%; background:var(--planet-color); box-shadow:0 0 10px var(--planet-color); }
.solar-info { min-height:118px; margin-top:16px; padding:20px 22px; border:1px solid rgba(162,143,255,.13); border-radius:15px; background:rgba(255,255,255,.025); }
.solar-info h2 { margin:8px 0; color:#f4f2ff; font-family:'Orbitron',sans-serif; font-size:clamp(18px,3vw,25px); }
.solar-info p { max-width:850px; color:var(--gray); font-size:13px; line-height:1.7; }
.solar-info strong { color:#d5c9ff; }
.solar-clock { justify-content:center; flex-wrap:wrap; gap:9px 16px; margin-top:17px; text-align:center; }
.solar-clock > span:first-child { width:100%; }
.solar-clock time { color:#fff; font-family:'Orbitron',sans-serif; font-size:clamp(25px,5vw,38px); font-variant-numeric:tabular-nums; letter-spacing:2px; }
.solar-clock > span:last-child { color:#adb0ca; font-size:12px; }
.solar-source { margin:17px 2px 0; color:rgba(165,168,194,.68); font-size:11px; line-height:1.6; text-align:center; }
.solar-source a { color:#b8a9ff; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:700px) {
    .solar-observatory { width:94%; padding:13px; border-radius:17px; }
    .solar-canvas-wrap { height:430px; }
    .solar-toolbar { align-items:flex-start; flex-direction:column; }
    .solar-hint { max-width:80%; font-size:10px; }
}

/* Interactive current-weather globe */
.weather-observatory {
    width: min(1250px, 94%);
    margin: 0 auto 90px;
    padding: clamp(14px, 3vw, 28px);
    border: 1px solid rgba(161,143,255,.2);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(15,17,39,.9), rgba(7,8,22,.92));
    box-shadow: 0 30px 100px rgba(0,0,0,.28), 0 0 60px rgba(111,82,228,.08);
}
.weather-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.weather-search { display:flex; flex:1; max-width:620px; gap:9px; }
.weather-search input { min-width:0; flex:1; padding:12px 15px; border:1px solid rgba(170,160,230,.2); border-radius:11px; outline:none; color:#fff; background:rgba(255,255,255,.045); }
.weather-search input:focus { border-color:#9b84ff; box-shadow:0 0 0 3px rgba(132,92,255,.12); }
.weather-search button, .weather-location-button { padding:11px 15px; border:1px solid rgba(170,148,255,.3); border-radius:11px; color:#f5f1ff; background:linear-gradient(110deg,rgba(119,76,220,.35),rgba(55,102,199,.32)); cursor:pointer; transition:.2s ease; white-space:nowrap; }
.weather-search button:hover, .weather-location-button:hover { border-color:rgba(190,170,255,.7); box-shadow:0 0 22px rgba(132,92,255,.2); }
.weather-search-results { position:relative; z-index:5; display:flex; flex-wrap:wrap; gap:8px; }
.weather-search-results:empty { display:none; }
.weather-search-result { padding:9px 12px; border:1px solid rgba(168,151,255,.2); border-radius:9px; color:#e2def9; background:#14162c; cursor:pointer; }
.weather-search-result:hover { background:#28204a; }
.weather-globe-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr); gap:16px; align-items:stretch; margin-top:10px; }
.weather-globe-stage { position:relative; min-width:0; height:clamp(440px,55vw,620px); overflow:hidden; border:1px solid rgba(167,164,218,.12); border-radius:17px; background:radial-gradient(ellipse at 48% 45%,#111b3d 0%,#080c1e 45%,#03040e 100%); }
.weather-globe-canvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; display:block; touch-action:none; cursor:grab; }
.weather-globe-canvas:active { cursor:grabbing; }
.globe-loading, .globe-error { position:absolute; z-index:3; left:50%; top:50%; width:max-content; max-width:86%; transform:translate(-50%,-50%); padding:12px 16px; border:1px solid rgba(166,148,255,.2); border-radius:11px; color:#cbc5e9; background:rgba(10,11,27,.84); font-size:12px; text-align:center; pointer-events:none; }
.globe-loading[hidden], .globe-error[hidden] { display:none; }
.globe-controls { position:absolute; z-index:3; top:14px; right:14px; display:grid; gap:7px; }
.globe-controls button { width:36px; height:36px; border:1px solid rgba(185,175,238,.22); border-radius:10px; color:white; background:rgba(13,16,36,.72); font-size:19px; cursor:pointer; backdrop-filter:blur(8px); }
.globe-controls button:hover { background:rgba(117,82,220,.4); }
.globe-caption { position:absolute; z-index:2; bottom:15px; left:16px; color:rgba(210,211,235,.5); font-size:9px; letter-spacing:1.5px; pointer-events:none; }
.weather-panel { padding:22px; border:1px solid rgba(162,143,255,.14); border-radius:17px; background:linear-gradient(160deg,rgba(26,29,58,.74),rgba(11,13,30,.78)); }
.weather-panel-top { display:flex; align-items:center; gap:9px; min-height:14px; color:#b7a8ff; font-size:9px; font-weight:700; letter-spacing:1.35px; }
.weather-live-dot { width:7px; height:7px; border-radius:50%; background:#78f0bd; box-shadow:0 0 12px #78f0bd; }
.weather-panel-top #weatherStatus.is-busy { animation:solar-pulse 1s ease-in-out infinite; }
.weather-location { margin-top:24px; color:#c3c5da; font-size:13px; }
.weather-current { display:flex; align-items:center; gap:12px; margin:6px 0; }
.weather-icon { font-size:42px; filter:drop-shadow(0 5px 14px rgba(132,165,255,.25)); }
.weather-temperature { color:#fff; font-family:'Orbitron',sans-serif; font-size:clamp(45px,6vw,65px); line-height:1.15; }
.weather-description { min-height:20px; color:#d2c9ff; font-size:14px; }
.weather-metrics { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; margin-top:20px; border-top:1px solid rgba(255,255,255,.08); }
.weather-metrics div { display:flex; flex-direction:column; gap:7px; min-height:66px; justify-content:center; border-bottom:1px solid rgba(255,255,255,.06); }
.weather-metrics span, .weather-updated > span { color:#9296b3; font-size:9px; letter-spacing:1.2px; }
.weather-metrics strong { color:#f0efff; font-size:13px; font-weight:500; }
.weather-updated { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:17px; }
.weather-updated time { color:#d5caff; font-family:'Orbitron',sans-serif; font-size:12px; text-align:right; }
.weather-note { margin:18px 3px 0; color:#a7abc4; font-size:11px; line-height:1.7; }
.weather-source { margin:10px 3px 0; color:rgba(165,168,194,.65); font-size:10px; text-align:right; }
.weather-source a { color:#b8a9ff; text-decoration:underline; text-underline-offset:3px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:900px) { .weather-globe-layout { grid-template-columns:1fr; } .weather-globe-stage { height:min(72vw,580px); min-height:400px; } }
@media (max-width:600px) { .weather-toolbar { align-items:stretch; flex-direction:column; } .weather-search { max-width:none; } .weather-location-button { align-self:flex-start; } .weather-observatory { width:95%; padding:12px; border-radius:16px; } .weather-globe-stage { height:430px; min-height:0; } .weather-panel { padding:18px; } }

/* Planet close-up, fact cards and camera focus */
.planet-3d-button {
    display: block; margin-top: 10px; padding: 10px 14px; border: 1px solid rgba(132,99,255,.45); border-radius: 8px;
    color: #f1ecff; background: linear-gradient(110deg,rgba(121,87,255,.28),rgba(63,124,225,.2));
    font: 600 12px Inter,sans-serif; cursor:pointer; transition:transform .22s,box-shadow .22s,border-color .22s;
}
.planet-3d-button:hover { transform:translateY(-2px); border-color:#aa94ff; box-shadow:0 7px 24px rgba(121,87,255,.22); }
.planet-explorer[hidden] { display:none; }
.planet-explorer {
    position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:2vh 2vw;
    background:rgba(2,3,12,.88); backdrop-filter:blur(18px); animation:planet-viewer-in .32s ease both;
}
@keyframes planet-viewer-in { from { opacity:0; } to { opacity:1; } }
.planet-explorer-shell {
    position:relative; width:min(1480px,100%); max-height:96vh; overflow:auto; padding:clamp(18px,3vw,34px);
    border:1px solid rgba(170,151,255,.22); border-radius:22px;
    background:radial-gradient(ellipse at 34% 38%,rgba(40,47,100,.45),transparent 46%),linear-gradient(145deg,#101329f5,#070814f8);
    box-shadow:0 35px 120px #000b,0 0 70px #7957ff20;
}
.planet-explorer-close {
    position:absolute; top:14px; right:16px; z-index:5; width:42px; height:42px; border:1px solid var(--border); border-radius:50%;
    color:#fff; background:#ffffff0b; font-size:27px; cursor:pointer; transition:.2s ease;
}
.planet-explorer-close:hover { background:#8c63ff33; transform:rotate(90deg); }
.planet-explorer-head { padding:0 55px 22px 2px; }
.planet-explorer-kicker { color:#ab97ff; font-size:10px; letter-spacing:2px; font-weight:700; }
.planet-explorer-head h2 { margin:8px 0; color:#fff; font:700 clamp(24px,4vw,38px) Orbitron,sans-serif; }
.planet-explorer-head p { color:#aeb1ca; font-size:13px; line-height:1.6; }
.planet-explorer-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr); gap:16px; }
.planet-explorer-stage { position:relative; min-height:clamp(430px,57vh,680px); overflow:hidden; border:1px solid rgba(166,161,216,.12); border-radius:17px; background:radial-gradient(ellipse at 50% 45%,#202545 0%,#0a0d1b 48%,#03040b 100%); }
.planet-explorer-canvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; display:block; touch-action:none; cursor:grab; }
.planet-explorer-canvas:active { cursor:grabbing; }
.planet-explorer-loading { position:absolute; z-index:3; top:50%; left:50%; transform:translate(-50%,-50%); max-width:85%; padding:12px 16px; border:1px solid #ab97ff44; border-radius:10px; color:#d5d2e7; background:#080a18d9; font-size:12px; text-align:center; }
.planet-explorer-loading[hidden] { display:none; }
.planet-explorer-focus { position:absolute; z-index:2; left:16px; bottom:16px; color:#d0c5ff; font-size:10px; font-weight:700; letter-spacing:1.4px; pointer-events:none; text-shadow:0 2px 12px #000; }
.planet-explorer-zoom { position:absolute; z-index:3; top:14px; right:14px; display:grid; gap:7px; }
.planet-explorer-zoom button { width:39px; height:39px; border:1px solid #ffffff2a; border-radius:11px; color:#fff; background:#101329c9; font-size:20px; cursor:pointer; backdrop-filter:blur(8px); }
.planet-explorer-zoom button:hover { background:#7655ff77; }
.planet-explorer-story { display:flex; flex-direction:column; justify-content:center; padding:clamp(20px,3vw,32px); border:1px solid rgba(166,151,240,.14); border-radius:17px; background:linear-gradient(155deg,#191b36c9,#0b0d1dc9); }
.planet-story-status { color:#b4a2ff; font-size:9px; font-weight:700; letter-spacing:1.6px; }
.planet-story-text { min-height:190px; margin:23px 0; color:#dedff0; font-size:clamp(14px,1.3vw,17px); line-height:1.85; }
.planet-story-controls { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:auto; }
.planet-story-controls button { min-height:45px; border:1px solid rgba(172,153,255,.25); border-radius:10px; color:#ebe8ff; background:#ffffff08; font:600 13px Inter,sans-serif; cursor:pointer; transition:.2s ease; }
.planet-story-controls button:hover:not(:disabled) { background:#805dff30; border-color:#ab97ff; }
.planet-story-controls button:disabled { opacity:.45; cursor:not-allowed; }
.planet-story-controls .planet-story-next { color:#fff; background:linear-gradient(110deg,#7453df,#376ecb); box-shadow:0 8px 25px #624bcb33; }
.planet-story-source, .planet-texture-credit { margin-top:17px; color:#bcaeff; font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.planet-texture-credit { color:#8f93b0; text-decoration:none; text-align:right; }
.planet-texture-credit a { color:#bcaeff; text-decoration:underline; text-underline-offset:3px; }
body.planet-viewer-open { overflow:hidden; }
@media (max-width:900px) { .planet-explorer-layout { grid-template-columns:1fr; } .planet-explorer-stage { min-height:52vh; } .planet-story-text { min-height:0; margin:14px 0 18px; } .planet-explorer-story { padding:20px; } }
@media (max-width:600px) { .planet-explorer { padding:0; align-items:stretch; } .planet-explorer-shell { max-height:100vh; border-radius:0; padding:20px 14px 18px; } .planet-explorer-stage { min-height:48vh; } .planet-explorer-head { padding-bottom:16px; } .planet-explorer-head p { max-width:88%; font-size:11px; } .planet-texture-credit { text-align:left; } }

/* Lunar landing game */
.lander-page { max-width:1440px; }
.lander-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; align-items:stretch; }
.lander-stage { position:relative; min-height:580px; overflow:hidden; border:1px solid rgba(173,156,255,.18); border-radius:18px; background:#070916; box-shadow:0 18px 50px #0005; }
.lander-stage canvas { display:block; width:100%; height:100%; min-height:580px; }
.lander-hud { position:absolute; top:16px; left:16px; display:grid; grid-template-columns:1fr 1fr; gap:9px 20px; padding:12px 14px; border:1px solid #ffffff18; border-radius:12px; background:#080b1bd9; backdrop-filter:blur(10px); }
.lander-hud span,.lander-readout span { display:flex; flex-direction:column; gap:4px; color:#999fbd; font-size:8px; font-weight:700; letter-spacing:1.1px; }
.lander-hud b { color:#edf0ff; font-size:12px; letter-spacing:0; }
.lander-message { position:absolute; left:50%; top:48%; width:max-content; max-width:90%; padding:15px 22px; border:1px solid #ffad8b66; border-radius:14px; color:#ffd6c3; background:#28131be8; font-size:clamp(12px,2vw,18px); font-weight:800; letter-spacing:1.5px; text-align:center; opacity:0; transform:translate(-50%,-40%) scale(.96); transition:.35s ease; pointer-events:none; }
.lander-message:not(:empty) { opacity:1; transform:translate(-50%,-50%) scale(1); }
.lander-message.is-success { border-color:#66e2c588; color:#a5ffe8; background:#08231fe8; }
.lander-panel { padding:23px; border:1px solid rgba(166,151,240,.16); border-radius:18px; background:linear-gradient(155deg,#191b36d9,#0b0d1dd9); }
.lander-panel h2 { margin:9px 0 10px; font-size:22px; }
.lander-panel > p:not(.subtitle) { color:#c1c4d7; font-size:12px; line-height:1.7; }
.lander-panel strong { color:#e5dbff; }
.lander-readout { margin:23px 0 16px; }
.lander-readout b { color:#eeeaff; font-size:14px; }
.throttle-meter { height:7px; margin-top:8px; overflow:hidden; border-radius:9px; background:#ffffff12; }
.throttle-meter i { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#6864ff,#5fe1d0); transition:width .12s linear; }
.lander-controls { display:grid; gap:9px; padding:14px 0; border-top:1px solid #ffffff12; border-bottom:1px solid #ffffff12; }
.lander-controls div { display:flex; align-items:center; gap:10px; color:#c2c5d9; font-size:11px; }
.lander-controls kbd { display:inline-grid; min-width:30px; height:27px; place-items:center; padding:0 6px; border:1px solid #ffffff2a; border-radius:7px; color:#eeeaff; background:#ffffff0a; font:700 10px Inter,sans-serif; }
.lander-touch-controls { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-top:14px; }
.lander-touch-controls button { min-height:40px; border:1px solid #9d8bff55; border-radius:10px; color:#f4f1ff; background:linear-gradient(145deg,#272448,#141a31); font:700 11px Inter,sans-serif; cursor:pointer; touch-action:none; user-select:none; transition:transform .12s,background .12s,box-shadow .12s; }
.lander-touch-controls button:hover,.lander-touch-controls button:active { transform:translateY(1px) scale(.97); background:linear-gradient(145deg,#5946a2,#253e68); box-shadow:0 0 16px #8d74ff55; }
.lander-restart { width:100%; justify-content:center; margin:16px 0 12px; cursor:pointer; }
.lander-panel .lander-tip { color:#9298b5; font-size:10px; }
@media(max-width:900px){.lander-layout{grid-template-columns:1fr}.lander-stage,.lander-stage canvas{min-height:55vh}.lander-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.lander-panel .subtitle,.lander-panel h2,.lander-panel>p,.lander-readout,.lander-controls,.lander-touch-controls,.lander-restart{grid-column:1/-1}}
@media(max-width:600px){.lander-stage,.lander-stage canvas{min-height:58vh}.lander-hud{top:9px;left:9px;gap:7px 10px;padding:9px}.lander-hud span{font-size:7px}.lander-hud b{font-size:10px}.lander-panel{padding:18px}}

/* Ambient playlist and radial track picker */
.site-music-dock { position:fixed; top:94px; left:50%; z-index:120; display:flex; align-items:center; gap:9px; max-width:calc(100vw - 24px); padding:6px 8px 6px 7px; border:1px solid rgba(173,156,255,.26); border-radius:999px; background:rgba(11,13,31,.92); box-shadow:0 8px 28px rgba(0,0,0,.35),0 0 22px rgba(122,91,255,.14); backdrop-filter:blur(14px); transform:translateX(-50%); }
.site-music-current { position:relative; display:flex; flex-direction:column; min-width:168px; }
.site-music-toggle { display:flex; align-items:center; gap:8px; min-height:34px; padding:0 11px; border:1px solid rgba(173,156,255,.24); border-radius:999px; color:#f4f1ff; background:linear-gradient(110deg,#7453df,#376ecb); font:600 12px Inter,sans-serif; cursor:pointer; transition:filter .2s,transform .2s; }
.site-music-toggle:hover { filter:brightness(1.12); transform:translateY(-1px); }
.site-music-note { font-size:17px; }
.site-music-title { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.site-music-action { opacity:.75; font-size:11px; }
.site-music-artist { padding:2px 0 0 34px; color:#b9bbd0; font-size:9px; }
.site-music-dock.is-playing .site-music-note { animation:music-note-pulse 1.8s ease-in-out infinite; }
.site-music-wheel-wrap { position:relative; width:40px; height:40px; }
.site-music-wheel { position:relative; z-index:2; width:40px; height:40px; border:1px solid rgba(173,156,255,.3); border-radius:50%; color:#e9e2ff; background:rgba(27,29,54,.96); font-size:18px; cursor:pointer; transition:transform .3s,background .3s,box-shadow .3s; }
.site-music-wheel:hover,.site-music-wheel-wrap.is-open .site-music-wheel { transform:rotate(35deg); background:#463787; box-shadow:0 0 18px rgba(142,116,255,.5); }
.site-music-wheel-menu { position:absolute; z-index:1; inset:50% auto auto 50%; width:0; height:0; pointer-events:none; }
.site-music-track { position:absolute; left:0; top:0; width:118px; min-height:34px; padding:6px 9px; border:1px solid rgba(174,157,255,.34); border-radius:999px; color:#eeeaff; background:rgba(25,27,52,.97); box-shadow:0 5px 20px rgba(0,0,0,.38); font:600 10px Inter,sans-serif; opacity:0; pointer-events:none; transform:translate(-50%,-50%) scale(.45); transition:opacity .28s ease,transform .38s cubic-bezier(.2,.8,.2,1),background .2s,border-color .2s; white-space:nowrap; }
.site-music-wheel-wrap.is-open .site-music-track { opacity:1; pointer-events:auto; transform:translate(calc(-50% + var(--orbit-x)),calc(-50% + var(--orbit-y))) scale(1); }
.site-music-track:hover,.site-music-track[aria-current="true"] { border-color:#b6a5ff; background:linear-gradient(110deg,#6545c9,#3268ba); }
@keyframes music-note-pulse { 50% { transform:scale(1.16); color:#dfd5ff; } }
@media (max-width:600px) { .site-music-dock { top:91px; gap:5px; padding:5px; } .site-music-current { min-width:135px; } .site-music-title { max-width:112px; } .site-music-artist { padding-left:30px; font-size:8px; } .site-music-track { width:102px; font-size:9px; } .site-music-wheel-wrap.is-open .site-music-track { transform:translate(calc(-50% + var(--orbit-x)*.72),calc(-50% + var(--orbit-y)*.72)) scale(1); } }
