@charset "utf-8";

/* CSS Document */
@import url('reset.min.1.2.css');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200..900&display=swap');

:root {
  --frame-url: url('../images/swiper_frame.png');
  --arrow-left: url('../images/swiper_l.png');
  --arrow-right: url('../images/swiper_r.png');
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0 !important;
  font-family: 'Noto Sans TC', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif !important;
  color: #345477;
  position: relative;
  overflow: auto;
  overflow-x: hidden;
  scrollbar-width: none !important;
}

::-webkit-scrollbar {
  display: none !important;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus,
input,
button,
select,
textarea {
  outline: none;
}

span {
  display: inline-block;
}

img {
  width: 100%;
  height: auto;
}

a {
  z-index: 100;
  display: inline-block;
  width: auto;
  height: auto;
  text-decoration: none !important;
}

a:hover {
  cursor: pointer !important;
}

ol,
ul {
  padding-left: 1rem !important;
}

.modal-open {
  padding-right: 0 !important;
}

.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  box-shadow: none !important;
}

/** 動態效果 **/
@keyframes fadeout {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadein {
  0% {
    transform: scale(1.5);
  }
  60% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}

.wrapper {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background-image: url(../images/bg_all.webp);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.smooth_content {
  will-change: transform;
  width: 100%;
  position: relative;
  display: block;
}

/* Button 共用 */
.btn {
  padding: 0 !important;
  transform: scale(1);
  transition: filter 0.3s ease-in-out;
}

.btn:hover {
  filter: brightness(120%);
  transform: scale(1);
  transition: filter 0.2s ease-in-out;
}

.btn:active {
  transform: scale(0.95);
  transition: transform 0s ease-in-out;
}

/* =========================================================
   回到頂部按鈕
   ========================================================= */
.bnt_top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10050;
  width: 64px;
  height: 64px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease,
    filter 0.3s ease;
}

.bnt_top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.bnt_top a {
  display: block;
  width: 100%;
  height: 100%;
}

.bnt_top img {
  display: block;
  width: 100%;
  height: auto;
}

.bnt_top:hover {
  filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 200, 100, 0.35));
}

.bnt_top:active {
  transform: scale(0.96);
}

@media screen and (max-width: 1024px) {
  .bnt_top {
    right: 12px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
/* 區塊共用 */
#cover,
#section01,
#section02,
#section03,
#section04 {
  position: relative;
  width: 100%;
  /* min-height: 100vh; */
  color: #fff;
  text-align: center;
  overflow: hidden;
}

#cover {
  background: url(../images/bg_cover.webp);
  background-position: center top;
  background-size: auto 100%;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

#section01,
#section02,
#section03,
#section04 {
  width: 100vw;
  background-position: center top;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sec_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

#section01 .sec_content,
#section03 .sec_content,
#section04 .sec_content {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.sec_title {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  color: #2e2a29;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 2.5rem;
}

.sec_title img {
  width: 25%;
  height: auto;
  object-fit: contain;
}

.title {
  margin: 0 2rem;
}

/* 00_cover首頁 */
.slogan_block {
  position: absolute;
  width: 60%;
  bottom: 5%;
}

.slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slogan img:nth-child(3) {
  width: 80%;
}

#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.btn03 {
  position: relative;
  z-index: 10;
  width: 50%;
  max-width: 280px;
  margin: 1.5rem 0 0 0;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

/* 圖片 */
.btn03 img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50px;
  animation: pulseGlow 2.2s ease-in-out infinite;
}

/* 持續暖黃呼吸光 */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(255, 210, 120, 0);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.2);
    box-shadow:
      0 0 18px rgba(255, 210, 120, 0.3),
      0 0 36px rgba(255, 190, 90, 0.1);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(255, 210, 120, 0);
  }
}

/* section01 遊戲介紹 / swiper */
.movie_slide {
  position: relative;
  width: min(1080px, 92vw);
  margin: 0 auto;
  overflow: visible;
}

