html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
    width: 100%;
    height: 100%;
}

body {
    background-color: darkgray !important;
}

#mobileInput {
        position: absolute;
        display: none;
        font-size: 18px;
        z-index: 9999;
        padding: 2px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 9999;
}

#logo-container {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
    background: url('loading-image.png') center center no-repeat;
    background-size: contain;
}

#logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 1;
    transform: translateX(0%);
    transition: transform 0.2s linear;
}

#unity-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    z-index: 1;
    transform-origin: center center;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: #231F20;
    display: block;
}

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

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  #rotateDeviceMessage {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #7E58E8;
    color: white;
    font-size: 2em;
    font-family: 'Nunito', sans-serif; /* 👈 Nunito font applied here */
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.text-60 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-size: 18px;
    pointer-events: auto;
}

/* Images from CSS */
.img-top {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 120px;
    background: url("GameName.png") no-repeat center/contain;
}

.img-center {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url("MobileIcon.png") no-repeat center/contain;
}

.img-bottom-left {
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 300px;
    height: 230px;
    background: url("BopImage.png") no-repeat center/contain;
}

.text-60 {
    top: 52%;
}

  @media screen and (orientation: portrait) {
    #unityContainer {
      display: none;
    }

    #rotateDeviceMessage {
      display: flex;
    }
  }

  @media screen and (orientation: landscape) {
    #unityContainer {
      display: block;
    }

    #rotateDeviceMessage {
      display: none;
    }
  }
  
