:root {
  --blue: #1768ff;
  --blue-soft: #eaf3ff;
  --ink: #14213a;
  --muted: #64708a;
  --line: #e6eef8;
  --panel: rgba(255, 255, 255, 0.92);
  --shadow: 0 14px 36px rgba(42, 92, 155, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #ffffff;
}

body:not([data-page="join"]) {
  padding-bottom: 3.2rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blue-rings {
  position: fixed;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(200, 200, 200, 0.15);
  border-radius: 50%;
  transform: rotate(-23deg) scaleX(0.54);
  pointer-events: none;
  opacity: 0;
}

.ring-left {
  top: 6rem;
  left: -17rem;
  box-shadow: 0 0 0 12px rgba(200, 200, 200, 0.03), 0 0 0 24px rgba(200, 200, 200, 0.02);
}

.ring-right {
  right: -16rem;
  bottom: -8rem;
  box-shadow: 0 0 0 12px rgba(200, 200, 200, 0.03), 0 0 0 24px rgba(200, 200, 200, 0.02);
}

.site-shell {
  width: min(1560px, calc(100% - 2rem));
  margin: 0 auto;
}

body[data-page="home"] .site-shell {
  padding-bottom: 1.6rem;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  color: #7a8496;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--blue);
}

body[data-page="join"] {
  background:
    radial-gradient(circle at 12% 18%, rgba(23, 104, 255, 0.1) 0 8rem, transparent 18rem),
    radial-gradient(circle at 86% 82%, rgba(114, 171, 255, 0.16) 0 10rem, transparent 24rem),
    linear-gradient(180deg, #f5faff 0%, #ffffff 46%, #f3f8ff 100%);
}

body[data-page="join"] .site-shell {
  width: 100%;
}

body[data-page="join"] .site-header {
  width: 100%;
  margin: 0 auto;
  min-height: 82px;
  padding-inline: max(3.2rem, calc((100vw - 1560px) / 2 + 1.5rem));
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

body[data-page="join"] .brand,
body[data-page="join"] .main-nav a {
  color: #121b30;
}

body[data-page="join"] .main-nav a.active,
body[data-page="join"] .main-nav a:hover {
  color: var(--blue);
  background: transparent;
}

body[data-page="join"] .secret-logo-button,
body[data-page="join"] .menu-button {
  color: var(--blue);
  background: #edf5ff;
}

body[data-page="join"] .secret-logo-button {
  background: transparent;
  box-shadow: none;
}

body[data-page="join"] .secret-logo-button .brand-logo {
  width: 2.65rem;
  height: 2.65rem;
}

@media (min-width: 1181px) {
  body[data-page="join"] {
    overflow: hidden;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.3rem;
  min-height: 86px;
  padding: 0 1.5rem;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.82);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 1.72rem;
  font-weight: 800;
}

.brand-logo {
  width: 4.4rem;
  height: 4.4rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
  line-height: 1.05;
}

.brand-copy small {
  color: #5c6472;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1.2rem, 2.2vw, 2.6rem);
  color: #121b30;
  font-size: 1.02rem;
  font-weight: 500;
}

.main-nav a {
  padding: 0.5rem 0;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue);
}

.secret-logo-button,
.menu-button,
.primary-button,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 0.92rem;
  font-weight: 700;
}

.secret-logo-button {
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.35rem;
  background: rgba(234, 243, 255, 0.72);
}

.secret-logo-button .brand-logo {
  width: 100%;
  height: 100%;
}

.menu-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.menu-button {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--blue);
  background: #eaf3ff;
}

.hero-card {
  position: relative;
  min-height: 0;
  height: 334px;
  overflow: hidden;
  border-radius: 1rem;
  background: #eef7ff;
  box-shadow: var(--shadow);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef7ff;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 35%, rgba(255, 255, 255, 0.18) 58%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  z-index: 1;
  top: -7rem;
  left: -4.5rem;
  width: 15rem;
  height: 21rem;
  background: repeating-linear-gradient(108deg, rgba(41, 125, 255, 0.13), rgba(41, 125, 255, 0.13) 2px, transparent 2px, transparent 8px);
  clip-path: polygon(0 0, 100% 0, 64% 100%, 0 72%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 4.7rem 3rem 3rem 7.3rem;
  width: min(52%, 760px);
}

.hero-copy h1 {
  margin: 0 0 1.25rem;
  color: #15213a;
  font-size: clamp(3.8rem, 5vw, 5.85rem);
  line-height: 1;
  font-weight: 800;
}

.hero-copy h1 span,
.hero-subtitle span {
  color: var(--blue);
}

.hero-subtitle {
  margin: 0 0 1.25rem;
  color: #16243e;
  font-size: clamp(1.45rem, 1.9vw, 2.08rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-line {
  margin: 0;
  color: #53617a;
  font-size: 1.18rem;
  letter-spacing: 0.35em;
}

.star-doodle {
  position: absolute;
  left: 3.2rem;
  bottom: 3rem;
  width: 3.1rem;
  height: 3.1rem;
  color: #285fae;
}

.plane-doodle {
  position: absolute;
  top: 3.5rem;
  right: 1.8rem;
  width: 5.4rem;
  height: 4.3rem;
  color: var(--blue);
}

.top-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.94fr 0.94fr;
  gap: 1.05rem;
  margin-top: 1.35rem;
}

@media (min-width: 1181px) {
  body[data-page="home"] .hero-card {
    height: 382px;
  }

  body[data-page="home"] .hero-copy {
    padding: 3.2rem 3rem 2.2rem 6.5rem;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(3.2rem, 4.2vw, 5rem);
    margin-bottom: 0.8rem;
  }

  body[data-page="home"] .hero-subtitle {
    margin-bottom: 0.75rem;
  }

  body[data-page="home"] .top-grid {
    margin-top: 1.35rem;
  }
}

.panel,
.achievement-section {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel {
  min-height: 270px;
  padding: 1.55rem 1.95rem;
}

@media (min-width: 1181px) {
  body[data-page="home"] .panel {
    min-height: 318px;
    padding: 1.45rem 1.75rem;
  }

  body[data-page="home"] .panel-head,
  body[data-page="home"] .section-head {
    margin-bottom: 1.2rem;
  }
}

.panel-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.82rem;
}

.panel-title h2 {
  margin: 0;
  color: #121b30;
  font-size: 1.38rem;
  line-height: 1.2;
}

.panel-head a,
.section-head a,
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #76819a;
  border: 0;
  background: transparent;
  font-weight: 500;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.9rem;
  color: var(--blue);
  background: var(--blue-soft);
}

.panel-icon svg,
.feature-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.notice-list {
  display: grid;
  gap: 1.08rem;
}

.notice-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font-size: 0.98rem;
}

.notice-item:hover strong,
.activity-item:hover strong,
.more-link:hover {
  color: var(--blue);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.95rem;
  border-radius: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.tag.info { color: var(--blue); background: #eaf3ff; }
.tag.activity { color: #18a775; background: #e9fbf5; }
.tag.competition { color: #f18423; background: #fff1e3; }
.tag.share { color: #8561ec; background: #f1ecff; }

.notice-item time,
.activity-item p {
  color: var(--muted);
}

.intro-panel p {
  margin: 0;
  color: #44516b;
  line-height: 1.85;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.62rem;
  margin-top: 1.7rem;
}

@media (min-width: 1181px) {
  body[data-page="home"] .notice-list,
  body[data-page="home"] .activity-list {
    gap: 1rem;
  }

  body[data-page="home"] .intro-panel p {
    display: block;
    overflow: visible;
    line-height: 1.85;
  }

  body[data-page="home"] .feature-row {
    margin-top: 1.45rem;
  }

  body[data-page="home"] .feature-item span {
    width: 3.45rem;
    height: 3.45rem;
  }
}

.feature-item {
  display: grid;
  place-items: center;
  gap: 0.58rem;
  text-align: center;
  font-size: 0.95rem;
}

.feature-item span {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  color: var(--blue);
  background: #eaf3ff;
}

.feature-item:nth-child(2) span {
  color: #18a775;
  background: #e9fbf5;
}

.feature-item:nth-child(3) span {
  color: #f18423;
  background: #fff1e3;
}

.feature-item:nth-child(4) span {
  color: #e0a000;
  background: #fff8e2;
}

.activity-list {
  display: grid;
  gap: 0.88rem;
}

.activity-item {
  display: grid;
  grid-template-columns: 7.8rem 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.activity-item img {
  width: 100%;
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
  background: #eef5ff;
  border-radius: 0.45rem;
}

.activity-item strong {
  display: block;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.activity-item p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin: 0;
  font-size: 0.92rem;
}

.pin {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.pin svg {
  width: 1rem;
  height: 1rem;
}

.achievement-section {
  margin-top: 1.35rem;
  padding: 1.45rem 1.95rem 2.35rem;
}

@media (min-width: 1181px) {
  body[data-page="home"] .achievement-section {
    margin-top: 1.35rem;
    padding: 1.35rem 1.6rem 2.2rem;
  }
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.achievement-controls {
  display: inline-flex;
  gap: 0.45rem;
}

.achievement-controls button {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #cfe0ff;
  border-radius: 50%;
  color: var(--blue);
  background: #f4f8ff;
  font-size: 1.35rem;
  font-weight: 800;
}

.achievement-item {
  margin: 0;
  display: grid;
  gap: 0.78rem;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: center;
  font-weight: 500;
  color: inherit;
  background: transparent;
}

.achievement-item img {
  width: 100%;
  height: clamp(13rem, 24vw, 21rem);
  object-fit: contain;
  background: #eef5ff;
  border-radius: 0.5rem;
  box-shadow: 0 8px 18px rgba(26, 61, 112, 0.1);
}

.achievement-item:hover strong,
.achievement-item:focus-visible strong {
  color: var(--blue);
}

@media (min-width: 1181px) {
  body[data-page="home"] .achievement-item {
    gap: 0.45rem;
  }

  body[data-page="home"] .achievement-item img {
    height: clamp(15rem, 24vh, 20rem);
  }
}

.achievement-item figcaption {
  display: grid;
  gap: 0.25rem;
}

.achievement-item figcaption span {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.sub-page {
  padding: 4.4rem 0 5rem;
}

.page-hero {
  margin-bottom: 4rem;
}

.page-hero.centered {
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 1.2rem;
  color: #101829;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.page-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: #465674;
  font-size: 1.18rem;
  line-height: 1.8;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-layout > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef5ff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.about-copy h2 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
}

.about-copy p {
  color: #24314a;
  font-size: 1.08rem;
  line-height: 1.95;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.stat-card {
  display: grid;
  place-items: center;
  min-height: 7.5rem;
  border-radius: 0.75rem;
  background: #edf5ff;
  color: inherit;
}

.stat-card:nth-child(2n) {
  background: #eefbf4;
}

.stat-card strong {
  color: var(--blue);
  font-size: 2.6rem;
}

.stat-card span {
  color: #17233d;
  font-size: 1.08rem;
}

.chart-section {
  margin-top: 4rem;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.chart-card {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.chart-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.pie-scene {
  position: relative;
  width: min(31rem, 88vw);
  height: 22rem;
  overflow: visible;
  contain: layout;
}

.pie-base,
.pie-chart {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16rem;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -47%) rotateX(58deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.pie-base {
  top: calc(50% + 1.2rem);
  background: conic-gradient(var(--pie));
  filter: saturate(0.75) brightness(0.82);
  box-shadow: 0 1.2rem 2.4rem rgba(37, 63, 103, 0.18);
}

.pie-chart {
  background: conic-gradient(var(--pie));
  box-shadow:
    inset 0 0.45rem 1.2rem rgba(255, 255, 255, 0.34),
    0 0.75rem 1.4rem rgba(37, 63, 103, 0.12);
  opacity: 0;
  transform: translate(-50%, -47%) rotateX(58deg) scale(0.94);
  will-change: transform, opacity;
}

.pie-chart.animate {
  animation: pie-pop 0.75s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
}

.chart-label {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  max-width: 8.8rem;
  color: #52617c;
  font-size: 0.9rem;
  line-height: 1.25;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.chart-label.left {
  transform: translate(-100%, -50%);
}

.chart-label.right {
  transform: translate(0, -50%);
}

.chart-label i {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.chart-line {
  position: absolute;
  z-index: 1;
  height: 0;
  border-top: 1px dashed rgba(100, 112, 138, 0.54);
  transform-origin: left center;
}

@keyframes pie-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -47%) rotateX(58deg) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -47%) rotateX(58deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pie-chart.animate {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -47%) rotateX(58deg);
  }
}

.club-style-section {
  margin-top: 2rem;
}

.page-section-head {
  align-items: flex-end;
  margin-bottom: 1.3rem;
}

.page-section-head h2 {
  margin: 0;
  font-size: 1.75rem;
}

.page-section-head p {
  margin: 0;
  color: var(--muted);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.member-profile-card {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.member-profile-card img {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
  background: #eef5ff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.member-profile-card div {
  display: grid;
  gap: 0.35rem;
}

.member-profile-card strong {
  font-size: 1.18rem;
}

.member-profile-card span {
  color: var(--blue);
  font-weight: 700;
}

.member-profile-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.moment-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.moment-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef5ff;
}

.moment-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1rem;
}

.moment-card span {
  color: var(--muted);
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef5ff;
}

.project-card div {
  padding: 1.25rem;
}

.project-card span {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.project-card h2 {
  margin: 0.55rem 0 0.75rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-award {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.55rem;
  color: #0f5ee8;
  background: #eaf3ff;
}

.activity-feed {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
}

.activity-feed-item {
  display: grid;
  grid-template-columns: 1fr 13rem;
  gap: 1.6rem;
  align-items: center;
  padding: 1.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-align: left;
}

.activity-feed-item img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef5ff;
  border-radius: 0.55rem;
}

.activity-feed-item div {
  grid-column: 1;
  grid-row: 1;
}

.activity-feed-item h2 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
}

.activity-feed-item p {
  margin: 0;
  color: #3d4b65;
  line-height: 1.75;
}

.activity-feed-item .feed-meta {
  margin-bottom: 0.8rem;
  color: #9aa3b4;
}

.join-page {
  min-height: calc(100vh - 82px);
  padding-bottom: 0.7rem;
  color: var(--ink);
}

.join-hero {
  position: relative;
  overflow: hidden;
  min-height: 21.3rem;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.96) 0 4rem, transparent 13rem),
    radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.86) 0 7rem, transparent 18rem),
    linear-gradient(180deg, #f7fbff 0%, #eaf5ff 48%, #cfe9ff 100%);
}

.join-hero::before,
.join-hero::after {
  content: "";
  position: absolute;
  left: -4rem;
  right: -4rem;
  pointer-events: none;
}

.join-hero::before {
  bottom: 0;
  height: 9rem;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(58, 137, 255, 0.18), transparent 60%),
    repeating-linear-gradient(8deg, transparent 0 4.6rem, rgba(255, 255, 255, 0.56) 4.7rem 4.82rem, transparent 4.94rem 9rem);
}

.join-hero::after {
  bottom: -2.7rem;
  height: 8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(121, 184, 255, 0.2), transparent);
  transform: rotate(-1.6deg);
}

.join-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(20rem, 0.86fr) minmax(34rem, 1.14fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 5.5rem);
  width: min(108rem, calc(100vw - 6rem));
  min-height: 21.3rem;
  margin: 0 auto;
  padding: 1.15rem 0 1.65rem;
}

.join-visual {
  display: grid;
  place-items: center;
  margin: 0;
}
.join-visual img {
    position: relative;
    top: -20px; /* 往上提 20 像素 */
}
.join-visual img {
  width: min(21.8rem, 29vw);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(21, 102, 214, 0.15));
}

.join-hero-copy {
  min-width: 0;
}

.join-hero h1 {
  margin: 0;
  color: #081739;
  font-size: clamp(4.3rem, 6.5vw, 6.4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.join-hero h1::first-letter {
  color: var(--blue);
}

.join-hero p {
  margin: 0.75rem 0 1.7rem;
  color: #16233c;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.45;
}

.join-hero p span {
  color: var(--blue);
  font-weight: 900;
}

.join-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(52rem, 100%);
}

.join-highlights span {
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  min-width: 0;
  padding: 0 1.15rem;
  text-align: center;
  border-right: 1px solid rgba(67, 126, 206, 0.22);
}

.join-highlights span:last-child {
  border-right: 0;
}

.join-highlights b {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.join-highlights strong {
  color: #16233c;
  font-size: 1rem;
}

.join-highlights small {
  color: #627089;
  font-size: 0.78rem;
  line-height: 1.35;
}

.join-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(24rem, 0.95fr) minmax(36rem, 1.65fr);
  gap: 2.25rem;
  width: min(104rem, calc(100vw - 5.2rem));
  margin: 1.5rem auto 0.7rem;
  padding: 1.65rem 2.1rem 1.35rem;
  border: 1px solid rgba(204, 226, 251, 0.95);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(61, 133, 216, 0.16);
}

.join-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.join-info:first-child {
  padding-left: 0;
}

.join-info:last-child {
  padding-right: 0;
}

.join-info + .join-info {
  border-left: 0;
}

.join-info h2 {
  position: relative;
  margin: 0 0 1.15rem;
  padding-left: 1rem;
  color: #14213a;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
}

.join-info h2::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  bottom: 0.12rem;
  width: 0.25rem;
  height: auto;
  background: var(--blue);
  border-radius: 2px;
}

.join-contact-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.72rem;
  margin: 0;
  height: 100%;
}

.join-contact-item {
  display: grid;
  grid-template-columns: 4.15rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  min-height: 5.15rem;
  padding: 0.78rem 1rem;
  border: 1px solid #d7e8fb;
  border-radius: 0.78rem;
  background: linear-gradient(135deg, #f6fbff 0%, #ffffff 100%);
}

.join-contact-item:last-child {
  border-bottom: 1px solid #cfe4fb;
}

.join-info dt {
  display: contents;
  color: #24364f;
  font-weight: 800;
}

.join-contact-icon {
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  grid-row: 1 / 3;
  grid-column: 1;
  border-radius: 0.78rem;
  color: var(--blue);
  font-size: 1.55rem;
  background: linear-gradient(135deg, #eaf3ff 0%, #dceaff 100%);
}

.join-info dd {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: #566276;
  text-align: left;
  line-height: 1.42;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.join-members-panel {
  display: grid;
}

.join-member-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, 3.15rem);
  grid-auto-rows: 3.15rem;
  gap: 0.72rem;
  align-items: center;
  width: 100%;
  margin: 0 0 0.82rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.join-member-avatar,
.join-member-more,
.join-member-placeholder {
  justify-self: center;
  width: 3.15rem;
  aspect-ratio: 1;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0f65e8;
  box-shadow: 0 6px 16px rgba(23, 104, 255, 0.16);
}

.join-member-avatar {
  object-fit: cover;
}

.join-member-placeholder {
  display: none;
  border-style: dashed;
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0 0.3rem, transparent 0.32rem),
    #f7fafc;
}

.join-member-more {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f65e8;
}

.join-member-more img {
  position: absolute;
  top: 50%;
  left: calc(30% + var(--stack) * 18%);
  width: 1.6rem;
  aspect-ratio: 1;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  transform: translate(-50%, -55%);
}

.join-member-more b {
  position: absolute;
  right: 0.2rem;
  bottom: 0.1rem;
  display: grid;
  place-items: center;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  color: #fff;
  background: #1e40af;
  font-size: 0.65rem;
  line-height: 1;
}

.join-member-empty {
  grid-column: 1 / -1;
  color: #94a3b8;
}

.join-slogan {
  justify-self: center;
  margin: 0.1rem 0 0.45rem;
  color: #14213a;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
}

.join-info p,
.join-intro {
  margin: 0.25rem 0 0;
  color: #657188;
  line-height: 1.58;
  font-size: 0.96rem;
}

.join-recruit {
  margin-top: 0;
  padding: 1rem 0.2rem 1rem 1.15rem;
  background: transparent;
  border-radius: 0;
}

.join-recruit h3 {
  margin: 0 0 0.3rem;
  color: #14213a;
  font-size: 1.08rem;
  font-weight: 900;
}

.join-recruit p {
  margin: 0;
  color: #5f6b80;
  font-size: 0.96rem;
  line-height: 1.55;
  white-space: pre-line;
}

.recruit-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13rem, 0.32fr) minmax(25rem, 1fr);
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 1rem;
  margin-bottom: 0;
  border: 1px solid #d8e8fb;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
  overflow: hidden;
}

.recruit-copy {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border: 0;
  background: transparent;
}

.recruit-copy > * {
  margin: 0;
}

.recruit-box h3 {
  margin: 0 0 0.4rem;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
}

.recruit-copy p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.dino-stage {
  position: relative;
  width: 100%;
  min-height: 4.65rem;
  align-self: stretch;
  overflow: hidden;
  background: transparent;
  border: none;
  border-radius: 0;
}

.dino-ground {
  position: absolute;
  left: 0.4rem;
  right: 1rem;
  bottom: 1.05rem;
  height: 0;
  border-bottom: 2px solid #9aa6b8;
  opacity: 0.72;
}

.dino-ground::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.25rem;
  height: 0.28rem;
  background: repeating-linear-gradient(90deg, transparent 0 2.5rem, #9aa6b8 2.5rem 2.68rem, transparent 2.68rem 4.2rem);
  animation: dino-ground 0.64s linear infinite;
}

.dino-runner,
.dino-cactus {
  position: absolute;
  image-rendering: pixelated;
}

.dino-runner {
  --dino-size: clamp(2.55rem, 3.6vw, 3.15rem);
  left: 1.2rem;
  bottom: 1.05rem;
  width: var(--dino-size);
  height: var(--dino-size);
  color: var(--blue);
  background: currentColor;
  clip-path: polygon(
    43% 9%, 69% 9%, 69% 16%, 78% 16%, 78% 25%, 61% 25%, 61% 32%,
    73% 32%, 73% 39%, 56% 39%, 56% 50%, 66% 50%, 66% 57%,
    48% 57%, 48% 67%, 40% 67%, 40% 78%, 47% 78%, 47% 87%,
    38% 87%, 38% 78%, 30% 78%, 30% 88%, 19% 88%, 19% 80%,
    27% 80%, 27% 69%, 20% 69%, 20% 59%, 11% 65%, 11% 56%,
    21% 48%, 29% 44%, 30% 33%, 35% 33%, 35% 20%, 43% 20%
  );
  animation: dino-jump 2.1s ease-in-out infinite;
}

.dino-runner::before {
  content: "";
  position: absolute;
  left: 59%;
  top: 15%;
  width: 7%;
  height: 7%;
  background: #fff;
}

.dino-cactus {
  --cactus-width: clamp(0.9rem, 1.35vw, 1.12rem);
  right: calc(-1 * var(--cactus-width));
  bottom: 1.05rem;
  width: var(--cactus-width);
  height: calc(var(--cactus-width) * 2.45);
  color: #0f65e8;
  background: currentColor;
  clip-path: polygon(
    41% 0, 64% 0, 64% 35%, 82% 35%, 82% 20%, 100% 20%, 100% 51%,
    64% 51%, 64% 100%, 41% 100%, 41% 62%, 0 62%, 0 31%, 18% 31%,
    18% 46%, 41% 46%
  );
  animation: cactus-run 2.1s linear infinite;
}

@keyframes dino-jump {
  /* 从 0% 到 75% 的时间里，恐龙都老老实实待在地面上 */
  0%, 75%, 100% {
    transform: translateY(0);
  }
  /* 80% 的时候迅速起跳到达最高点 */
  80% {
    transform: translateY(calc(-1 * clamp(1.65rem, 2.8vw, 2.15rem)));
  }
  /* 85% 的时候依然在最高点（稍微滞空一下） */
  90% {
    transform: translateY(calc(-1 * clamp(1.65rem, 2.8vw, 2.15rem)));
  }
  /* 90% 到 100% 快速落回地面，然后无缝衔接下一轮动画 */
}

@keyframes cactus-run {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-48rem);
  }
}

@keyframes dino-ground {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-0.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dino-runner,
  .dino-cactus,
  .dino-ground {
    animation: none;
  }
}

.primary-button {
  min-height: 2.7rem;
  padding: 0 1.25rem;
  color: #fff;
  background: var(--blue);
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(13, 29, 56, 0.34);
  backdrop-filter: blur(10px);
}

.detail-modal[hidden] {
  display: none;
}

.detail-card {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 3rem));
  overflow: auto;
  padding: 1.8rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 22px 64px rgba(10, 27, 54, 0.2);
}

