/* General Page Styling */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #121212 !important; /* 🔥 Forces dark background */
    color: #f8f8f2;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Floating Network Background (Ensures It Fills the Page) */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}

/* 🔥 Full-Page Frosted Glass Effect */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 18, 0.4); /* ✅ Ensures semi-transparency */
    backdrop-filter: blur(2px); /* ✅ Full-page blur effect */
    -webkit-backdrop-filter: blur(2px); /* ✅ Safari support */
    z-index: -1; /* ✅ Ensures blur is behind text but above the graph */
}

/* Centered Main Content */
.container {
    position: relative;
    z-index: 1; /* ✅ Ensures text is above overlay */
}

/* Main Text Styling */
h1 {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

/* Subtitle */
.subtext {
    font-size: 1.5rem;
    color: #b0bec5;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    position: absolute;
    bottom: 20px;
    font-size: 1rem;
    color: #757575;
}

h1, .subtext, footer {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}