:root {
  --bg: #07111f;
  --bg-soft: #0e1c31;
  --panel: rgba(11, 24, 43, 0.82);
  --panel-strong: rgba(9, 18, 31, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7fb;
  --muted: #b8c4d7;
  --orange: #ff8b3d;
  --gold: #f3cb69;
  --cyan: #64d8ff;
  --rose: #ff7c97;
  --success: #8af0b5;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 139, 61, 0.22), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(100, 216, 255, 0.18), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(255, 124, 151, 0.18), transparent 20%),
    linear-gradient(180deg, #04101c 0%, #091726 42%, #0a1220 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(4, 12, 21, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #101826;
  background: linear-gradient(135deg, var(--gold), #fff1c4 46%, var(--orange));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1.02rem;
}

.brand-copy small {
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 76px 0 48px;
}

.eyebrow,
.section-heading p,
.verify-copy > p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.verify-copy h2 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.hero-text,
.verify-copy > p:last-of-type {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-btn,
.secondary-btn,
.enter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    border-color 0.25s ease;
}

.primary-btn {
  color: #101826;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 30px rgba(255, 139, 61, 0.28);
}

.secondary-btn {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.primary-btn:hover,
.secondary-btn:hover,
.enter-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.hero-stats li,
.module-card,
.login-card,
.roadmap-strip > div,
.panel-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
}

.hero-stats strong {
  color: var(--gold);
  font-size: 1.5rem;
}

.hero-stats span {
  color: var(--muted);
}

.hero-panel {
  position: relative;
  min-height: 440px;
}

.panel-glow {
  position: absolute;
  inset: 8% 10% 6%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 139, 61, 0.32), transparent 24%),
    radial-gradient(circle at 75% 30%, rgba(100, 216, 255, 0.28), transparent 26%),
    radial-gradient(circle at 55% 85%, rgba(243, 203, 105, 0.24), transparent 28%);
  filter: blur(18px);
}

.panel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 28px;
  border-radius: 30px;
  overflow: hidden;
}

.panel-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
}

.panel-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  color: #101826;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), #d5f6ff);
}

.panel-card h2 {
  margin: 18px 0 12px;
  font-size: 2.05rem;
}

.panel-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signal-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.signal-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.signal-grid strong {
  font-size: 1rem;
}

.modules,
.roadmap {
  padding: 48px 0 24px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -22% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.34;
}

.accent-orange::before {
  background: radial-gradient(circle, var(--orange), transparent 68%);
}

.accent-cyan::before {
  background: radial-gradient(circle, var(--cyan), transparent 68%);
}

.accent-gold::before {
  background: radial-gradient(circle, var(--gold), transparent 68%);
}

.accent-rose::before {
  background: radial-gradient(circle, var(--rose), transparent 68%);
}

.module-index {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.module-card h3 {
  margin: 18px 0 12px;
  font-size: 1.45rem;
}

.module-card p,
.verify-list,
.login-note,
.roadmap-strip span {
  color: var(--muted);
  line-height: 1.7;
}

.verify-section {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 22px;
  align-items: start;
  padding: 52px 0 32px;
}

.verify-list {
  padding-left: 18px;
  margin-top: 18px;
}

.login-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel-strong);
}

.card-topline {
  width: 88px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.login-card h3 {
  margin: 0;
  font-size: 1.9rem;
}

.entry-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.entry-form label {
  display: grid;
  gap: 8px;
}

.entry-form span {
  font-size: 0.95rem;
  color: var(--muted);
}

.entry-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.entry-form input:focus {
  border-color: rgba(255, 203, 105, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.turnstile-wrap {
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.verification-tip {
  padding: 12px 14px;
  border: 1px solid rgba(255, 139, 61, 0.28);
  border-radius: 16px;
  color: #ffd8b4;
  font-size: 0.95rem;
  line-height: 1.65;
  background: rgba(255, 139, 61, 0.08);
}

.verification-tip.verified {
  border-color: rgba(138, 240, 181, 0.32);
  color: #d5ffe7;
  background: rgba(138, 240, 181, 0.09);
}

.enter-button {
  width: 100%;
  border: 0;
  color: #08111d;
  background: linear-gradient(135deg, #f4d57d, #ff9350);
  cursor: pointer;
}

.enter-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.submit-feedback {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--success);
  line-height: 1.6;
}

.roadmap-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-strip > div {
  padding: 22px;
  border-radius: 24px;
}

.roadmap-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

@media (max-width: 1040px) {
  .hero,
  .verify-section,
  .module-grid,
  .roadmap-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar,
  .hero,
  .verify-section,
  .module-grid,
  .roadmap-strip,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    gap: 12px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .section-heading h2,
  .verify-copy h2 {
    max-width: none;
  }

  .login-card,
  .panel-card,
  .module-card,
  .roadmap-strip > div {
    border-radius: 22px;
  }
}