.movie_slide-mask {
  position: relative;
  overflow: visible;
}

.movie_swiper {
  overflow: visible;
  padding: 18px 0 70px;
}

.movie_swiper .swiper-wrapper {
  align-items: center;
}

.movie_swiper .swiper-slide {
  width: clamp(280px, 80vw, 960px);
  position: relative;
  transform-origin: center center;
}

.movie_swiper .swiper-slide .img {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 960 / 540;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 10px 30px rgba(90, 72, 44, 0.6);
}

.movie_swiper .swiper-slide .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--frame-url) center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 2;
}

.swiper-button-prev,
.swiper-button-next {
  width: 72px;
  height: 72px;
  margin-top: -36px;
  top: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    opacity 0.2s ease;
}

.swiper-button-prev {
  left: -6px;
  background: var(--arrow-left) center/contain no-repeat;
}

.swiper-button-next {
  right: -6px;
  background: var(--arrow-right) center/contain no-repeat;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.92);
  filter: brightness(0.9);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

/* 裝飾物 */
.ch {
  position: absolute;
  bottom: 4%;
  right: 0;
  width: 30%;
  mix-blend-mode: multiply;
  z-index: -1;
}

.ch01 {
  position: absolute;
  top: -5%;
  left: 0;
  width: 35%;
  mix-blend-mode: multiply;
}

.ch02 {
  position: absolute;
  top: -8%;
  left: -51%;
  width: 150%;
  z-index: -1;
}

.box {
  position: absolute;
  bottom: -1%;
  right: -5%;
  width: 36%;
}

#section03 .box {
  bottom: 66%;
  right: -65px;
  width: 40%;
}

/* 共用內容區 */
.event_block,
.reward_block,
.rebate_block,
.spec_block {
  width: 100%;
  max-width: 980px;
  color: #3c342d;
  font-family: 'Noto Sans TC', sans-serif;
  position: relative;
}

.event_block:last-child,
.reward_block:last-child,
.rebate_block:last-child,
.spec_block:last-child {
  margin-bottom: 0;
}

.download_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem auto;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.download_list .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
  will-change: transform;
}

.download_list .btn img {
  display: block;
  height: auto;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* hover效果 */
.download_list .btn:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.04);
}

.download_list .btn:hover img {
  transform: scale(1.02);
}

/* 陰影效果 */
.download_list .btn:hover {
  border-radius: 12px;
}

.download_list .btn img {
  display: block;
  max-width: 180px;
  height: auto;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  animation: floatImg 3s ease-in-out infinite;
}

.download_list .btn:nth-child(2) img {
  animation-delay: 0.2s;
}
.download_list .btn:nth-child(3) img {
  animation-delay: 0.4s;
}
.download_list .btn:nth-child(4) img {
  animation-delay: 0.6s;
}

@keyframes floatImg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* 👇 重點：按壓效果 */
.download_list .btn:active {
  transform: translateY(1px) scale(1);
}

/* 讓圖片有點彈性 */
.download_list .btn:active img {
  transform: scale(1);
}

/* 放開時的「回彈感」 */
.download_list .btn {
  transition: transform 0.15s ease;
}

.download_list .btn:active {
  transition: transform 0.08s ease;
}

.reward_desc,
.rebate_intro,
.notice_list {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  line-height: 2;
  font-size: 1.08rem;
}

.rebate_intro {
  margin: auto;
  width: fit-content;
}

.reward_desc,
.event_list {
  text-align: center;
}

.event_list li,
.reward_desc li,
.rebate_intro li,
.notice_list li {
  margin-bottom: 0.5rem;
}

.event_list li:last-child,
.reward_desc li:last-child,
.rebate_intro li:last-child,
.notice_list li:last-child {
  margin-bottom: 0;
}

.notice_list {
  margin-top: 2rem;
}

.note,
.reward_note {
  color: #8c6b3d;
  font-size: 0.98rem;
}

