* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #171f2f;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 34%, rgba(105, 167, 230, 0.18), transparent 20rem),
    linear-gradient(110deg, #dcebf8 0%, #f3f7fd 48%, #e7edf8 100%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #3796e3, #1f76d0);
  box-shadow: 0 2px 12px rgba(35, 107, 184, 0.24);
}

.brand-strip {
  height: 46px;
  min-width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.brand-badge {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.cup-badge {
  font-size: 11px;
  letter-spacing: 1px;
}

.divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.55);
}

.share-button {
  position: absolute;
  right: max(24px, calc(50vw - 590px));
  height: 36px;
  min-width: 78px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button {
  font-family: inherit;
}

.page-shell {
  width: min(100%, 436px);
  margin: 0 auto;
  padding: 18px 16px 28px;
}

.hero {
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #2c5ceb;
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.12;
  font-weight: 950;
  text-shadow: 0 8px 18px rgba(49, 97, 224, 0.16);
}

.hero p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 144px;
  margin: 10px 0 14px;
  padding: 0 18px;
  border: 1px solid #9ec9f5;
  border-radius: 999px;
  color: #2a9bf2;
  background: rgba(218, 236, 253, 0.7);
  font-size: 14px;
  font-weight: 800;
}

.carousel {
  overflow: hidden;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgba(42, 101, 178, 0.15);
}

.banner-link {
  display: none;
}

.banner-link.active {
  display: block;
}

.banner-art {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.9), transparent 8rem),
    radial-gradient(circle at 83% 35%, rgba(255, 79, 77, 0.72), transparent 7rem),
    linear-gradient(135deg, #4fb0ff 0%, #224ed5 50%, #ff914d 100%);
}

.banner-gold {
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.9), transparent 8rem),
    radial-gradient(circle at 84% 36%, rgba(41, 111, 232, 0.72), transparent 7rem),
    linear-gradient(135deg, #ffd64e 0%, #ff7b2d 45%, #2f68e8 100%);
}

