
html {
box-sizing: border-box;
}    
*,
:after,
:before {
box-sizing: inherit;
}

body {
margin: 0;
background: #fff;
}

#unity-container {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

canvas {
width: 100%;
height: 100%;
}

/* 전체 로딩 배경 */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    }

    /* 회전 스피너 */
    .spinner {
    width: 64px;
    height: 64px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 60px;
    }

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

    /* 프로그레스바 틀 */
    .progress-container {
    width: 520px;
    height: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    }

    /* 실제 채워지는 부분 */
    .progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    transition: width 0.2s ease;
    }