@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --rs-ink: #0b1220;
  --rs-ink-soft: #243044;
  --rs-mute: #5d6b7f;
  --rs-panel: #eef3f8;
  --rs-panel-deep: #dbe5f0;
  --rs-snow: #f7fafc;
  --rs-lime: #a3f73a;
  --rs-lime-deep: #6fc410;
  --rs-mango: #ff8a1f;
  --rs-steel: #1c2738;
  --rs-line: rgba(11, 18, 32, 0.12);
  --rs-glow: 0 0 0 1px rgba(163, 247, 58, 0.35), 0 18px 40px rgba(11, 18, 32, 0.14);
  --rs-max: 1020px;
  --rs-nav: 58px;
  --rs-dock: 0px;
  --rs-display: "Chakra Petch", "Noto Sans SC", sans-serif;
  --rs-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--rs-body);
  color: var(--rs-ink);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(163, 247, 58, 0.18), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(255, 138, 31, 0.16), transparent 50%),
    linear-gradient(180deg, #f4f7fb 0%, var(--rs-panel) 45%, #e7eef6 100%);
  line-height: 1.75;
  padding-top: calc(var(--rs-nav) + var(--rs-dock));
}

body.rs-dock-on {
  --rs-dock: 108px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--rs-lime-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rs-mango);
}

.rs-shell {
  width: min(100% - 28px, var(--rs-max));
  margin-inline: auto;
}

.rs-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--rs-nav);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(163, 247, 58, 0.45);
}

.rs-topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--rs-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rs-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid var(--rs-lime);
}

.rs-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.rs-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
}

.rs-nav a.is-on,
.rs-nav a:hover {
  color: var(--rs-ink);
  background: var(--rs-lime);
}

.rs-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.rs-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: 0.2s ease;
}

.rs-promo {
  margin: 14px auto 8px;
  padding: 12px 12px 8px;
  border: 2px solid var(--rs-ink);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(163, 247, 58, 0.12), rgba(255, 138, 31, 0.08)),
    var(--rs-snow);
  box-shadow: 6px 6px 0 rgba(11, 18, 32, 0.12);
}

.rs-promo-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rs-ink-soft);
  letter-spacing: 0.02em;
}

.rs-ads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
}

.rs-ads > div,
.rs-ads figure {
  margin: 0;
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rs-ads img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--rs-ink);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rs-ads a {
  text-decoration: none;
}

.rs-ads img:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(11, 18, 32, 0.18);
}

.rs-ads .caption {
  margin-top: 4px;
  height: 14px;
  font-size: 11px;
  color: var(--rs-mute);
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.rs-dock {
  position: fixed;
  top: var(--rs-nav);
  left: 0;
  right: 0;
  z-index: 70;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
  background: rgba(238, 243, 248, 0.96);
  border-bottom: 1px solid var(--rs-line);
  backdrop-filter: blur(10px);
}

.rs-dock.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.rs-dock-inner {
  padding: 8px 0 6px;
}

.rs-dock-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--rs-ink-soft);
  margin: 0 0 6px;
}

.rs-dock .rs-ads {
  justify-content: flex-start;
}

.rs-dock .rs-ads > div {
  width: calc(25% - 6px);
  max-width: 78px;
}

@media (min-width: 900px) {
  .rs-dock .rs-ads > div {
    width: calc(12.5% - 6px);
  }
}

.rs-mast {
  position: relative;
  margin: 18px 0 28px;
  overflow: hidden;
  border: 3px solid var(--rs-ink);
  border-radius: 28px;
  background:
    linear-gradient(125deg, var(--rs-steel) 0%, #142033 48%, #0f1a2b 100%);
  color: #fff;
  min-height: min(72vh, 560px);
  display: grid;
  align-items: end;
  box-shadow: var(--rs-glow);
}

.rs-mast::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(163, 247, 58, 0.045) 12px,
      rgba(163, 247, 58, 0.045) 13px
    );
  pointer-events: none;
}

.rs-mast::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -40px;
  top: -50px;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.35), transparent 70%);
  animation: rs-float 7s ease-in-out infinite;
}

.rs-mast-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 6vw, 54px);
  max-width: 720px;
}

.rs-mast-brand {
  margin: 0 0 10px;
  font-family: var(--rs-display);
  font-size: clamp(42px, 12vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--rs-lime);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  animation: rs-rise 0.8s ease both;
}

.rs-mast h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 5.2vw, 34px);
  line-height: 1.35;
  font-weight: 700;
  animation: rs-rise 0.9s ease 0.08s both;
}

.rs-mast p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  max-width: 36em;
  animation: rs-rise 1s ease 0.14s both;
}