.banner-art::before {
  content: "";
  position: absolute;
  inset: auto -10px -24px;
  height: 76px;
  background: radial-gradient(ellipse, #fff 0%, rgba(255, 255, 255, 0.88) 52%, transparent 72%);
}

.banner-copy {
  position: absolute;
  left: 30px;
  top: 42px;
  z-index: 2;
  color: #fff;
  text-align: left;
  transform: rotate(-5deg);
  text-shadow: 0 3px 0 #11328e, 0 6px 16px rgba(0, 0, 0, 0.35);
}

.banner-copy span,
.banner-copy strong {
  display: block;
  font-size: 27px;
  line-height: 1.02;
  font-weight: 950;
}

.banner-copy small {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 16px;
  border-radius: 999px;
  color: #fff700;
  background: #1868d7;
  font-size: 15px;
  font-weight: 900;
}

.banner-copy em {
  display: block;
  width: max-content;
  margin: 8px auto 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: #1b8fe8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-shadow: none;
}

.football {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 14%, #151515 15% 22%, transparent 23%),
    radial-gradient(circle at 72% 55%, #111 0 12%, transparent 13%),
    #f5f5f5;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.football-one {
  width: 38px;
  height: 38px;
  left: 42px;
  top: 28px;
}

.football-two {
  width: 24px;
  height: 24px;
  left: 162px;
  top: 16px;
}

.player {
  position: absolute;
  bottom: 18px;
  width: 56px;
  height: 105px;
  border-radius: 30px 30px 10px 10px;
  background: linear-gradient(#f2c6a0 0 20%, #f23d3d 21% 66%, #102b71 67%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.player::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 17px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d89b6f;
}

.player-one {
  right: 118px;
  transform: rotate(-6deg);
}

.player-two {
  right: 64px;
  height: 118px;
  background: linear-gradient(#e8b687 0 20%, #fff 21% 63%, #17326f 64%);
  transform: rotate(7deg);
}

.player-three {
  right: 14px;
  height: 102px;
  background: linear-gradient(#c58c65 0 21%, #23468f 22% 66%, #111 67%);
  transform: rotate(12deg);
}

.slider-dots {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.slider-dots button {
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.slider-dots button.active {
  width: 24px;
  background: #389ced;
}

.slider-dots button:not(.active) {
  width: 8px;
  background: #c8d1db;
}

.tabs {
  height: 62px;
  margin: 14px 0;
  padding: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(62, 100, 151, 0.12);
}

.tabs button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #646c78;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.tabs button.active {
  color: #fff;
  background: linear-gradient(180deg, #45a6fb, #237ee0);
  box-shadow: 0 8px 14px rgba(35, 126, 224, 0.25);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel.grid-list.active {
  display: grid;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.site-card {
  min-width: 0;
  min-height: 153px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(20, 72, 130, 0.1), 0 10px 20px rgba(59, 90, 128, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-card:hover,
.feature-card:hover,
.banner-link:hover {
  transform: translateY(-2px);
}

.logo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 3px solid #f4f7fb;
  color: #fff;
  font-weight: 950;
  font-size: 20px;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.24), 0 3px 8px rgba(38, 67, 100, 0.18);
}

.logo-dark {
  background: linear-gradient(145deg, #101a38, #ebac38);
}

.logo-light {
  color: #4770d8;
  background: #fff;
}

.logo-gold {
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #fff4cc, #ca8a1f 65%, #8e5a0b);
}

.logo-purple {
  background: linear-gradient(145deg, #cf66ff, #2e236f);
}

.logo-black {
  background: linear-gradient(145deg, #0b0b0c, #c98c25);
}

.logo-silver {
  color: #8a6a2a;
  background: linear-gradient(145deg, #fff, #d9d9dc);
}

.logo-fire {
  background: linear-gradient(145deg, #111, #ef2f36 48%, #ffbf35);
}

.logo-blue {
  background: linear-gradient(145deg, #35a7fb, #ffc23a);
}

.site-card strong {
  max-width: 100%;
  margin-top: 8px;
  color: #171d28;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.site-card small {
  max-width: 100%;
  min-height: 18px;
  margin-top: 3px;
  color: #ff3b20;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.site-card b {
  width: 100%;
  height: 29px;
  margin-top: auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #48a7fb, #2585e4);
  font-size: 12px;
  font-weight: 900;
}

.featured {
  padding-top: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 950;
}

.section-title span {
  width: 38px;
  height: 1px;
  background: #d0d9e5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-card {
  min-height: 78px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #248dff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(55, 115, 190, 0.1);
}

.feature-card .logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 17px;
}

.feature-card span:not(.logo) {
  min-width: 0;
  flex: 1;
}

.feature-card strong {
  display: block;
  font-size: 15px;
  white-space: nowrap;
}

.feature-card small {
  display: block;
  margin-top: 5px;
  color: #6d7480;
  font-size: 13px;
}

.feature-card b {
  color: #268dff;
  font-size: 26px;
  line-height: 1;
}

.support-float {
  position: fixed;
  right: max(20px, calc(50vw - 220px));
  bottom: 84px;
  z-index: 10;
  width: 56px;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.support-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #329af1, #156fcc);
  box-shadow: 0 12px 24px rgba(25, 118, 210, 0.32);
}

.support-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 50% 30%, #fff 0 22%, transparent 24%),
    linear-gradient(#fff 0 0);
  clip-path: polygon(50% 0, 82% 27%, 82% 61%, 100% 100%, 0 100%, 18% 61%, 18% 27%);
}

.support-float small {
  padding: 4px 10px;
  border-radius: 999px;
  color: #1c2632;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(36, 80, 128, 0.16);
}

@media (max-width: 520px) {
  .topbar {
    height: 50px;
  }

  .brand-strip {
    height: 42px;
    min-width: 148px;
    font-size: 13px;
  }

  .share-button {
    right: 12px;
    min-width: 62px;
    height: 32px;
    font-size: 13px;
  }

  .page-shell {
    padding: 18px 10px 26px;
  }

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

  .banner-art {
    min-height: 156px;
  }

  .banner-copy {
    left: 22px;
    top: 42px;
  }

  .banner-copy span,
  .banner-copy strong {
    font-size: 23px;
  }

  .player {
    width: 48px;
  }

  .player-one {
    right: 104px;
  }

  .player-two {
    right: 58px;
  }

  .player-three {
    right: 12px;
  }

  .grid-list {
    gap: 8px;
  }

  .site-card {
    min-height: 145px;
    padding: 9px 5px 7px;
  }

  .logo {
    width: 49px;
    height: 49px;
    font-size: 18px;
  }

  .site-card strong {
    font-size: 14px;
  }

  .site-card small,
  .site-card b {
    font-size: 11px;
  }

  .feature-card {
    padding: 9px;
  }

  .support-float {
    right: 14px;
    bottom: 72px;
  }
}

@media (max-width: 370px) {
  .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-card {
    min-height: 142px;
  }

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

  .share-button {
    display: none;
  }
}

