:root {
  --gold: #b9a67a;
  --gold-rgb: 221, 187, 85;
  --gold-bright: #F5E4A2;
  --dark-bg: #000000;
  --card-bg: rgba(28, 24, 40, 0.85);
  --card-bg-solid: #1C1828;
  --text-light: #f0e8d9;
  --text-dark: #120f1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-image: radial-gradient(circle at center, rgba(173, 173, 173, 0.45) 0%, var(--dark-bg) 99%), url('./img/BG.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.2s ease-out;
}

main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 100%;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--gold);
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button.primary {
  background: var(--gold);
  color: var(--text-dark);
}

.cta-button.primary:hover {
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.8);
  transform: translateY(-3px);
}

.cta-button.secondary {
  background: transparent;
  color: var(--gold);
}

.cta-button.secondary:hover {
  background: var(--gold);
  color: var(--text-dark);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 80px;
  color: rgb(0, 0, 0);
  position: relative;
  padding-bottom: 20px;
}

.section-title span {
  background: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 4px;
  width: 80px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(var(--gold-rgb), 0.7);
}

.section-title.image-title {
  padding-bottom: 0;
}
.section-title.image-title::after {
  display: none;
}

.section-title-image {
  display: block;
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.event-card {
  background: var(--card-bg);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.event-card:hover {
  border-color: rgba(var(--gold-rgb), 0.7);
}

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
  transition: background-color 0.3s ease;
}

.sticky-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold-bright);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold-bright);
}
.main-nav a:hover::after {
  width: 80%;
}

#hero {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-main-visual {
  width: 100%;
  max-width: 1500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(var(--gold-rgb), 0.2);
}

.tabs-container,
#product-deals .container {
  text-align: center;
}

.tab-buttons,
.category-filters {
  position: relative;
  display: inline-flex;
  margin: 0 auto 50px auto;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 50px;
  padding: 5px;
}

.tab-button,
.filter-button {
  background: transparent;
  border: none;
  color: var(--gold);
  padding: 10px 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.4s ease;
  z-index: 2;
  white-space: nowrap;
  flex: 1 1 0;
}

.tab-button:hover,
.filter-button:hover {
  color: var(--gold-bright);
}

.tab-button.active,
.filter-button.active {
  color: var(--text-dark);
}

.tab-button.active:hover,
.filter-button.active:hover {
  color: var(--text-dark);
}

.tab-buttons::before,
.category-filters::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: calc(var(--deals-slider-width) - 2px);
  background: linear-gradient(160deg, #F9E08A, #A57C2A);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 1px 1px #F9E08A;
  border-radius: 50px;
  transform: var(--deals-slider-transform, translateX(0%));
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}

.tab-buttons::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: calc(var(--deals-slider-width) - 5px);
  background: linear-gradient(160deg, #F9E08A, #A57C2A);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 1px 1px #F9E08A;
  border-radius: 50px;
  transform: var(--deals-slider-transform, translateX(0%));
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.product-swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: visible;
  transform: translateZ(0);
}

.product-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 400px;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: var(--gold);
}

.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover {
  transform: scale(1.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-family: swiper-icons;
  font-size: 28px !important;
  font-weight: bold;
  color: var(--gold) !important;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
}

.product-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  text-align: left;
  display: flex;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.product-card .product-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 20px 15px;
  box-sizing: border-box;
  z-index: 2;
}

.product-card .product-card-info h4 {
  font-size: 1.2rem;
  padding: 0;
  margin: 0 0 5px 0;
  color: var(--text-light);
}

.product-card .product-card-info .price {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--text-dark);
  padding: 3px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 5px;
  z-index: 3;
}

.prize-info-card.image-fill {
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  aspect-ratio: 1200 / 270;
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.prize-info-card.image-fill:hover {
  border-color: rgba(var(--gold-rgb), 0.8);
  box-shadow: 0 10px 30px rgba(var(--gold-rgb), 0.3);
}

.prize-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.prize-info-card.image-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.prize-overlay-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.steps-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 80px 40px;
  position: relative;
  margin-top: 80px;
}

