html {
    box-sizing: border-box;
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    overflow: hidden;
}

canvas {
    display: block;
}

#unity-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: white;
}

#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    overflow: hidden;
}

#wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#wave-front-canvas, #wave-back-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: min(5vw, 48px);
    z-index: 10;
    text-align: center;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    will-change: contents;
}

#version-info {
    position: absolute;
    left: 16px;
    bottom: 16px;
    font-size: min(14px, 3vw);
    z-index: 10;
    pointer-events: none;
    transition: color 0.5s ease;
    will-change: contents;
	color: white;
}

#username {
    position: absolute;
    right: 16px;
    bottom: 16px;
    font-size: min(16px, 3.5vw);
    color: white;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    will-change: opacity;
}

@media (max-width: 768px) {
    #version-info {
        left: 12px;
        bottom: 12px;
    }
    
    #username {
        right: 12px;
        bottom: 12px;
    }
}
