html, body { 
    width: 100%;
    height: 100%;
    padding: 0; 
    margin: 0; 
    background: #FFFFFF; 
    overflow: hidden; 
    font-family: 'Open Sans', sans-serif; 
}

#unity-container { 
    position: fixed; 
    width: 100%; 
    height: 100%; 
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

#unity-loading-bar { 
    position: fixed; 
    left: 0; 
    top: 0; 
    right: 0;
    bottom: 0;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    z-index: 999; 
    background: #FFFFFF; 
    overflow: hidden;
}

#unity-logo { 
    width: auto; 
    max-width: 60%; 
    max-height: 150px; 
    margin-bottom: 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-logo img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain;
}

#unity-progress-bar-empty { 
    width: 80%; 
    max-width: 400px; 
    height: 14px; 
    background: #f0f0f0; 
    border: 1px solid #888; 
    border-radius: 10px; 
    overflow: hidden; 
    position: relative; 
}

#unity-progress-bar-full { 
    width: 0%; 
    height: 100%; 
    background: #666; 
    border-radius: 8px; 
    transition: width 0.2s; 
}

#unity-footer { 
    position: absolute; 
    bottom: 20px; 
    width: 100%; 
    text-align: center; 
    color: #666; 
    font-size: 14px; 
    pointer-events: none; 
    padding: 10px;
    box-sizing: border-box;
}

#unity-warning { 
    position: absolute; 
    left: 50%; 
    top: 5%; 
    transform: translate(-50%); 
    background: white; 
    padding: 10px; 
    display: none;
    z-index: 1000;
}

/* Landscape adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
    #unity-logo { 
        max-height: 80px; 
        margin-bottom: 10px; 
    }
    #unity-progress-bar-empty { 
        width: 60%; 
        margin-top: 5px; 
    }
    #unity-footer { 
        bottom: 5px; 
        font-size: 12px; 
        padding: 5px;
    }
}
