/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: auto;           
  min-height: 100%;         
  overflow-x: hidden;       
  scroll-behavior: smooth;
}

body{
  background-color: #ffffff;
}

html,body {
    padding: 0;
    height: 100%;
    font-family: "Microsoft JhengHei","微軟正黑體",arial,sans-serif !important;
    font-size: 16px;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a.active {
  border-bottom: 2px solid #ffd700;
}


img,svg {
    vertical-align: middle;
    border: none;
    outline: none
}

.container {
    margin: 0 auto;
    max-width: 1380px
}

h1,h2,h3,h4,h5,p {
    margin-block-start:0;margin-block-end:0}

.page {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
    z-index: 1;
    height: auto;
    margin-top: -1px
}

figure {
    margin: 0;
    padding: 0
}


/*浮游球-進入遊戲*/
.ball-container {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 1920px;          
  transform: translateX(-50%);
  z-index: 999;
}

.floating-ball-wrapper {
  position: absolute;
  right: -80px;      
  bottom: -100px;
  width: 100%;
  max-width: 320px;
  height: 320px;
}


.floating-ball {
  position: relative;      
  width: 80%;
  height: 80%;
  background-image: url('../images/Btn_GO_off.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  transition: background-image 0.3s;
  transition: transform 0.3s ease-in-out; 
}

.floating-ball-wrapper:hover .floating-ball {
  background-image: url('../images/Btn_GO.webp');
}

/* 實際點擊區塊*/
.floating-ball-hotspot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}


/*-------------------------------*/

/* 外層 */
.viewport-container {
  width: 100vw;
  max-width: 1920px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  background-color: #000; 
}

.page-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

/* 導覽列 */
.navbar {
  width: 100%;
  max-width: 1920px;
  min-height: 50px;
  margin: 0 auto;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(110, 70, 35, 0.7); /* 透明背景 */
  color: #000;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.logo {
  display: block;
  height: 30px; /* 你想要的 LOGO 高度，可依需求調整 */
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}


/* 側欄選單展開時往左推移 */
/* body.menu-open .floating-ball {
  transform: translateX(-630px); 
} */

/*測欄選單樣式*/
/* 預設 menu-icon 可見 */
.menu-icon {
  position: relative;
  z-index: 900;
  cursor: pointer;
}

.menu-icon img{
  width: 100%;
  max-width: 37px;
  max-height: 37px;
}

/* 當側邊選單開啟，隱藏 menu-icon */
.side-menu.active ~ .navbar .menu-icon {
  display: none;
}

/* 關閉按鈕 */
/* .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 37px;
  height: 37px;
  cursor: pointer;
  z-index: 1100; 
} */

/* 側邊選單區 */
.side-menu {
  position: fixed;
  top: 0;
  right: -630px;
  width: 630px;
  height: 100vh;
  background-color: rgba(98, 53, 31, 0.85);
  color: white;
  transition: right 0.3s ease-in-out;
  z-index: 999;
  padding: 40px 40px;
  box-sizing: border-box;
}

.side-menu.active {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 37px;
  height: 37px;
  cursor: pointer;
}

.close-btn img {
  width: 100%;
  height: auto;
  display: block;
}


/*側欄選單裡面的按鈕樣式*/
.menu-list {
  padding-top: 60px;
}

.menu-list a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 26px;
  padding-left: 35px; /* 預留 icon 空間 */
  display: inline-block;
  line-height: 7vh;
}

/* 預設白色 icon */
.menu-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 32px;
  background-image: url('../images/Menu_Icon_off.webp');
  background-repeat: no-repeat;
  background-size: contain;
}

/* 被選中時：黃色 icon + 黃色文字 */
.menu-list a.active {
  color: #fced86;
}

.menu-list a.active::before {
  background-image: url('../images/Menu_Icon_on.webp');
}


