@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --rift-ink: #15202b;
  --rift-mute: #5b6b7c;
  --rift-rose: #ff5c7a;
  --rift-coral: #ff8a65;
  --rift-teal: #12b5a0;
  --rift-aqua: #5eead4;
  --rift-sky: #dff6ff;
  --rift-mist: #f3fafc;
  --rift-paper: #ffffff;
  --rift-line: rgba(21, 32, 43, 0.08);
  --rift-shadow: 0 18px 40px rgba(18, 50, 72, 0.12);
  --rift-radius: 22px;
  --rift-max: 1120px;
  --rift-nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--rift-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(94, 234, 212, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(255, 92, 122, 0.22), transparent 50%),
    linear-gradient(180deg, var(--rift-mist) 0%, #eaf7fb 40%, var(--rift-sky) 100%);
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--rift-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rift-rose);
}

h1,
h2,
h3,
.rift-brand-mark {
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  line-height: 1.35;
  font-weight: 400;
}

.rift-wrap {
  width: min(100% - 32px, var(--rift-max));
  margin-inline: auto;
}

.rift-promo {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rift-line);
  padding: 8px 0 4px;
}

.rift-promo-frame {
  width: 100%;
  min-height: 110px;
  border: 0;
  display: block;
  background: transparent;
}

.rift-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--rift-nav-h);
  display: flex;
  align-items: center;
  background: rgba(243, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rift-line);
}

.rift-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, var(--rift-max));
  margin-inline: auto;
}

.rift-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rift-ink);
  text-decoration: none;
}

.rift-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 181, 160, 0.25);
}

.rift-brand-mark {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.rift-nav-links {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rift-nav-links a {
  color: var(--rift-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}

.rift-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rift-teal), var(--rift-rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.rift-nav-links a:hover::after,
.rift-nav-links a.is-current::after {
  transform: scaleX(1);
}

.rift-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rift-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
}

.rift-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--rift-ink);
  transition: 0.2s ease;
}

.rift-dl-rail {
  position: sticky;
  top: var(--rift-nav-h);
  z-index: 35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rift-line);
}

.rift-dl-rail.is-visible {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
  padding: 10px 0;
}

.rift-dl-label {
  width: min(100% - 32px, var(--rift-max));
  margin: 0 auto 8px;
  font-size: 0.8rem;
  color: var(--rift-mute);
}

.rift-dl-grid {
  width: min(100% - 32px, var(--rift-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.rift-dl-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--rift-mute);
  font-size: 0.7rem;
}

.rift-dl-chip img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(21, 32, 43, 0.12);
  transition: transform 0.2s ease;
}

.rift-dl-chip:hover img {
  transform: translateY(-3px) scale(1.04);
}

.rift-dl-chip span {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rift-crumbs {
  padding: 18px 0 6px;
  font-size: 0.88rem;
  color: var(--rift-mute);
}

.rift-crumbs a {
  color: var(--rift-mute);
  text-decoration: none;
}

.rift-crumbs a:hover {
  color: var(--rift-teal);
}

.rift-hero {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}

.rift-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.rift-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 181, 160, 0.12);
  color: var(--rift-teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rift-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  color: var(--rift-ink);
}

.rift-hero-lead {
  margin: 0 0 18px;
  color: var(--rift-mute);
  font-size: 1.05rem;
  max-width: 36em;
}

.rift-hero-visual {
  position: relative;
  min-height: 320px;
}

.rift-hero-glow {
  position: absolute;
  inset: 12% 8% auto;
  height: 70%;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(135deg, rgba(18, 181, 160, 0.35), rgba(255, 92, 122, 0.28));
  filter: blur(18px);
  animation: rift-pulse 6s ease-in-out infinite;
}

.rift-hero-shot {
  position: relative;
  width: min(100%, 280px);
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--rift-shadow);
  transform: rotate(3deg);
  border: 4px solid rgba(255, 255, 255, 0.85);
  animation: rift-float 5.5s ease-in-out infinite;
}

