:root {
    --orange: #ff9d00;
    --blue: #00b4ff;
    --red: #ff453a;
    --gray: #555;
    --primary-orange: #ff9d00;
    --primary-gold: #f9bb22;
    --primary-green: #54B435;
    --primary-green2: #379237;
    --primary-green3: #027b5b;
    --bg-black: #0b0b0b;
    --text-white: #ffffff;
    --transition-slow: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);

    /* == Neutral / Gray ========================= */
    --color-gray-0:   #ffffff;
    --color-gray-50:  #f9fafb;
    --color-gray-100: #f1f3f5;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2933;
    --color-gray-900: #111827;
}
* {
    margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #ff9d00 #1a1a1a; /* 滑塊顏色, 軌道顏色 */
}

::-webkit-scrollbar {
  width: 10px;  /* 垂直捲軸寬度 */
  height: 10px; /* 水平捲軸高度 */
}
::-webkit-scrollbar-track {
  background: #1a1a1a; /* 深黑色背景 */
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37 0%, #B8860B 100%); /* 金色漸層 */
  border: 2px solid #1a1a1a; /* 透過邊框營造出滑塊縮小的視覺感 */
  border-radius: 10px;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FFD700 0%, #D4AF37 100%); /* 懸停時變亮 */
  cursor: pointer;
}
body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: "Noto Sans Bengali", "Helvetica Neue", Helvetica, Arial, "Microsoft JhengHei", sans-serif;
    overflow-x: hidden;
    /*scroll-behavior: smooth !important;*/
}

/* 進度條 */
#scroll-progress {
    position: fixed;
    top: 0; left: 0; width: 0%; height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), #fff);
    z-index: 2000;
}

/* --- 語系切換區塊 (頂部中央) --- */
.lang-switcher {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-item {
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
}

.lang-item:hover {
    color: var(--text-white);
}

.lang-item.active {
    background: var(--primary-orange);
    color: var(--bg-black);
    box-shadow: 0 4px 15px rgba(255, 157, 0, 0.4);
}

nav {
    position: fixed;
    top: 30px; right: 50px;
    z-index: 100;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
}
section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
footer{
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: top;
    font-size: 15px;
    color: #dedede;
    background: var(--bg-black);
    letter-spacing: .5px;
    line-height: 22px; 
}
.copyright{ font-size: 12px; color: var(--primary-orange); }
#eventtwo{ height: 150vh; }

/*↓Loading===========*/
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    z-index: 9999; /* 最高層級 */
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-logo {
    color: #ff9d00;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 157, 0, 0.5);
}

.loader-bar-container {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff9d00, #ffd700);
    box-shadow: 0 0 15px #ff9d00;
}

.loader-percentage {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    font-family: monospace;
}


.bg-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.15);
}
.bg-layer.area1{ background-image: url('../images/iBG-one.webp');} /*https://images.unsplash.com/photo-1614728263952-84ea256f9679?w=1920*/
.bg-layer.area2{ background-image: url('../images/iBG-two.webp');} /*https://images.unsplash.com/photo-1534447677768-be436bb09401?w=1920*/
.bg-layer.area3{ background-image: url('../images/iBG-three.webp');} /*https://images.unsplash.com/photo-1506704906740-c44005250b6b?w=1920*/
.bg-layer.area4{ background-image: url('../images/iBG-four.webp');} /*https://images.unsplash.com/photo-1506704906740-c44005250b6b?w=1920*/

.decoration-line {
    position: absolute;
    bottom: 10%;
    width: 1px;
    height: 100px;
    background: var(--primary-orange);
    left: 50%;
}

