:root {
  --ink: #fff8e8;
  --muted: #d8cab1;
  --gold: #ffd56a;
  --gold-2: #c58a24;
  --mint: #79f0bd;
  --panel: rgba(8, 7, 13, .76);
  --panel-strong: rgba(8, 7, 13, .9);
  --line: rgba(255, 213, 106, .32);
  --teal-line: rgba(101, 225, 188, .35);
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  line-height: 1.72;
  background: #08060d;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(5, 4, 8, .64), rgba(9, 2, 16, .64)),
    url("uploads/background_01.webp") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 213, 106, .08), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, .46), transparent 18%, transparent 82%, rgba(0, 0, 0, .46));
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 213, 106, .18);
  background: rgba(7, 6, 12, .82);
  backdrop-filter: blur(14px);
}

.brand {
  grid-column: 2;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(255, 213, 106, .32);
}

.nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus {
  color: var(--gold);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(0, 0, 0, .36);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.page-shell {
  width: min(1180px, calc(100% - 124px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  min-height: auto;
  padding: 44px 0 22px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 213, 106, .08);
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 640px;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--gold);
  font-size: .88em;
}

h2 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #fff1b8;
  font-size: 22px;
  line-height: 1.35;
}

p {
  color: var(--muted);
  font-size: 18px;
}

.lead {
  max-width: 680px;
  color: #f2e6cf;
  font-size: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 34px;
  border: 1px solid rgba(255, 213, 106, .62);
  border-radius: 0;
  color: #15100a;
  background:
    linear-gradient(105deg, #fff4b8 0 16%, #f6c34b 17% 62%, #8f5611 63% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 10px 0 0 rgba(15, 9, 4, .22),
    0 16px 34px rgba(255, 170, 34, .2);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 18px 50%);
  font-weight: 900;
  text-decoration: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 5px 7px;
  border: 1px solid rgba(35, 20, 8, .2);
  clip-path: inherit;
  pointer-events: none;
}

.btn::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 10px;
  width: 7px;
  height: calc(100% - 20px);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(45, 25, 5, .18));
}

.hero .btn {
  min-width: 190px;
  min-height: 52px;
}

.hero .btn:first-child {
  min-width: 214px;
  color: #170c04;
  background:
    linear-gradient(90deg, #ffed9d 0 18%, #d89b24 19% 66%, #5b3208 67% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .72),
    inset -16px 0 0 rgba(0, 0, 0, .18),
    0 22px 38px rgba(224, 154, 34, .22);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.btn.secondary {
  color: var(--ink);
  background:
    linear-gradient(100deg, rgba(4, 22, 22, .9), rgba(7, 7, 12, .48));
  border-color: var(--teal-line);
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

.btn.secondary::after {
  background: linear-gradient(180deg, rgba(255, 213, 106, .68), rgba(101, 225, 188, .22));
}

.slide .btn {
  min-height: 44px;
  padding-inline: 22px 30px;
  color: #fff5cc;
  background: linear-gradient(90deg, #0c1f1c 0 22%, #e5b84a 23% 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 16px 100%);
}

.feature-band .btn {
  color: #fff9df;
  border-color: var(--teal-line);
  background: linear-gradient(135deg, rgba(4, 44, 36, .96), rgba(15, 119, 91, .68), rgba(8, 10, 14, .9));
  box-shadow: 0 16px 34px rgba(0, 255, 190, .12);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.feature-band .btn::after {
  background: linear-gradient(180deg, rgba(255, 213, 106, .7), rgba(101, 225, 188, .18));
}

.final-cta .btn {
  min-width: 300px;
  letter-spacing: .04em;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 28px 100%, 0 50%);
}

.hero-media {
  position: relative;
}

.hero-card,
.hero-video {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .38);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020205;
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.trust-strip span,
.stat {
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #b9ffd9;
  background: rgba(0, 20, 18, .38);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

#activities {
  padding-top: 32px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(240px, .55fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.section-head p {
  margin-bottom: 0;
}

.carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform .45s ease;
}

.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 28px;
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  visibility: hidden;
}

.slide.is-active {
  visibility: visible;
}

.slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 20px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  width: 28px;
  background: var(--gold);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  overflow: hidden;
  border: 1px solid rgba(255, 213, 106, .24);
  border-radius: var(--radius);
  background: var(--panel);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.feature-band img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(0, 18, 18, .44);
  min-height: 174px;
}

.step:nth-child(2) {
  border-color: rgba(255, 213, 106, .34);
  background: linear-gradient(135deg, rgba(255, 213, 106, .08), rgba(0, 18, 18, .44));
}

.step:nth-child(3) {
  border-color: rgba(180, 128, 255, .34);
  background: linear-gradient(135deg, rgba(113, 70, 176, .16), rgba(0, 18, 18, .44));
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--mint);
  font-size: 24px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

details {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

details[open] {
  border-color: rgba(255, 213, 106, .46);
  background: linear-gradient(135deg, rgba(255, 213, 106, .08), rgba(6, 6, 12, .9));
}

summary {
  display: flex;
  align-items: center;
  min-height: 56px;
  cursor: pointer;
  padding: 14px 18px;
  color: #fff1b8;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.faq-list-long {
  grid-template-columns: 1fr;
}

.faq-list-long summary {
  min-height: 50px;
}

.faq-list-long details p,
.faq-list-long details ul,
.faq-list-long details ol {
  padding: 0 22px 18px;
}

.faq-list-long ul,
.faq-list-long ol,
.article-section ul,
.article-section ol {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.faq-list-long li + li,
.article-section li + li {
  margin-top: 6px;
}

.article-layout {
  display: grid;
  gap: 22px;
  padding-bottom: 72px;
}

.article-intro,
.comparison-panel,
.article-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 7, 13, .78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.article-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
}

.article-intro img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-panel {
  padding: 22px;
}

.comparison-panel strong {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 15px;
  letter-spacing: .04em;
}

.article-accordion {
  display: grid;
  gap: 12px;
}

.article-section summary {
  min-height: 62px;
  color: var(--gold);
  font-size: 20px;
}

.article-section p {
  padding: 0 22px 18px;
}

.article-section .note {
  color: #fff1b8;
  font-weight: 900;
}

.final-cta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(255, 213, 106, .14), rgba(101, 225, 188, .08)),
    rgba(0, 0, 0, .42);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 62px 0 38px;
  min-height: auto;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding-bottom: 90px;
}

.page-grid img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer {
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #b9ab91;
  background: rgba(0, 0, 0, .34);
  text-align: center;
}

.floating-line {
  position: fixed;
  left: 0;
  top: 54%;
  z-index: 70;
  display: inline-flex;
  width: 54px;
  min-height: 138px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 213, 106, .55);
  border-left: 0;
  border-radius: 0;
  color: #ffe9a6;
  background:
    linear-gradient(180deg, rgba(5, 14, 14, .98), rgba(8, 54, 43, .96) 58%, rgba(190, 128, 28, .94));
  box-shadow:
    inset 0 0 0 1px rgba(101, 225, 188, .18),
    0 18px 40px rgba(0, 0, 0, .36);
  clip-path: polygon(0 0, 100% 11%, 100% 89%, 0 100%);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  transform: translateY(-50%);
}

.floating-line span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.05;
}

