@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

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

html {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

:root {
    --primary-glow: #00f3ff;
    --secondary-glow: #ff00ff;
    --accent-cyan: #0ff;
    --accent-purple: #b300ff;
    --bg-dark: #000814;
    --glass-bg: rgba(10, 15, 35, 0.7);
    --border-glow: rgba(0, 243, 255, 0.3);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
}

.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.stars-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(2px 2px at 25% 15%, white, transparent),
        radial-gradient(2px 2px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 75% 25%, white, transparent),
        radial-gradient(2px 2px at 15% 75%, white, transparent),
        radial-gradient(1px 1px at 80% 80%, white, transparent);
    background-size: 400px 400px;
    animation: starsMove 120s linear infinite;
}

@keyframes starsMove {
    from { transform: translate(0, 0); }
    to { transform: translate(-400px, -400px); }
}

.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 30%, rgba(179, 0, 255, 0.05) 0%, transparent 50%);
    animation: nebulaPulse 15s ease-in-out infinite;
}

@keyframes nebulaPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.scan-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 243, 255, 0.03) 2px,
        rgba(0, 243, 255, 0.03) 4px
    );
    pointer-events: none;
    animation: scanMove 10s linear infinite;
}

@keyframes scanMove {
    from { transform: translateY(0); }
    to { transform: translateY(20px); }
}

.shooting-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    opacity: 0;
    animation: shootingStar 2s linear;
    animation-fill-mode: forwards;
}

.shooting-star::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.5) 60%, transparent 80%);
    border-radius: 50%;
    box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.9),
                0 0 20px 6px rgba(0, 243, 255, 0.7),
                0 0 30px 8px rgba(255, 255, 255, 0.4);
    filter: blur(0.5px);
}

.shooting-star::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

@keyframes shootingStar1 {
    0%, 4.16% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    4.36% {
        opacity: 1;
    }
    8.13% {
        opacity: 0.8;
    }
    8.33% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    8.34%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar2 {
    0%, 16.66% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    16.86% {
        opacity: 1;
    }
    20.63% {
        opacity: 0.8;
    }
    20.83% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    20.84%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar3 {
    0%, 29.16% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    29.36% {
        opacity: 1;
    }
    33.13% {
        opacity: 0.8;
    }
    33.33% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    33.34%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar4 {
    0%, 41.66% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    41.86% {
        opacity: 1;
    }
    45.63% {
        opacity: 0.8;
    }
    45.83% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    45.84%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar5 {
    0%, 54.16% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    54.36% {
        opacity: 1;
    }
    58.13% {
        opacity: 0.8;
    }
    58.33% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    58.34%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar6 {
    0%, 66.66% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    66.86% {
        opacity: 1;
    }
    70.63% {
        opacity: 0.8;
    }
    70.83% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    70.84%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar7 {
    0%, 79.16% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    79.36% {
        opacity: 1;
    }
    83.13% {
        opacity: 0.8;
    }
    83.33% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    83.34%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

@keyframes shootingStar8 {
    0%, 91.66% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
    91.86% {
        opacity: 1;
    }
    95.63% {
        opacity: 0.8;
    }
    95.83% {
        opacity: 0;
        transform: translateX(-1500px) translateY(1500px) rotate(-45deg);
    }
    95.84%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-45deg);
    }
}

.shooting-star:nth-child(1) {
    top: 10%;
    right: 20%;
    width: 150px;
    animation: shootingStar1 48s linear infinite;
}

.shooting-star:nth-child(2) {
    top: 30%;
    right: 60%;
    width: 120px;
    animation: shootingStar2 48s linear infinite;
}

.shooting-star:nth-child(3) {
    top: 50%;
    right: 10%;
    width: 180px;
    animation: shootingStar3 48s linear infinite;
}

.shooting-star:nth-child(4) {
    top: 70%;
    right: 80%;
    width: 140px;
    animation: shootingStar4 48s linear infinite;
}

.shooting-star:nth-child(5) {
    top: 20%;
    right: 40%;
    width: 160px;
    animation: shootingStar5 48s linear infinite;
}

.shooting-star:nth-child(6) {
    top: 60%;
    right: 50%;
    width: 130px;
    animation: shootingStar6 48s linear infinite;
}

.shooting-star:nth-child(7) {
    top: 15%;
    right: 70%;
    width: 145px;
    animation: shootingStar7 48s linear infinite;
}

.shooting-star:nth-child(8) {
    top: 80%;
    right: 30%;
    width: 155px;
    animation: shootingStar8 48s linear infinite;
}

.constellations-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.constellation {
    position: absolute;
    pointer-events: none;
}

.constellation-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8),
                0 0 8px rgba(200, 220, 255, 0.5);
    animation: starTwinkle 3s ease-in-out infinite;
}

.constellation-star.bright {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 1),
                0 0 12px rgba(200, 220, 255, 0.7);
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(200, 220, 255, 0.3) 10%,
        rgba(200, 220, 255, 0.3) 90%,
        transparent 100%);
    transform-origin: left center;
    opacity: 0.4;
}

.constellation-label {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
    animation: labelGlow 4s ease-in-out infinite;
}

@keyframes labelGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .constellation {
        display: none;
    }
}

