:root {
  --red: #e0001c;
  --red-deep: #7d0010;
  --white: #f6f3ec;
  --muted: #aaa6a0;
  --black: #050506;
  --panel: rgba(12, 13, 13, 0.9);
  --line: rgba(255, 255, 255, 0.15);
  --ease: cubic-bezier(0.18, 0.98, 0.22, 1);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  color: var(--white);
  font-family: "Microsoft YaHei", "Bahnschrift", "Arial Black", sans-serif;
}

button,
a { font: inherit; }

.stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: auto;
  background:
    radial-gradient(circle at 76% 22%, rgba(224, 0, 28, 0.26), transparent 30%),
    linear-gradient(112deg, #030303 0%, #0a0b0b 48%, #020202 100%);
}

.stage::before {
  content: "";
  position: absolute;
  inset: 34px 42px;
  border: 1px solid rgba(224, 0, 28, 0.24);
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 24%, rgba(224,0,28,.14), transparent 26%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 100% 100%, 96px 96px, 96px 96px;
  background-position: center, 0 0, 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
  animation: ambientPulse 7s linear infinite alternate, gridDrift 18s linear infinite;
}

.texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.texture-a {
  opacity: .14;
  background: url("./assets/img/pattern-block-a.png") right 90px top 210px / 420px 420px no-repeat;
  animation: textureDriftA 16s linear infinite alternate;
}

.texture-b {
  opacity: .1;
  background: url("./assets/img/pattern-dot.jpg") left 90px bottom 50px / 520px 520px no-repeat;
  mix-blend-mode: screen;
  animation: textureDriftB 19s linear infinite alternate;
}

@keyframes ambientPulse {
  from {
    opacity: .74;
    filter: saturate(.92) brightness(.96);
  }
  to {
    opacity: .92;
    filter: saturate(1.08) brightness(1.05);
  }
}

@keyframes gridDrift {
  from { background-position: center, 0 0, 0 0; }
  to { background-position: center, 96px 48px, -48px 96px; }
}

@keyframes textureDriftA {
  from {
    opacity: .11;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: .18;
    transform: translate3d(-22px, 16px, 0) scale(1.035);
  }
}

@keyframes textureDriftB {
  from {
    opacity: .07;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: .13;
    transform: translate3d(20px, -18px, 0) scale(1.025);
  }
}

.topbar {
  position: absolute;
  z-index: 40;
  top: 48px;
  left: 90px;
  right: 90px;
  height: 100px;
  display: grid;
  grid-template-columns: 360px 1fr 196px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-bottom-color: rgba(224,0,28,.86);
  background: rgba(4, 5, 5, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0,0,0,.48), inset 0 -1px 0 rgba(224,0,28,.32);
}

.brand {
  width: 330px;
  height: 82px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brand img {
  width: 318px;
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(224,0,28,.55)) drop-shadow(0 2px 2px rgba(0,0,0,.9));
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-link,
.nav-cta,
.primary,
.ghost,
.service-card,
.interactive {
  cursor: pointer;
}

.nav-link {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  padding: 18px 3px;
  transition: color .28s linear, transform .28s linear;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s linear;
}

.nav-link:hover,
.nav-link.active,
.nav-link.is-hover {
  color: var(--red);
  transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link.is-hover::after {
  transform: scaleX(1);
}

.nav-cta {
  height: 48px;
  border: 1px solid rgba(224,0,28,.9);
  color: var(--white);
  background: linear-gradient(90deg, rgba(224,0,28,.22), rgba(224,0,28,.62));
  font-weight: 900;
  transition: transform .22s linear, box-shadow .22s linear, background .22s linear;
}

.nav-cta:hover,
.nav-cta.is-hover {
  transform: translateY(-3px);
  background: var(--red);
  box-shadow: 0 0 28px rgba(224,0,28,.42);
}

.page {
  position: absolute;
  inset: 174px 90px 64px;
  z-index: 3;
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(4px);
  pointer-events: none;
  transition: opacity .64s linear, transform .64s linear, filter .64s linear;
}

.page.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .15em;
}

.section-head {
  padding-left: 70px;
  margin-bottom: 30px;
}

.section-head.compact { margin-bottom: 24px; }

.section-head h2,
.hero-copy h1,
.outro-core h2 {
  margin: 0;
  line-height: .9;
  letter-spacing: 0;
}

.section-head h2 {
  font-size: 84px;
  font-weight: 900;
}

.section-head p:last-child {
  max-width: 850px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.48;
}

.page-home {
  display: grid;
  grid-template-columns: minmax(650px, .9fr) 1.1fr;
  gap: 54px;
  align-items: center;
}

.hero-copy {
  padding-left: 88px;
}

.hero-copy h1 {
  font-family: Impact, "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: 152px;
}

.hero-copy h1 span { display: block; }
.hero-copy h1 span:last-child { color: var(--red); }

.hero-copy h2 {
  margin: 26px 0 0;
  font-size: 56px;
}

.lead {
  width: 630px;
  margin: 20px 0 34px;
  color: var(--muted);
  font-size: 25px;
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 18px; }

.primary,
.ghost {
  height: 58px;
  padding: 0 30px;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  overflow: hidden;
  transition: transform .24s linear, border-color .24s linear, background .24s linear, box-shadow .24s linear;
}

.primary {
  background: var(--red);
  border-color: var(--red);
}

.primary:hover,
.ghost:hover,
.primary.is-hover,
.ghost.is-hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 18px 45px rgba(224,0,28,.28);
}