.step-wrapper {
  display: flex;
  flex-direction: column;
}

.step-card {
  position: relative;
  padding: 30px;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.step-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  background: rgba(55, 55, 55, 0.233) 0%;
  padding: 5px 25px;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  transition: all 0.3s ease;
}

.step-number {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 1.1rem;
}

.step-number::after {
  content: '//';
  margin: 0 12px;
  opacity: 0.6;
  font-weight: 400;
}

.step-title {
  font-size: 1.6rem;
  color: var(--gold-bright);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.step-content {
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: var(--card-bg);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  height: 100%;
  box-sizing: border-box;
  padding: 60px 30px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.step-content,
.pba-column.event-card {
  background-color: #00000058;
  background-image: linear-gradient(to top,
          rgba(38, 33, 27, 0.709) 0%,
          transparent 60%
      );
}

.step-card:hover .step-content {
  border-color: rgba(var(--gold-rgb), 0.8);
  box-shadow: 0 0 25px rgba(var(--gold-rgb), 0.3);
}

.step-card:hover .step-header {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.steps-grid-new .step-card .step-content {
  padding: 0;
  justify-content: initial;
}

.step1-background-link,
.step2-background-link {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2.5 / 1;
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  border-radius: 12px;
}

.step1-background-link {
  background-image: url('./img/step1bg.png');
}

.step2-background-link {
  background-image: url('./img/step2bg.png');
}

.step1-background-link img,
.step2-background-link img {
  position: absolute;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  pointer-events: none;
  user-select: none;
}

.step1-background-link .overlay-normal,
.step1-background-link .overlay-hover {
  top: 22%;
  left: 22%;
  width: 45%;
  transform: translate(0, 0);
}

.step2-background-link .overlay-normal,
.step2-background-link .overlay-hover {
  top: 55%;
  left: 50%;
  width: 45%;
  transform: translate(-50%, -50%);
}

.step1-background-link .overlay-hover,
.step2-background-link .overlay-hover {
  opacity: 0;
}

.step1-background-link:hover .overlay-normal,
.step2-background-link:hover .overlay-normal {
  opacity: 0;
}

.step1-background-link:hover .overlay-hover,
.step2-background-link:hover .overlay-hover {
  opacity: 1;
}

.step1-background-link:hover img,
.step2-background-link:hover img {
  transform: scale(1.08);
}

.step2-background-link:hover img {
  transform: translate(-50%, -50%) scale(1.08);
}

@keyframes floatAnimation {
  0% {
      transform: translateY(0);
  }

  50% {
      transform: translateY(-6px);
  }

  100% {
      transform: translateY(0);
  }
}

.step1-background-link .overlay-normal,
.step2-background-link .overlay-normal {
  animation: floatAnimation 1.5s ease-in-out infinite;
}

@keyframes floatAnimationStep2 {
  0% {
      transform: translate(-50%, -50%) translateY(0);
  }

  50% {
      transform: translate(-50%, -50%) translateY(-6px);
  }

  100% {
      transform: translate(-50%, -50%) translateY(0);
  }
}

.step2-background-link .overlay-normal {
  animation-name: floatAnimationStep2;
}

.step-notes-section {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 25px;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  background-image: linear-gradient(to top, rgba(38, 33, 27, 0.709) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
}

.step-notes-section h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(204, 190, 169);
  margin-bottom: 20px;
  text-align: center;
}

.step-notes-section h6 {
  font-size: 1rem;
  font-weight: 700;
  color: rgb(204, 190, 169);
  margin: 30px 10% 15px 10%;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
  padding-bottom: 10px;
}

.step-notes-section p {
  font-size: 0.9rem;
  color: rgb(177, 177, 177);
  line-height: 1.8;
}

.step-notes-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0 10% 15px 10%;
}

.step-notes-section li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgb(177, 177, 177);
}

.step-notes-section li:last-child {
  margin-bottom: 0;
}

.step-notes-section li::before {
  content: '●';
  color: rgb(146, 146, 146);
  font-size: 0.6rem;
  margin-right: 12px;
  margin-top: 7px;
  flex-shrink: 0;
}

.step-notes-section table {
  width: 80%;
  margin: 15px auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.step-notes-section th,
.step-notes-section td {
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  padding: 10px;
  text-align: center;
}

.step-notes-section th {
  background-color: rgba(38, 33, 27, 0.5);
  color: rgb(204, 190, 169);
  font-weight: 700;
}

.step-notes-section td {
  color: rgb(177, 177, 177);
}

 .step-notes-section table {
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}

.step-notes-section .reward-tier {
  margin-bottom: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--gold-rgb), 0.1);
  border-radius: 8px;
  margin-left: 10%;
  margin-right: 10%;
}

