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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
    color: #ffffff;
}

#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#ui-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    pointer-events: none;
}

#menu-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 
        0 0 10px #ffff00,
        0 0 20px #ffff00,
        2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 5px;
    letter-spacing: 3px;
}

#menu-subtitle {
    font-size: 1.2rem;
    color: #c0c0c0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

#menu-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.menu-item {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffff00;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.menu-item:hover {
    background: rgba(255, 255, 0, 0.2);
    box-shadow: 
        0 0 15px rgba(255, 255, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 0, 0.1);
    transform: translateX(5px);
}

#instructions {
    font-size: 0.9rem;
    color: #888;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

#easter-egg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    animation: pulse 1s infinite;
    z-index: 1000;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

#audio-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

#audio-toggle:hover {
    background: rgba(255, 255, 0, 0.3);
    transform: scale(1.1);
}

#footer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.8rem;
    color: #666;
    z-index: 100;
}

#footer a {
    color: #ffff00;
    text-decoration: none;
}

#footer a:hover {
    text-shadow: 0 0 5px #ffff00;
}

/* Responsive design */
@media (max-width: 768px) {
    #menu-title {
        font-size: 1.8rem;
    }
    
    #menu-subtitle {
        font-size: 1rem;
    }
    
    .menu-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    #ui-overlay {
        top: 10px;
        left: 10px;
    }
    
    #audio-toggle {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}

/* CRT effect overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 999;
    opacity: 0.3;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: #ffff00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffff33;
}