.music-control {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 71;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--teal-line);
  border-radius: 999px;
  background: rgba(5, 10, 12, .9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .36);
  transform: translateY(-50%);
}

.music-control button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #15100a;
  background: linear-gradient(135deg, #fff0a8, var(--gold));
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.music-control small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.music-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 220px;
  height: 124px;
  overflow: hidden;
  opacity: .001;
  pointer-events: none;
  transform: scale(.12);
  transform-origin: right bottom;
}

.entry-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
}

.entry-popup[hidden] {
  display: none;
}

.entry-popup-card {
  position: relative;
  width: min(520px, 94vw);
}

.entry-popup-card a {
  display: block;
}

.entry-popup-card img {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .58);
}

.entry-popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .68);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .page-shell {
    width: min(920px, calc(100% - 92px));
  }

  .hero,
  .slide,
  .feature-band,
  .page-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
  }

  .brand {
    grid-column: 1;
    font-size: 20px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .topbar.is-open .nav {
    display: grid;
  }

  .nav a {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .22);
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
  }

  p,
  .lead {
    font-size: 16px;
  }

  .hero {
    padding: 26px 0 22px;
    gap: 22px;
  }

  .hero-media {
    margin-top: 20px;
    width: 100%;
  }

  .hero-card img,
  .hero-video,
  .slide img,
  .card img {
    width: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, .72);
  }

  .cta-row {
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 14px 50%);
  }

  .hero .btn.secondary {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 14px 100%);
  }

  .grid,
  .steps,
  .faq-list,
  .comparison-grid,
  .article-intro,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .article-layout {
    padding-bottom: 48px;
  }

  .article-intro,
  .comparison-panel {
    padding: 18px;
  }

  .article-section summary {
    min-height: 54px;
    font-size: 18px;
  }

  .section {
    padding: 34px 0;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .page-shell {
    width: min(100% - 28px, 430px);
  }

  .floating-line {
    position: fixed;
    left: 14px;
    right: 76px;
    top: auto;
    bottom: 12px;
    z-index: 80;
    width: auto;
    max-width: none;
    min-height: 46px;
    height: 46px;
    padding: 0 15px;
    color: #ffe9a6;
    background:
      linear-gradient(90deg, rgba(4, 22, 20, .96), rgba(10, 42, 34, .94) 58%, rgba(180, 119, 24, .92));
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 14px 50%);
    margin: 0;
    font-size: 14px;
    transform: none;
  }

  .floating-line span {
    writing-mode: horizontal-tb;
  }

  .music-control {
    position: fixed;
    right: 14px;
    bottom: 12px;
    width: 50px;
    height: 50px;
    margin: 0;
    transform: none;
  }

  .music-control button {
    width: 38px;
    height: 38px;
  }

  .music-host {
    right: 8px;
    bottom: 70px;
    transform: scale(.08);
  }

  .entry-popup {
    padding: 14px;
  }

  .entry-popup-card {
    width: min(390px, 94vw);
  }

  .entry-popup-close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
}