.step-notes-section .reward-tier p {
  margin: 0;
  font-size: 1rem;
  color: #ddd;
}

.step-notes-section .tier-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-notes-section .tier-badge.player {
  background-color: #b3926e;
  color: var(--text-dark);
}

.step-notes-section .tier-badge.leader {
  background-color: #b3926e;
  color: var(--text-dark);
}

.step-notes-section .solo-note {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  margin-bottom: 25px;
}

.step-notes-section .highlight {
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  background-image: linear-gradient(rgba(128, 88, 47, 0.6), rgba(135, 89, 45, 0.6));
  background-repeat: no-repeat;
  background-size: 100% 35%;
  background-position: 0 100%;
  padding: 0 2px;
}

.remarks-wrapper {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  margin: 20px 10% 0 10%;
}

.remarks-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgb(204, 190, 169);
  font-weight: 500;
}

.remarks-toggle .chevron {
  fill: rgb(204, 190, 169);
  transition: transform 0.3s ease-in-out;
}

.remarks-toggle.active .chevron {
  transform: rotate(180deg);
}

.remarks-content.collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.5, 1);
}

.remarks-content.collapsible ul {
  margin-top: 15px;
  margin-left: 0;
  margin-right: 0;
}

.remarks-content.collapsible.active {
  max-height: 500px;
}

.step-notes-section .reward-tier,
.step-notes-section .solo-note,
.step-notes-section .product-list,
.step-notes-section h5,
.step-notes-section h6,
.step-notes-section table {
  flex-shrink: 0;
}

.bonus-section-row {
  margin-bottom: 80px;
  text-align: center;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: #00000058; /* 使用與其他卡片一致的半透明背景 */
  backdrop-filter: blur(5px); /* 添加背景模糊效果，質感更好 */
  -webkit-backdrop-filter: blur(8px); /* 兼容 Safari */
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.bonus-section-row h3 {
  font-size: 2.2rem;
  color: var(--gold-bright);
  margin-bottom: 15px;
}

.bonus-description {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ddd;
  line-height: 1.8;
  font-weight: 500;
  font-size: 1.1rem;
}

.pba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  text-align: left;
}

.pba-column {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.pba-column img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.pba-content {
  position: relative;
}

.pba-title-wrapper,
.pba-title-block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  padding-bottom: 20px;
}

.pba-title-content {
  text-align: center;
}

.gift-prefix {
  font-size: 1.4rem;
  color: #bfbfbf;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.series-list {
  list-style: none;
  padding: 0;
  margin: 25px auto 0;
  max-width: 400px;
  width: 100%;
}

.series-list li {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 15px;
  padding: 12px 0;
  text-align: left;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.15);
  transition: background-color 0.2s ease;
}

.series-list li:last-child {
  border-bottom: none;
}

.series-list li:hover {
  background-color: rgba(var(--gold-rgb), 0.05);
}

