/* Space Theme Styles */

/* Starfield Background */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000, #050523, #0a0a2a);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
                      radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite alternate;
    opacity: 0.7;
}

@keyframes twinkle {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: -50px -25px, -125px -75px, -85px -125px, -175px -25px, -100px -100px, -60px -200px;
    }
}

/* 3D Planet Container */
.planet-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .planet-container {
        width: 200px;
        height: 200px;
    }
}

/* Adjust hero section for space theme */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Make text more visible against starfield */
.hero h1, .hero h2, .hero p {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}