:root {
    --primary-color: #8e44ad;
    --secondary-color: #4b0082;
    --background-color: #33004c;
    --text-color: #ffffff;
    --nebula-color-1: #7a288a;
    --nebula-color-2: #5c236c;
    --nebula-color-3: #3c136d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: linear-gradient(to bottom, var(--nebula-color-1), var(--nebula-color-2), var(--nebula-color-3));
}

.header {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
}

.hero {
    padding: 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-color);
}

.hero p {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-color);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 20px;
    width: calc(33.33% - 20px);
}

.feature-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.feature h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.feature p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
}

/* Add some stars to the background */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

.error-hero {
    padding: 100px;
    text-align: center;
    background-image: linear-gradient(to bottom, var(--nebula-color-1), var(--nebula-color-2), var(--nebula-color-3));
    color: var(--text-color);
}

.error-hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-color);
}

.error-hero p {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-color);
}

.error-hero button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.error-hero button:hover {
    background-color: var(--secondary-color);
}