/* 老虎與獅子容器 */
.hero-mascot-container {
    position: fixed; /* 改為固定定位 */
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.mascot {
    position: absolute;
    width: 260px;
    border-radius: 50%;
    /* top: 6%; 設定的靠上位置 */
    bottom: 6%;
    left: calc(50% - 130px);
    will-change: transform;
    opacity: 0; /* 初始隱藏，等待進場 */
}
.tiger { transform: translate(-150vw, 0); z-index: 888;} 
.lion { transform: translate(150vw, 0); z-index: 777;}

.side-element {
    position: absolute;
    font-size: 9.5vw;
    font-weight: 900;
    opacity: 0.25;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-orange);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.quick-nav {
    position: fixed;
    left: -25px;
    top: 46%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    opacity: 0; /* 預設隱藏 */
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.nav-dot {
    width: 153px;
    height: 38px;
    padding: 0 5px 0 50px;
    background: rgba(255, 157, 0, 0.1);
    border: 1px solid var(--text-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #FFF;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
    text-decoration: none;
    transform: skewX(-15deg); /* 斜切效果 */
    box-shadow: 2px 2px 0px rgba(0,0,0,0.35);
    transition: 0.2s;
}
.nav-dot::after{
    content: "▶";
}


.nav-dot.orange { background-color: var(--orange); margin-left:-15px;}
.nav-dot.blue { background-color: var(--blue); padding: 0 5px 0 35px;}
.nav-dot.red { background-color: var(--red); padding: 0 5px 0 35px;}
.nav-dot.gray { background-color: var(--gray); padding: 0 5px 0 35px;}

.nav-dot:hover {
    background: var(--primary-orange);
    color: #000;
    transform: skewX(-15deg) translateX(15px); filter: brightness(1.1);
}

.left-el { left: 12%; top: 20%; }
.right-el { right: 12%; bottom: 20%; }

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: -100px;
    will-change: transform, filter;
}

.share-sidebar {
    position: fixed;
    right: 34px;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}
.frT{ display: block; font-size: 11px; }
.share-item {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: white;
    text-decoration: none;
    font-size: 12px;
}
.share-item:hover { background: var(--primary-orange); border-color: var(--primary-orange); transform: scale(1.1); }


#wave-container.music-playing .wave { animation: waveAnim 1s ease-in-out infinite;}
.bgm-controller {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.music-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}
.wave {
    width: 3px;
    background: var(--primary-orange);
    height: 5px;
    transition: 0.3s;
}
.wave:nth-child(2) { animation-delay: 0.2s; }
.wave:nth-child(3) { animation-delay: 0.1s; }
.wave:nth-child(4) { animation-delay: 0.05s; }
.music-playing .wave { animation: waveAnim 1s ease-in-out infinite;}
@keyframes waveAnim {
    0%, 100% { height: 5px; opacity: 0.5; }
    50% { height: 20px; opacity: 1; }
}

.title {
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-style: italic;
  text-shadow: 0 0 20px rgba(255, 157, 0, 0.5);
}

.desc {
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  color: var(--primary-orange);
  margin-bottom: 15px;
}
.textinfo{ width: 80%; margin: 0 auto 20px; font-size: 1.38rem; color: var(--text-white); letter-spacing: 1px; line-height: 32px;}
.textinfodetail{ width: 68%; margin: 10px auto 10px; font-size: 1.15rem; color: var(--text-white); letter-spacing: 1px; line-height: 28px;}
.textinfodetail h2{ color: var(--primary-gold); font-style: italic; margin: 15px auto 0px;}
.textinfodetail ul{ list-style: none; margin: 10px 0 25px; }
.textinfodetail .detailTT{ color: var(--text-white); font-size: 1.25rem; font-weight: bold; margin-bottom: 5px; }
.textinfodetail .detailsub{ font-size:1.1rem; font-weight: 400; font-style: italic; line-height: 22px; color: var(--primary-green); margin: 6px auto;}
.textinfodetail ul li{ font-size:1rem; color: var(--text-white); margin: 0; }

.btn-enter {
  display: inline-block;
  margin: 30px 5px;
  color: white;
  border: 1px solid white;
  padding: 15px 30px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-enter:hover { background: white; color: black; }

/* 開場影片層 */
#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* PC 版的背景色 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-wrapper {
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 16; /* 強制直版比例 */
    background: #000;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保影片填滿容器 */
}

/* UI 按鈕樣式 */
.ui-btn {
    position: absolute;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid white;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    backdrop-filter: blur(5px);
}

#skip-btn { top: 20px; left: 20px;}
#music-btn { bottom: 20px; left: 20px;}

.ui-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#intro-video {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hidden {
    display: none !important;
}

.volume-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.volume-btn:hover {
    background: rgba(0,0,0,0.7);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 如果想用純 × 符號，可以改成這樣 */
.close-btn.x-style {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    padding: 0;
}

/*==PromoCode css*/
.promoCodeArea{}
.codeArea{ color:#FFF; }
.codeArea span{ letter-spacing: 1.5px; margin: 0 5px; padding: 0 10px;}
.couponDate{ color: #FFF !important;}
.couponBG{ border-radius: 5px 0 5px 0; line-height: 16px;}
.codeAce .couponBG{ background: #CE9C12;}
.code365 .couponBG{ background: #005440;}
.codeul{ color:#FFF; margin-bottom: 15px; list-style: none;}
.codeul li{ text-indent: 28px; font-weight:bold;}
.codeul span{ margin: 0;}

@media (max-width: 768px) {
  #eventone{ height: 180vh; }
  #eventwo{ height: 260vh; }
  #footer{ height: 130vh; }
  nav{ right: 20px;}
  .share-sidebar{ top: 70%; right: 9px;}

  .quick-nav { display: none; } /* 手機版建議隱藏以免干擾閱讀 */
  .mascot {
    width: 160px;
    left: calc(50% - 80px);
    display: none;
  }
}