/* 遮罩預設隱藏 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0); 
  z-index: 500; 
  display: none;
}

.overlay.active {
  display: block;
}

/*-----------------主視覺------------------*/
/*-----------------主視覺------------------*/
.kv {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.kv-bg {
    width: 100%
}

.kv-subtitle-container {
  position: absolute;
  bottom: -9%;
  left: 50%;
  transform: translate(-50%, 45%);
  width: 100%;
  max-width: 1920px;
  z-index: 1;
  pointer-events: none;
}

.kv-subtitle-container img {
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .kv-subtitle-container {
    bottom: -4%;
    width: 100%;
    transform: translate(-50%, 30%);
  }
}


.image-wrapper {
    height: 100%;
    width: 100%;
    font-size: 0
}

/*背景圖底圖*/
.bg-scope-wrapper {
  position: relative;
  z-index: 0;
}

.bg-scope-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/BG_02.webp);
  /* background-size: cover; */
  background-repeat: repeat;
  background-position: center top;
  z-index: -1; 
}

/*影片區塊*/
.ink-video-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 15% 0 0 0;
}


.ink-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1824 / 1000;
  overflow: hidden;
}

.ink-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-container {
  position: absolute;
  top: 53%;
  left: 48%;
  width: 55%; 
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.video-container img {
  width: 100%;
  margin: 0 auto;
}

/* 填滿區塊 */
.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.kv-img{
  width: 100%;
}

/* 動態(影片)背景 開始 */
.none{
      display: none;
    }
.video-group{
    position: relative;
    z-index: 0;

    .aspect-video{
      width: 100%;
      height: auto;
    }
  
    .pc-video{
      @media screen and (max-width: 576px){
        display: none;
      }
    }
  
    .mb-video{
      display: none;
      @media screen and (max-width: 576px){
        display: block;
      }
    }
  
    #PlayBtn{
      position: absolute;
      top: 50%;
      bottom: 0;
      left: 0;
      right: 0;
      margin: 0 auto;
      width: 5%;
      cursor: pointer;
    }  

    .show{
      display: none;

      @media screen and (max-width: 576px) {
        display: block;
      }
    }

  }
