body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: #f5f5f5;
}

.unity-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/*.unity-container {*/
/*    position: relative;*/
/*    width: 100vw;*/
/*    height: calc(100vw * 4/3);*/
/*    max-width: 75vh;*/
/*    max-height: 100vh;*/
/*    overflow: hidden;*/
/*    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);*/
/*}*/

#unity-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000;
}

/* Контейнер загрузчика со splash-изображением */
#unity-loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(splash.png) no-repeat center center;
    background-size: cover;
    z-index: 1000;
}

/* Круглый лоадер */
.circular-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

/* SVG круг прогресса */
.loader-circle {
    transform: rotate(-90deg);
}

.loader-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 8;
}

.loader-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292; /* 2 * π * 54 (радиус 54) */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.3s ease;
}

/* Текст процента */
.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Скрываем старые элементы */
#unity-logo {
    display: none;
}

#unity-progress-bar-empty {
    display: none;
}

#unity-progress-bar-full {
    display: none;
}
