body {
    padding: 0;
    margin: 0;
}

#unity-container {
    position: absolute;
}

#unity-container.unity-desktop {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#unity-container.unity-mobile {
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    background: #283859;
    position: relative;
    display: block;
}

/* Resize canvas on mobile */
.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%;
}

/* Fullscreen button styling */
#unity-fullscreen-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: url('FS1.png') no-repeat center;
    background-size: contain;
    cursor: pointer;
    z-index: 10;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hover effect */
#unity-fullscreen-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Click bounce effect */
#unity-fullscreen-button:active {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

/* Hide splash/loading visuals */
#unity-logo,
#unity-loading-bar,
#unity-progress-bar-empty,
#unity-progress-bar-full,
#unity-logo-title-footer,
#unity-build-title,
#unity-warning {
    display: none;
}
