body {
    margin: 0;
    padding: 0;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

canvas {
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 255, 0.3);
    max-width: 100%;
    max-height: 100vh;
}

/* Device orientation overlay */
#orientation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

#orientation-overlay .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#orientation-overlay .icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: rotate 2s infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(90deg); }
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    canvas {
        border: none;
    }
    
    body {
        padding: 0;
    }
}

@media (orientation: portrait) and (max-width: 768px) {
    #orientation-overlay {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    canvas {
        display: none;
    }
} 