.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.corner-frame {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-glow);
    opacity: 0.5;
}

.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    z-index: 10;
    background: linear-gradient(180deg, rgba(0, 8, 20, 0.6) 0%, transparent 100%);
    transition: opacity 0.5s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.planet-info-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.glitch {
    position: relative;
}

.subtitle-glow {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 500px;
    margin: 0 auto;
}

.right-controls {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.view-toggle-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 8, 20, 0.8);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.view-toggle-btn {
    font-family: 'Orbitron', sans-serif;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    width: 50px;
    height: 50px;
}

.view-toggle-btn .toggle-icon {
    font-size: 1.2rem;
}

.view-toggle-btn .toggle-text {
    display: none;
}

.view-toggle-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 243, 255, 0.1);
}

.view-toggle-btn.active {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.3), rgba(179, 0, 255, 0.3));
    color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.music-control {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: rgba(0, 8, 20, 0.8);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    padding: 0;
}

.music-control:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
    transform: scale(1.05);
}

.music-control:active {
    transform: scale(0.95);
}

.music-icon {
    font-size: 18px;
    color: var(--primary-glow);
    transition: opacity 0.3s ease;
}

.music-icon.hidden {
    display: none;
}

@media (max-width: 768px) {
    .right-controls {
        display: none;
    }
}

.planet-display-area {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.orbit-ring, .orbit-ring-2 {
    position: absolute;
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring {
    width: clamp(600px, 75vw, 900px);
    height: clamp(600px, 75vw, 900px);
    animation: ringRotate 120s linear infinite;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3), inset 0 0 20px rgba(0, 243, 255, 0.2);
    left: 50%;
    top: 50%;
}

.orbit-ring-2 {
    width: clamp(650px, 80vw, 950px);
    height: clamp(650px, 80vw, 950px);
    animation: ringRotate 180s linear infinite reverse;
    opacity: 0.3;
    left: 50%;
    top: 50%;
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.planet-container {
    position: relative;
    width: clamp(400px, 60vw, 700px);
    height: clamp(400px, 60vw, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: planetCircle 150s linear infinite;
}

@keyframes planetCircle {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

.planet-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.3;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.main-planet-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 
        inset -30px -30px 80px rgba(0, 0, 0, 0.8),
        inset 20px 20px 80px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(0, 243, 255, 0.3),
        0 0 100px rgba(0, 243, 255, 0.2);
    animation: planetRotate 120s linear infinite;
    transform-style: preserve-3d;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes planetRotate {
    from { background-position: 0% center; }
    to { background-position: 200% center; }
}

.planet-atmosphere {
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    border-radius: 60%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 60%);
    pointer-events: none;
}

.planet-reflection {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 50%);
    filter: blur(20px);
    pointer-events: none;
}

.hologram-grid {
    position: absolute;
    width: 120%;
    height: 120%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0, 243, 255, 0.05) 20px, rgba(0, 243, 255, 0.05) 21px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0, 243, 255, 0.05) 20px, rgba(0, 243, 255, 0.05) 21px);
    pointer-events: none;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

