:root {
    --color-bg: #050510;
    --color-text: #F0F0FF;
    --color-accent: #FFD700;
    --color-aurelia: #50C878;
    /* Now Balanced (Green) */
    --color-verdantis: #00FFFF;
    /* Now Ocean (Cyan/Teal) */
    --color-caelum: #A9A9A9;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.smooth-wrapper {
    width: 100%;
    height: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    opacity: 0;
    /* Animated */
    transform: translateY(50px);
}

.hero p {
    font-size: 1.5rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Sections */
section {
    padding: 100px 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 2;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

/* Planet Specific */
.planet-aurelia .section-bg {
    filter: sepia(100%) hue-rotate(-50deg) saturate(300%) brightness(0.7);
}

/* Fallback tint */
.planet-verdantis .section-bg {
    filter: brightness(0.8);
}

.planet-caelum .section-bg {
    filter: brightness(0.7) contrast(1.2);
}

.planet-title {
    font-size: 3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.planet-aurelia .planet-title {
    color: var(--color-aurelia);
    border-color: var(--color-aurelia);
}

.planet-verdantis .planet-title {
    color: var(--color-verdantis);
    border-color: var(--color-verdantis);
}

.planet-caelum .planet-title {
    color: var(--color-caelum);
    border-color: var(--color-caelum);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    /* Changed from px to % for better fit */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    box-sizing: border-box;
    /* Ensure padding doesn't cause overflow */
}

nav .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-accent);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    nav {
        padding: 20px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        /* Add background for visibility on mobile since mix-blend-mode might be tricky */
        mix-blend-mode: normal;
    }

    nav ul {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 80px 5%;
    }

    .text-content {
        padding: 20px;
        margin: 0 10px;
    }

    .planet-title {
        font-size: 2rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 50px;
    background: #000;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Utility */
.glow-text {
    text-shadow: 0 0 10px currentColor;
}