body { 
    margin: 0; 
    background: #000; 
    font-family: Arial, sans-serif; 
}

#unity-container { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
}

#unity-canvas { 
    width: 100%; 
    height: 100%; 
    background: #000; 
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

#loading-container {
    text-align: center;
    color: white;
    width: 80%;
    max-width: 400px;
}

#loading-progress-bar {
    width: 100%;
    height: 10px;
    background: #444;
    border-radius: 5px;
    overflow: hidden;
}

#loading-progress {
    width: 0;
    height: 100%;
    background: #4CAF50;
    transition: width 0.5s ease;
}

#loading-text {
    margin-top: 10px;
}

#rotation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#rotation-overlay.show {
    display: flex;
}

#rotation-overlay img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.mobile {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.no-scroll {
    overflow: hidden;
}

#fullscreen-instruction {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 10000;
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

#fullscreen-instruction > div {
    max-width: 80%;
    text-align: center;
    background-color: rgba(0,0,0,1);
    padding: 20px;
    border-radius: 10px;
}
