body {
    padding: 0;
    margin: 0;
}

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

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

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    text-align: center;
}

#unity-logo {
    width: 154px;
    height: 130px;
    background: url('icon.png') no-repeat center;
    background-size: contain;
    margin: 0 auto;
}

#unity-progress-bar-empty {
    margin: 10px auto 0;
    width: 160px;
    height: 32px;
    background: url('progress-bar-empty.png') no-repeat center;
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    margin-left: 22px;
    background: url('progress-bar-full.png') no-repeat center;
    background-size: 100% 100%;
    transition: width 0.3s ease;
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    display: none;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@font-face {
    font-family: 'CustomFont';
    src: url('resource.ttf') format('truetype');
    font-display: swap;
}

#mobile-warning {
    text-align: center;
    padding: 40px 20px;
    background: url('background.png') center/cover no-repeat;
    color: white;
    font-family: 'CustomFont', Arial, sans-serif;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#mobile-warning h1 {
    font-size: 3em;
    margin-bottom: 30px;
    color: black;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

#mobile-warning p {
    font-size: 1.4em;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px;
    color: black;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

#mobile-warning .logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: url('logo.png') center/contain no-repeat;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Mobile optimizations */
@media (max-width: 768px) {
    #mobile-warning {
        padding: 30px 15px;
    }
    
    #mobile-warning h1 {
        font-size: 2.8em;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    #mobile-warning p {
        font-size: 1.6em;
        line-height: 1.6;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    #mobile-warning .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    #mobile-warning h1 {
        font-size: 2.4em;
    }
    
    #mobile-warning p {
        font-size: 1.8em;
        padding: 0 5px;
    }
}