.reward_note {
  margin-top: 1rem;
  text-align: center;
  padding-left: 0.25rem;
}

/* reward cards */
.reward_cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin: 0 auto 2rem;
}

.reward_card {
  flex: 1 1 0;
  max-width: 420px;
  min-height: 170px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward_card img {
  max-width: 100%;
  width: auto;
  max-height: 260px;
  object-fit: contain;
}

/* subtitle */
.sub_title {
  margin: 2rem 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid #b79a66;
  color: #4a3b28;
  font-family: 'Noto Serif TC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
}

/* table */
.table_wrap {
  width: 80%;
  margin: 1.5rem auto 0;
  overflow-x: auto;
  background: url('../images/table_bg.png') no-repeat center;
  background-size: 100% 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 10px 24px rgba(90, 72, 44, 0.08);
  padding: 30px;
}

.event_table {
  width: 100%;
  /* min-width: 680px; */
  position: relative;
  border-collapse: collapse;
  color: #43362a;
  font-weight: 500;
  font-size: 1.2rem;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* ⭐關鍵 */
}

.event_table th,
.event_table td {
  word-break: break-word;
  white-space: normal;
}

.event_table thead th {
  background: linear-gradient(to bottom, #c8ab76 0%, #ae8c55 100%);
  color: #fffdf8;
  padding: 1rem;
  text-align: center;
  font-family: 'Noto Serif TC', serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.event_table tbody td {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(190, 175, 149, 0.55);
  padding: 0.95rem 1rem;
  text-align: center;
  vertical-align: middle;
  line-height: 1.7;
}

.event_table tbody tr:nth-child(even) td {
  background: rgba(250, 246, 238, 0.92);
}

.event_table img {
  max-width: 40px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

/* 儲值回饋 */
.example_block,
.notice_block {
  margin-top: 2rem;
  margin: 0 10%;
}

#section04 {
  min-height: auto;
  padding: 0 0 4rem;
}

.rebate_example_list {
  /* width: 80%; */
  margin: 1.25rem auto 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: url('../images/table_bg_clo.png') no-repeat center;
  background-size: 100% 100%;
}

.rebate_example_item {
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(177, 151, 112, 0.35);
  border-radius: 14px;
  text-align: left;
}

.rebate_example_head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.example_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: linear-gradient(to bottom, #c8ab76 0%, #ae8c55 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.example_amount {
  color: #5b4327;
  font-family: 'Noto Serif TC', serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
}

.rebate_example_desc {
  color: #4a3b28;
  font-size: 1.02rem;
  line-height: 1.9;
}

.rebate_formula {
  padding: 0.85rem 1rem;
  background: rgba(248, 243, 233, 0.9);
  border: 1px dashed rgba(177, 151, 112, 0.55);
  border-radius: 10px;
}

.rebate_formula.inline {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #6b5a45;
  line-height: 1.8;
  word-break: break-word;
}

.formula_title {
  margin-bottom: 0.35rem;
  color: #7a5a32;
  font-size: 0.95rem;
  font-weight: 700;
}

.inline_reward {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.25rem;
  font-weight: 700;
  color: #7a4f1d;
}

.inline_reward img {
  width: 28px;
  height: 20px;
  object-fit: contain;
  transform: translateY(2px);
}

.inline_reward:nth-of-type(2) {
  color: #2f7a73;
}

/* 配置需求 */
#section04 .sec_content {
  width: 92%;
  padding: 2rem 0;
}

.spec_block {
  width: 100%;
  margin: 0 auto;
}

.spec_table {
  width: 100%;
  font-size: 0.9rem;
}

.spec_table th,
.spec_table td {
  padding: 1rem;
}

/* 敬請期待彈窗 */
.game-modal .modal-dialog {
  max-width: 460px;
  width: calc(100% - 32px);
}

.game-modal-content {
  border: 2px solid #c8ab76;
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 248, 235, 0.92), rgba(255, 248, 235, 0.92)),
    url('./images/table_bg.png') center / 100% 100% no-repeat;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.45) inset,
    0 0 24px rgba(190, 150, 80, 0.45),
    0 18px 42px rgba(50, 35, 18, 0.45);
  overflow: hidden;
}

