:root {
  --mint-bg: #eafff6;
  --mint-soft: #d7fff0;
  --mint: #08caa5;
  --mint-deep: #008974;
  --teal-dark: #03493e;
  --line: rgba(0, 186, 151, 0.34);
  --text: #064f45;
  --muted: #37a995;
  --panel-width: 420px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #dff9ef;
}

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

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 119px;
  overflow: hidden;
  background: var(--mint-bg);
  box-shadow: 0 0 0 1px rgba(0, 137, 116, 0.08);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 12px 8px;
}

.topbar__logo {
  width: 138px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.topbar__badge {
  width: 100px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

.register-link {
  position: relative;
  display: grid;
  width: 110px;
  height: 36px;
  margin-left: auto;
  place-items: center;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    filter 160ms ease,
    transform 160ms ease;
  will-change: transform;
}

.register-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.register-link span {
  position: relative;
  z-index: 1;
  padding-left: 3px;
}

.hero {
  position: relative;
  z-index: 1;
  width: var(--panel-width);
  margin: 16px auto 0;
}

.hero__ambient {
  position: absolute;
  left: 50%;
  top: -155px;
  z-index: -1;
  width: 480px;
  max-width: none;
  opacity: 0.2;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__strip {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 219, 181, 0.5);
  box-shadow: 0 10px 26px rgba(0, 83, 70, 0.16);
}

.hero__strip {
  height: 80px;
  margin-top: 10px;
  border-radius: 12px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border: 1px solid rgba(255, 219, 181, 0.5);
  border-radius: 16px;
  background: rgba(1, 75, 65, 0.12);
  box-shadow: 0 10px 26px rgba(0, 83, 70, 0.16);
}

.carousel {
  touch-action: pan-y;
  user-select: none;
}

.carousel__track,
.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__slide,
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 360ms ease;
}

.carousel__image {
  object-fit: cover;
}

.carousel__slide.is-active,
.hero-carousel__slide.is-active {
  opacity: 1;
}

.carousel__dots,
.hero-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.carousel__dots:empty,
.hero-carousel__dots:empty {
  display: none;
}

.carousel__dot,
.hero-carousel__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.carousel__dot.is-active,
.hero-carousel__dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: #00edc1;
}

.panel {
  width: var(--panel-width);
  margin: 16px auto 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  color: var(--mint-deep);
  font-size: 26px;
  line-height: 36px;
  font-weight: 700;
  text-align: center;
}

.section-title::before,
.section-title::after {
  display: block;
  width: 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--mint-deep));
}

.section-title::after {
  background: linear-gradient(90deg, var(--mint-deep), transparent);
}

.section-subtitle {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 16px;
  text-align: center;
}

.contact-panel {
  margin-top: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr 72px;
  gap: 10px;
  min-height: 80px;
  margin-top: 10px;
  padding: 10px 9px;
  align-items: center;
  border: 1px solid rgba(7, 201, 158, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-card__icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-card__copy strong {
  display: block;
  color: #017f6c;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
}

.contact-card__copy p {
  margin: 4px 0 0;
  color: #6e8e88;
  font-size: 10px;
  line-height: 14px;
}

.contact-card__actions {
  display: grid;
  gap: 9px;
}

.pill-button {
  display: grid;
  min-width: 64px;
  height: 26px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid #10c9a7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--mint-deep);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  transition:
    box-shadow 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
  will-change: transform;
}

.pill-button--primary {
  border: 0;
  background: linear-gradient(180deg, #00edc1, #0ea78a);
  color: #ffffff;
  box-shadow: inset 0 -2px 2px rgba(0, 0, 0, 0.08);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 118px;
  z-index: 20;
  display: grid;
  min-width: 88px;
  height: 34px;
  padding: 0 18px;
  place-items: center;
  border-radius: 999px;
  background: rgba(1, 75, 65, 0.92);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity-card {
  min-height: 72px;
  padding: 12px 14px 10px;
  border: 1px solid rgba(8, 191, 158, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.activity-card span {
  display: inline-grid;
  min-width: 42px;
  height: 18px;
  margin-right: 10px;
  place-items: center;
  border-radius: 999px;
  background: #0fd7b4;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  vertical-align: top;
}

.activity-card h3 {
  display: inline;
  margin: 0;
  color: #01846f;
  font-size: 16px;
  line-height: 18px;
  font-weight: 800;
}

.activity-card p {
  margin: 7px 0 0;
  color: #6a8e88;
  font-size: 12px;
  line-height: 17px;
}

.sports-card {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 420 / 166;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 12px 24px rgba(0, 72, 83, 0.16);
}

.sports-image {
  object-fit: cover;
  object-position: top center;
}

.sponsor-panel {
  margin-top: 18px;
}

.sponsor-carousel {
  position: relative;
  width: 100%;
  height: 176px;
  margin-top: 12px;
  overflow: hidden;
}

.sponsor-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-grid {
  display: grid;
  margin-top: 12px;
}

.icon-grid figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.icon-grid img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.icon-grid figcaption {
  margin-top: 8px;
  color: #275f55;
  font-size: 12px;
  line-height: 17px;
}

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

.icon-grid--license img {
  width: 70px;
  height: 70px;
}

.payment-panel {
  margin-top: 22px;
}

.icon-grid--payment {
  grid-template-columns: repeat(4, 1fr);
  row-gap: 14px;
}

.icon-grid--payment img {
  width: 68px;
  height: 68px;
}

.download-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 16;
  width: 100%;
  max-width: 440px;
  height: 99px;
  margin-top: 0;
  overflow: hidden;
  background: #155f5c;
  transform: translateX(-50%);
}

.download-footer > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-footer__actions {
  position: absolute;
  top: 15px;
  right: 11px;
  display: grid;
  gap: 6px;
  width: 90px;
}

.download-footer__actions a {
  display: grid;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  line-height: 16px;
  transition:
    filter 160ms ease,
    transform 160ms ease;
  will-change: transform;
}

.download-footer__actions a:first-child {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(85, 76, 76, 0.1);
}

.download-footer__actions a:last-child {
  background: linear-gradient(180deg, #00edc1, #0ea78a);
  font-weight: 700;
}

.register-link:hover:not([aria-disabled="true"]),
.pill-button:hover,
.download-footer__actions a:hover:not([aria-disabled="true"]) {
  filter: brightness(1.06);
  transform: translateY(-1px) scale(1.02);
}

.register-link:active:not([aria-disabled="true"]),
.pill-button:active,
.download-footer__actions a:active:not([aria-disabled="true"]) {
  filter: brightness(0.98);
  transform: translateY(1px) scale(0.98);
}

.floating-kefu {
  position: fixed;
  right: max(0px, calc((100vw - 440px) / 2));
  bottom: 106px;
  z-index: 18;
  display: block;
  width: 84px;
  height: auto;
  -webkit-tap-highlight-color: transparent;
}

.floating-kefu[aria-disabled="true"] {
  cursor: default;
}

.floating-kefu img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 72, 83, 0.18));
}

@media (max-width: 439px) {
  :root {
    --panel-width: calc(100vw - 20px);
  }

  .topbar {
    gap: 7px;
    padding-inline: 6px;
  }

  .topbar__logo {
    width: 31.4vw;
    max-width: 138px;
  }

  .topbar__badge {
    width: 22.8vw;
    max-width: 100px;
  }

  .register-link {
    width: 25vw;
    min-width: 96px;
  }
}
