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

body{
    overflow:hidden;
    background:linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    width:100vw;
    height:100vh;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor:grab;
}

canvas{
    display:block;
}

#loading{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(10, 10, 26, 0.95);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:1000;
    transition:opacity 0.5s ease;
}

.loading-content{
    text-align:center;
    color:#fff;
}

.loading-icon{
    width:60px;
    height:60px;
    border:3px solid #00ffff;
    border-top-color:transparent;
    border-radius:50%;
    margin:0 auto 20px;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}

.loading-text{
    font-size:24px;
    letter-spacing:2px;
    margin-bottom:30px;
    color:#00ffff;
}

.progress-container{
    width:300px;
    height:8px;
    background:rgba(255,255,255,0.1);
    border-radius:4px;
    margin:0 auto 15px;
    overflow:hidden;
}

.progress-bar{
    height:100%;
    background:linear-gradient(90deg, #00ffff, #00ff88);
    border-radius:4px;
    width:0%;
    transition:width 0.3s ease;
}

.progress-text{
    font-size:18px;
    color:#00ff88;
    font-weight:bold;
}

#instructions{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:30px;
    padding:15px 30px;
    background:rgba(0,0,0,0.5);
    border-radius:30px;
    backdrop-filter:blur(10px);
    border:1px solid rgba(0,255,255,0.2);
    transition:opacity 0.3s ease;
}

.instruction-item{
    display:flex;
    align-items:center;
    gap:8px;
    color:rgba(255,255,255,0.7);
    font-size:14px;
}

.instruction-item:first-child{
    padding-right:30px;
    border-right:1px solid rgba(255,255,255,0.2);
}

.instruction-item:last-child{
    padding-left:30px;
    border-left:1px solid rgba(255,255,255,0.2);
}

@media(max-width:768px){
    #instructions{
        flex-direction:column;
        gap:10px;
        padding:20px;
        bottom:20px;
    }
    
    .instruction-item{
        padding:0 !important;
        border:none !important;
    }
    
    .loading-text{
        font-size:18px;
    }
    
    .progress-container{
        width:200px;
    }
}
