
body { 
    padding: 0; 
    margin: 0;
    background: url('background.jpg') center center / cover no-repeat fixed;
    /* Fallback background color if image doesn't load */
    background-color: #1a1a2e;
    overflow: hidden;
  }
  
#unity-container { 
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Force 9:16 aspect ratio */
    width: min(100vw, 56.25vh); /* 9/16 = 0.5625, so 56.25vh maintains ratio */
    height: min(100vh, 177.78vw); /* 16/9 = 1.7778, so 177.78vw maintains ratio */
    
    /* Alternative: You can also set fixed mobile dimensions */
    /* width: 360px; height: 640px; */
    
    max-width: 100vw;
    max-height: 100vh;
    
    /* Add border/shadow for better visual separation */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
  }
  
#unity-canvas { 
    width: 100%; 
    height: 100%; 
    display: block;
    background: #231F20;
  }

  #unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
