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

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #0f1923;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
}

#fallback-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: opacity 0.5s ease-out;
}

#fallback-container.hidden {
    opacity: 0;
    pointer-events: none;
}

#logo-fallback {
    width: 500px;
    height: 500px;
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

p {
    font-size: 1.5rem;
    font-weight: 200;
    opacity: 0.8;
}

#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#webgl-canvas.visible {
    opacity: 1;
}

.canvas-link {
    z-index: 2;
}

@media (max-width: 768px) {
    #logo-fallback {
        width: 300px;
        height: 300px;
    }
}