.rift-hero-shot-alt {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: min(46%, 170px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--rift-shadow);
  transform: rotate(-8deg);
  border: 3px solid rgba(255, 255, 255, 0.9);
  animation: rift-float 6.5s ease-in-out infinite reverse;
}

@keyframes rift-float {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes rift-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.rift-section {
  padding: 42px 0;
}

.rift-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.rift-section h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.rift-section p {
  margin: 0 0 14px;
  color: var(--rift-ink);
}

.rift-lede {
  color: var(--rift-mute);
  margin-bottom: 22px;
}

.rift-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.rift-reveal.is-in {
  opacity: 1;
  transform: none;
}

.rift-text-block {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--rift-line);
  border-radius: var(--rift-radius);
  padding: 24px 22px;
  box-shadow: 0 10px 28px rgba(18, 50, 72, 0.05);
}

.rift-zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 28px 0;
}

.rift-zig.is-flip {
  direction: rtl;
}

.rift-zig.is-flip > * {
  direction: ltr;
}

.rift-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--rift-shadow);
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}

.rift-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 520px;
}

.rift-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rift-tile {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--rift-line);
  border-radius: 20px;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rift-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--rift-shadow);
}

.rift-tile img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  margin-bottom: 12px;
}

.rift-tile h3 {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.rift-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--rift-mute);
}

.rift-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
  background: linear-gradient(120deg, rgba(18, 181, 160, 0.12), rgba(255, 92, 122, 0.1));
  border-radius: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.rift-strip img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top;
  max-height: 420px;
}

.rift-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 20px;
}

.rift-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.rift-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--rift-line);
  font-size: 0.85rem;
  color: var(--rift-ink);
}

.rift-timeline {
  display: grid;
  gap: 16px;
  border-left: 3px solid rgba(18, 181, 160, 0.35);
  padding-left: 18px;
  margin: 20px 0;
}

.rift-timeline article {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--rift-line);
}

.rift-faq details {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--rift-line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.rift-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.rift-cta-band {
  margin: 36px 0;
  padding: 28px 24px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(18, 181, 160, 0.9), rgba(255, 92, 122, 0.85)),
    var(--rift-teal);
  color: #fff;
  text-align: center;
  box-shadow: var(--rift-shadow);
}

.rift-cta-band h2,
.rift-cta-band p {
  color: #fff;
}

.rift-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--rift-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.rift-btn:hover {
  transform: translateY(-2px);
  color: var(--rift-ink);
}

.rift-legal {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--rift-line);
  border-radius: 24px;
  padding: 28px 22px;
  margin: 12px 0 48px;
}

.rift-legal h1 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.rift-legal h2 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.rift-status {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0 60px;
}

.rift-status-card {
  width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  padding: 36px 24px;
  border: 1px solid var(--rift-line);
  box-shadow: var(--rift-shadow);
}

.rift-status-code {
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 4rem;
  background: linear-gradient(120deg, var(--rift-teal), var(--rift-rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.rift-footer {
  margin-top: 40px;
  padding: 36px 0 100px;
  background: rgba(21, 32, 43, 0.94);
  color: rgba(255, 255, 255, 0.82);
}

.rift-footer a {
  color: #9ef0e0;
  text-decoration: none;
}

.rift-footer a:hover {
  color: #ffc2ce;
}

.rift-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.rift-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.05rem;
}

.rift-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rift-footer li {
  margin-bottom: 8px;
}

.rift-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .rift-hero-grid,
  .rift-zig,
  .rift-zig.is-flip,
  .rift-strip,
  .rift-footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .rift-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .rift-hero-visual {
    min-height: 280px;
    order: -1;
  }

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

  .rift-nav-toggle {
    display: inline-block;
  }

  .rift-nav-links {
    position: absolute;
    top: var(--rift-nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--rift-line);
    padding: 8px 16px 14px;
  }

  .rift-nav-links.is-open {
    display: flex;
  }

  .rift-nav-links a {
    padding: 12px 6px;
    border-bottom: 1px solid var(--rift-line);
  }
}

@media (max-width: 560px) {
  .rift-mosaic {
    grid-template-columns: 1fr;
  }

  .rift-hero-shot {
    width: min(100%, 220px);
  }
}