.ghost:hover,
.ghost.is-hover {
  background: rgba(224,0,28,.18);
}

.hero-visual {
  position: relative;
  height: 720px;
  margin-right: 52px;
}

.main-poster,
.floating-poster,
.training-stamp {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(224,0,28,.54);
  background: #111;
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
}

.main-poster {
  right: 0;
  top: 28px;
  width: 620px;
  height: 600px;
}

.main-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.floating-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-one {
  left: 26px;
  bottom: 74px;
  width: 330px;
  height: 236px;
  transform: rotate(-6deg);
}

.training-stamp {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px;
  background:
    linear-gradient(140deg, rgba(224,0,28,.92), rgba(18,18,18,.95) 56%),
    radial-gradient(circle at 22% 22%, rgba(255,255,255,.18), transparent 32%);
  box-shadow: 0 28px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.1);
}

.training-stamp::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.2);
}

.training-stamp span,
.training-stamp strong,
.training-stamp em {
  position: relative;
  z-index: 1;
}

.training-stamp span {
  font-family: Impact, "Arial Black", sans-serif;
  color: var(--white);
  font-size: 48px;
  line-height: .88;
}

.training-stamp strong {
  color: var(--black);
  background: var(--white);
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  font-size: 15px;
}

.training-stamp em {
  color: rgba(255,255,255,.84);
  font-style: normal;
  font-weight: 900;
  font-size: 16px;
}

.poster-two {
  left: 146px;
  top: 72px;
  width: 370px;
  height: 240px;
}

.poster-two img { object-position: 52% 48%; }

.metric-panel {
  position: absolute;
  right: 84px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 132px);
  gap: 10px;
}

.metric-panel div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(12,12,13,.9);
}

.metric-panel strong {
  display: block;
  color: var(--red);
  font-size: 42px;
  line-height: 1;
}

.metric-panel span {
  color: var(--muted);
  font-size: 14px;
}

.about-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 52px;
  padding: 0 70px;
}

.coach-card,
.about-panel,
.service-detail,
.course-preview,
.community-feature,
.community-tile {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,13,14,.82);
  box-shadow: 0 25px 80px rgba(0,0,0,.42);
}

.interactive {
  transition: transform .28s linear, border-color .28s linear, box-shadow .28s linear, filter .28s linear;
}

.interactive:hover,
.interactive.is-hover {
  transform: translateY(-7px);
  border-color: rgba(224,0,28,.9);
  box-shadow: 0 26px 72px rgba(224,0,28,.2), 0 25px 80px rgba(0,0,0,.45);
}

.coach-card {
  position: relative;
  height: 606px;
  overflow: hidden;
}

.coach-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.coach-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,.96));
}

.coach-caption span,
.coach-caption strong {
  display: block;
}

.coach-caption span {
  color: var(--red);
  font-weight: 900;
  margin-bottom: 8px;
}

.coach-caption strong {
  font-size: 25px;
}

.about-panel {
  position: relative;
  padding: 44px 44px 38px 58px;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  width: 12px;
  background: var(--red);
}

.about-panel h3 {
  margin: 0 0 18px;
  font-size: 50px;
}

