:root {
  --bg: #08070c;
  --panel: #0e1a12;
  --panel-2: #162a1d;
  --text: #f5f2ff;
  --muted: rgba(245, 242, 255, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --purple: #7a37ff;
  --purple-2: #b05cff;
  --green: #b6ff00;
  --orange: #f26a2e;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

[data-i18n] {
  display: none !important;
}

html[data-lang="zh"] [data-i18n="zh"],
html[data-lang="en"] [data-i18n="en"] {
  display: inline !important;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(8, 7, 12, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.brand-logo {
  width: clamp(180px, 18vw, 280px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  background: var(--green);
  color: #0a0a0a;
  box-shadow: 0 0 26px rgba(182, 255, 0, 0.24);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  padding: 128px 0 64px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/sunday-rangers-web.jpg");
  background-size: cover;
  background-position: 64% center;
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 11, 6, 0.98) 0%, rgba(3, 11, 6, 0.88) 42%, rgba(3, 11, 6, 0.36) 72%, rgba(3, 11, 6, 0.82) 100%),
    linear-gradient(180deg, rgba(3, 11, 6, 0.32), rgba(3, 11, 6, 0.96));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 48px;
  min-height: calc(94vh - 192px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(43px, 7vw, 92px);
  line-height: 0.94;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent-line {
  margin-top: 18px;
  color: var(--green);
  font-size: clamp(28px, 4.5vw, 58px);
}

.hero-en {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
}

.hero-sub {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

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

.hero-panel {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: rgba(20, 16, 29, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 3px 0 0 var(--green);
}

.hero-panel strong {
  color: #fff;
  font-size: 20px;
}

.hero-panel span {
  margin-bottom: 10px;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.problem {
  background: #0d0914;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list div,
.pathway-grid article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 800;
}

.check-list .highlight {
  color: #090909;
  background: var(--green);
  border-color: var(--green);
}

.system {
  background:
    linear-gradient(135deg, rgba(122, 55, 255, 0.22), transparent 46%),
    linear-gradient(315deg, rgba(182, 255, 0, 0.12), transparent 42%),
    #07120b;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p:last-child {
  margin: 14px 0 0;
}

.loop,
.program-grid,
.module-grid,
.pathway-grid {
  display: grid;
  gap: 18px;
}

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

.loop article,
.module-card,
.program-grid article,
.stats article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.loop article {
  min-height: 220px;
  padding: 26px;
}

.loop span,
.program-grid span {
  color: var(--green);
  font-weight: 900;
}

.loop h3,
.module-card h3,
.program-grid h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 28px;
}

.modules {
  background: #08070c;
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
}

.module-card {
  min-height: 255px;
  padding: 24px;
}

.module-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--purple);
  border-radius: 8px;
  color: var(--green);
}

.module-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.module-card em {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 16px;
  font-style: normal;
}

.programs {
  background: #100b18;
}

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

.program-grid.compact {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.program-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.poster-wrap {
  overflow: hidden;
  border: 1px solid rgba(182, 255, 0, 0.35);
  border-radius: 8px;
  background: #061007;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center top;
}

.program-detail {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(182, 255, 0, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.055);
}

.program-detail h3 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.program-line {
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.info-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 18px;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-grid span {
  color: var(--green);
  font-weight: 900;
}

.info-grid strong {
  color: #fff;
}

.camp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.camp-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(122, 55, 255, 0.18), transparent 52%),
    rgba(255, 255, 255, 0.055);
}

.camp-card.featured {
  border-color: rgba(182, 255, 0, 0.5);
  background:
    linear-gradient(160deg, rgba(182, 255, 0, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.065);
}

.camp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  color: #08070c;
  background: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.camp-card h3 {
  margin: 26px 0 14px;
  color: #fff;
  font-size: 28px;
  line-height: 1.08;
}

.camp-card p {
  margin: 0;
}

.camp-card strong {
  display: block;
  margin-top: 22px;
  color: #fff;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green);
  font-weight: 900;
}

.camps-hero {
  padding: 142px 0 72px;
  background:
    linear-gradient(90deg, rgba(3, 11, 6, 0.94), rgba(3, 11, 6, 0.58)),
    linear-gradient(135deg, rgba(122, 55, 255, 0.34), transparent 48%),
    url("./assets/camps/summer/page-1-web.jpg") center 18% / cover;
}

.camps-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
  min-height: 560px;
}

.camps-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
}

.camp-summary-panel {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(182, 255, 0, 0.3);
  border-radius: 8px;
  background: rgba(8, 7, 12, 0.78);
  box-shadow: inset 3px 0 0 var(--green);
}

.camp-summary-panel strong {
  color: #fff;
  font-size: 20px;
}

.camp-summary-panel span {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.camp-detail {
  background: #08070c;
}

.overseas-section {
  background:
    linear-gradient(135deg, rgba(122, 55, 255, 0.2), transparent 48%),
    #0d0914;
}

.camp-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 22px;
}

.camp-info-strip article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.camp-info-strip span {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.camp-info-strip strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  line-height: 1.45;
}

.camp-brief-grid,
.overseas-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.camp-brief-grid article,
.overseas-types article,
.pathway-steps article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.camp-brief-grid span,
.overseas-types span {
  color: var(--green);
  font-weight: 950;
}

.camp-brief-grid h3,
.overseas-types h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1.14;
}

.camp-brief-grid p,
.overseas-types p {
  margin: 0;
}

.camp-feature-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0 0 26px;
}

.camp-feature-list div {
  padding: 16px;
  border: 1px solid rgba(182, 255, 0, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(182, 255, 0, 0.08);
  font-weight: 850;
  line-height: 1.45;
}

.pathway-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.pathway-steps strong,
.pathway-steps span {
  display: block;
}

.pathway-steps strong {
  color: #fff;
  font-size: 20px;
}

.pathway-steps span {
  margin-top: 10px;
  color: var(--muted);
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 28px;
}

.program-grid article {
  padding: 26px;
}

.program-grid strong,
.program-grid small {
  display: block;
}

.program-grid strong {
  margin-top: 22px;
  font-size: 20px;
}

.program-grid small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
}

.serve {
  padding: 68px 0;
  background: var(--green);
  color: #090909;
}

.serve .section-kicker,
.serve p,
.serve li {
  color: rgba(9, 9, 9, 0.78);
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.split-band li {
  padding: 16px 18px;
  background: rgba(9, 9, 9, 0.08);
  border-radius: 8px;
  font-weight: 900;
}

.coaches {
  background: #08070c;
}

.stats {
  display: grid;
  gap: 14px;
}

.stats article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.stats strong {
  color: var(--green);
  font-size: 42px;
}

.stats span {
  color: var(--muted);
  line-height: 1.55;
}

.pathway {
  background:
    linear-gradient(135deg, rgba(182, 255, 0, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(122, 55, 255, 0.36), transparent 45%),
    #130d1d;
}

.pathway-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.pathway-grid article {
  min-height: 96px;
  font-size: 21px;
}

.pathway-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.location {
  padding: 64px 0;
  background: #08070c;
}

.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.location-note {
  max-width: 360px;
  margin: 0;
}

.contact {
  background: #120d1b;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 28px;
}

.contact-methods a {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.qr-contact-card {
  overflow: hidden;
  border: 1px solid rgba(182, 255, 0, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(182, 255, 0, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.06);
}

.qr-contact-card img {
  width: 100%;
  background: #d9d5e7;
}

.qr-caption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.qr-caption strong {
  color: #fff;
  font-size: 22px;
}

.qr-caption span {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
  background: #08070c;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-grid,
  .camps-hero-grid,
  .two-col,
  .split-band,
  .pathway-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    max-width: 420px;
  }

  .loop,
  .program-grid,
  .program-grid.compact,
  .camp-grid,
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-feature {
    grid-template-columns: 1fr;
  }

  .camp-info-strip,
  .camp-brief-grid,
  .overseas-types,
  .pathway-steps,
  .camp-feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .location-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-logo {
    width: 154px;
    max-height: 38px;
  }

  .nav-cta,
  .lang-toggle {
    font-size: 12px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    padding: 104px 0 46px;
  }

  .camps-hero {
    padding: 112px 0 52px;
  }

  .camps-hero-grid {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 7, 12, 0.95), rgba(8, 7, 12, 0.68)),
      linear-gradient(180deg, rgba(8, 7, 12, 0.35), rgba(8, 7, 12, 0.96));
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h1 span {
    font-size: 28px;
    line-height: 1.1;
  }

  .hero-en {
    font-size: 24px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .pdf-actions {
    display: grid;
  }

  .section {
    padding: 64px 0;
  }

  .loop,
  .program-grid,
  .program-grid.compact,
  .camp-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .stats article {
    grid-template-columns: 1fr;
  }

  .camp-info-strip,
  .camp-brief-grid,
  .overseas-types,
  .pathway-steps,
  .camp-feature-list {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
  }

  .brand {
    padding: 7px 9px;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
  }

  .brand-logo {
    width: 132px;
  }

  .nav-cta {
    display: none;
  }
}
