.loading-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-end;
z-index: 999999999;
overflow: hidden;
}


.blur-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://waterplay.com.tw/fg/storm-of-seth.webp'); 
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
filter: blur(15px); 
z-index: -2; 
transform: scale(1.1); 
}


.background-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://waterplay.com.tw/fg/sethbg.webp'); 
background-size: contain; 
background-position: center center;
background-repeat: no-repeat;
z-index: -1; 
}

/* 手機版Logo */
.mobile-logo {
display: none;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 150px; /* 調整Logo大小 */
z-index: 10;
}





/* 手機版樣式 */
@media only screen and (max-width: 768px) {
/* 顯示Logo */
.mobile-logo {
    display: block;
}

/* 手機版的進度條寬度調整 */
.egyptian-container {
    width: 90%; 
}

/* 手機版模糊背景和普通背景設置 */
.blur-background {
    background-image: url('https://waterplay.com.tw/fg/storm-of-seth.webp'); 
    background-size: cover;
    background-position: center;
}

.background-image {
    background-image: url('https://waterplay.com.tw/fg/sethbgm.webp'); /* 手機版清晰背景 */
    background-size: contain;
    background-position: center;
}

#progress-text {
    font-size: 14px; /* 百分比文字縮小 */
}

#header {
    display: none;
}

#game-iframe {
    z-index: 999999999;
    position: fixed;
    width: 100%;
    height: 100%;
}


/* .tu-seth-wrapper 做居中定位 */
.tu-seth-wrapper {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* .tu-seth-bounce 做動畫，不影響 wrapper 的定位 transform */
.tu-seth-bounce {
  animation: tu-seth 2s infinite ease-in-out;
}

  .tu-seth {
    max-width: 150px;
    height: auto;
    display: block;
  }
}

@media only screen and (min-width: 769px) {
.tu-seth-wrapper {
display:none;
}
}
@keyframes tu-seth {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (orientation: landscape) {
#header {
    display: none; 
}
}


.loading-bar-container {
  display: none; 
  position: absolute; 
  bottom: 10%; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 90%; 
  max-width: 873px; 
  height: 6vw; 
  max-height: 56px; 
  z-index: 10; 
}

    .loading-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 102%;
      height: 100%;
      background: url('https://waterplay.com.tw/fg/2.png') no-repeat center center;
      background-size: 100% 102%;
      background-position: center 3px;
    }

    .loading-progress {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 0;
      overflow: hidden;
    }

    .loading-progress img {
      height: 100%;
      width: auto;
    }

    .loading-light {
      position: absolute;
      top: -3px;
      height: 100%;
      width: 20%;
      transform: translateX(0);
      pointer-events: none;
      z-index: 3;
    }

    .loading-border {
      position: absolute;
      top: 0;
      left: 0;
      width: 102%;
      height: 100%;
      background: url('https://waterplay.com.tw/fg/1.png') no-repeat center center;
      background-size: contain;
      z-index: 2;
    }

    .loading-percentage {
      position: absolute;
      top: 50%;
      right: 5%; 
      transform: translateY(-50%);
      font-size: 1.75vw; 
      max-font-size: 18px; 
      font-weight: bold;
      color: #fff;
      text-shadow: 0 0 10px #0f0, 0 0 20px #0f0;
      z-index: 4;
    }

/* 開始遊戲按鈕樣式 */
.start-button {
  position: absolute;
  bottom: 5%; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 11; 
  cursor: pointer;
}

/* 按鈕閃爍效果 */
@keyframes flash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.start-button.blink {
  animation: flash 1s infinite; 
}


