
        :root {
            --space-black: #020408;
            --space-blue: #0a1421;
            --star-white: #ffffff;
            --star-gold: #fff5e6;
            --star-glow: rgba(255, 255, 255, 0.4);
        }

        body.stargazing-page {
            background: var(--space-black);
            color: #d1d9e6;
            margin: 0;
            overflow-x: hidden;
            font-family: 'Outfit', sans-serif;
        }

        /* Hero Refinements */
        .star-hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
            background: var(--space-black);
        }

        .hero-stars {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 120%;
            background: url('../assets/milky_way_montezuma_dock_1775513890050.png');
            background-size: cover;
            background-position: center;
            z-index: 1;
            transition: filter 1s ease, transform 0.1s ease-out;
            filter: brightness(0.4) saturate(0.5); /* Default: Naked Eye */
        }

        .hero-stars.camera-mode {
            filter: brightness(1.2) saturate(1.2); /* Deep Space / Camera Mode */
        }

        .star-hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, rgba(2, 4, 8, 0.2) 0%, rgba(2, 4, 8, 0.8) 100%);
            z-index: 2;
            backdrop-filter: none !important;
            max-width: none !important;
            border: none;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            padding: 2rem;
            max-width: 900px;
        }

        .star-title {
            font-family: 'Abril Fatface', cursive;
            font-size: clamp(3.5rem, 12vw, 8rem);
            color: #fff;
            text-shadow: 0 10px 40px rgba(0,0,0,1), 0 0 80px rgba(255,255,255,0.2);
            margin-bottom: 1.5rem;
            line-height: 1;
        }

        .star-subtitle {
            font-size: 1.4rem;
            color: var(--star-gold);
            letter-spacing: 10px;
            text-transform: uppercase;
            font-weight: 400;
            margin-bottom: 2rem;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .toggle-container {
            margin-top: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

        .view-label {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #8899aa;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
        }

        .switch input { opacity: 0; width: 0; height: 0; }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #333;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 26px; width: 26px;
            left: 4px; bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider { background-color: var(--star-gold); }
        input:checked + .slider:before { transform: translateX(26px); }

        /* Interactive Star Map */
        .map-section {
            padding: 8rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .constellation-box {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #020408;
            border-radius: 40px;
            margin: 4rem auto;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.05);
            box-shadow: 0 40px 100px rgba(0,0,0,0.8);
        }

        /* Fade-out dark gradient at bottom to ground the stars */
        .constellation-box::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; width: 100%; height: 160px;
            background: linear-gradient(to top, rgba(2, 4, 8, 1) 0%, rgba(2, 4, 8, 0) 100%);
            z-index: 3;
            pointer-events: none;
        }

        .mangrove-roots-silhouette {
            position: absolute;
            bottom: -15px; left: 0; width: 100%; height: 160px;
            background-image: url('../assets/mangrove_roots_bottom_visible_1780269955479.png');
            background-size: cover;
            background-position: bottom center;
            opacity: 0.18; /* Subtle natural framing */
            z-index: 2;
            pointer-events: none;
            mix-blend-mode: screen;
        }

        .star-svg {
            width: 100%;
            height: 100%;
            position: relative;
            z-index: 4;
            pointer-events: none;
        }

        .constellation {
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: auto;
        }

        /* Glow effects for lines and stars */
        @keyframes pulseGlow {
            0%, 100% { opacity: 0.75; filter: drop-shadow(0 0 3px #fff); }
            50% { opacity: 1; filter: drop-shadow(0 0 10px var(--star-gold)); }
        }

        .constellation circle {
            fill: #fff;
            filter: drop-shadow(0 0 5px #fff);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            animation: pulseGlow 4s ease-in-out infinite;
        }
        
        .constellation circle:nth-child(2n) { animation-delay: 1s; }
        .constellation circle:nth-child(3n) { animation-delay: 2s; }

        .constellation line {
            stroke: rgba(255,255,255,0.18);
            stroke-width: 1.5;
            stroke-dasharray: 2 2;
            transition: all 0.4s ease;
        }

        .constellation path.mythical-outline {
            fill: none;
            stroke: rgba(255, 245, 230, 0.0);
            stroke-width: 1;
            stroke-dasharray: 5 5;
            transition: all 0.5s ease;
        }

        /* Hover states */
        .constellation:hover circle,
        .constellation.active circle {
            r: 7;
            fill: var(--star-gold);
            filter: drop-shadow(0 0 15px var(--star-gold));
            animation-play-state: paused;
        }

        .constellation:hover line,
        .constellation.active line {
            stroke: var(--star-gold);
            stroke-width: 2;
            stroke-dasharray: none;
            filter: drop-shadow(0 0 4px rgba(255, 245, 230, 0.4));
        }

        .constellation:hover path.mythical-outline,
        .constellation.active path.mythical-outline {
            stroke: rgba(255, 245, 230, 0.25);
            stroke-width: 1.5;
            stroke-dashoffset: -20;
            animation: dashMove 15s linear infinite;
        }

        @keyframes dashMove {
            to { stroke-dashoffset: -100; }
        }

        /* Astronomy reticle sky grid */
        .sky-grid {
            pointer-events: none;
            opacity: 0.1;
            transition: opacity 0.5s ease;
        }
        .constellation-box:hover .sky-grid {
            opacity: 0.22;
        }

        /* Constellation Card Glassmorphism */
        .info-panel {
            position: absolute;
            top: 2rem; right: 2rem;
            width: 320px;
            background: rgba(4, 10, 20, 0.75);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 245, 230, 0.15);
            border-radius: 24px;
            padding: 2.2rem;
            text-align: left;
            opacity: 0;
            transform: translateY(15px);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            pointer-events: none;
            z-index: 20;
            box-shadow: 0 30px 60px rgba(0,0,0,0.6);
        }

        .info-panel.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
        }

        .info-panel h3 {
            font-family: 'Abril Fatface', cursive;
            font-size: 2rem;
            color: var(--star-gold);
            margin-top: 0;
            margin-bottom: 0.3rem;
            letter-spacing: 0.5px;
        }

        .info-panel .const-meta {
            font-size: 0.85rem;
            color: #8899aa;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1.5rem;
            display: flex;
            gap: 1rem;
        }

        .info-panel p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #d1d9e6;
            margin-bottom: 1.5rem;
        }

        .info-panel .const-stats {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
            margin-top: 1rem;
        }

        .info-panel .stat-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #a0b0c6;
            margin-bottom: 0.4rem;
        }

        .info-panel .stat-row:last-child {
            margin-bottom: 0;
        }

        .info-panel .stat-val {
            color: var(--star-gold);
            font-weight: 600;
        }

        .close-info {
            position: absolute;
            top: 1.2rem; right: 1.2rem;
            color: #fff;
            cursor: pointer;
            opacity: 0.5;
            transition: opacity 0.3s ease;
        }
        
        .close-info:hover {
            opacity: 1;
        }

        /* Info Sections */
        .star-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: center;
            padding: 8rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .star-image {
            width: 100%;
            border-radius: 30px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.6);
            border: 1px solid rgba(255,255,255,0.05);
        }

        .star-text h2 {
            font-family: 'Abril Fatface', cursive;
            font-size: 3.5rem;
            color: #fff;
            margin-bottom: 2rem;
        }

        .star-text p {
            font-size: 1.4rem;
            line-height: 1.9;
            color: #a0b0c6;
        }

        /* Dark Sky CTA */
        .universe-cta {
            padding: 10rem 2rem;
            text-align: center;
            background: linear-gradient(to bottom, transparent, rgba(10, 20, 33, 0.4));
        }

        .celestial-btn {
            display: inline-block;
            padding: 2rem 6rem;
            background: transparent;
            border: 2px solid #fff;
            color: #fff;
            text-decoration: none;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 5px;
            border-radius: 100px;
            transition: all 0.4s ease;
        }

        .celestial-btn:hover {
            background: #fff;
            color: var(--space-black);
            box-shadow: 0 0 50px rgba(255,255,255,0.4);
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .star-grid { grid-template-columns: 1fr; gap: 3rem; }
            .star-title { font-size: 3.5rem; }
            .constellation-box { aspect-ratio: 1 / 1.2; }
            .info-panel { width: calc(100% - 4rem); top: auto; bottom: 2rem; left: 2rem; }
        }
    