/* 動態(影片)背景 結束 */
/*------------------------------------------------------------------------------------*/
/*人物介紹-swiper*/
.swiper {
  width: 100%;
  height: auto;
  max-width: 1920px;
  margin: 0 auto 50px;
  text-align: center;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-wrapper img{
  width: 100%;
  max-width: 1496px;
}

/*------------------------------------------------------------------------------------*/
/* 活動區塊-背景圖設定 */
.part-section {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 800px;

}

/* 每個活動區塊的背景圖*/
.part-section.part1 {
  background-image: url('../images/Reel_full.webp');
  padding: 80px 0; 
}

.part-section.part2 {
  background-image: url('../images/Part2_Reel_full.webp');
  padding: 130px 0; 
}

.part-section.part3 {
  background-image: url('../images/Part3_BG_City.webp');
  padding: 80px 0; 
}

.part-section.part4 {
  background-image: url('../images/Part4_BG_City.webp');
  padding: 80px 0;
}

.part-section.part5{
  background-image: url('../images/Part5_BG_City.webp');
  padding: 80px 0;
}

.part-section.part1,
.part-section.part2,
.part-section.part3,
.part-section.part4 {
  margin-bottom: 100px;
}


/*每一區塊的人物圖*/
.characters-pic {
  position: absolute;
  text-align: center;
  z-index: -1;
  pointer-events: none; 
  width: 100%;
}

.characters-pic.c1{
  top: -213px;
  left: -394px;
  max-width: 942px;
}

.characters-pic.c2{
  top: -410px;
  right: -356px;
  max-width: 1134px;
}

.characters-pic.c3{
  top: -500px;
  left: -350px;
}

.characters-pic.c4{
    top: -392px;
    left: -360px;
    width: 100%;
    min-width: 1920px;
}

.characters-pic.c5{
  top: -150px;
  right: -300px;
}

.foreground-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 區塊寬度 */
.part-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* 標題圖 */
.part-header{
  text-align: center;      
  margin-top: -160px;
  margin-bottom: 3%;
}

.part-header-mb600{
  display: none;
}

.part-header img {
  max-width: 100%;          
  height: auto;             
  display: inline-block;   
}

.part-header.z-index-height{
  position: relative;
  z-index: 2;
}

/* 活動區塊內容 */
.part-flex-group-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.part-flex-group-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.part-explanation-pic {
  width: 100%;
  max-width: 700px;         
  margin-bottom: 30px;
  margin-left: auto; 
  text-align: right;
}

.part-explanation-pic-left {
  width: 100%;
  max-width: 700px;        
  margin-bottom: 30px;
  text-align: right;
}

.part-explanation-pic-w100 {
  width: 100%;
  max-width: 1200px;   
  margin-left: auto;   
  text-align: right;  
  margin-bottom: 30px;
}

.part-explanation-pic img,
.part-explanation-pic-left img {
  max-width: 100%;
  height: auto;
  display: block;
}

.part-explanation-pic-w100 img {
  max-width: 100%;
  height: auto;
  display: inline-block; 
}

.part-block,
.part-date,
.part-image {
  width: 100%;
  max-width: 700px;
  margin-bottom: 30px;
}

.part-block {
  color: #000;
  text-align: left;
}

.part-title {
  text-align:left;      
  margin-bottom: 10px;
}

.part-date img{
  display: block;
  max-width: 100%;
  transform: translateX(130px);
}

/* 活動方式區塊內圖 */
.part-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.part-text {
  font-size: 1.25em;
  line-height: 1.6;
  padding-left: 6em;
  margin-bottom: 10px;
}

.part-text a,
.notice-text ol li a{
  color: #010efd;
  text-decoration: none;
}

.part-prize-group {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.part-prize-group .part-image {
  flex: 0 1 auto; 
}

.part-prize-group .part-image:first-child {
  width: 100%;
}

.part-prize-group img {
  display: block;
  width: 100%;
  height: auto;
}

.part-prize-group .part1-image{
  max-width: 100%;
}


/* 按鈕區塊 */
.fb-button-wrap {
  text-align: center;
  margin: 10px auto 30px auto;
}

.fb-button {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 300px; 
}


/*-------------------------------------注意事項----------------------------------------*/
/*-------------------------------------注意事項----------------------------------------*/

.notice-section {
  width: 100%;
  max-width: 1920px;
  text-align: center;
  padding-bottom: 50px;
}

.notice-top {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.notice-top-bg {
  width: 100%;
  height: auto;
  display: block;
}

.notice-title-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  /* width: 418px; */
  width: 35%;
  max-width: 418px;
  height: auto;
}

.notice-middle {
  background: url('../images/Part6_Reel_Repeat.webp') center top repeat-y;
  background-size: 100% auto;
  padding: 50px 30px 0 30px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
}

.notice-text {
  width: 46%;
  margin: 0 auto;
  font-size: 1.3em;
  line-height: 2;
  color: #5c4632;
  text-align: left;
}

.notice-text ol li{
  list-style: decimal;
}

.notice-bottom img {
  width: 100%;
  height: auto;
  display: block;
}



/*-------------------------------------footer----------------------------------------*/
/*-------------------------------------footer----------------------------------------*/
.custom-footer {
  width: 100%;
  max-width: 1920px;
  min-height: 200px;
  background-color: #2a2824; 
  color: #fff;
  padding: 20px 0;
  font-family: sans-serif;
  text-align: center;
  margin: 0 auto;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  font-size: 13px;
  line-height: 1.2;
  color: #ddd;
  margin-bottom: 16px;
}

.footer-warning p {
  text-align: left;
  max-width: 600px; /* 避免過長可選擇設限 */
  margin: 0;
}

.rating-icon {
  width: 63px;
  height: auto;
}

.footer-logos img {
  height: 40px;
  margin: 0 10px;
  vertical-align: middle;
}

.footer-logos {
  margin-bottom: 12px;
}

.copyright {
  font-size: 13px;
  color: #ccc;
}


/* 直播主 區塊 開始 */
.celebrity-picture-wrapper {
  position: relative;
  display: block;
  margin: 0 auto 200px auto;
}

.celebrity-picture-wrapper picture,
.celebrity-picture-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.hover-Mengchi,
.hover-Hellrena,
.hover-Bohemao {
  position: absolute;
  width: 10%; /* 根據實際大小調整 */
  height: auto;
  cursor: pointer;
}

/* 各自定位：你可以用 % 或 px 微調對齊位置 */
.hover-Mengchi {
  bottom: 6%;
  left: 51%;
}

.hover-Hellrena {
  bottom: 6%;
  left: 61%;
}

.hover-Bohemao {
  bottom: 6%;
  left: 71%;
}


.hover-Mengchi:hover {
  content: url('../images/Introduction_Mengchi_Btn_on.webp');
}
.hover-Hellrena:hover {
  content: url('../images/Introduction_Hellrena_Btn_on.webp');
}
.hover-Bohemao:hover {
  content: url('../images/Introduction_Bohemao_Btn_on.webp');
}

/* 直播主 區塊 結束 */

/* 1. 超寬螢幕（大於 1920px） */
@media (min-width: 1921px) {
  body {
    max-width: 1920px;
    margin: 0 auto;
  }
}


@media (max-width: 1440px) {
  .side-menu {
    width:auto;
  }
.characters-pic.c2{
  top: -410px;
  right: -120px;
  max-width: 900px;
}  
}

/*-----------------1200以下-------------------*/
@media (max-width: 1200px) {

  .navbar {
    min-height: 50px;         
    padding: 8px 12px;       
  }

  .navbar .logo {
    height: 28px;          
  }

  .navbar .menu-icon img {
    width: 36px;
    height: 36px;
  }

  .floating-ball-wrapper {
    width: 280px;
    height: 274px;
    right: -110px;
    bottom: -100px;
  }

  .floating-ball {
    width: 70%;
    height: 70%;
    background-size: contain;
  }

  .floating-ball-hotspot {
    width: 90px;
    height: 90px;
  }

    .floating-ball-wrapper:hover .floating-ball {
    background-image: url('../images/Btn_GO_off.webp');
  }

.part-container {
    width: 80%;
}

/*每一區塊的人物圖*/
.characters-pic {
  display: none;
}

.part-header img {
  width: 80%;
}

.part-header.z-index-height{
  position: relative;
  z-index: 2;
}

/* 活動區塊內容 */
.part-flex-group-right {
  display: flex;
  align-items: center;
}

.part-flex-group-left {
  display: flex;
  align-items: center;
}

.part-explanation-pic {
  width: 100%;
  max-width: 1200px;         
}

.part-explanation-pic-left {
  width: 80%;    
}

.part-prize-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.part-explanation-pic {
    width: 80%;
    margin-left: 0;
    margin-bottom: 30px;
}

.part-explanation-pic-w100 {
    width: 80%;
    margin-left: 0;
}

.part-prize-group .part1-image{
  width: 100%;
  max-width: 700px;
}


}




/*--------------------600px以下---------------------*/
@media (max-width: 600px) {

  .navbar {
    min-height: 50px;        
    padding: 8px 12px;       
  }

  .navbar .logo {
    height: 28px;         
  }

  .navbar .menu-icon img {
    width: 36px;
    height: 36px;
  }


  .ink-video-wrapper {
    aspect-ratio: 480 / 355;
  }

  .video-container {
    width: 80vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }



  .part-section.part1 {
  background-image: url('../images/Reel_full_w600.webp');  
  background-position: center 100%; 
  background-size: contain; 
    padding: 40px 0 80px 0;
}

  .part-section.part2 {
  background-image: url('../images/Part2_Reel_full_w600.webp');  
  background-position: center 90%; 
  background-size: contain; 
}

  .characters-pic.c1,
  .characters-pic.c2,
  .characters-pic.c3,
  .characters-pic.c4,
  .characters-pic.c5 {
    display: none;
  }
  
  .part-section.part1,
  .part-section.part2,
  .part-section.part3,
  .part-section.part4 {
  margin-bottom: 60px;
  }

  .part-section.part4 {
    padding: 60px 0 10px 0;
}

  .part-section.part5 {
  padding-bottom: 0;
  margin-top: 80px;
  }

  .part-header{
    display: none;
  }

  .part-header-mb600 {
    display: flex;
    justify-content: center;
    margin-top: -200px;   
    position: relative;
    z-index: 1;
  }

  .part-header-mb600 img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
  }

  .ink-video-section {
    margin-bottom: 20px;
    padding: 23% 0 0 0;
  }

  .celebrity-picture-wrapper {
  margin: 0 auto;
}

.part-block,
.part-date,
.part-image {
  margin-bottom: 10px;
}

.part-title img{
  width: 50%;
}

.mg-top{
  margin-top: 80px;
}

.part-text {
    padding-left: 1em;
    line-height: 1.5;
}


.part-date img {
    width: 80%;
    margin: 0 auto;
    transform: translateX(0px);
}

.part-prize-group {
    display: flex;
    flex-wrap: wrap
}

.part-prize-group .part1-image{
  width: 638px;
}

.part-flex-group-right{
  gap: 0px;
}

.fb-button img{
  width: 80%;
}

.notice-section {
  width: 100%;
  max-width: 1920px;
  text-align: center;
  padding-bottom: 50px;
}

.notice-top {
  transform: scale(1.3);
}

.notice-middle {
  background-size: 130% auto;
  padding: 30px 0;
}

.notice-text {
  width: 57%;
  line-height: 1.6;
}

.notice-text ol li{
    margin: 8px 0;
}

.notice-bottom img {
  transform: scale(1.3);
}

.part-container {
    width: 100%;
}

/*每一區塊的人物圖*/
.characters-pic {
  display: none;
}

.part-header img {
  width: 100%;
}

.part-header.z-index-height{
  position: relative;
  z-index: 2;
}

/* 活動區塊內容 */
.part-flex-group-right {
  display: flex;
  align-items: center;
}

.part-flex-group-left {
  display: flex;
  align-items: center;
}

.part-explanation-pic-left {
  width: 100%;    
}

.part-prize-group {
    display: flex;
    flex-direction: row;
}

.part-explanation-pic {
    width: 100%;
    margin-left: 0;
    margin-bottom: 30px;
}

.part-explanation-pic-w100 {
    width: 100%;
    margin-left: 0;
}

  .celebrity-icons img {
    width:20%;
  }

  /* 各自定位：你可以用 % 或 px 微調對齊位置 */
  .hover-Mengchi {
    bottom: 2%;
    left: 21%;
  }

  .hover-Hellrena {
    bottom: 2%;
    left: 43%;
  }

  .hover-Bohemao {
    bottom: 2%;
    left: 65%;
  }
}


@media (max-width: 500px) {

  .footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  }

  .footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; 
    padding: 0 10px;
  }

  .footer-logos img {
    height: 28px;      
    width: auto;
    flex-shrink: 0;   
  }

  .notice-title-img {
  width: 40%;
  top:40px;
}

