:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #8d0615;
  color: #fff7da;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: #8d0615;
}

.experience {
  height: 100svh;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.page {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

button {
  font: inherit;
}

.landing-page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  grid-template-rows: auto 1fr auto;
  padding: max(27px, env(safe-area-inset-top)) 28px max(25px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 208, 86, 0.42), transparent 15%),
    radial-gradient(circle at 33% 51%, rgba(255, 102, 59, 0.28), transparent 26%),
    linear-gradient(145deg, #be0b20 0%, #a40518 42%, #76030e 100%);
}

.landing-page::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image:
    repeating-radial-gradient(circle at 18% 27%, rgba(255, 234, 172, 0.35) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(255, 245, 217, 0.12) 1px, transparent 1px);
  background-size: 11px 15px, 42px 42px;
  mix-blend-mode: screen;
}

.landing-page::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(48, 1, 8, 0.3), transparent 43%, rgba(255, 214, 95, 0.1));
}

.sunburst {
  position: absolute;
  z-index: -1;
  top: -27vmax;
  right: -27vmax;
  width: 65vmax;
  height: 65vmax;
  border-radius: 50%;
  opacity: 0.34;
  background: repeating-conic-gradient(from 8deg, rgba(255, 231, 156, 0.72) 0 3deg, transparent 3deg 13deg);
  filter: blur(0.3px);
}

.flag-fold {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.flag-fold--top {
  top: -44px;
  left: -8%;
  width: 82%;
  height: 112px;
  transform: rotate(-12deg);
  background: linear-gradient(159deg, rgba(255, 99, 75, 0.71), rgba(255, 226, 134, 0.09) 52%, transparent 53%);
  box-shadow: 0 28px 37px rgba(71, 0, 7, 0.26);
}

.flag-fold--bottom {
  right: -14%;
  bottom: 11%;
  width: 86%;
  height: 112px;
  transform: rotate(11deg);
  background: linear-gradient(162deg, transparent 0 34%, rgba(241, 55, 44, 0.74) 34.4% 65%, rgba(255, 211, 111, 0.23) 65.4% 70%, transparent 70.4%);
}

.star {
  position: absolute;
  z-index: 0;
  top: 106px;
  right: -12px;
  width: 105px;
  height: 105px;
  fill: rgba(255, 218, 100, 0.94);
  filter: drop-shadow(0 4px 12px rgba(83, 1, 7, 0.34));
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(255, 245, 217, 0.94);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand__mark {
  position: relative;
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
  border: 2px solid #ffe295;
}

.brand__mark i {
  position: absolute;
  display: block;
  background: #ffe295;
}

.brand__mark i:first-child {
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
}

.brand__mark i:last-child {
  right: 3px;
  bottom: 3px;
  width: 8px;
  height: 8px;
}

.hero {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 570px);
  padding: 38px 0 41px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 23px;
  color: #ffe092;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero__kicker::before,
.hero__kicker::after {
  width: 22px;
  height: 1px;
  content: "";
  background: #ffe092;
}

.hero__project {
  margin: 0 0 12px;
  color: rgba(255, 243, 205, 0.76);
  font-size: 13px;
  letter-spacing: 0.12em;
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 337px;
  margin: 0;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(38px, 10.2vw, 55px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.055em;
  text-shadow: 0 4px 16px rgba(87, 0, 9, 0.38);
}

h1 span {
  color: #ffe5a2;
}

h1 strong {
  color: #fff9e9;
  font-weight: 700;
}

.hero__rule {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 166px;
  margin: 22px 0 12px;
}

.hero__rule i {
  width: 70px;
  height: 1px;
  background: rgba(255, 224, 146, 0.76);
}

.hero__rule b {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #ffe092;
}

.hero__quote {
  margin: 0;
  color: rgba(255, 240, 198, 0.82);
  font-family: "Songti SC", SimSun, serif;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.anniversary {
  position: absolute;
  z-index: 1;
  top: 207px;
  right: 29px;
  display: flex;
  align-items: flex-end;
  color: #ffe092;
}

.anniversary__number {
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px #ffe092;
}

.anniversary__text {
  margin: 0 0 2px 12px;
  color: #ffe9ad;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.anniversary__text b {
  color: rgba(255, 233, 173, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.power-scene {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(38svh, 320px);
  overflow: hidden;
  background:
    linear-gradient(160deg, transparent 0 29%, rgba(58, 1, 9, 0.92) 29.3% 100%),
    linear-gradient(10deg, #430006 0%, #8d0615 64%, #c10c20 100%);
}

.power-scene::before {
  position: absolute;
  z-index: -1;
  right: -9%;
  bottom: -25px;
  width: 90%;
  height: 87%;
  content: "";
  transform: skewY(-19deg);
  background: linear-gradient(151deg, rgba(255, 193, 69, 0.18), transparent 36% 100%);
}

.power-scene::after {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: -4%;
  width: 91%;
  height: 55%;
  content: "";
  clip-path: polygon(0 76%, 12% 49%, 23% 63%, 36% 34%, 46% 52%, 64% 17%, 79% 55%, 100% 7%, 100% 100%, 0 100%);
  background: #3a0007;
}

.power-scene__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
}

.power-scene__lines path {
  stroke: rgba(255, 225, 139, 0.81);
  stroke-width: 0.8;
}

.tower {
  position: absolute;
  stroke: rgba(255, 231, 158, 0.8);
  stroke-linecap: square;
  stroke-width: 1.1;
}

.tower--front {
  right: 8%;
  bottom: -24px;
  width: 104px;
  height: 272px;
}

.tower--back {
  right: 45%;
  bottom: 15px;
  width: 72px;
  height: 181px;
  opacity: 0.5;
}

.power-scene__caption {
  position: absolute;
  bottom: 120px;
  left: 28px;
  margin: 0;
  color: rgba(255, 230, 160, 0.83);
  font-family: "Songti SC", SimSun, serif;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.entry-area {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.entry {
  display: inline-flex;
  align-items: center;
  gap: 21px;
  padding: 13px 15px 13px 17px;
  border: 1px solid rgba(255, 222, 143, 0.74);
  background: rgba(123, 2, 16, 0.57);
  color: #ffeab1;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  box-shadow: 0 12px 27px rgba(55, 0, 6, 0.3);
  transition: transform 180ms ease, background-color 180ms ease;
}

.entry:hover,
.entry:focus-visible,
.landing-page.is-energized .entry {
  outline: 0;
  transform: translateY(-2px);
  background: rgba(225, 27, 42, 0.65);
}

.entry svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #ffe092;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.entry-area p {
  margin: 0;
  color: rgba(255, 230, 164, 0.66);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.landing-page.is-energized .sunburst {
  animation: dawn 850ms ease-out;
}

.landing-page.is-energized .power-scene__lines path {
  animation: current 820ms ease-out;
}

@keyframes dawn {
  50% {
    transform: scale(1.12);
    opacity: 0.68;
  }
}

@keyframes current {
  50% {
    stroke: #fff8d8;
    stroke-width: 2.2;
  }
}

@media (min-width: 740px) {
  .experience {
    background: #350209;
  }

  .landing-page {
    width: min(100%, 720px);
    min-height: 920px;
    margin: 24px auto;
    box-shadow: 0 30px 90px rgba(62, 0, 6, 0.47);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
