html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}


#unity-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


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

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #000;
    overflow: hidden;
    opacity: 1;
    transition: opacity 1s ease;
}


#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#loading-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/*#loading-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.35);
}*/

/* LOADING CONTENT */
#loading-content {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    z-index: 5;
	
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease;
}

#loading-content.active {
	opacity: 1;
	visibility: visible;
}

/* GAME TITLE */
#game-title {
    margin-bottom: 12px;
    font-size: 30px;
    letter-spacing: 4px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
	
	animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 0px rgba(255, 255, 255, 0);
        opacity: 0.85;
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 1);
        opacity: 1;
    }
}

/* LOADING TEXT */
#loading-text {
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

#loading-dots {
    display: inline-block;
    width: 18px;
    text-align: left;
}

#loading-dots::after {
    content: "";
    animation: loadingDots 1.5s steps(1, end) infinite;
}

@keyframes loadingDots {
    0%   { content: "."; }
    25%  { content: ".."; }
    50%  { content: "..."; }
    75%  { content: ""; }
    100% { content: "."; }
}

/* PROGRESS CONTAINER */
#progress-container {
    width: 420px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
}

/* PROGRESS BAR */
#progress-bar {
    width: 0%;
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 0.15s ease;
}

/* PERCENTAGE */
#progress-percent {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
}

#start-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 20px 42px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    color: white;
    font-size: 18px;
    letter-spacing: 4px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

#start-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

#start-button.hidden {
    opacity: 0;
    pointer-events: none;
}