.game-modal-body {
  position: relative;
  padding: 3rem 2rem 2.2rem;
  text-align: center;
  color: #4a3b28;
}

.game-modal-body::before {
  left: 24px;
}

.game-modal-body::after {
  right: 24px;
}

.game-modal-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b4327;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.game-modal-line {
  width: 72%;
  height: 1px;
  margin: 1rem auto 1.2rem;
  background: linear-gradient(to right, transparent, #b79a66, transparent);
}

.game-modal-text {
  margin: 0 0 1.6rem;
  color: #6b5a45;
  font-size: 1.08rem;
  line-height: 1.8;
}

.game-modal-btn {
  min-width: 150px;
  padding: 0.65rem 1.8rem;
  border: 1px solid #8b6a38;
  border-radius: 999px;
  background: linear-gradient(to bottom, #d8bd83 0%, #a77c3e 100%);
  color: #fffdf8;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow:
    0 4px 0 #6f4d24,
    0 8px 18px rgba(80, 50, 20, 0.28);
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.game-modal-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.game-modal-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #6f4d24,
    0 5px 12px rgba(80, 50, 20, 0.24);
}

.game-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: 0.75;
}

.game-modal-close:focus {
  box-shadow: none;
}

@media screen and (max-width: 576px) {
  .game-modal-body {
    padding: 2.6rem 1.4rem 2rem;
  }

  .game-modal-title {
    font-size: 1.7rem;
  }

  .game-modal-text {
    font-size: 1rem;
  }
}

/* =========================
   RWD
========================= */

@media screen and (max-width: 1600px) {
  .btn03 {
    position: relative;
    z-index: 10;
    width: 50%;
    max-width: 240px;
  }
}

@media screen and (max-width: 1200px) {
  #cover,
  #section01,
  #section02,
  #section03,
  #section04 {
    position: relative;
    width: 100%;
    min-height: auto;
    color: #fff;
    text-align: center;
    overflow: hidden;
  }

  .sec_title {
    margin: 1rem;
    width: 50%;
  }

  #cover {
    height: auto;
    min-height: fit-content;
  }

  .slogan_block {
    position: relative;
    width: 100%;
    right: 0;
    margin: 85% auto 15%;
  }

  .slogan img:nth-child(2) {
    width: 100%;
    margin-bottom: -13%;
  }

  .ch01 {
    position: absolute;
    top: 0%;
    left: -5%;
    width: 35%;
    mix-blend-mode: multiply;
  }

  .ch02 {
    position: absolute;
    top: -8%;
    left: -46%;
    width: 150%;
    z-index: -1;
  }

  .reward_desc,
  .rebate_intro,
  .notice_list {
    width: 80%;
    margin: 0 auto;
    text-align: left;
    line-height: 2;
    font-size: 1.08rem;
  }

  .example_block,
  .notice_block {
    margin: 0;
  }
}

