@font-face {
    font-family: 'Cantarell';
    src: url('../fonts/Cantarell-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cantarell-ExtraBold';
    src: url('../fonts/Cantarell-ExtraBold.otf') format('opentype');
}

:root {
    --neon-teal: rgb(0, 229, 255);
    --muted-teal: rgba(0, 229, 255, 0.6);
    --deep-purple: rgba(47, 5, 58, 0.7);
    --space-black: rgba(0, 0, 0, 0.5);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Cantarell', sans-serif;
    background-color: var(--space-black); /* Set default bg to black */
    overflow-x: hidden;
}

/* Merged Header & Gradient Section */
header {
    /* Set the height: 297px from image + 300px from old gradient section */
    height: 297px;
    width: 100%;

    /* -- Layering: Transparent image on top, Gradient on bottom -- */
    background-image:
        url('../img/home.webp'), linear-gradient(to bottom, var(--space-black) 0%, var(--deep-purple) 100%);

    background-repeat: no-repeat;
    background-position: center bottom; /* Position the Earth sliver at the very bottom edge */
    background-size: cover; /* Adjust this (e.g., 'contain' or specific % width) if the Earth doesn't look correct */

    /* Flexbox to vertically center the logo/text */
    display: flex;
    align-items: center;
    padding-left: 50px;
    position: relative;
    z-index: 2;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 75px; /* Adjust based on your SVG size */
    height: auto;
    margin-right: 15px;
}

.brand-text h1 {
    color: var(--neon-teal);
    font-family: 'Cantarell-ExtraBold', sans-serif;
    font-size: 33pt;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.2em;
    margin: 0;
    line-height: 1;
}

.brand-text p {
    color: var(--muted-teal);
    font-size: 12pt;
    font-style: italic;
    margin: 5px 0 0 0;
}

/* Navigation Area (Optional Placeholder) */
.nav-placeholder {
    position: absolute;
    top: 20px;
    right: 50px;
    /* style further as needed later */
}

/* Body Section */
.content-body {
    /* Now seamlessly matching the deep purple from the bottom of the gradient */
    background-color: var(--deep-purple);
    padding: 50px 10%;
    color: var(--muted-teal);
    font-size: 12pt;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Footer Section */
footer {
    height: 150px;
    background: linear-gradient(to bottom, var(--deep-purple), var(--space-black));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright {
    color: var(--muted-teal);
    font-size: 8pt;
}

/* --- Twinkling Star System (remains the same) --- */
#star-container {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}
