.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;
background: #000; 
}

.seth-page-content {
      visibility: hidden;
    }

.blur-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://戰神賽特.tw/slot-icon/seth/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://戰神賽特.tw/slot-icon/seth/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://戰神賽特.tw/slot-icon/seth/storm-of-seth.webp'); 
    background-size: cover;
    background-position: center;
}

.background-image {
    background-image: url('https://戰神賽特.tw/slot-icon/seth/atgseth-bgm.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%;
}


.tb-seth-wrapper {
animation: tb-seth 2s infinite ease-in-out; 
position: absolute; 
top: 10%; 
left: 50%; 
transform: translateX(-50%);
width: auto; 
z-index: 10; 
text-align: center; 
}


.tb-seth {
max-width: 150px; 
height: auto; 
margin: 0 auto !important; 
}
}

@media only screen and (min-width: 769px) {
.tb-seth-wrapper {
display:none;
}
}
@keyframes tb-seth {
0%, 100% {
    transform: translate(-50%, -40%) translateY(0); /* 調整垂直居中的基準位置 */
}
50% {
    transform: translate(-50%, -40%) 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://戰神賽特.tw/slot-icon/seth/2.webp') 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: 0;
      height: 100%;
      width: 50%;
      transform: rotate(90deg);
      transform-origin: center center; 
      pointer-events: none;
      z-index: 3;
    }

    .loading-border {
      position: absolute;
      top: 0;
      left: 0;
      width: 102%;
      height: 100%;
      background: url('https://戰神賽特.tw/slot-icon/seth/1.webp') 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; 
}




.freegame-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 57px;
    background-image: url('https://戰神賽特.tw/slot-icon/seth/seth-button_atg.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    z-index: 99999999999999 !important;
    position: fixed;
    bottom: 10px;
    left: 50%;
    border-radius: 20px;
    transform: translateX(-50%);
    transition: opacity 1s ease-in-out, transform 0.3s ease-in-out;
    animation: pulse-glow 2s infinite alternate, bounce 1.5s infinite ease-in-out;
}

@media (min-width: 1025px) {
    .freegame-button {
        top: 40px;
        left: 80% ;
    }
}

.freegame-button:hover {
    transform: translateX(-50%) scale(1.1);
    filter: brightness(1.2);
}

/* X 按鈕 */
.close-btn {
    position: absolute;
    top: -10px;
    right: -24px;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFD700;
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    background-color: rgba(255, 0, 0, 0.8);
}

/* 發光效果 */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 165, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 30px rgba(255, 165, 0, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.freegame-button .jointb,
.freegame-button .bonus368 {
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.freegame-button .bonus368 {
    margin-top: -5px;
}

#jumpIframe {
    pointer-events: auto;
}

.freegame-button {
    pointer-events: auto;
}