.category-label {
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

.series-list li>span:last-child {
  color: #ccc;
}

.product-accordion-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 12px;
  overflow: hidden;
  background-image: linear-gradient(to top, rgba(38, 33, 27, 0.709) 0%, transparent 60%);
  background-color: rgba(73, 72, 70, 0.651);
  backdrop-filter: blur(5px);
  transition: background-color 0.3s ease;
}

.accordion-item.active {
  background-image: linear-gradient(to top, rgba(38, 33, 27, 0.709) 0%, transparent 60%);
}

.accordion-header {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-bright);
  font-family: 'Noto Sans TC', sans-serif;
}

.accordion-header .chevron {
  fill: var(--gold-bright);
  transition: transform 0.3s ease-in-out;
}

.accordion-item.active .accordion-header .chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.5, 1);
}

.accordion-content .product-list-table {
  padding: 0 25px 20px;
}

.accordion-content .product-list-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.15);
  text-align: left;
}

.accordion-content .product-list-table div:last-child {
  border-bottom: none;
}

.accordion-content .product-list-table span:first-child {
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

.accordion-content .product-list-table span:last-child {
  color: #ccc;
  line-height: 1.6;
}

.product-list-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 12px;
  overflow: hidden;
  background-image: linear-gradient(to top, rgba(38, 33, 27, 0.709) 0%, transparent 60%);
  backdrop-filter: blur(5px);
}

.product-list-header {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 10px 20px;
  padding: 15px 25px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  background-color: rgba(38, 33, 27, 0.5);
}

.product-list-header .header-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgb(204, 190, 169);
}

.product-list-header .header-title:last-child {
  text-align: right;
}

.product-list-table {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-list-table li {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 10px 20px;
  padding: 18px 25px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
  align-items: center;
}

.product-list-table li:last-child {
  border-bottom: none;
}

.product-list-table .product-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
}

.product-list-table .product-price {
  text-align: right;
  white-space: nowrap;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  flex-wrap: wrap;
}

.product-list-table .promo-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-right: 10px;
}

.product-list-table .original-price {
  font-size: 0.9rem;
  color: #888;
  text-decoration: line-through;
  margin-right: 10px;
}

.product-notes-inline {
  font-size: 0.85rem;
  color: #bbb;
  font-style: italic;
}

.modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-container.active {
  display: flex;
}

.modal-content {
  background: var(--card-bg-solid);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
}

.modal-content .close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-content h3 {
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 15px;
}

.modal-content .modal-description {
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.6;
}

#getCodeForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#getCodeForm input[type="email"] {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

#getCodeForm input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.5);
}

#getCodeForm .cta-button {
  width: 100%;
}

#email-suggestion {
  font-size: 0.9rem;
  color: #ccc;
  text-align: left;
  margin-top: -5px;
  margin-bottom: 10px;
  min-height: 20px;
}

#email-suggestion a {
  color: var(--gold-bright);
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
}

#modal-result {
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  min-height: 60px;
  line-height: 1.7;
}

.code-display-container {
  margin-top: 15px;
}

.code-display-container p {
  color: #ccc;
}

.code-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 10px 0;
}

.team-code {
  font-size: 2rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 2px;
  user-select: all;
}

.utility-button {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.utility-button:hover {
  background: var(--gold);
  color: var(--text-dark);
}

.utility-button.copied {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}

.share-widget-wrapper {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  position: relative;
}

#main-share-btn {
  width: 100%;
}

#social-share-widget {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--card-bg-solid);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 10;
}

#social-share-widget.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 992px) {
  .main-nav {
      display: none;
  }
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2.2rem;
  }

  .steps-grid-new {
      grid-template-columns: 1fr;
      gap: 80px;
  }

  .pba-grid {
      grid-template-columns: 1fr;
  }

  .prize-overlay-image {
      width: 90%;
  }
}

