html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
    margin: 0;
    background: linear-gradient(135deg, #0099ff 0%, #66ccff 100%);
    overflow: hidden;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#unity-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
#unity-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0099ff 0%, #66ccff 100%);
}
#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    padding: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#unity-logo {
    text-align: center;
    margin-bottom: 20px;
}
#unity-logo img {
    max-width: 200px;
    height: auto;
}
#unity-progress-bar-empty {
    width: 100%;
    height: 8px;
    margin: 20px 0 10px 0;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}
#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0099ff 0%, #66ccff 100%);
    transition: width 0.3s ease;
}
#unity-fullscreen-button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9) url('fullscreen-button.png') no-repeat center;
    background-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
#unity-fullscreen-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.spinner {
    margin: 20px;
    font-size: 8px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0,153,255,0.2);
    border-right: 1.1em solid rgba(0,153,255,0.2);
    border-bottom: 1.1em solid rgba(0,153,255,0.2);
    border-left: 1.1em solid #0099ff;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}
.spinner,
.spinner:after {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.progress-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #0099ff;
    font-size: 14px;
    font-weight: 500;
}

#progress-percentage {
    background: rgba(0, 153, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

#download-speed {
    background: rgba(0, 153, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}


