:root {
  color-scheme: dark;
  --page: #080808;
  --surface: #1c1c1c;
  --gold: #fcdead;
  --gold-muted: rgba(252, 222, 173, 0.56);
  --gold-faint: rgba(252, 222, 173, 0.32);
  --gold-deep: #8d5e2d;
  --gold-note: #9f8054;
  --focus: #fff2d9;
  --content-width: 800px;
  --radius: 14px;
  --font: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--gold);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.campaign {
  width: min(100%, 1000px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  height: 306px;
  overflow: hidden;
}

.hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.load-safe-image {
  visibility: hidden;
}

.load-safe-image[data-load-state="loaded"] {
  visibility: visible;
}

.particle-field {
  position: absolute;
  overflow: hidden;
  contain: layout paint;
  pointer-events: none;
}

.hero-particles {
  z-index: 1;
  inset: 4% 18% 10%;
}

.gold-particle {
  position: absolute;
  top: var(--particle-y);
  left: var(--particle-x);
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fff9e4 0 18%,
    #ffd487 34%,
    rgba(221, 151, 58, 0.78) 58%,
    transparent 76%
  );
  box-shadow:
    0 0 5px rgba(255, 197, 104, 0.72),
    0 0 10px rgba(184, 111, 31, 0.28);
  opacity: 0.04;
  transform: translate3d(0, 2px, 0) scale(0.62);
  animation: gold-particle-twinkle var(--particle-duration) ease-in-out
    var(--particle-delay) infinite;
}

@keyframes gold-particle-twinkle {
  0%,
  100% {
    opacity: 0.04;
    transform: translate3d(0, 2px, 0) scale(0.62);
  }

  34% {
    opacity: 0.12;
  }

  58% {
    opacity: var(--particle-alpha);
    transform: translate3d(var(--particle-drift), -2px, 0) scale(1);
  }

  82% {
    opacity: 0.07;
    transform: translate3d(var(--particle-drift), -4px, 0) scale(0.72);
  }
}

.content {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
}

.panel {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
}

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