@media (max-width: 600px) {
  .product-list-header {
      display: none;
  }

  .product-list-table li {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 15px;
  }

  .product-list-table .product-price {
      text-align: left;
      justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .tab-button,
  .filter-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  /* ++ 更新選擇器以包含所有輪播 ++ */
  #product-swiper-tab1 .swiper-slide,
  #product-swiper-tab1-plus .swiper-slide {
    width: 300px;
  }
}

main a:not(.cta-button):not(.step1-background-link):not(.step2-background-link) {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  transition: all 0.3s ease;
  padding-bottom: 1px;
}

main a:not(.cta-button):not(.step1-background-link):not(.step2-background-link):hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
  border-bottom-style: solid;
}

.static-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  padding: 50px 0;
  max-width: 1300px;
  margin: 0 auto;
}

.static-product-grid .product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.static-product-grid .product-card.active {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(var(--gold-rgb), 0.3);
}

.static-product-grid .product-card:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(var(--gold-rgb), 0.3);
}

.static-product-grid:hover .product-card {
  transform: scale(1);
  box-shadow: none;
}

.static-product-grid:hover .product-card:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(var(--gold-rgb), 0.3);
}

@media (max-width: 992px) {
  .static-product-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .static-product-grid .product-card.active,
  .static-product-grid .product-card:hover,
  .static-product-grid:hover .product-card,
  .static-product-grid:hover .product-card:hover {
    transform: none;
    box-shadow: none;
  }
}

.bonus-description strong {
  font-size:1.4em;
  font-weight: 700;
  background-image: linear-gradient(rgba(128, 88, 47, 0.6), rgba(135, 89, 45, 0.6));
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 90%;
  padding: 0 4px;
}

.terms-section {
  background-color: #040404;
  padding: 60px 0;
}
.terms-accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  transition: background-color 0.3s ease;
}
.terms-accordion-trigger:hover {
  background-color: #685f52;
}
.terms-accordion-trigger h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.terms-accordion-icon {
  width: 24px;
  height: 24px;
  color: #4b5563;
  margin-left: 16px;
  transition: transform 0.3s ease;
}
.terms-accordion-icon.open {
  transform: rotate(180deg);
}
.terms-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  background-color: #ffffff;
}
.terms-content-inner {
  padding: 40px;
  color: #4b5563;
  line-height: 1.7;
}
.terms-content-inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 5px;
}
.terms-content-inner h3:first-child {
  margin-top: 0;
}
.terms-content-inner ul {
  list-style-type: disc;
  padding-left: 20px;
}

.site-footer {
  background-color: #040404;
  color: #9ca3af;
  padding: 50px 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}
.footer-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
  margin-bottom: 1rem;
}
.partner-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .partner-logos {
    justify-content: flex-start;
  }
}
.partner-logos img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.partner-logos img:hover {
  filter: none;
  opacity: 1;
}
.footer-divider {
  border-top: 1px solid #374151;
  margin: 30px 0;
}
.footer-bottom {
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.copyright-text {
  font-size: 0.875rem;
  color: #6b7280;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .social-links {
    margin-top: 0;
  }
}
.social-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #ffffff;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}
.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.mobile-nav, .mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.mobile-nav-overlay {
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  background-color: rgba(105, 105, 105, 0.6);
  width: 80%;
  max-width: 300px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  padding: 80px 20px 20px;
  z-index: 1001;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.5rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
}
.mobile-nav li {
  margin-bottom: 10px;
}
.mobile-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 15px 10px;
  display: block;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.mobile-nav a:hover {
  background-color: rgba(var(--gold-rgb), 0.1);
}

@media (max-width: 992px) {
  .main-nav {
      display: none;
  }
  .mobile-nav-toggle {
      display: block;
  }
  .sticky-nav .container {
      justify-content: flex-end;
  }
  .static-product-grid {
      grid-template-columns: 1fr;
      gap: 50px;
  }
  .static-product-grid .product-card.active,
  .static-product-grid .product-card:hover {
      transform: none;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 768px) {
  section {
      padding: 80px 0;
  }
  .section-title {
      font-size: 2.2rem;
      margin-bottom: 60px;
  }
  #hero {
      padding-top: 100px;
  }
  .steps-grid-new {
      grid-template-columns: 1fr;
      gap: 80px;
  }
  .step-notes-section {
      width: 100%;
      margin: 0;
  }
  .pba-grid {
      grid-template-columns: 1fr;
  }
  .prize-overlay-image {
      width: 90%;
  }
}

