@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --mgym-ink: #10141c;
  --mgym-panel: #1a2230;
  --mgym-panel-2: #243044;
  --mgym-ember: #ff6b35;
  --mgym-ember-soft: #ff8f66;
  --mgym-steel: #8ba3b5;
  --mgym-mist: #e8eef4;
  --mgym-mute: #a7b4c2;
  --mgym-line: rgba(255, 255, 255, 0.08);
  --mgym-glass: rgba(26, 34, 48, 0.72);
  --mgym-radius: 18px;
  --mgym-max: 1080px;
  --mgym-nav-h: 64px;
  --mgym-sticky-h: 0px;
  --mgym-font-body: "Noto Sans SC", sans-serif;
  --mgym-font-brand: "ZCOOL XiaoWei", "Noto Sans SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--mgym-font-body);
  color: var(--mgym-mist);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 107, 53, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(61, 139, 156, 0.16), transparent 50%),
    linear-gradient(180deg, #0c1017 0%, #141a24 40%, #10141c 100%);
  background-attachment: fixed;
  line-height: 1.75;
  min-height: 100vh;
  padding-top: var(--mgym-nav-h);
  padding-bottom: calc(28px + var(--mgym-sticky-h));
}

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

a {
  color: var(--mgym-ember-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffd2c0;
}

.mgym-wrap {
  width: min(100% - 28px, var(--mgym-max));
  margin-inline: auto;
}

.mgym-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--mgym-nav-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--mgym-glass);
  border-bottom: 1px solid var(--mgym-line);
}

.mgym-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mgym-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mgym-mist);
  text-decoration: none;
  font-family: var(--mgym-font-brand);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.mgym-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.35);
}

.mgym-nav {
  display: none;
  gap: 18px;
  align-items: center;
}

.mgym-nav a {
  color: var(--mgym-mute);
  text-decoration: none;
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
}

.mgym-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mgym-ember), transparent);
  transition: width 0.25s ease;
}

.mgym-nav a:hover,
.mgym-nav a.is-on {
  color: var(--mgym-mist);
}

.mgym-nav a:hover::after,
.mgym-nav a.is-on::after {
  width: 100%;
}

.mgym-burger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--mgym-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mgym-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mgym-mist);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mgym-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mgym-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.mgym-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mgym-drawer {
  position: fixed;
  top: var(--mgym-nav-h);
  right: 0;
  width: min(82vw, 300px);
  height: calc(100vh - var(--mgym-nav-h));
  background: rgba(16, 20, 28, 0.96);
  border-left: 1px solid var(--mgym-line);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  z-index: 999;
  padding: 24px 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.mgym-drawer.is-open {
  transform: translateX(0);
}

.mgym-drawer a {
  color: var(--mgym-mist);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.mgym-drawer a:hover,
.mgym-drawer a.is-on {
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.1);
}

.mgym-mask {
  position: fixed;
  inset: var(--mgym-nav-h) 0 0 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}

.mgym-mask.is-on {
  opacity: 1;
  pointer-events: auto;
}

.mgym-sticky-ads {
  position: fixed;
  top: var(--mgym-nav-h);
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(12, 16, 23, 0.94);
  border-bottom: 1px solid var(--mgym-line);
  backdrop-filter: blur(12px);
  transform: translateY(-120%);
  transition: transform 0.28s ease;
  padding: 8px 0 6px;
}

.mgym-sticky-ads.is-show {
  transform: translateY(0);
}

.mgym-sticky-ads #mgym-sticky-grid,
.mgym-promo #mgym-promo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
}

.mgym-sticky-ads .mgym-ad-item,
.mgym-promo .mgym-ad-item {
  width: calc(25% - 6px);
  max-width: 76px;
  text-align: center;
}

.mgym-sticky-ads img,
.mgym-promo img {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.mgym-sticky-ads .mgym-ad-cap,
.mgym-promo .mgym-ad-cap {
  margin-top: 4px;
  font-size: 11px;
  color: var(--mgym-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mgym-hero {
  position: relative;
  min-height: calc(100vh - var(--mgym-nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.mgym-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 20, 28, 0.15) 0%, rgba(16, 20, 28, 0.55) 45%, rgba(16, 20, 28, 0.96) 100%),
    url("shot-hot-picks.jpg") center/cover no-repeat;
  z-index: -1;
  transform: scale(1.04);
  animation: mgym- ken 14s ease-in-out infinite alternate;
}

@keyframes mgym-ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-1.5%); }
}

.mgym-hero__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 70%);
  filter: blur(8px);
  top: 18%;
  left: 8%;
  animation: mgym-pulse 5s ease-in-out infinite;
  z-index: -1;
}