@media screen and (max-width: 992px) {
  #section01 .sec_content,
  #section03 .sec_content,
  #section04 .sec_content {
    width: 96%;
    /* padding: 2rem 0 4rem; */
  }

  .sec_title {
    margin: 1.5rem 0;
    font-size: 2rem;
    width: auto;
  }

  .sec_title img {
    width: 20%;
  }

  .title {
    margin: 0 1rem;
  }

  #cover,
  #section01,
  #section02,
  #section03,
  #section04 {
    min-height: auto;
  }

  #cover {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
  }

  .slogan_block {
    width: 80%;
    margin: 0 auto 10%;
    bottom: auto;
  }

  .slogan img:nth-child(2) {
    margin-bottom: 0;
  }

  .download_list {
    width: 95%;
    gap: 0.5rem;
  }

  .table_wrap,
  .rebate_example_list {
    width: 95%;
    padding: 20px;
  }

  .event_table {
    min-width: 600px;
    font-size: 1rem;
  }

  .event_list,
  .reward_desc,
  .rebate_intro,
  .notice_list {
    padding: 0rem 1.2rem;
    font-size: 1rem;
    line-height: 1.85;
  }

  .reward_desc,
  .rebate_intro,
  .notice_list {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    line-height: 2;
    font-size: 1.08rem;
  }

  .reward_cards {
    gap: 1rem;
  }

  .reward_card {
    max-width: 100%;
    min-height: 140px;
    padding: 0.5rem;
  }

  .reward_card img {
    max-height: 180px;
  }

  .sub_title {
    font-size: 1.25rem;
  }

  .movie_slide {
    width: min(880px, 95vw);
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 60px;
    height: 60px;
  }

  .rebate_example_item {
    padding: 1rem;
  }

  .example_amount {
    font-size: 1.05rem;
  }

  .rebate_example_desc {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .box {
    width: 25%;
    right: -2%;
  }

  .ch01 {
    width: 25%;
    top: 0;
    left: -2%;
  }

  .ch02 {
    width: 60%;
    top: -2%;
    left: -15%;
    opacity: 0.6;
  }

  #section03 .box {
    bottom: auto;
    top: -2%;
    right: -2%;
    width: 20%;
  }

  .download_list .btn img {
    display: block;
    max-width: 220px;
    height: auto;
    transition:
      transform 0.3s ease,
      filter 0.3s ease;
    animation: floatImg 3s ease-in-out infinite;
  }
}

