:root {
  color-scheme: dark;
  --bg: #070403;
  --panel: rgba(24, 12, 9, .82);
  --panel-strong: rgba(38, 17, 12, .9);
  --line: rgba(218, 166, 79, .34);
  --line-soft: rgba(218, 166, 79, .18);
  --gold: #f0c66d;
  --gold-strong: #d79b35;
  --text: #fff4df;
  --muted: #cdb999;
  --red: #8d1e16;
  --red-glow: rgba(185, 37, 22, .42);
  --shadow: rgba(0, 0, 0, .5);
  font-family: "Noto Serif TC", "Microsoft JhengHei", "PingFang TC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(139, 22, 14, .3), transparent 28rem),
    linear-gradient(180deg, #050302 0%, #120806 48%, #070403 100%);
  color: var(--text);
  min-width: 320px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 3, 2, .78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--gold);
  font-weight: 800;
}

.brand img {
  width: 74px;
  height: auto;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d7c5aa;
  font-size: 15px;
}

.nav a {
  opacity: .86;
  transition: color .2s ease, opacity .2s ease;
}

.nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 3, 2, .98) 0%, rgba(5, 3, 2, .88) 29%, rgba(5, 3, 2, .32) 58%, rgba(5, 3, 2, .52) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72)),
    url("assets/img/hero-one.jpg") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 42%, transparent 0 14rem, rgba(7, 4, 3, .18) 24rem, rgba(7, 4, 3, .6) 48rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 96px);
  mix-blend-mode: screen;
  opacity: .56;
}

.hero-inner,
.section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-copy {
  width: min(650px, 100%);
  min-width: 0;
  padding: 52px 0 42px;
}

.hero-logo {
  width: 180px;
  margin-bottom: 26px;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.55));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  font-size: 17px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .98;
  font-weight: 900;
  text-shadow: 0 5px 30px rgba(0,0,0,.75);
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #f0dfc5;
  font-size: 20px;
  line-height: 1.9;
  text-shadow: 0 4px 18px rgba(0,0,0,.72);
}

.hero-actions,
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--gold);
  background: rgba(7, 4, 3, .62);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 198, 109, .72);
  background: rgba(55, 22, 14, .82);
}

.btn.primary {
  color: #160b04;
  border-color: #f3c96d;
  background: linear-gradient(180deg, #ffd978 0%, #c68b2b 100%);
  box-shadow: 0 16px 34px rgba(173, 93, 20, .25);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  border: 1px solid rgba(240, 198, 109, .28);
  border-radius: 999px;
  padding: 9px 13px;
  color: #f3dfb1;
  background: rgba(20, 8, 5, .62);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head h2,
.notice h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.section-head p:not(.eyebrow),
.notice p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

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

.status-grid article,
.versus-grid article,
.notice,
.recommend {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(50, 20, 12, .86), rgba(13, 7, 5, .88)),
    radial-gradient(circle at 40% 0%, rgba(190, 48, 24, .18), transparent 28rem);
  box-shadow: 0 22px 60px var(--shadow);
}

.status-grid article {
  min-height: 220px;
  padding: 24px;
}

.status-grid b {
  color: var(--gold);
  font-size: 15px;
}

.status-grid h3,
.versus-grid h3,
.feature-card h3 {
  margin: 12px 0 10px;
  color: #fff5de;
  font-size: 26px;
  line-height: 1.2;
}

.status-grid p,
.feature-card p,
.versus-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.split-section {
  width: min(1220px, calc(100% - 48px));
}

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

.feature-card {
  position: relative;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #140907;
  box-shadow: 0 22px 60px var(--shadow);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: .72;
  transition: transform .45s ease, opacity .3s ease;
}

.feature-card:hover img {
  transform: scale(1.04);
  opacity: .88;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,3,2,.12) 0%, rgba(5,3,2,.55) 44%, rgba(5,3,2,.95) 100%);
}

.feature-card div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.feature-card span,
.versus-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(240, 198, 109, .4);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(8, 4, 3, .66);
  font-size: 13px;
  font-weight: 800;
}

.feature-card.muted img {
  filter: saturate(.75) brightness(.78);
}

.feature-card.boss {
  border-color: rgba(224, 61, 34, .62);
  box-shadow: 0 22px 70px rgba(122, 17, 11, .36);
}

.feature-card.boss img {
  object-position: center 58%;
}

.feature-card.boss span {
  color: #ffd08a;
  border-color: rgba(232, 72, 38, .64);
  background: rgba(76, 12, 8, .72);
}

.versus-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

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

.versus-grid article {
  padding: 30px;
}

.versus-grid a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 900;
  border-bottom: 1px solid rgba(240, 198, 109, .45);
}

.notice-section {
  padding-bottom: 64px;
}

.notice {
  padding: 34px;
  text-align: center;
}

.notice p {
  max-width: 850px;
  margin: 0 auto 26px;
}

.notice-actions {
  justify-content: center;
}

.site-footer {
  padding: 30px 0 42px;
  text-align: center;
  color: var(--muted);
}

.recommend {
  width: min(260px, 100%);
  margin: 0 auto 28px;
  padding: 16px 20px;
}

.recommend strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
}

.recommend img {
  width: 132px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-row img {
  width: 62px;
}

.footer-row p {
  margin: 0;
}

.footer-row a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    position: absolute;
    height: auto;
    min-height: 68px;
    padding: 12px 24px;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(5, 3, 2, .96) 0%, rgba(5, 3, 2, .72) 54%, rgba(5, 3, 2, .74) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72)),
      url("assets/img/hero-one.jpg") center right / cover no-repeat;
  }

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

  .feature-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  body {
    width: 100%;
    max-width: 100vw;
  }

  .topbar {
    position: static;
    display: block;
    padding: 12px 18px 16px;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand {
    justify-content: center;
    margin-bottom: 10px;
  }

  .nav {
    justify-content: center;
    gap: 10px 14px;
    max-width: 100%;
  }

  .nav a {
    padding: 4px 0;
  }

  .hero-inner,
  .section,
  .site-footer,
  .split-section {
    width: 100%;
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }

  .lead,
  .section-head p:not(.eyebrow),
  .status-grid p,
  .feature-card p,
  .versus-grid p,
  .notice p {
    max-width: calc(100vw - 32px);
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 3, 2, .66) 0%, rgba(5, 3, 2, .95) 44%, rgba(5, 3, 2, 1) 100%),
      url("assets/img/hero-one.jpg") 65% top / auto 56vh no-repeat;
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 270px;
  }

  .hero-copy {
    padding: 26px 0 42px;
    width: 100%;
    max-width: 100%;
  }

  .hero-logo {
    width: 132px;
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .lead {
    font-size: 17px;
    line-height: 1.8;
  }

  .hero-actions .btn,
  .notice-actions .btn {
    width: 100%;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }

  .hero-tags span {
    width: 100%;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head,
  .section-head.left {
    text-align: left;
    margin-bottom: 26px;
  }

  .status-grid,
  .feature-grid,
  .versus-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .feature-card,
  .feature-card img,
  .feature-card.wide {
    grid-column: span 1;
    min-height: 360px;
  }

  .status-grid article,
  .versus-grid article,
  .notice {
    width: 100%;
    max-width: 100%;
    padding: 22px;
  }

  .feature-card div {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .brand span {
    white-space: normal;
  }

  .nav {
    font-size: 13px;
  }

  .hero-inner {
    padding-top: 250px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-tags span {
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section-head h2,
  .notice h2 {
    font-size: 34px;
  }
}