.detail-kicker {
  margin-bottom: 0.55rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.detail-card h2 {
  margin: 0 2.5rem 0.7rem 0;
  font-size: 1.55rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.detail-card p {
  margin: 0;
  color: #44516b;
  line-height: 1.9;
}

.detail-image {
  width: 100%;
  margin-bottom: 1.2rem;
  max-height: min(62vh, 560px);
  aspect-ratio: auto;
  object-fit: contain;
  background: #eef5ff;
  border-radius: 0.7rem;
}

.achievement-detail-image {
  max-height: min(66vh, 620px);
  aspect-ratio: auto;
  object-fit: contain;
}

.detail-list {
  display: grid;
  gap: 0.75rem;
}

.detail-list button {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: inherit;
  background: #fbfdff;
  text-align: left;
}

.detail-list button:hover {
  border-color: color-mix(in srgb, var(--blue) 36%, var(--line));
}

.detail-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(13, 29, 56, 0.34);
  backdrop-filter: blur(10px);
}

.login-modal[hidden] {
  display: none;
}

.login-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  width: min(390px, 100%);
  padding: 1.8rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 22px 64px rgba(10, 27, 54, 0.2);
}

.login-card h2 {
  margin: 0;
}

.login-card p {
  margin: 0;
  color: var(--muted);
}