.about-panel p {
  margin: 0 0 26px;
  max-width: 930px;
  color: var(--muted);
  font-size: 25px;
  line-height: 1.55;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.about-tags span,
.detail-grid span {
  border: 1px solid rgba(224,0,28,.58);
  color: var(--white);
  background: rgba(224,0,28,.12);
  font-weight: 900;
}

.about-tags span {
  padding: 10px 16px;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  grid-template-rows: 154px 154px;
  gap: 14px;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,.1);
  background: #111;
  object-fit: cover;
}

.about-gallery img:nth-child(2) {
  object-position: center;
}

.about-gallery img:nth-child(3) {
  object-fit: contain;
  background: #060606;
}

.about-gallery img:nth-child(4) {
  object-position: center;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 28px;
  padding: 0 70px;
}

.service-main {
  min-width: 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  height: 236px;
  padding: 16px 16px 20px;
  text-align: left;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, rgba(255,255,255,.055), transparent), rgba(14,16,16,.92);
  overflow: hidden;
  transition: transform .28s linear, border-color .28s linear, background .28s linear, box-shadow .28s linear;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 8px;
  background: var(--red);
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .28s linear;
}

.service-card img {
  position: absolute;
  inset: 8px 8px auto;
  width: calc(100% - 16px);
  height: 104px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
  filter: saturate(.72) contrast(1.1) brightness(.72);
  transition: transform .28s linear, filter .28s linear;
}

.service-card span {
  display: block;
  margin-top: 122px;
  margin-bottom: 7px;
  font-size: 21px;
  font-weight: 900;
}

.service-card strong {
  display: block;
  color: var(--red);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 31px;
  letter-spacing: .02em;
  line-height: .94;
}

.service-card[data-service="fatloss"] strong,
.service-card[data-service="muscle"] strong {
  font-size: 29px;
}

.service-card em {
  position: absolute;
  left: 16px;
  right: 14px;
  bottom: 16px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.service-card:hover,
.service-card.active,
.service-card.is-hover {
  transform: translateY(-10px);
  border-color: rgba(224,0,28,.96);
  background: linear-gradient(145deg, rgba(224,0,28,.18), transparent 52%), rgba(18,20,20,.97);
  box-shadow: 0 30px 75px rgba(224,0,28,.19);
}

.service-card:hover img,
.service-card.active img,
.service-card.is-hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.14) brightness(.95);
}

.service-card:hover::before,
.service-card.active::before,
.service-card.is-hover::before {
  transform: scaleX(1);
}

.service-detail {
  position: relative;
  min-height: 244px;
  margin-top: 22px;
  padding: 34px 38px 30px 54px;
  overflow: hidden;
}

.service-detail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 14px;
  background: var(--red);
}

.detail-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .13em;
}

.service-detail h3 {
  margin: 0 0 14px;
  font-size: 44px;
}

.detail-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  max-width: 870px;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.detail-copy span {
  display: inline-block;
  min-width: 92px;
  margin-right: 10px;
  color: var(--red);
  font-weight: 900;
}

.detail-copy strong {
  color: var(--muted);
  font-weight: 700;
}

.detail-grid {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.detail-grid span {
  padding: 8px 14px;
  font-size: 16px;
}

.bars {
  position: absolute;
  right: 34px;
  bottom: 26px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 78px;
}

.bars i {
  display: block;
  width: 15px;
  background: var(--red);
  animation: bar 1.15s linear infinite alternate;
}

.bars i:nth-child(1) { height: 28px; animation-delay: -.1s; }
.bars i:nth-child(2) { height: 56px; animation-delay: -.2s; }
.bars i:nth-child(3) { height: 72px; animation-delay: -.3s; }
.bars i:nth-child(4) { height: 42px; animation-delay: -.4s; }
.bars i:nth-child(5) { height: 62px; animation-delay: -.5s; }

@keyframes bar {
  from { transform: scaleY(.58); opacity: .62; }
  to { transform: scaleY(1); opacity: 1; }
}

.course-preview {
  position: relative;
  height: 542px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(224,0,28,.14), transparent 38%),
    rgba(12,13,14,.88);
}

.course-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(224,0,28,.24);
  pointer-events: none;
}

.course-preview-head {
  position: relative;
  z-index: 1;
  padding: 24px 26px 14px;
}

