/* Gravity Hero Effect */
.gravity-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Prevent header overlap */
}

/* Stars Layer 1 (Small) */
.stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1744px 122px #FFF , 134px 1321px #FFF , 92px 859px #FFF; /* Will be generated by JS for better randomness or use a large static set */
    animation: animStar 50s linear infinite;
}
.stars::after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1744px 122px #FFF , 134px 1321px #FFF , 92px 859px #FFF;
}

/* Stars Layer 2 (Medium) */
.stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 100px 200px #FFF; /* Placeholder */
    animation: animStar 100s linear infinite;
}
.stars2::after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 100px 200px #FFF; /* Placeholder */
}

/* Stars Layer 3 (Large) */
.stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 500px 400px #FFF; /* Placeholder */
    animation: animStar 150s linear infinite;
}
.stars3::after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 500px 400px #FFF; /* Placeholder */
}

@keyframes animStar {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

/* Content Container */
.gravity-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Main Image (The Astronaut/Poster) */
.gravity-image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 2rem;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.gravity-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain; /* Respect user's request */
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Typography */
.gravity-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(to bottom, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.gravity-subtitle {
    font-family: 'Avenir Next', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 1rem;
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 1s;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Earth Glow at Bottom */
.earth-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, rgba(37, 117, 252, 0.3) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}