@keyframes rs-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rs-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(16px) rotate(8deg);
  }
}

.rs-crumb {
  margin: 16px 0 8px;
  font-size: 13px;
  color: var(--rs-mute);
}

.rs-crumb a {
  color: var(--rs-ink-soft);
  text-decoration: none;
}

.rs-crumb a:hover {
  color: var(--rs-mango);
}

.rs-main {
  padding-bottom: 48px;
}

.rs-block {
  margin: 0 0 28px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(247, 250, 252, 0.88);
  border: 1px solid var(--rs-line);
  border-radius: 20px;
}

.rs-block.is-ink {
  background: linear-gradient(160deg, #132033, #0d1624);
  color: #e8eef7;
  border-color: transparent;
}

.rs-block.is-ink a {
  color: var(--rs-lime);
}

.rs-block.is-slash {
  border: 2px solid var(--rs-ink);
  box-shadow: 8px 8px 0 rgba(163, 247, 58, 0.35);
}

.rs-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-ink);
  background: var(--rs-lime);
  border-radius: 999px;
}

.rs-block h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 4vw, 28px);
  line-height: 1.35;
}

.rs-block h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.rs-block p {
  margin: 0 0 12px;
  color: var(--rs-ink-soft);
}

.rs-block.is-ink p {
  color: rgba(232, 238, 247, 0.9);
}

.rs-block p:last-child {
  margin-bottom: 0;
}

.rs-split {
  display: grid;
  gap: 18px;
  align-items: center;
}

@media (min-width: 820px) {
  .rs-split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .rs-split.is-flip {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .rs-split.is-flip .rs-media {
    order: -1;
  }
}

.rs-media {
  border: 3px solid var(--rs-ink);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 10px 10px 0 rgba(255, 138, 31, 0.28);
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease;
}

.rs-media:hover {
  transform: rotate(0deg) scale(1.01);
}

.rs-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 420px;
}

.rs-board {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .rs-board {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rs-chip {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: var(--rs-panel-deep);
  border-left: 4px solid var(--rs-mango);
}

.rs-chip h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.rs-chip p {
  margin: 0;
  font-size: 14px;
}

.rs-ladder {
  display: grid;
  gap: 10px;
}

.rs-rank {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--rs-line);
}

.rs-rank b {
  font-family: var(--rs-display);
  font-size: 22px;
  color: var(--rs-mango);
  line-height: 1;
}

.rs-rank h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.rs-rank p {
  margin: 0;
  font-size: 14px;
}

.rs-rail {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .rs-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rs-step {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(111, 196, 16, 0.55);
}

.rs-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.rs-step p {
  margin: 0;
  font-size: 14px;
}

.rs-duo {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .rs-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.rs-duo .rs-media {
  transform: none;
  box-shadow: 6px 6px 0 rgba(163, 247, 58, 0.3);
}

.rs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.rs-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--rs-ink);
  color: var(--rs-lime);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.rs-links a:hover {
  background: var(--rs-mango);
  color: #fff;
}

.rs-legal h2 {
  margin-top: 28px;
}

.rs-legal ul {
  padding-left: 1.2em;
  color: var(--rs-ink-soft);
}

.rs-legal li {
  margin-bottom: 8px;
}

.rs-foot {
  margin-top: 20px;
  padding: 28px 0 40px;
  border-top: 2px solid var(--rs-ink);
  background: var(--rs-ink);
  color: rgba(255, 255, 255, 0.82);
}

.rs-foot a {
  color: var(--rs-lime);
}

.rs-foot-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .rs-foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.rs-foot h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
}

.rs-foot p,
.rs-foot ul {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.rs-foot ul {
  list-style: none;
  padding: 0;
}

.rs-foot li + li {
  margin-top: 4px;
}

.rs-err {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.rs-err h1 {
  margin: 0 0 10px;
  font-family: var(--rs-display);
  font-size: clamp(40px, 12vw, 72px);
  color: var(--rs-mango);
}

.rs-err p {
  margin: 0 0 18px;
  color: var(--rs-ink-soft);
}

.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--rs-lime);
  color: var(--rs-ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--rs-ink);
  box-shadow: 4px 4px 0 var(--rs-ink);
}

.rs-btn:hover {
  background: var(--rs-mango);
  color: #fff;
}

@media (max-width: 860px) {
  .rs-burger {
    display: inline-block;
  }

  .rs-nav {
    position: absolute;
    top: var(--rs-nav);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(11, 18, 32, 0.97);
    border-bottom: 1px solid rgba(163, 247, 58, 0.3);
  }

  .rs-nav.is-open {
    display: flex;
  }

  .rs-nav a {
    width: 100%;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
