@font-face {
    font-family: 'Russo';
    src: url('russo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    font-family: 'Russo', Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    cursor: none;
}

#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

.spaceship {
    position: fixed;
    width: 40px;
    height: 40px;
    background: url('spaceship.png') no-repeat center/contain;
    z-index: 15;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.coder-universe {
    height: 100vh;
    position: relative;
    z-index: 5;
    perspective: 1000px;
    transition: opacity 1s ease;
}

.black-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #000000 30%, rgba(0, 0, 0, 0.7) 60%, transparent 90%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.code-shards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shard {
    position: absolute;
    transform: rotateZ(0deg);
    color: #a0a0a0;
}

.floating-item {
    position: absolute;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.letter {
    font-size: 36px;
    padding: 5px 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cmd-link {
    font-size: 18px;
}

.debris {
    font-size: 24px;
    padding: 5px;
    color: #808080;
    border: none;
    background: none;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.space-vessel-string {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 48px;
    text-shadow: 0 0 15px rgba(248, 254, 255, 0.8);
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
}

.space-vessel-string span {
    display: inline-block;
    margin: 0 4px;
    transition: all 0.3s ease;
}

/* Updated Nebula Burst Style (White Theme) */
.nebula-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .letter { font-size: 28px; }
    .cmd-link { font-size: 16px; padding: 6px 15px; }
    .debris { font-size: 20px; }
    .black-hole { width: 150px; height: 150px; }
    .spaceship { width: 35px; height: 35px; }
    .space-vessel-string { font-size: 36px; }
}

@media (max-width: 480px) {
    .letter { font-size: 20px; }
    .cmd-link { font-size: 14px; padding: 5px 12px; }
    .debris { font-size: 16px; }
    .black-hole { width: 120px; height: 120px; }
    .spaceship { width: 30px; height: 30px; }
    .space-vessel-string { font-size: 24px; }
}