.login-card label {
  color: #24314a;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #dbe5f2;
  border-radius: 0.7rem;
  padding: 0.72rem 0.82rem;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent);
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 0.65rem;
  color: #6c7891;
  background: #f3f7fc;
}

.close-button svg {
  width: 1rem;
  height: 1rem;
}

.form-message {
  min-height: 1.2rem;
  color: #d43030;
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .site-shell {
    width: min(100% - 2rem, 1080px);
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    padding-inline: 0.5rem;
  }

  .main-nav {
    position: fixed;
    top: 5.2rem;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.85rem 1rem;
  }

  .menu-button {
    display: inline-flex;
  }

  .top-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: 4rem;
    width: min(66%, 720px);
  }

  .achievement-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-logo {
    width: 3.6rem;
    height: 3.6rem;
  }

  .brand {
    font-size: 1.45rem;
  }

  .join-layout {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(28rem, 1.2fr);
    width: min(100%, calc(100vw - 2rem));
    gap: 1.4rem;
    padding: 1.6rem;
  }

  .join-hero-inner {
    grid-template-columns: minmax(15rem, 0.7fr) minmax(26rem, 1.3fr);
    width: min(100%, calc(100vw - 2rem));
    gap: 2rem;
  }

  .join-visual img {
    width: min(19rem, 28vw);
  }

  .join-hero h1 {
    font-size: clamp(3.6rem, 7vw, 5.4rem);
  }

  .join-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0;
  }

  .join-member-wall {
    grid-template-columns: repeat(auto-fill, 3rem);
    grid-auto-rows: 3rem;
  }

  .join-member-avatar,
  .join-member-more,
  .join-member-placeholder {
    width: 3rem;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 14px;
  }

  .site-shell {
    width: min(100% - 1rem, 680px);
  }

  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-logo {
    width: 3rem;
    height: 3rem;
  }

  .brand-copy small {
    font-size: 0.52rem;
  }

  .hero-copy {
    padding: 2.2rem 1.3rem 2.3rem;
    width: min(78%, 520px);
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .hero-subtitle {
    letter-spacing: 0.03em;
  }

  .hero-line {
    letter-spacing: 0.15em;
  }

  .star-doodle,
  .plane-doodle {
    display: none;
  }

  .panel,
  .achievement-section {
    padding: 1.2rem;
  }

  .notice-item {
    grid-template-columns: 3.1rem 1fr;
  }

  .notice-item time {
    grid-column: 2;
  }

  .feature-row,
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-item {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .activity-feed-item {
    grid-template-columns: 1fr;
  }

  .join-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    width: min(100%, calc(100vw - 1.5rem));
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .join-info {
    padding: 0;
    border-left: none !important;
    border-top: 0;
  }

  .join-info:first-child {
    padding-top: 0;
    border-top: none;
  }

  .join-info:last-child {
    padding-bottom: 0;
  }

  .join-contact-list {
    height: auto;
  }

  .join-contact-item {
    flex: none;
    min-height: 5.4rem;
  }

  .join-member-wall {
    grid-template-columns: repeat(auto-fill, 2.85rem);
    grid-auto-rows: 2.85rem;
  }

  .dino-stage {
    min-height: 4.4rem;
    margin-top: 0;
  }

  .dino-runner {
    --dino-size: 3rem;
  }

  .dino-cactus {
    --cactus-width: 1.05rem;
  }

  .join-page {
    padding-top: 0;
  }

  .join-hero {
    min-height: auto;
  }

  .join-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    width: min(100%, calc(100vw - 1.5rem));
    padding: 1.4rem 0 2rem;
    text-align: center;
  }

  .join-visual img {
    width: min(15rem, 62vw);
  }

  .join-hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  .join-hero p {
    margin: 0.8rem 0 1.4rem;
    font-size: 1.05rem;
  }

  .join-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
  }

  .join-highlights span {
    padding: 0.4rem 0.75rem;
    border-right: 0;
  }
  .activity-feed-item div {
    grid-column: auto;
    grid-row: auto;
  }

  .members-grid,
  .moments-grid,
  .projects-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .feature-row,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .join-contact-item {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .join-info dt {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .join-contact-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .join-member-wall {
    grid-template-columns: repeat(auto-fill, 2.45rem);
    grid-auto-rows: 2.45rem;
    gap: 0.64rem;
  }

  .join-member-avatar,
  .join-member-more,
  .join-member-placeholder {
    width: 2.45rem;
  }

  .dino-stage {
    min-height: 4rem;
    height: auto;
  }

  .dino-runner {
    --dino-size: 2.8rem;
  }

  .dino-cactus {
    --cactus-width: 0.95rem;
  }

  .recruit-box {
    grid-template-columns: 1fr;
  }

  .join-highlights {
    grid-template-columns: 1fr;
  }
}