.saturn-ring {
    position: absolute;
    width: 170%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, black 100%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 0%, black 0%, black 100%, transparent 100%);
    -webkit-mask-size: 100% 54%;
    mask-size: 100% 54%;
    -webkit-mask-position: 50% 0%;
    mask-position: 50% 0%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.saturn-ring.visible {
    opacity: 1;
}

.saturn-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(
            ellipse at center,
            transparent 0%,
            transparent 42%,
            rgba(180, 150, 100, 0.15) 43%,
            rgba(200, 170, 110, 0.3) 44%,
            rgba(220, 180, 120, 0.5) 45%,
            rgba(228, 188, 130, 0.65) 46.5%,
            rgba(240, 200, 135, 0.8) 48%,
            rgba(244, 212, 124, 0.85) 49%,
            rgba(255, 230, 160, 0.95) 50%,
            rgba(255, 240, 180, 1) 51%,
            rgba(255, 230, 160, 0.95) 52%,
            rgba(244, 212, 124, 0.85) 53%,
            rgba(240, 200, 135, 0.8) 54%,
            rgba(228, 188, 130, 0.65) 55.5%,
            rgba(220, 180, 120, 0.5) 57%,
            rgba(200, 170, 110, 0.3) 58%,
            rgba(180, 150, 100, 0.15) 59%,
            transparent 60%,
            transparent 100%
        );
    box-shadow: 
        inset 0 0 50px rgba(244, 212, 124, 0.5),
        0 10px 30px rgba(244, 212, 124, 0.4);
}

.saturn-ring::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: 
        radial-gradient(
            ellipse at center,
            transparent 0%,
            transparent 46%,
            rgba(200, 170, 110, 0.2) 47%,
            rgba(244, 212, 124, 0.4) 49%,
            rgba(255, 230, 160, 0.5) 51%,
            rgba(244, 212, 124, 0.4) 53%,
            rgba(200, 170, 110, 0.2) 55%,
            transparent 56%,
            transparent 100%
        );
}

.saturn-ring-front {
    position: absolute;
    width: 170%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
    -webkit-mask-image: radial-gradient(ellipse at 50% 100%, black 0%, black 100%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 100%, black 0%, black 100%, transparent 100%);
    -webkit-mask-size: 100% 54%;
    mask-size: 100% 54%;
    -webkit-mask-position: 50% 100%;
    mask-position: 50% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.saturn-ring-front.visible {
    opacity: 1;
}

.saturn-ring-front::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(
            ellipse at center,
            transparent 0%,
            transparent 42%,
            rgba(180, 150, 100, 0.15) 43%,
            rgba(200, 170, 110, 0.3) 44%,
            rgba(220, 180, 120, 0.5) 45%,
            rgba(228, 188, 130, 0.65) 46.5%,
            rgba(240, 200, 135, 0.8) 48%,
            rgba(244, 212, 124, 0.85) 49%,
            rgba(255, 230, 160, 0.95) 50%,
            rgba(255, 240, 180, 1) 51%,
            rgba(255, 230, 160, 0.95) 52%,
            rgba(244, 212, 124, 0.85) 53%,
            rgba(240, 200, 135, 0.8) 54%,
            rgba(228, 188, 130, 0.65) 55.5%,
            rgba(220, 180, 120, 0.5) 57%,
            rgba(200, 170, 110, 0.3) 58%,
            rgba(180, 150, 100, 0.15) 59%,
            transparent 60%,
            transparent 100%
        );
    box-shadow: 
        inset 0 0 50px rgba(244, 212, 124, 0.5),
        0 -10px 30px rgba(244, 212, 124, 0.4);
}

.saturn-ring-front::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: 
        radial-gradient(
            ellipse at center,
            transparent 0%,
            transparent 46%,
            rgba(200, 170, 110, 0.2) 47%,
            rgba(244, 212, 124, 0.4) 49%,
            rgba(255, 230, 160, 0.5) 51%,
            rgba(244, 212, 124, 0.4) 53%,
            rgba(200, 170, 110, 0.2) 55%,
            transparent 56%,
            transparent 100%
        );
}

@keyframes gridMove {
    from { transform: translate(0, 0); }
    to { transform: translate(20px, 20px); }
}