@media (max-width: 600px) {
  .product-list-header {
      display: none;
  }
  .product-list-table li {
      grid-template-columns: 1fr; 
      gap: 8px;
      padding: 15px;
      text-align: left;
  }
  .product-list-table .product-price {
      justify-content: flex-start; 
      text-align: left;
  }
  .product-list-header .header-title:last-child,
  .product-list-table .product-price {
      text-align: left;
  }
}


@media (max-width: 480px) {
  section {
      padding: 60px 0;
  }
  .section-title {
      font-size: 1.8rem;
      margin-bottom: 40px;
  }
  .tab-button, .filter-button {
      padding: 10px 15px;
      font-size: 0.9rem;
  }
  .category-filters {
      width: 100%;
      justify-content: center;
  }
  .product-swiper .swiper-slide {
      width: 300px; 
  }
  .bonus-description {
      font-size: 1rem;
  }
  .modal-content {
      padding: 30px 20px;
  }
}


@media (max-width: 768px) {
  .tab-buttons,
  .category-filters {
      flex-wrap: wrap;
      border-radius: 12px; 
      padding: 10px;
      justify-content: center; 
  }


  .tab-buttons::before,
  .category-filters::before {
      display: none; 
  }


  .tab-button,
  .filter-button {
      margin: 5px;
  }


  .tab-button.active,
  .filter-button.active {
      background-color: var(--gold);
      color: var(--text-dark);
      border-radius: 50px; 
  }
}


@media (max-width: 992px) {

  .mobile-nav-toggle {
      display: none !important;
  }


  .main-nav {
      display: block !important;
  }
  

  .sticky-nav .container {
      justify-content: center;
  }


  .main-nav ul {
     flex-wrap: wrap;
     justify-content: center;
  }
}

/* --- 網站資訊聲明橫幅 (固定在底部) --- */
#site-disclaimer {
  position: fixed; 
  bottom: 0;       
  left: 0;
  right: 0;
  z-index: 1500;   
  
  background-color: #1A1A1A; 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  
  color: #ccc;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  
  border-top: 1px solid rgba(var(--gold-rgb), 0.2); 
  transition: transform 0.3s ease-in-out; 
}

#site-disclaimer p {
  margin: 0;
  padding: 0;
}

#site-disclaimer strong {
  color: #e0e0e0;
  margin-right: 8px;
}

/* --- RWD: 響應式調整 - 網站資訊聲明橫幅 --- */
@media (max-width: 768px) {
  #site-disclaimer {
      font-size: 0.75rem; 
      padding: 10px 15px;   
  }

  body {
      padding-bottom: 70px; 
  }
}

.deals-content-wrapper {
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: #00000058;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); 
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

/* =================================================== */
/* 13. Cookie Consent Banner Styles                    */
/* =================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000; /* 確保在最上層 */
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ccc;
  padding: 20px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
  transition: transform 0.5s ease-in-out;
}

#cookie-banner.cookie-banner-hidden {
  transform: translateY(100%);
}

#cookie-banner.cookie-banner-visible {
  transform: translateY(0);
}

#cookie-banner .cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

#cookie-banner a {
  color: var(--gold-bright);
  text-decoration: underline;
  font-weight: bold;
}

#cookie-banner button {
  background-color: #d70026; /* ROG Red */
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

#cookie-banner button:hover {
  background-color: #b80021;
}

@media (max-width: 768px) {
  #cookie-banner .cookie-banner-content {
      flex-direction: column;
      text-align: center;
  }
  #cookie-banner button {
      width: 100%;
  }
}