#section-part2 {
  scroll-margin-top: 150px;
}
#section-part3 {
  scroll-margin-top: 180px;
}
#section-part4 {
  scroll-margin-top: 180px;
}
#section-part5 {
  scroll-margin-top: 180px;
}

}

@media (max-width: 400px) {

  .navbar {
    min-height: 45px;        
    padding: 5px 12px; 
  }

  .navbar .logo {
    height: 28px;   
  }

  .navbar .menu-icon img {
    width: 30px;
    height: 30px;
  }

  .floating-ball-wrapper {
    right: -137px;
    bottom: -137px;
  }

  .floating-ball {
    width: 60%;
    height: 60%;
  }

  .menu-list a {
  font-size: 22px;
}

  .part-section.part1 {
  background-image: url('../images/Reel_full_w600.webp');  
  background-position: center 90%; 
  background-size: contain; 
}

  .part-section.part2 {
  background-image: url('../images/Part2_Reel_full_w600.webp');  
  background-position: center 85%; 
  background-size: contain; 
}

.part-section.part1, 
.part-section.part2, 
.part-section.part3, 
.part-section.part4{
  margin-bottom: 35px;
}

.mg-top{
  margin-top: 30px;
}

.notice-middle {
  background-size: 130% auto;
  padding: 30px 0 0 15px;
}

.notice-text {
  width: 62%;
  line-height: 1.4;
  font-size: 1.1em;
}

}