.planet-navigation {
    position: absolute;
    width: clamp(600px, 75vw, 900px);
    height: clamp(600px, 75vw, 900px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.nav-planet-btn {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-planet-btn:hover {
    background: rgba(0, 243, 255, 0.2);
    border-color: var(--primary-glow);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

.nav-planet-btn.active {
    background: rgba(0, 243, 255, 0.3);
    border-color: var(--primary-glow);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
}

.btn-icon {
    width: 8px;
    height: 8px;
    background: var(--primary-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.sun-btn .btn-icon {
    background: #ffaa00;
    box-shadow: 0 0 15px #ffaa00;
}

.data-panel-trigger {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trigger-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--primary-glow));
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.trigger-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s ease;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.data-panel-trigger:hover .trigger-icon {
    background: transparent;
    box-shadow: none;
    transform: scale(1.1) !important;
}

.trigger-icon svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    stroke: white;
    filter: drop-shadow(0 0 8px white);
}

.data-panel-trigger.active .trigger-icon svg {
    transform: rotate(180deg);
}


.data-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    max-height: 75vh;
    background: linear-gradient(to top, rgba(0, 8, 20, 0.95), rgba(10, 15, 35, 0.9));
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-glow);
    box-shadow: 0 -10px 50px rgba(0, 243, 255, 0.3);
    z-index: 100;
    transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.data-panel.active {
    bottom: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.panel-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 4px;
    color: var(--primary-glow);
    text-shadow: 0 0 20px var(--primary-glow);
}

.close-panel {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--border-glow);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.close-panel span {
    position: absolute;
    width: 60%;
    height: 2px;
    background: var(--primary-glow);
    top: 50%;
    left: 50%;
}

.close-panel span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-panel span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-panel:hover {
    border-color: var(--primary-glow);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
    transform: rotate(90deg);
}

.panel-content {
    padding: 30px 40px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--primary-glow);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-glow);
    text-shadow: 0 0 15px var(--primary-glow);
}

.stat-data {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.7;
    font-weight: 500;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-glow);
    text-shadow: 0 0 10px var(--primary-glow);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary-glow);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.data-item:hover {
    background: rgba(0, 243, 255, 0.05);
    transform: translateX(5px);
}

.data-label {
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.7;
    font-weight: 500;
}

.data-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: var(--accent-cyan);
}

.info-section {
    margin-bottom: 30px;
}

.info-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--primary-glow);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.3);
}

.overview-text, .fun-fact-text {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-glow), var(--accent-purple));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 10px var(--primary-glow);
}

.solar-system-simulation {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.solar-system-simulation.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.planet-display-area {
    transition: opacity 0.5s ease;
}

.planet-display-area.hidden {
    opacity: 0;
    pointer-events: none;
}

.sun-center {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 100;
}

.sun-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 170, 0, 0.8),
                0 0 80px rgba(255, 170, 0, 0.5),
                0 0 120px rgba(255, 170, 0, 0.3);
    animation: sunPulse 4s ease-in-out infinite;
}

.sun-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 170, 0, 0.4) 0%, transparent 70%);
    filter: blur(30px);
    animation: sunGlowPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes sunGlowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.mercury-orbit {
    width: 140px;
    height: 140px;
}

.venus-orbit {
    width: 190px;
    height: 190px;
}

.earth-orbit {
    width: 240px;
    height: 240px;
}

.mars-orbit {
    width: 300px;
    height: 300px;
}

.jupiter-orbit {
    width: 420px;
    height: 420px;
}

.saturn-orbit {
    width: 540px;
    height: 540px;
}

.uranus-orbit {
    width: 660px;
    height: 660px;
}

.neptune-orbit {
    width: 780px;
    height: 780px;
}

.planet-orbit-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: orbitRotate var(--orbit-duration) linear infinite;
}

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

.orbit-planet {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transform: translateX(-50%);
}

.mercury-planet {
    width: 12px;
    height: 12px;
    top: 0;
    left: 50%;
}

.venus-planet {
    width: 18px;
    height: 18px;
    top: 0;
    left: 50%;
}

.earth-planet {
    width: 20px;
    height: 20px;
    top: 0;
    left: 50%;
}

.mars-planet {
    width: 16px;
    height: 16px;
    top: 0;
    left: 50%;
}

.jupiter-planet {
    width: 40px;
    height: 40px;
    top: 0;
    left: 50%;
}

