/* 泰圈 - 泰剧在线看与字幕 */
:root {
  --teal: #123c3a;
  --teal-2: #1b524e;
  --gold: #d9a441;
  --gold-deep: #b3812a;
  --cream: #fbf7ef;
  --sand: #f3ebdd;
  --white: #ffffff;
  --ink: #1b2b28;
  --mu: #6d7a74;
  --line: #e3d9c8;
  --head: 74px;
  --w: 1150px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
ul, ol, p, h1, h2, h3, h4, dl, dd, dt, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid rgba(217, 164, 65, 0.7); outline-offset: 3px; }

.wrap { width: min(var(--w), calc(100% - 48px)); margin-inline: auto; }

/* 顶栏 */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hd-in {
  height: var(--head);
  display: flex;
  align-items: center;
  gap: 24px;
}
.hd-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.hd-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.hd-brand b {
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--teal);
}
.hd-brand small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--mu);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  padding: 9px 13px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav a:hover { color: var(--gold-deep); border-color: var(--gold); }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  background: var(--teal);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 3px;
  border-bottom: 3px solid var(--gold);
  transition: background 0.18s ease;
}
.cta:hover { background: var(--teal-2); }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 11px 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--teal);
  border-radius: 2px;
}

/* 英雄区：暖白底 + 错落旋转剧照 + 中字印章 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 164, 65, 0.14), transparent 40%),
    linear-gradient(180deg, #fdfaf3, #f7f1e5);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(18, 60, 58, 0.04) 0 1px, transparent 1px 34px);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 40px;
  align-items: center;
}
.kick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}
.kick::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--teal);
}
.hero-sub {
  margin-top: 16px;
  font-size: 21px;
  font-weight: 800;
  color: var(--gold-deep);
}
.hero-desc {
  margin-top: 14px;
  max-width: 30em;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--mu);
}
.acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--teal);
  color: var(--cream);
  font-size: 15px;
  font-weight: 800;
  border-radius: 3px;
  border-bottom: 4px solid var(--gold);
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--teal-2); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.ghost {
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  border-bottom: 1px solid var(--gold);
}
.ghost:hover { color: var(--gold-deep); }
.hero-meta {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--mu);
}
.hero-meta time { color: var(--gold-deep); font-weight: 800; }

.stage {
  position: relative;
  min-width: 0;
  min-height: 380px;
  padding: 14px 10px 26px;
}
.poster {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 20px 34px -26px rgba(18, 60, 58, 0.7);
  overflow: hidden;
}
.poster img { width: 100%; }
.poster-big {
  top: 8px;
  left: 34%;
  z-index: 3;
  width: 40%;
  border-color: var(--gold);
}
.poster-big figcaption {
  padding: 9px 10px;
  background: var(--teal);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}
.poster-a {
  top: 34px;
  left: 3%;
  z-index: 2;
  width: 34%;
  transform: rotate(-5deg);
}
.poster-b {
  top: 74px;
  right: 2%;
  z-index: 1;
  width: 32%;
  transform: rotate(5deg);
}
.seal {
  position: absolute;
  left: 6%;
  bottom: 8px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  color: #3a2a08;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: 0 12px 22px -14px rgba(18, 60, 58, 0.8);
}

/* 数据带 */
.stats {
  background: var(--teal);
  color: var(--cream);
}
.stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 20px 18px;
  border-left: 1px solid rgba(251, 247, 239, 0.16);
}
.stats li:first-child { border-left: 0; }
.stats b {
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}
.stats span { font-size: 12.5px; font-weight: 600; }

/* 入口下载 */
.entry { padding: 58px 0 4px; }
.entry-panel {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  align-items: center;
  padding: 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  box-shadow: 10px 10px 0 -1px var(--sand);
}
.entry-panel h2 {
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--teal);
}
.entry-panel p {
  margin-top: 10px;
  max-width: 38em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mu);
}
.lab {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}
.spec dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mu);
}
.spec dd {
  padding-top: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--teal);
  border-top: 2px solid var(--gold);
}

/* 区块通用 */
.sec { padding: 74px 0; }
.sh { max-width: 42em; margin-bottom: 32px; }
.sh h2 {
  font-size: clamp(27px, 3.1vw, 35px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--teal);
}
.sh p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mu);
}

/* 核心特色：三列描边数字 */
.feats { background: var(--white); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 34px;
}
.feat {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.feat .no {
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold);
}
.feat h4 {
  margin: 10px 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--teal);
}
.feat p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mu);
}

/* 功能与界面：白底说明在上 */
.screens { background: var(--white); }
.rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.shot {
  min-width: 0;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.shot figcaption {
  padding: 2px 4px 11px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--teal);
}
.shot img { width: 100%; border-radius: 3px; border: 1px solid rgba(18, 60, 58, 0.1); }
.guide {
  margin-top: 32px;
  padding: 26px 30px;
  background: var(--sand);
  border-radius: 6px;
}
.guide h4 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--teal);
}
.guide-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mu);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mu);
  border-top: 1px solid rgba(18, 60, 58, 0.16);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -13px;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}
