/* Elemento parallax de fondo */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: -1;
}

/* Contenedor del contenido del planeta */
.planet-content {
    position: absolute;
    top: 50%;
    right: 0;
    height: 100vh;
    aspect-ratio: 1 / 1;
    width: auto;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 6em 0 6em 0;
    overflow: visible;
    z-index: -1;
    margin-left: 0;
    margin-top: 10px;
    transform: translateY(-50%);
}

/* Elemento planeta */
.planet {
    width: 60em;
    height: 60em;
    border-radius: 50%;
    box-shadow: inset -6em -6em 6em #0c3584,-0.1em -0.1em 2em #a8eedc;
    position: relative;
    animation: rotate 10s linear infinite;
    margin-left: auto;
    background-image: url('/assets/images/dcl/planet.png');
    background-size: 200% 100%;
    background-position: 0 0;
    background-repeat: repeat-x;
}

.moon {
    border-radius: 50%;
    box-shadow: inset -3em -3em 3em #0c3584,-0.4em -0.4em 1em #a8eedc;
    width: 18em;
    height: 18em;
    position: absolute;
    left: -34em;
    top: 50%;
    transform: translateY(-50%);
    animation: rotate 5s linear infinite, orbit 20s infinite ease-in-out;
    z-index: 1;
    background-image: url('/assets/images/dcl/moon.png');
    background-size: 200% 100%;
    background-position: 0 0;
    background-repeat: repeat-x;
}

@keyframes rotate {
    to { background-position: -200% 0; }
}
   
@keyframes orbit {
    49% { z-index: 1; }
    50% {
        left: 72em;
        z-index: -1;
    }
    99% { z-index: -1 }
    100% {
        left: -34em;
        z-index: 1;
    }
} 