@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

html {
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    height: 100%;
    margin: 0;
    background-color: #020617;
    /* Dark Slate to match app */
    overflow: hidden;
}

canvas {
    display: block;
}

#unity-container {
    width: 100%;
    height: 100%;
    background-color: #020617;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #020617;
}

#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #020617;
    z-index: 100;
}

#unity-loading-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
}

#unity-logo {
    text-align: center;
    margin-bottom: 2rem;
}

#unity-logo img {
    max-width: 120px;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
    /* Cyan glow */
}

#unity-progress-bar-empty {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: #06b6d4;
    /* Cyan-500 */
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
    transition: width 0.2s ease-out;
    border-radius: 999px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border: 3px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    border-top-color: #06b6d4;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #94a3b8;
    /* Slate-400 */
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-top: 10px;
    text-transform: uppercase;
}

#unity-fullscreen-button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

#unity-fullscreen-button:hover {
    transform: scale(1.1);
}