body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle, #000033, #000);
    overflow: hidden;
    color: white;
    font-family: Arial, sans-serif;
}

.solar-system {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #ffdd00, #ff9900, #ff6600);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 80px #ffcc00, /* Glow effect */
        0 0 20px 10px rgba(255, 204, 0, 0.5); /* Shadow effect */
    animation: rotateSun 20s linear infinite;
}

@keyframes rotateSun {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.sun-name {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
}

.planet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.5), /* Glow effect */
        0 0 10px 5px rgba(0, 0, 0, 0.5); /* Shadow effect */
}

.planet-name {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
}

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

.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbit var(--speed) linear infinite;
}

.stars {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: twinkle 5s infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.8; }
    to { opacity: 1; }
}