.course-preview-head span {
  display: block;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

.course-preview-head strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 32px;
}

.course-image-frame {
  position: relative;
  z-index: 1;
  height: 354px;
  margin: 0 26px;
  overflow: hidden;
  border: 1px solid rgba(224,0,28,.48);
  background: #f3eee7;
  box-shadow: 0 24px 62px rgba(0,0,0,.44);
}

.course-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3eee7;
  display: block;
  transition: opacity .2s linear, transform .32s linear;
}

.course-preview:hover .course-image-frame img,
.course-preview.is-hover .course-image-frame img {
  transform: scale(1.018);
}

.course-preview p {
  position: relative;
  z-index: 1;
  margin: 18px 26px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.community-shell {
  position: relative;
  height: 100%;
  padding: 0 70px;
}

.community-head {
  padding-left: 0;
  margin-bottom: 22px;
}

.community-grid {
  display: grid;
  grid-template-columns: 620px 1fr;
  gap: 22px;
  height: calc(100% - 184px);
}

.community-feature {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.community-feature img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 22% 22%, rgba(224,0,28,.12), transparent 32%),
    #101010;
  filter: contrast(1.04) saturate(.92);
}

.community-feature div {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 30px;
  background: linear-gradient(transparent, rgba(0,0,0,.96));
}

.community-feature span {
  color: var(--red);
  font-weight: 900;
}

.community-feature strong {
  display: block;
  margin: 8px 0;
  font-size: 34px;
}

.community-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.community-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.community-tile {
  position: relative;
  overflow: hidden;
}

.community-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s linear, filter .32s linear;
}

.community-tile:hover img,
.community-tile.is-hover img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.08);
}

.community-tile span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 13px;
  background: rgba(0,0,0,.78);
  color: var(--white);
  font-weight: 900;
  border-left: 5px solid var(--red);
}

.tile-plan {
  grid-row: span 1;
}

.tile-plan img {
  object-fit: contain;
  background: #f2f0ea;
  object-position: center;
}

.tile-member img {
  object-position: center 32%;
}

.tile-card img {
  object-fit: cover;
  object-position: center 24%;
}

.tile-poster img {
  object-fit: contain;
  background: #f4f1ea;
}

.join-block {
  position: absolute;
  right: 70px;
  bottom: 0;
  width: 506px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border: 1px solid rgba(224,0,28,.95);
  background: var(--red);
  color: var(--white);
  transition: transform .28s linear, box-shadow .28s linear;
}

.join-block strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 40px;
  line-height: 1;
  white-space: nowrap;
}

.join-block p {
  margin: 0;
  font-weight: 900;
  white-space: nowrap;
}

.join-block:hover,
.join-block.is-hover {
  transform: translateY(-6px);
  box-shadow: 0 0 38px rgba(224,0,28,.35);
}

.page-outro {
  display: grid;
  place-items: center;
}

.outro-core {
  text-align: center;
}

.outro-core > img {
  width: 430px;
  max-height: 210px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 24px rgba(224,0,28,.45));
}

.outro-core h2 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 72px;
}

.outro-core p {
  margin: 14px 0 24px;
  color: var(--red);
  font-size: 25px;
  font-weight: 900;
}

.logo-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.logo-strip img {
  width: 180px;
  height: 72px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
}

.cursor {
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  filter: drop-shadow(0 0 10px rgba(224,0,28,.42));
}

.cursor-arrow {
  display: none;
}

.cursor-arrow::before {
  display: none;
}

.cursor-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(224,0,28,.82);
  border-radius: 50%;
  opacity: .26;
  transform: scale(.78);
  transition: opacity .16s linear, transform .16s linear, border-color .16s linear, box-shadow .16s linear;
  box-shadow: 0 0 0 1px rgba(0,0,0,.42), 0 0 18px rgba(224,0,28,.22);
}

.cursor.hover .cursor-ring {
  opacity: .92;
  transform: scale(1);
  border-color: rgba(224,0,28,1);
  box-shadow: 0 0 0 1px rgba(0,0,0,.55), 0 0 26px rgba(224,0,28,.46);
}

.cursor.click .cursor-ring {
  opacity: 1;
  animation: cursorClick .42s linear;
}

@keyframes cursorClick {
  from { transform: scale(.7); opacity: 1; }
  to { transform: scale(1.45); opacity: 0; }
}