@keyframes mgym-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.12); }
}

.mgym-hero__content {
  padding: 48px 0 56px;
}

.mgym-hero__brand {
  font-family: var(--mgym-font-brand);
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #fff 20%, #ffb08f 55%, #ff6b35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mgym-rise 0.9s ease both;
}

.mgym-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 4.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
  max-width: 18em;
  animation: mgym-rise 0.9s ease 0.1s both;
}

.mgym-hero__lead {
  margin: 0;
  max-width: 34em;
  color: var(--mgym-mute);
  font-size: 0.98rem;
  animation: mgym-rise 0.9s ease 0.2s both;
}

@keyframes mgym-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.mgym-promo {
  margin: 18px auto 8px;
  padding: 14px 10px 10px;
  border: 1px solid var(--mgym-line);
  border-radius: var(--mgym-radius);
  background: linear-gradient(160deg, rgba(255, 107, 53, 0.08), rgba(255, 255, 255, 0.02));
}

.mgym-promo__title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--mgym-steel);
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}

.mgym-section {
  padding: 42px 0;
}

.mgym-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.35;
}

.mgym-section h3 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
  color: #f3d2c3;
}

.mgym-section p {
  margin: 0 0 14px;
  color: #d5dde6;
  font-size: 0.98rem;
}

.mgym-panel {
  background: linear-gradient(165deg, rgba(36, 48, 68, 0.7), rgba(26, 34, 48, 0.85));
  border: 1px solid var(--mgym-line);
  border-radius: var(--mgym-radius);
  padding: 22px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.mgym-split {
  display: grid;
  gap: 18px;
  align-items: center;
}

.mgym-split--flip {
  direction: rtl;
}

.mgym-split--flip > * {
  direction: ltr;
}

.mgym-shot {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.22);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.mgym-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 20, 28, 0.35));
  pointer-events: none;
}

.mgym-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.mgym-cards {
  display: grid;
  gap: 14px;
}

.mgym-card {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--mgym-line);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.mgym-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.08);
}

.mgym-card h3 {
  margin: 0 0 8px;
  color: var(--mgym-mist);
}

.mgym-card p {
  margin: 0;
  color: var(--mgym-mute);
  font-size: 0.94rem;
}

.mgym-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mgym-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mgym-btn--ember {
  color: #1a120e;
  background: linear-gradient(120deg, #ff9a6b, #ff6b35 55%, #e85a2a);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}

.mgym-btn--ghost {
  color: var(--mgym-mist);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mgym-btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.mgym-crumb {
  padding: 18px 0 0;
  font-size: 0.86rem;
  color: var(--mgym-mute);
}

.mgym-crumb a {
  color: var(--mgym-steel);
  text-decoration: none;
}

.mgym-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

.mgym-legal h1 {
  margin: 18px 0 16px;
  font-size: clamp(1.5rem, 5vw, 2rem);
}

.mgym-legal h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
  color: #f3d2c3;
}

.mgym-legal p,
.mgym-legal li {
  color: #d5dde6;
}

.mgym-legal ul {
  padding-left: 1.2em;
}

.mgym-error {
  min-height: calc(100vh - var(--mgym-nav-h) - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.mgym-error__code {
  font-family: var(--mgym-font-brand);
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 1;
  margin: 0;
  background: linear-gradient(120deg, #fff, #ff6b35);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mgym-footer {
  margin-top: 40px;
  border-top: 1px solid var(--mgym-line);
  padding: 28px 0 36px;
  background: rgba(0, 0, 0, 0.22);
}

.mgym-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin-bottom: 14px;
}

.mgym-footer__nav a {
  color: var(--mgym-mute);
  text-decoration: none;
  font-size: 0.9rem;
}

.mgym-footer__nav a:hover {
  color: var(--mgym-ember-soft);
}

.mgym-footer__copy {
  text-align: center;
  color: #7e8b99;
  font-size: 0.82rem;
  margin: 0;
}

.mgym-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.mgym-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .mgym-burger {
    display: none;
  }

  .mgym-nav {
    display: flex;
  }

  .mgym-drawer,
  .mgym-mask {
    display: none !important;
  }

  .mgym-split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
  }

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

  .mgym-sticky-ads .mgym-ad-item,
  .mgym-promo .mgym-ad-item {
    width: calc(12.5% - 6px);
  }

  .mgym-panel {
    padding: 28px 26px;
  }

  .mgym-shot img {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 1024px) {
  .mgym-hero__content {
    padding: 72px 0 80px;
  }

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