:root {
  --bg: #0b0a08;
  --surface: #111815;
  --surface-2: #18221d;
  --ink: #eee7d7;
  --muted: #a5aa9b;
  --orange: #b64b30;
  --gold: #d8b169;
  --line: rgba(196, 154, 91, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 50;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  height: 70px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 28px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(14, 12, 9, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
  z-index: 40;
  transition: top .25s ease, width .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { top: 10px; width: min(1080px, calc(100% - 28px)); background: rgba(8, 12, 10, .93); box-shadow: 0 14px 55px rgba(0,0,0,.52); }
.brand { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.brand strong {
  font-family: Georgia, "STKaiti", serif;
  font-size: 25px;
  letter-spacing: 0.08em;
  background: linear-gradient(100deg, var(--orange), #ffd458);
  color: transparent;
  background-clip: text;
}
.brand span { color: #a69a86; font-size: 12px; border-left: 1px solid var(--line); padding-left: 18px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #c7b9a5; font-size: 14px; font-weight: 700; }
.main-nav a { transition: 0.25s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--gold); }
.main-nav a.is-active:not(.nav-cta) { color: var(--gold); }
.main-nav a.is-active:not(.nav-cta)::after { content: ""; display: block; width: 16px; height: 1px; margin: 3px auto 0; background: var(--gold); }
.nav-cta, .button-primary {
  color: #fff4df;
  background: linear-gradient(120deg, #7f2f24, #b95436);
  box-shadow: 0 10px 28px rgba(139, 48, 33, 0.3), inset 0 1px rgba(255,255,255,.25);
}
.nav-cta { padding: 11px 23px; border-radius: 24px; }
.nav-toggle { display: none; border: 0; background: none; padding: 10px; }
.nav-toggle span { display: block; width: 23px; height: 2px; margin: 5px; background: var(--ink); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 145px 24px 40px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6,6,4,.2) 0%, rgba(7,7,5,.45) 52%, #0b0a08 100%),
    linear-gradient(90deg, rgba(5,7,4,.5), transparent 45%, rgba(5,4,2,.45)),
    url("assets/jianghu-game-hero-v2.jpg") center 42% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, transparent 0 25%, rgba(5,4,2,.28) 75%);
}
.hero-content { position: relative; z-index: 2; width: min(720px, 100%); margin: 0 auto; text-align: center; }
.pill-label, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d6b06e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pill-label { padding: 7px 16px; border: 1px solid rgba(201, 160, 96, .36); border-radius: 99px; background: rgba(9,17,13,.58); }
.hero h1 {
  margin: 18px 0 14px;
  font-family: Georgia, "STKaiti", serif;
  font-size: clamp(58px, 7.2vw, 92px);
  line-height: 1.08;
  letter-spacing: .06em;
  text-shadow: 0 10px 35px rgba(0,0,0,.65);
}
.hero-copy { max-width: 660px; margin: 0 auto; color: #c8bcaa; font-size: 16px; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; justify-content: center; gap: 0; width: min(430px, 100%); margin: 28px auto 0; color: #d9cdb7; }
.hero-stats span { min-width: 118px; padding: 0 24px; border-right: 1px solid rgba(216,177,105,.24); }
.hero-stats span:last-child { border-right: 0; }
.hero-stats b { display: block; color: #dfbd7b; font: 700 20px/1 Georgia, serif; }
.hero-stats small { display: block; margin-top: 6px; color: #857f72; font-size: 10px; letter-spacing: .12em; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-ghost { border-color: rgba(255,255,255,.2); background: rgba(10,9,7,.25); backdrop-filter: blur(10px); }
.button-block { width: 100%; }
.hero-features {
  position: relative;
  z-index: 3;
  width: min(1000px, 100%);
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.glass-card {
  display: flex;
  gap: 16px;
  min-height: 126px;
  padding: 23px;
  border: 1px solid rgba(193, 151, 88, .2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22, 19, 14, .92), rgba(12, 11, 9, .76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}
.card-icon { color: #d8b169; font-size: 22px; }
.glass-card h3, .glass-card p { margin: 0; }
.glass-card h3 { color: #d8b169; font-family: Georgia, "STKaiti", serif; font-size: 19px; }
.glass-card p { margin-top: 6px; color: #afa38f; font-size: 13px; }

.section { padding: 110px 24px; }
.world-section { background: radial-gradient(circle at 50% 65%, rgba(63,112,89,.12), transparent 36%); }
.section-heading { width: min(700px, 100%); margin: 0 auto 58px; text-align: center; }
.section-heading-left { margin-left: 0; text-align: left; }
.section-heading h2, .welfare h2, .register-copy h2 {
  margin: 5px 0 14px;
  font-family: Georgia, "STKaiti", serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: .04em;
}
.section-heading > p:last-child, .welfare-copy > p:last-of-type, .register-copy > p { color: var(--muted); }
.feature-grid { width: min(1100px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card {
  position: relative;
  min-height: 230px;
  padding: 30px 25px 24px;
  overflow: hidden;
  border: 1px solid rgba(193, 151, 88, .14);
  background: linear-gradient(155deg, #141b17, #0c100e);
  transition: transform .3s, border-color .3s;
}
.feature-card:hover { transform: translateY(-7px); border-color: rgba(200,158,92,.44); }
.feature-number { position: absolute; top: 16px; right: 20px; color: rgba(255,255,255,.08); font: 800 42px/1 Georgia, serif; }
.feature-card i {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(200,158,92,.34); border-radius: 50%;
  color: #d8b169; background: rgba(63,112,89,.1); font-style: normal; font-family: Georgia, serif;
}
.feature-card h3 { margin: 22px 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }

.phone-stage { position: relative; width: min(850px, 100%); height: 540px; margin: 100px auto -20px; }
.phone {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 220px;
  height: 475px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #5b3a22;
  border-radius: 31px;
  background: #080705;
  box-shadow: 0 35px 70px rgba(0,0,0,.65);
  z-index: 2;
}
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; width: 65px; height: 15px; transform: translateX(-50%); border-radius: 10px; background: #090807; z-index: 2; }
.phone img { width: 100%; height: 100%; border-radius: 25px; object-fit: cover; object-position: top; }
.phone-left img { object-position: center 58%; }
.phone-center img { object-position: 72% center; }
.phone-right img { object-position: center top; }
.phone-left { transform: translateX(-155%) rotate(-8deg) scale(.88); opacity: .72; }
.phone-center { transform: translateX(-50%); z-index: 4; }
.phone-right { transform: translateX(55%) rotate(8deg) scale(.88); opacity: .72; }
.stage-glow { position: absolute; left: 50%; bottom: 0; width: 600px; height: 130px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(62,110,86,.32), transparent 66%); filter: blur(20px); }

.welfare {
  position: relative;
  padding: 90px 24px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(8,12,10,.98) 0 39%, rgba(8,12,10,.82) 61%, rgba(8,12,10,.36)),
    url("assets/jianghu-game-chest-v2.jpg") 82% 54% / min(540px, 50vw) auto no-repeat;
  background-color: #0a1512;
  border-block: 1px solid var(--line);
}
.welfare-inner { width: min(1100px, 100%); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.welfare-copy h2 { max-width: 420px; }
.text-link { display: inline-flex; gap: 16px; margin-top: 18px; color: #d8b169; font-weight: 800; }
.supply-list { display: grid; gap: 12px; }
.supply-card { display: flex; gap: 22px; padding: 22px; border: 1px solid rgba(200,158,92,.17); background: rgba(10,17,14,.78); backdrop-filter: blur(12px); }
.supply-card b { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border: 1px solid rgba(200,158,92,.32); color: #d8b169; font-family: Georgia, serif; }
.supply-card h3, .supply-card p { margin: 0; }
.supply-card h3 { font-size: 17px; }
.supply-card p { color: var(--muted); font-size: 13px; margin-top: 2px; }

.gallery-section { width: min(1150px, 100%); margin: 0 auto; }
.gallery { display: grid; grid-template-columns: 1.5fr .62fr; gap: 14px; }
.gallery-main { position: relative; height: 550px; overflow: hidden; border: 1px solid var(--line); background: #111; }
.gallery-main::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(3,3,2,.9)); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease, transform 1s ease; }
.gallery-main:hover img { transform: scale(1.025); }
.gallery-caption { position: absolute; left: 28px; right: 28px; bottom: 22px; display: flex; justify-content: space-between; z-index: 2; }
.gallery-caption span { color: #d8b169; font-size: 12px; letter-spacing: .13em; }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.thumb { position: relative; height: 180px; padding: 0; overflow: hidden; border: 1px solid transparent; background: #111; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.65); transition: .25s ease; }
.thumb:hover img, .thumb.is-active img { filter: none; transform: scale(1.04); }
.thumb.is-active { border-color: #b95436; }

.register-section { background: radial-gradient(circle at 72% 48%, rgba(60,111,86,.12), transparent 32%); }
.register-layout { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,.86fr); gap: clamp(42px, 7vw, 92px); align-items: center; }
.register-copy { position: relative; }
.ink-seal { position: absolute; right: 2%; top: -38px; display: grid; place-items: center; width: 112px; height: 112px; border: 2px solid rgba(151,57,40,.34); border-radius: 50%; color: rgba(170,63,42,.18); font: 700 58px/1 "STKaiti", serif; transform: rotate(-10deg); }
.register-copy ul { list-style: none; padding: 0; margin: 35px 0 0; display: grid; gap: 20px; }
.register-copy li { display: grid; grid-template-columns: 38px 1fr; gap: 15px; align-items: start; color: #b9ab96; font-size: 14px; }
.register-copy li span { color: #d8b169; font: 700 12px/1.5 Georgia, serif; padding-top: 2px; border-bottom: 1px solid #674d2a; }
.register-card { padding: 36px; border: 1px solid rgba(200,158,92,.24); background: linear-gradient(145deg, rgba(20,29,24,.95), rgba(10,14,12,.97)); box-shadow: var(--shadow); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.form-heading span { font: 700 22px Georgia, "STKaiti", serif; }
.form-heading small { color: #77563b; letter-spacing: .15em; }
.register-card label { display: block; margin-top: 16px; color: #c9baa4; font-size: 13px; }
.register-card label > small { float: right; color: #615f55; font-size: 10px; font-weight: 400; }
.register-card input {
  width: 100%; height: 49px; margin-top: 8px; padding: 0 15px; border: 1px solid #3a3026; border-radius: 2px;
  outline: none; background: #0b0a08; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.input-wrap { position: relative; display: block; clear: both; }
.input-wrap input { padding-right: 52px; }
.password-toggle { position: absolute; right: 7px; top: 15px; width: 36px; height: 34px; border: 0; background: transparent; color: #8f7a5a; font-size: 11px; cursor: pointer; }
.password-toggle:hover { color: #d8b169; }
.field > i { display: block; min-height: 14px; margin-top: 4px; color: #9b5d4d; font: normal 10px/1.4 system-ui; }
.field.is-valid input { border-color: rgba(99,153,116,.58); }
.field.is-valid > i { color: #76a985; }
.field.is-invalid input { border-color: rgba(184,78,58,.72); }
.register-card input:focus { border-color: #9b6f3a; box-shadow: 0 0 0 3px rgba(72,123,98,.1); }
.form-message { min-height: 24px; margin: 12px 0 8px; color: #e98755; font-size: 12px; }
.form-message.success { color: #84bb76; }
.form-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: #5f655d; font-size: 10px; }
.form-meta a { color: #a88b5b; }
.form-meta a:hover { color: #d8b169; }

footer { padding: 50px 24px; border-top: 1px solid rgba(200,158,92,.14); background: #050806; text-align: center; color: #737a70; font-size: 12px; }
.back-top { position: fixed; z-index: 35; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 1px solid rgba(216,177,105,.32); border-radius: 50%; background: rgba(8,13,10,.86); color: #d8b169; opacity: 0; transform: translateY(12px); pointer-events: none; cursor: pointer; backdrop-filter: blur(10px); transition: .25s ease; }
.back-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { border-color: #d8b169; background: #121b16; }
.footer-brand { justify-content: center; margin-bottom: 20px; }
.footer-info { display: inline-grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 6px; margin: 0 auto 14px; text-align: left; line-height: 1.45; }
.footer-info > :nth-child(odd) { text-align: right; }
.footer-info > :nth-child(even) { text-align: left; }
.filing a { color: #a88b5b; text-decoration: none; }
.filing a:hover { color: #d8b169; text-decoration: underline; }
.healthy { color: #5e574e; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { top: 12px; width: calc(100% - 24px); }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 20px; border: 1px solid var(--line);
    border-radius: 18px; background: rgba(12,10,8,.96); flex-direction: column; align-items: stretch; text-align: center;
  }
  .main-nav.is-open { display: flex; }
  .brand span { display: none; }
  .hero { padding-top: 140px; }
  .hero-features { grid-template-columns: 1fr; max-width: 520px; margin-top: 45px; }
  .hero { min-height: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .welfare-inner { grid-template-columns: 1fr; gap: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-main { height: 520px; }
  .thumb { height: 118px; }
}

@media (max-width: 600px) {
  .site-header { height: 58px; padding: 0 10px 0 20px; }
  .brand strong { font-size: 21px; }
  .main-nav { top: 66px; }
  .hero { min-height: 830px; padding: 125px 16px 30px; background-position: 52% top; }
  .hero h1 { font-size: 52px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { flex-direction: column; max-width: 260px; margin-inline: auto; margin-top: 25px; }
  .hero-stats span { min-width: 0; flex: 1; padding: 0 10px; }
  .hero-features { margin-top: 42px; gap: 10px; }
  .glass-card { min-height: 105px; padding: 18px; }
  .section { padding: 80px 17px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .welfare h2, .register-copy h2 { font-size: 37px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .phone-stage { height: 420px; margin-top: 65px; }
  .phone { width: 172px; height: 370px; border-radius: 24px; }
  .phone-left { transform: translateX(-127%) rotate(-7deg) scale(.78); }
  .phone-right { transform: translateX(27%) rotate(7deg) scale(.78); }
  .welfare { padding: 75px 17px; }
  .supply-card { gap: 14px; padding: 18px 14px; }
  .gallery-main { height: 420px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .thumb { height: 100px; }
  .register-card { padding: 26px 20px; }
  .form-meta { flex-direction: column; text-align: center; }
}

@media (max-width: 760px) {
  .register-layout { grid-template-columns: 1fr; gap: 46px; }
  .ink-seal { right: 4%; top: -24px; width: 88px; height: 88px; font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
