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

body {
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    color: #e0e0e0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

.container {
    text-align: center;
    z-index: 3;
}

h1 {
    font-size: 3.5em;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

.nebula {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(50, 50, 100, 0.05) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 80%
    ), radial-gradient(
        circle at 70% 80%,
        rgba(100, 50, 100, 0.05) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 80%
    ), radial-gradient(
        circle at 50% 50%,
        rgba(20, 100, 150, 0.03) 0%,
        transparent 70%
    );
    z-index: 0;
    animation: nebula-drift 60s linear infinite;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 80%);
    z-index: 1;
    pointer-events: none;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.dust-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: drift-dust 30s infinite linear;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 60px;
    background: rgba(10, 10, 10, 0.7);
    transition: width 0.3s ease;
    z-index: 3;
    cursor: pointer;
    overflow: hidden;
}

.sidebar.expanded {
    width: 250px;
}

.sidebar-content {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    padding: 20px;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.sidebar.expanded .sidebar-content {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.sidebar-content ul {
    list-style: none;
}

.sidebar-content ul li {
    margin: 15px 0;
}

.sidebar-content ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.sidebar-content ul li a:hover {
    color: #ffffff;
}

.sidebar-toggle {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #e0e0e0;
    transition: transform 0.3s ease;
}

.sidebar-toggle::before,
.sidebar-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #e0e0e0;
    transition: transform 0.3s ease;
}

.sidebar-toggle::before {
    top: -6px;
}

.sidebar-toggle::after {
    top: 6px;
}

.sidebar.expanded .sidebar-toggle {
    transform: rotate(45deg);
}

.sidebar.expanded .sidebar-toggle::before {
    transform: translateY(6px) rotate(-90deg);
}

.sidebar.expanded .sidebar-toggle::after {
    transform: translateY(-6px) rotate(-90deg);
}

@keyframes pulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
    50% { opacity: 0.9; text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
}

@keyframes drift {
    0% { transform: translate(0, 0); opacity: 0.1; }
    50% { opacity: 0.2; }
    100% { transform: translate(var(--drift-x), -100vh); opacity: 0; }
}

@keyframes drift-dust {
    0% { transform: translate(0, 0); opacity: 0.05; }
    50% { opacity: 0.1; }
    100% { transform: translate(var(--drift-x), -100vh); opacity: 0; }
}

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

@keyframes nebula-drift {
    0% { background-position: 0 0, 100% 100%, 50% 50%; }
    100% { background-position: 10% 10%, 90% 90%, 60% 60%; }
}