.steps b {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--teal);
}

/* FAQ */
.faq { background: var(--cream); }
.faq-list { max-width: 880px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--teal);
}
.qa summary i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.qa summary i::before,
.qa summary i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--gold-deep);
}
.qa summary i::after { transform: rotate(90deg); transition: transform 0.2s ease; }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa > p {
  padding: 0 34px 18px 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--mu);
}

/* 用户评价 */
.rev { background: var(--white); }
.rev-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.rv {
  padding: 20px 0 16px;
  border-top: 1px solid var(--line);
}
.rv blockquote {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink);
}
.rv footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--mu);
}
.rv footer b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background: var(--sand);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
}
.rv footer em { font-style: normal; font-weight: 700; color: var(--teal); }
.rv footer time { margin-left: auto; font-size: 11px; }

/* 立即下载 */
.download { padding: 0 0 82px; background: var(--white); }
.ticket {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: center;
  padding: 34px 36px;
  background:
    radial-gradient(circle at 8% 92%, rgba(217, 164, 65, 0.18), transparent 44%),
    linear-gradient(145deg, #164744, #123c3a);
  color: var(--cream);
  border-radius: 6px;
}
.ticket-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.ticket-main > img {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 10px;
  background: var(--cream);
  border: 2px solid var(--gold);
}
.ticket h2 {
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--cream);
}
.ticket-main p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(251, 247, 239, 0.7);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chips li {
  padding: 3px 11px;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f0d7a4;
}
.ticket-side { text-align: right; }
.ticket .btn {
  background: var(--gold);
  color: #3a2a08;
  border-bottom-color: #a3761f;
}
.ticket .btn:hover { background: #e8b453; }
.ticket-side .btn { width: 100%; }
.dl-note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.55);
}

/* 页脚 */
.ft {
  background: var(--teal);
  color: rgba(251, 247, 239, 0.7);
  padding: 44px 0 28px;
  font-size: 13px;
}
.ft-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(251, 247, 239, 0.16);
}
.ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--cream);
}
.ft-brand img { border-radius: 6px; }
.ft-brand b { font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }
.ft-top p { max-width: 44em; line-height: 1.85; }
.ft-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-content: flex-start;
  justify-content: flex-end;
  font-weight: 700;
}
.ft-nav a:hover { color: var(--gold); }
.ft-c {
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(251, 247, 239, 0.5);
}
.ft-c a:hover { color: var(--gold); }
.ft-c .icp { margin-left: 12px; }
.ft-c .dc { display: block; margin-top: 8px; }

/* 返回顶部 */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: var(--teal);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.backtop.on { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .stage { max-width: 640px; width: 100%; margin-inline: auto; }
  .entry-panel { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .ticket { grid-template-columns: 1fr; padding: 28px 26px; }
  .ticket-side { text-align: left; }
  .ticket-side .btn { width: auto; }
  .ft-top { grid-template-columns: 1fr; gap: 18px; }
  .ft-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --head: 62px; }
  .wrap { width: calc(100% - 36px); }
  .nav {
    position: absolute;
    top: var(--head);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 18px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: block; margin-left: auto; }
  .cta { min-height: 38px; padding: 0 13px; font-size: 12.5px; }
  .hd-in { gap: 8px; }
  .hd-brand img { width: 34px; height: 34px; }
  .hd-brand b { font-size: 16px; }
  .hd-brand small { display: none; }
  .hero { padding: 40px 0 46px; }
  .hero h1 { font-size: clamp(40px, 13vw, 56px); }
  .hero-sub { font-size: 18px; }
  .hero-desc { font-size: 14px; }
  .stage { min-height: 300px; padding: 4px 4px 20px; }
  .poster-big { left: 30%; width: 44%; }
  .poster-a { left: 1%; width: 34%; }
  .poster-b { right: 1%; width: 32%; top: 58px; }
  .seal { width: 68px; height: 68px; font-size: 11.5px; left: 2%; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 15px 12px; border-bottom: 1px solid rgba(251, 247, 239, 0.14); }
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:nth-child(n+3) { border-bottom: 0; }
  .stats b { font-size: 22px; }
  .entry { padding: 40px 0 0; }
  .entry-panel { padding: 22px 18px; box-shadow: 6px 6px 0 -1px var(--sand); }
  .spec { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .sec { padding: 50px 0; }
  .feat-grid { grid-template-columns: 1fr; gap: 24px; }
  .rail { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .guide { padding: 20px 18px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .qa > p { padding-right: 10px; }
  .rev-list { grid-template-columns: 1fr; }
  .ticket { padding: 22px 18px; }
  .ticket-main { gap: 13px; }
  .ticket-main > img { width: 50px; height: 50px; }
  .ft { padding: 32px 0 22px; }
  .ft-nav { gap: 8px 16px; }
  .backtop { right: 14px; bottom: 22px; width: 40px; height: 40px; }
}