.panel h2 {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.reasons {
  min-height: 204px;
  padding: 18px 40px 24px;
}

.reasons::before,
.benefits::before,
.rules::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 2px);
  height: 24px;
  background: radial-gradient(
    ellipse 70% 18px at center top,
    rgba(219, 154, 61, 0.42),
    transparent 74%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.reason-grid {
  margin-top: 26px;
}

.reason-grid-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.reason-item {
  grid-column: span var(--why-web-span, 3);
  min-width: 0;
  text-align: center;
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reason-item img {
  width: 36px;
  height: 40px;
  margin: 0 auto 6px;
  object-fit: contain;
}

.reason-item h3 {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.reason-item p {
  margin-bottom: 0;
  color: var(--gold-muted);
  font-size: 12px;
  line-height: 1.45;
}

.mobile-copy {
  display: none;
}

.purchase {
  min-height: 401px;
  margin-top: 17px;
  padding: 30px 0 16px;
  text-align: center;
}

.purchase-visual {
  position: relative;
  width: 100%;
}

.vip-card-stage {
  position: relative;
  display: block;
  width: 340px;
  height: 192px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  transform-origin: center;
  transition:
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vip-card-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vip-card-stage::after {
  position: absolute;
  z-index: 3;
  top: -82%;
  left: -54%;
  width: 24%;
  height: 270%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(231, 173, 81, 0.06) 18%,
    rgba(255, 244, 208, 0.5) 48%,
    rgba(255, 211, 137, 0.22) 64%,
    transparent 100%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-120%, 0, 0) rotate(45deg);
  transform-origin: center;
}

.card-particles {
  z-index: 2;
  inset: 5% 5% 7%;
}

@keyframes vip-card-shine {
  0% {
    opacity: 0;
    transform: translate3d(-120%, 0, 0) rotate(45deg);
  }

  20% {
    opacity: 0.34;
  }

  58% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: translate3d(760%, 0, 0) rotate(45deg);
  }
}

.chevrons {
  position: absolute;
  top: 44px;
  width: 190px;
  height: 220px;
  pointer-events: none;
}

.chevrons-left {
  left: 20px;
}

.chevrons-right {
  right: 20px;
  transform: scaleX(-1);
}

.chevrons i {
  position: absolute;
  inset-block: 0;
  width: 80px;
}

.chevrons i:nth-child(1) {
  left: 0;
}

.chevrons i:nth-child(2) {
  left: 55px;
}

.chevrons i:nth-child(3) {
  left: 110px;
}

.chevrons i::before,
.chevrons i::after {
  position: absolute;
  right: 0;
  width: 115px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(130, 76, 24, 0.03),
    rgba(157, 96, 32, 0.44)
  );
  content: "";
  transform-origin: right center;
}

.chevrons i::before {
  top: 50%;
  transform: rotate(60deg);
}

.chevrons i::after {
  bottom: 50%;
  transform: rotate(-60deg);
}

.price-line {
  position: relative;
  display: flex;
  width: 340px;
  min-height: 68px;
  align-items: flex-end;
  justify-content: center;
  margin: 10px auto 0;
}

.price-line strong {
  color: var(--gold);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(
    90deg,
    #ffe6b5 0%,
    #f7cb86 27%,
    #e8ae60 50%,
    #f7cb86 73%,
    #ffe6b5 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-line > span {
  position: absolute;
  bottom: 13px;
  left: calc(50% + 101px);
  color: var(--gold-muted);
  font-size: 14px;
  white-space: nowrap;
}

.price-line strong span {
  font: inherit;
}

.buy-button {
  display: flex;
  width: 340px;
  min-height: 52px;
  margin: 7px auto 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(100deg, #e9aa52, #ffdda0);
  color: #281507;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    box-shadow 220ms ease-out,
    transform 180ms ease-out;
}

.buy-button:hover {
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.78),
    0 10px 34px rgba(213, 146, 54, 0.5);
  transform: translateY(-2px);
}

.buy-button:active {
  transform: translateY(1px);
}

.buy-button.is-ended,
.buy-button.is-ended:hover,
.buy-button[aria-disabled="true"] {
  background: #8f877d;
  box-shadow: none;
  color: #4f4942;
  cursor: not-allowed;
  transform: none;
}

.purchase .purchase-note {
  max-width: 610px;
  margin: 13px auto 0;
  color: var(--gold-note);
  font-size: 13px;
  line-height: 1.5;
}

.purchase-note a {
  color: inherit;
  text-underline-offset: 2px;
}

.benefits {
  min-height: 405px;
  margin-top: 20px;
  padding: 18px 32px 24px;
}

.panel-heading {
  position: relative;
}

.benefits-toggle {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 64px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-muted);
  cursor: pointer;
  font: 13px/1.4 var(--font);
  letter-spacing: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: 25px;
  column-gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-grid li {
  min-width: 0;
  text-align: center;
}

.benefit-grid img,
.benefit-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 7px;
  flex: 0 0 40px;
  object-fit: contain;
  transform-origin: center;
  transition:
    opacity 280ms ease-out,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-icon {
  display: block;
  background: url("./assets/icon_longterm_privilege.svg") no-repeat;
  background-size: 840px 40px;
}

.benefit-icon-transfer {
  background-position-x: -40px;
}
.benefit-icon-unload {
  background-position-x: -80px;
}
.benefit-icon-review {
  background-position-x: -120px;
}
.benefit-icon-4k {
  background-position-x: -160px;
}
.benefit-icon-fivespeed {
  background-position-x: -200px;
}
.benefit-icon-screen {
  background-position-x: -240px;
}
.benefit-icon-picinpic {
  background-position-x: -280px;
}
.benefit-icon-catalogue {
  background-position-x: -320px;
}
.benefit-icon-text {
  background-position-x: -360px;
}
.benefit-icon-screenshot {
  background-position-x: -400px;
}
.benefit-icon-unzip {
  background-position-x: -440px;
}
.benefit-icon-folderup {
  background-position-x: -480px;
}
.benefit-icon-folderdown {
  background-position-x: -520px;
}
.benefit-icon-shared {
  background-position-x: -560px;
}
.benefit-icon-trashtime {
  background-position-x: -600px;
}
.benefit-icon-sq {
  background-position-x: -640px;
}
.benefit-icon-edit {
  background-position-x: -680px;
}
.benefit-icon-time {
  background-position-x: -720px;
}
.benefit-icon-honorable {
  background-position-x: -760px;
}
.benefit-icon-link {
  background-position-x: -800px;
}

.benefit-grid span {
  display: block;
  min-height: 32px;
  color: var(--gold-muted);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
  transition:
    color 280ms ease-out,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rules {
  min-height: 293px;
  margin-top: 20px;
  margin-bottom: 23px;
  padding: 18px 40px 26px;
}

.rules-content {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.rules-content strong,
.rules-content h3 {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0;
}

.rules-content p,
.rules-content ol,
.rules-content ul {
  margin: 0;
}

.rules-content ol,
.rules-content ul {
  padding-left: 1.55em;
}

.rules-content p,
.rules-content li {
  color: var(--gold-muted);
  font-size: 14px;
  line-height: 1.85;
}

.rules-content li + li,
.rules-content p + p,
.rules-content p + ol,
.rules-content p + ul,
.rules-content ol + p,
.rules-content ul + p {
  margin-top: 4px;
}

.rules-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .reason-item:hover {
    transform: scale(1.08);
  }

  .vip-card-stage:hover {
    box-shadow:
      0 0 18px rgba(255, 207, 125, 0.42),
      0 14px 22px rgba(0, 0, 0, 0.52);
    transform: translateY(-4px) scale(1.025);
  }

  .vip-card-stage:hover::after {
    animation: vip-card-shine 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .benefit-grid li:hover img,
  .benefit-grid li:hover .benefit-icon {
    opacity: 0.94;
    transform: translateY(-6px) scale(1.12);
  }

  .benefit-grid li:hover span {
    color: rgba(252, 222, 173, 0.82);
    transform: translateY(-1px);
  }
}

@media (max-width: 767px) {
  .campaign {
    width: 100%;
  }

  .hero {
    height: auto;
    aspect-ratio: 1500 / 833;
  }

  .content {
    width: calc(100% - 32px);
  }

  .panel {
    border-radius: 14px;
  }

  .reasons {
    min-height: 311px;
    padding: 18px 12px 20px;
  }

  .reason-grid {
    margin-top: 22px;
  }

  .reason-grid-layout {
    gap: 23px 8px;
  }

  .reason-item {
    grid-column: span var(--why-h5-span, 6);
  }

  .reason-item img {
    margin-bottom: 5px;
  }

  .reason-item h3 {
    margin-bottom: 3px;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  .purchase {
    min-height: 377px;
    margin-top: 16px;
    padding: 20px 20px 16px;
  }

  .vip-card-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 602 / 340;
  }

  .hero-particles {
    inset: 3% 10% 15%;
  }

  .chevrons {
    display: none;
  }

  .price-line {
    width: 100%;
    margin-top: 9px;
  }

  .price-line strong {
    font-size: 44px;
    line-height: 1.3;
  }

  .price-line > span {
    bottom: 11px;
    left: calc(50% + 92px);
  }

  .buy-button {
    width: 100%;
    min-height: 48px;
    margin-top: 3px;
    font-size: 22px;
  }

  .purchase .purchase-note {
    margin-top: 10px;
    font-size: 12px;
    text-align: left;
  }

  .benefits {
    min-height: 435px;
    padding: 18px 20px 20px;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 10px;
    column-gap: 8px;
    margin-top: 27px;
  }

  .benefit-grid img,
  .benefit-icon {
    margin-bottom: 5px;
  }

  .benefit-grid span {
    min-height: 30px;
    line-height: 1.45;
  }

  .benefit-grid.is-collapsed li:nth-child(n + 13) {
    display: none;
  }

  .benefit-grid:not(.is-collapsed) + * {
    margin-top: 0;
  }

  .rules {
    min-height: 439px;
    margin-bottom: 20px;
    padding: 38px 20px 20px;
  }

  .rules > h2 {
    font-size: 26px;
    line-height: 1.35;
  }

  .rules-content {
    gap: 14px;
    margin-top: 14px;
  }

  .rules-content strong,
  .rules-content h3 {
    font-size: 14px;
  }

  .rules-content p,
  .rules-content li {
    font-size: 14px;
    line-height: 1.9;
  }
}

@media (max-width: 359px) {
  .content {
    width: calc(100% - 24px);
  }

  .panel h2 {
    font-size: 18px;
  }

  .reason-item h3 {
    font-size: 14px;
  }

  .reason-item p,
  .benefit-grid span {
    font-size: 11px;
  }

  .purchase {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .buy-button {
    transition: none;
  }

  .reason-item,
  .vip-card-stage,
  .benefit-grid img,
  .benefit-icon,
  .benefit-grid span {
    transition: none;
  }

  .gold-particle,
  .vip-card-stage::after {
    animation: none;
    opacity: 0;
  }
}