.saturn-planet {
    width: 36px;
    height: 36px;
    top: 0;
    left: 50%;
}

.uranus-planet {
    width: 28px;
    height: 28px;
    top: 0;
    left: 50%;
}

.neptune-planet {
    width: 26px;
    height: 26px;
    top: 0;
    left: 50%;
}

@media (min-width: 1025px) and (max-width: 1919px) {
    .view-toggle-container {
        display: flex;
    }

    .planet-container {
        width: 380px;
        height: 380px;
        animation: none;
    }
    
    .orbit-ring {
        width: 580px;
        height: 580px;
    }
    
    .orbit-ring-2 {
        width: 630px;
        height: 630px;
    }
    
    .planet-navigation {
        width: 580px;
        height: 580px;
    }
    
    .main-header {
        padding: 30px 60px 20px;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .planet-info-header {
        flex: 1;
        text-align: left;
    }
    
    .planet-info-header h1 {
        font-size: 1.8rem;
        letter-spacing: 4px;
        margin-bottom: 5px;
    }
    
    .subtitle-glow {
        font-size: 0.75rem;
        margin: 0;
        max-width: none;
    }
    
    .orbital-info {
        text-align: right;
    }
    
    .orbital-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        margin-bottom: 3px;
    }
    
    .orbital-value {
        font-family: 'Orbitron', sans-serif;
        font-size: 0.75rem;
        color: var(--primary-glow);
        letter-spacing: 1px;
    }
    
    .data-panel-trigger {
        position: absolute;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 15;
    }
    
    .trigger-line {
        display: none;
    }
    
    .trigger-text {
        display: none;
    }
    
    .trigger-icon {
        width: 50px;
        height: 50px;
    }
    
    .trigger-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (min-width: 1920px) {
    .view-toggle-container {
        display: flex;
    }

    .planet-container {
        width: 420px;
        height: 420px;
        animation: none;
    }

    .orbit-ring {
        width: 620px;
        height: 620px;
    }

    .orbit-ring-2 {
        width: 670px;
        height: 670px;
    }
    
    .planet-navigation {
        width: 620px;
        height: 620px;
    }

    .main-header {
        padding: 35px 80px 25px;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .planet-info-header {
        flex: 1;
        text-align: left;
    }
    
    .planet-info-header h1 {
        font-size: 2rem;
        letter-spacing: 5px;
        margin-bottom: 5px;
    }
    
    .subtitle-glow {
        font-size: 0.8rem;
        margin: 0;
        max-width: none;
    }
    
    .orbital-info {
        text-align: right;
    }
    
    .orbital-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    
    .orbital-value {
        font-family: 'Orbitron', sans-serif;
        font-size: 0.85rem;
        color: var(--primary-glow);
        letter-spacing: 1px;
    }
    
    .data-panel-trigger {
        position: absolute;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 15;
    }
    
    .trigger-line {
        display: none;
    }
    
    .trigger-text {
        display: none;
    }
    
    .trigger-icon {
        width: 50px;
        height: 50px;
    }
    
    .trigger-icon svg {
        width: 25px;
        height: 25px;
    }

    .panel-content {
        padding: 40px 60px 60px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .planet-container {
        width: 320px;
        height: 320px;
        animation: none;
    }

    .orbit-ring {
        width: 500px;
        height: 500px;
    }

    .orbit-ring-2 {
        width: 550px;
        height: 550px;
    }
    
    .planet-navigation {
        width: 500px;
        height: 500px;
    }
    
    .main-header {
        padding: 30px 40px 20px;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .planet-info-header {
        flex: 1;
        text-align: left;
    }
    
    .planet-info-header h1 {
        font-size: 1.6rem;
        letter-spacing: 4px;
        margin-bottom: 4px;
    }
    
    .subtitle-glow {
        font-size: 0.7rem;
        margin: 0;
        max-width: none;
    }
    
    .orbital-info {
        text-align: right;
    }
    
    .orbital-label {
        font-size: 0.6rem;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        margin-bottom: 3px;
    }
    
    .orbital-value {
        font-family: 'Orbitron', sans-serif;
        font-size: 0.7rem;
        color: var(--primary-glow);
        letter-spacing: 1px;
    }
    
    .data-panel-trigger {
        position: absolute;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 15;
    }
    
    .trigger-line {
        display: none;
    }
    
    .trigger-text {
        display: none;
    }
    
    .trigger-icon {
        width: 45px;
        height: 45px;
    }
    
    .trigger-icon svg {
        width: 22px;
        height: 22px;
    }

    .nav-planet-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 20px 20px;
    }

    .corner-frame {
        width: 40px;
        height: 40px;
    }

    .corner-frame.bottom-left,
    .corner-frame.bottom-right {
        display: none;
    }

    .planet-display-area {
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .planet-container {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%);
        width: clamp(280px, 70vw, 450px);
        height: clamp(280px, 70vw, 450px);
        animation: none;
        transition: opacity 0.4s ease;
        overflow: visible;
    }

    .main-planet-sphere {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
    }

    .planet-container.slide-out-left .main-planet-sphere {
        transform: translateX(-120vw);
    }

    .planet-container.slide-out-right .main-planet-sphere {
        transform: translateX(120vw);
    }

    .planet-container.slide-in-left .main-planet-sphere {
        transform: translateX(0);
    }

    .planet-container.slide-in-right .main-planet-sphere {
        transform: translateX(0);
    }

    .planet-container.prepare-left .main-planet-sphere {
        transform: translateX(120vw);
    }

    .planet-container.prepare-right .main-planet-sphere {
        transform: translateX(-120vw);
    }

    .orbit-ring, .orbit-ring-2 {
        display: none;
    }

    .planet-navigation {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        height: 60vh;
        z-index: 50;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
        pointer-events: none;
    }

    .carousel-track {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-planet-btn {
        position: absolute;
        padding: 10px 20px;
        font-size: 0.75rem;
        min-width: auto;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
        text-align: center;
        white-space: nowrap;
        pointer-events: all;
        transform-origin: center center;
    }

    .nav-planet-btn.active {
        font-size: 1.1rem;
        padding: 14px 26px;
        background: rgba(0, 243, 255, 0.3);
        border-color: var(--primary-glow);
        box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
    }

    .nav-planet-btn.adjacent {
        font-size: 0.85rem;
        padding: 11px 22px;
    }

    .nav-planet-btn .btn-icon {
        display: none;
    }

    .nav-planet-btn .btn-text {
        display: block;
        width: 100%;
        text-align: center;
    }

    .panel-content {
        padding: 20px;
    }

    .stats-display {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .data-panel-trigger {
        bottom: 30px;
        z-index: 60;
    }

    .trigger-line {
        display: none;
    }

    .trigger-icon {
        width: 50px;
        height: 50px;
        background: transparent;
        border: none;
        box-shadow: none;
        animation: none;
    }

    .trigger-icon svg {
        stroke: white;
        filter: drop-shadow(0 0 8px white);
    }

    .data-panel-trigger:hover .trigger-icon {
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .data-panel {
        max-height: 65vh;
    }
}

@media (max-width: 480px) {
    .planet-container {
        width: clamp(250px, 80vw, 380px);
        height: clamp(250px, 80vw, 380px);
    }

    .nav-planet-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .nav-planet-btn.active {
        font-size: 0.95rem;
        padding: 12px 22px;
    }

    .nav-planet-btn.adjacent {
        font-size: 0.75rem;
        padding: 9px 18px;
    }

    .planet-info-header h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .trigger-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .planet-container {
        width: 90vw !important;
        height: 90vw !important;
    }

    .main-planet-sphere {
        box-shadow:
            inset -20px -20px 60px rgba(0, 0, 0, 0.8),
            inset 10px 10px 50px rgba(255, 255, 255, 0.1),
            0 0 50px rgba(0, 243, 255, 0.3),
            0 0 80px rgba(0, 243, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .planet-container {
        width: 100vw !important;
        height: 100vw !important;
    }
}

/* 2K Monitors and Larger Displays (2560px+) */
@media (min-width: 2560px) {
    .view-toggle-container {
        display: flex;
    }

    .planet-container {
        width: 520px;
        height: 520px;
        animation: none;
    }

    .orbit-ring {
        width: 780px;
        height: 780px;
        left: 50%;
        top: 50%;
    }

    .orbit-ring-2 {
        width: 830px;
        height: 830px;
        left: 50%;
        top: 50%;
    }
    
    .planet-navigation {
        width: 780px;
        height: 780px;
    }

    .main-header {
        padding: 40px 100px 30px;
    }

    .sun-center {
        width: 100px;
        height: 100px;
    }

    .mercury-orbit { width: 180px; height: 180px; }
    .venus-orbit { width: 240px; height: 240px; }
    .earth-orbit { width: 300px; height: 300px; }
    .mars-orbit { width: 380px; height: 380px; }
    .jupiter-orbit { width: 540px; height: 540px; }
    .saturn-orbit { width: 680px; height: 680px; }
    .uranus-orbit { width: 840px; height: 840px; }
    .neptune-orbit { width: 1000px; height: 1000px; }
    
    .planet-info-header h1 {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }
    
    .subtitle-glow {
        font-size: 1rem;
    }
    
    .orbital-label {
        font-size: 0.8rem;
    }
    
    .orbital-value {
        font-size: 1rem;
    }
}

/* 4K Monitors and Ultra-Wide Displays (3840px+) */
@media (min-width: 3840px) {
    .view-toggle-container {
        display: flex;
    }

    .planet-container {
        width: 650px;
        height: 650px;
        animation: none;
    }

    .orbit-ring {
        width: 980px;
        height: 980px;
        left: 50%;
        top: 50%;
    }

    .orbit-ring-2 {
        width: 1030px;
        height: 1030px;
        left: 50%;
        top: 50%;
    }
    
    .planet-navigation {
        width: 980px;
        height: 980px;
    }

    .main-header {
        padding: 50px 120px 35px;
    }

    .sun-center {
        width: 130px;
        height: 130px;
    }

    .mercury-orbit { width: 220px; height: 220px; }
    .venus-orbit { width: 300px; height: 300px; }
    .earth-orbit { width: 380px; height: 380px; }
    .mars-orbit { width: 480px; height: 480px; }
    .jupiter-orbit { width: 680px; height: 680px; }
    .saturn-orbit { width: 860px; height: 860px; }
    .uranus-orbit { width: 1060px; height: 1060px; }
    .neptune-orbit { width: 1260px; height: 1260px; }
    
    .planet-info-header h1 {
        font-size: 3rem;
        letter-spacing: 8px;
    }
    
    .subtitle-glow {
        font-size: 1.2rem;
    }
    
    .orbital-label {
        font-size: 1rem;
    }
    
    .orbital-value {
        font-size: 1.2rem;
    }

    .panel-content {
        padding: 50px 80px 80px;
    }
}

/* 5K+ and Ultra-Wide Displays (5120px+) */
@media (min-width: 5120px) {
    .view-toggle-container {
        display: flex;
    }

    .planet-container {
        width: 800px;
        height: 800px;
        animation: none;
    }

    .orbit-ring {
        width: 1200px;
        height: 1200px;
        left: 50%;
        top: 50%;
    }

    .orbit-ring-2 {
        width: 1250px;
        height: 1250px;
        left: 50%;
        top: 50%;
    }
    
    .planet-navigation {
        width: 1200px;
        height: 1200px;
    }

    .main-header {
        padding: 60px 150px 40px;
    }

    .sun-center {
        width: 160px;
        height: 160px;
    }

    .mercury-orbit { width: 280px; height: 280px; }
    .venus-orbit { width: 380px; height: 380px; }
    .earth-orbit { width: 480px; height: 480px; }
    .mars-orbit { width: 600px; height: 600px; }
    .jupiter-orbit { width: 840px; height: 840px; }
    .saturn-orbit { width: 1080px; height: 1080px; }
    .uranus-orbit { width: 1320px; height: 1320px; }
    .neptune-orbit { width: 1560px; height: 1560px; }
    
    .planet-info-header h1 {
        font-size: 3.5rem;
        letter-spacing: 10px;
    }
    
    .subtitle-glow {
        font-size: 1.4rem;
    }
    
    .orbital-label {
        font-size: 1.2rem;
    }
    
    .orbital-value {
        font-size: 1.4rem;
    }

    .panel-content {
        padding: 60px 100px 100px;
    }
    
    .nav-planet-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}