@media screen and (max-width: 768px) {
  /* --- 基本佈局與標題 --- */

  .sec_title {
    font-size: 1.8rem;
  }
  .sec_title img {
    width: 25%;
  }

  /* --- 下載清單與按鈕 --- */
  .download_list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .download_list a {
    width: 45%;
  }

  /* --- 獎勵卡片 (Reward Cards) --- */
  .reward_cards {
    /* flex-direction: column; */
    gap: 0;
    margin-bottom: 0;
  }

  .reward_card {
    width: 100%;
    min-height: auto;
    padding: 1rem 0;
  }
  .reward_card img {
    max-width: 100%;
    max-height: 140px;
  }

  /* --- 通用表格容器 --- */
  .table_wrap {
    width: 100%;
    padding: 12px 8px;
    /* background-size: cover; */
  }

  /* 所有表格的基本 RWD 重設 (轉為區塊模式) */
  .event_table,
  .spec_table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
  }

  .event_table thead,
  .spec_table thead {
    display: none;
  }

  .event_table tbody,
  .event_table tr,
  .event_table td,
  .spec_table tbody,
  .spec_table tr,
  .spec_table td {
    display: block;
    width: 100%;
  }

  /* --- 1. 活動表格 (Event Table) - 使用 data-label 排版 --- */
  .event_table tbody tr {
    margin-bottom: 0.9rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    /* border-bottom: 1px solid rgba(190, 175, 149, 0.8); */
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(90, 72, 44, 0.08); */
  }

  .event_table tbody td {
    position: relative;
    border: none;
    background: transparent !important;
    line-height: 1.6;

    min-height: 2rem;
  }

  #section03 .event_table tbody td {
    border-bottom: 1px solid rgba(190, 175, 149, 0.8);
    border-left: 1px solid rgba(190, 175, 149, 0.8);
  }

  #section03 .rebate_table tbody tr:first-child td:last-child {
    border-left: 1px solid rgba(190, 175, 149, 0.8);
    border-right: 1px solid rgba(190, 175, 149, 0.8);
  }

  .event_table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 6rem;
    color: #7a5a32;
    font-weight: 700;
  }

  /* --- 2. 規格表格 (Spec Table) - 左右結構/漸層標題 --- */
  .spec_table tr {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(190, 175, 149, 0.55);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(90, 72, 44, 0.08);
  }

  .spec_table td {
    padding: 0.9rem 1rem;
    text-align: left;
    line-height: 1.7;
    background: transparent !important;
  }

  .spec_table td:first-child {
    background: linear-gradient(to bottom, #c8ab76 0%, #ae8c55 100%) !important;
    color: #fffdf8;
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
  }

  .spec_table td:last-child {
    color: #43362a;
    font-size: 0.95rem;
  }

  /* --- 3. 返利表格 (Rebate Table) --- */
  /* --- 3. 返利表格 (Rebate Table) 手機版保留表格感 --- */
  .rebate_table {
    display: table;
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(90, 72, 44, 0.08);
    background: rgba(255, 248, 239, 0.9);
  }

  .rebate_table thead {
    display: table-header-group;
  }

  .rebate_table tbody {
    display: table-row-group;
  }

  .rebate_table tr {
    display: table-row;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
  }

  .rebate_table th,
  .rebate_table td {
    display: table-cell;
    width: auto;
    padding: 0.75rem 0.45rem;
    text-align: center;
    vertical-align: middle;
    line-height: 1.45;
    border-right: 1px solid rgba(190, 175, 149, 0.4);
    border-bottom: 1px solid rgba(190, 175, 149, 0.4);
    background: rgba(255, 255, 255, 0.88) !important;
    word-break: break-word;
  }

  #section04 .rebate_table th:last-child,
  #section04 .rebate_table td:last-child {
    border-right: none;
  }

  #section04 .rebate_table tbody tr:last-child td {
    border-bottom: none;
  }

  .rebate_table thead th {
    padding: 0.7rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    background: linear-gradient(to bottom, #c8ab76 0%, #ae8c55 100%) !important;
    color: #fffdf8;
  }

  .rebate_table thead th img {
    display: block;
    margin: 0 auto 0.25rem;
    max-width: 22px;
    max-height: 22px;
  }

  .rebate_table tbody td {
    font-size: 0.92rem;
    font-weight: 500;
  }

  .rebate_table tbody td:first-child {
    background: rgba(248, 243, 233, 0.95) !important;
    color: #6b4f2b;
    font-weight: 700;
  }

  .rebate_table td::before {
    content: none;
  }

  /* --- 返利範例與公式 --- */
  .rebate_example_list {
    width: 100%;
    padding: 15px 10px;
  }
  .rebate_example_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .example_tag {
    min-width: 58px;
    height: 32px;
    font-size: 0.95rem;
  }
  .rebate_formula {
    font-size: 0.85rem;
    padding: 0.6rem;
  }

  /* --- 輪播與功能按鈕 --- */

  .movie_swiper {
    overflow: visible;
    padding: 18px 0 36px;
  }

  .movie_slide {
    width: 100vw;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 45px;
    height: 45px;
    top: 50%;
  }

  /* --- 隱藏元件 --- */
  .ch01,
  .ch02,
  .box {
    display: none;
  }

  .event_block,
  .reward_block,
  .rebate_block,
  .spec_block {
    width: 95%;
  }

  .rebate_intro,
  .notice_list {
    margin-left: 1rem;
  }

  .notice_block {
    margin-top: 2rem;
  }

  #section04 .spec_table {
    table-layout: auto;
  }

  #section04 .spec_table col {
    width: auto !important;
  }
}

@media (max-width: 576px) {
  #cover {
    background: url(../images/bg_cover_s.png);
    background-position: center top;
    background-size: auto 100%;
    display: flex;
    justify-content: center;
  }

  .slogan_block {
    width: 100%;
    margin-bottom: 30%;
  }

  .slogan img:nth-child(3) {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .slogan_block {
    margin-bottom: 15%;
  }
}

#cover {
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: auto 100% !important;
}

@media screen and (max-width: 576px) {
  #cover {
    background-image: url('../images/bg_cover_s.png') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
  }
}
