:root {
    --space-bg: #0b0d17;
    --space-card: #15192b;
    --neon-blue: #4cc9f0;
    --neon-purple: #7209b7;
    --neon-pink: #f72585;
    --star-gold: #ffd60a;
    --text-light: #f8f9fa;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-color: var(--space-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    position: relative;
    overflow-x: hidden;
}

/* Starry Background Animation */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    z-index: -1;
    animation: twinkly 20s linear infinite;
}

@keyframes twinkly {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-550px);
    }
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Orbitron:wght@400;700&display=swap');

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1.hero-title {
    font-size: 3rem;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(76, 201, 240, 0.5);
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: 2rem;
    color: var(--star-gold);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--neon-pink);
    margin: 10px auto 0;
    box-shadow: 0 0 10px var(--neon-pink);
}

/* Components */
.galaxy-card {
    background: rgba(21, 25, 43, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(114, 9, 183, 0.2);
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.galaxy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(76, 201, 240, 0.4);
    border-color: var(--neon-blue);
}

/* Hero Image / Animation */
.astronaut-container {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.astronaut-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-purple);
}

.planet-ring {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 2px solid var(--star-gold);
    transform: rotateX(70deg) rotateY(10deg);
    box-shadow: 0 0 10px var(--star-gold);
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Buttons */
.btn-galaxy {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    font-family: var(--font-heading);
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.4);
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-galaxy:hover {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    box-shadow: 0 0 25px rgba(76, 201, 240, 0.6);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Countdown */
.galaxy-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.galaxy-time-box {
    text-align: center;
    border: 1px solid var(--neon-blue);
    padding: 10px;
    border-radius: 10px;
    background: rgba(76, 201, 240, 0.1);
    min-width: 80px;
}

.galaxy-time-box span {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.galaxy-time-box small {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-music-galaxy {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px var(--neon-blue);
    backdrop-filter: blur(5px);
}