:root {
    --primary-color: #FFD700; /* Bright Yellow */
    --secondary-color: #f59e0b; /* Amber/Orange - for more contrast */
    --background-color: #000000; /* Black background */
    --star-color: rgba(160, 160, 160, 0.85); /* Lighter gray */
    --star-flare-color: rgba(180, 180, 180, 0.25); /* Faint flare color - NO LONGER USED for background */
    --star-color-brighter: rgba(220, 220, 220, 0.9); /* Very light gray/almost white */
    --star-flare-color-brighter: rgba(230, 230, 230, 0.3); /* Brighter faint flare - NO LONGER USED for background */
    --card-background: #181818; /* Slightly darker card */
    --card-background-lighter: #202020; /* Darker light card */
    --text-color: #e8e8e8; /* Slightly brighter text */
    --text-muted-color: #a3a3a3; /* Slightly brighter muted */
    --border-color: #2a2a2a; /* Darker border */
    --accent-glow: rgba(245, 158, 11, 0.15); /* Amber glow */
    --header-height: 70px;
    --transition-speed: 0.3s; /* Slightly faster default transition */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 30px); /* Increase offset slightly */
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    /* Removed static background image */
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative; /* Needed for absolutely positioned stars */
}

/* Star Background Container */
#star-background {
    position: fixed; /* Make it fixed so it doesn't scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide stars that might go slightly outside bounds */
    z-index: -1; /* Place behind all other content */
    pointer-events: none; /* Prevent stars from interfering with clicks */
}

/* Individual Star Styles */
.star {
    position: absolute;
    border-radius: 50%;
    background-color: var(--star-color);
    animation: twinkle linear infinite;
    box-shadow: 0 0 2px 0px var(--star-color); /* Basic glow */
}

.star.star-bright {
    background-color: var(--star-color-brighter);
    box-shadow: 0 0 4px 1px var(--star-color-brighter); /* Brighter glow */
}

.star-xs { width: 1px; height: 1px; opacity: 0.6; }
.star-s { width: 2px; height: 2px; opacity: 0.8; }
.star-m { width: 3px; height: 3px; opacity: 1; }

/* Twinkle Animation */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

main {
    padding-bottom: 80px;
}

main > section {
    margin-bottom: 70px;
}
main > section:last-of-type {
    margin-bottom: 0;
}

footer {
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted-color);
    font-size: 0.9rem;
}