:root {
  color-scheme: dark;
  --page-width: 620px;
  --gold: #ffd76b;
  --gold-deep: #b97912;
  --purple: #a84cff;
  --purple-bright: #d983ff;
  --ink: #0a0212;
  --panel: rgba(24, 5, 41, 0.84);
  --line: rgba(255, 211, 94, 0.28);
  --muted: rgba(247, 226, 255, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #fff9e9;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -8%, #65168b 0, #240537 37%, #0b0214 73%);
  background-size: 34px 34px, 34px 34px, auto;
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(123deg, transparent 21%, rgba(199, 86, 255, 0.08) 22%, transparent 23%),
    linear-gradient(28deg, transparent 68%, rgba(255, 199, 65, 0.08) 69%, transparent 70%);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  display: block;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
}

.orb-one {
  top: 8%;
  left: -210px;
  background: #d443ff;
}

.orb-two {
  right: -230px;
  bottom: 10%;
  background: #da8a16;
}

.glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(100, 23, 132, 0.13), transparent 44%),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 15px 38px rgba(3, 0, 8, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 12px 14px 10px;
}

.page-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(#0d0317 0, rgba(13, 3, 23, 0.9) 56%, transparent);
}

.header-card {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 13px;
  border-radius: 22px;
}

.brand-chip {
  display: flex;
  min-width: 0;
  height: 48px;
  align-items: center;
  text-decoration: none;
}

.brand-chip img {
  display: block;
  width: min(100%, 235px);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.service-pill {
  position: relative;
  display: inline-flex;
  min-width: 122px;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  padding: 0 16px;
  border: 1px solid rgba(255, 216, 105, 0.62);
  border-radius: 999px;
  color: #fff2b8;
  background:
    linear-gradient(180deg, rgba(180, 74, 231, 0.38), rgba(74, 10, 100, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 20px rgba(185, 91, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-pill::after {
  position: absolute;
  top: -120%;
  left: -45%;
  width: 32px;
  height: 340%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 180, 0.7), transparent);
  filter: blur(2px);
  transform: rotate(21deg);
  animation: service-scan 3.8s ease-in-out infinite;
}

.service-pill:hover,
.service-pill:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(214, 120, 255, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.content-column {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 0 14px 32px;
}

.banner-card {
  position: relative;
  aspect-ratio: 1983 / 793;
  overflow: hidden;
  border-color: rgba(255, 216, 105, 0.4);
  border-radius: 20px;
  background: #170324;
  box-shadow:
    0 17px 42px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(204, 94, 255, 0.1);
}

.banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.28);
}

.banner-sheen {
  position: absolute;
  top: -60%;
  left: -24%;
  width: 12%;
  height: 220%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  filter: blur(4px);
  transform: rotate(20deg);
  animation: banner-scan 5.5s ease-in-out infinite 0.8s;
}

.announcement {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  overflow: hidden;
  padding: 0 18px;
  border-radius: 18px;
}

.announcement-icon {
  color: var(--purple-bright);
  font-size: 27px;
  line-height: 1;
  filter: drop-shadow(0 0 7px rgba(207, 95, 255, 0.55));
  transform: rotate(45deg);
}

.marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 15s linear infinite;
}

.marquee-track strong {
  padding-right: 70px;
  color: #f7ce6d;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(247, 185, 69, 0.2);
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b6ff6b;
  box-shadow: 0 0 9px #b6ff6b;
}

.live-dot::before {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(182, 255, 107, 0.65);
  border-radius: inherit;
  animation: live-ring 1.8s ease-out infinite;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
  padding: 8px;
  border-radius: 18px;
}

.category-tab {
  position: relative;
  min-width: 0;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(244, 222, 255, 0.55);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.category-tab > span {
  position: absolute;
  right: 22%;
  bottom: 5px;
  left: 22%;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}

.category-tab:hover {
  color: #fff4c7;
}

.category-tab.active {
  border-color: rgba(255, 216, 105, 0.34);
  color: #fff4b2;
  background:
    linear-gradient(180deg, rgba(163, 63, 210, 0.3), rgba(63, 9, 88, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.category-tab.active > span {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 8px rgba(255, 216, 105, 0.7);
}

.category-tab:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.catalog {
  margin-top: 13px;
  padding: 16px 12px 14px;
  border-radius: 22px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 4px 14px;
}

.section-heading h1 {
  margin: 0;
  color: #fff1b8;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.title-mark {
  color: var(--gold);
  font-size: 11px;
  filter: drop-shadow(0 0 6px rgba(255, 211, 91, 0.7));
}

.title-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(255, 215, 107, 0.46), transparent);
}

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

.platform-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 84px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 14px 23px 12px 12px;
  border: 1px solid rgba(205, 113, 255, 0.24);
  border-radius: 15px;
  color: #fff;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 2px,
      transparent 2px,
      transparent 7px
    ),
    linear-gradient(135deg, rgba(90, 18, 119, 0.62), rgba(19, 3, 32, 0.83));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transform: translateZ(0);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.platform-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 12% 20%, rgba(223, 130, 255, 0.13), transparent 40%);
}

.platform-card:hover,
.platform-card:focus-visible {
  z-index: 2;
  border-color: rgba(255, 214, 102, 0.58);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(179, 67, 242, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.card-sheen {
  position: absolute;
  top: -80%;
  left: -45%;
  width: 22px;
  height: 270%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 199, 0.34), transparent);
  filter: blur(1px);
  transform: rotate(20deg);
  animation: card-scan 6.2s ease-in-out infinite;
  animation-delay: var(--card-delay, 0s);
}

.platform-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 214, 107, 0.38);
  border-radius: 50%;
  object-fit: cover;
  background: #190626;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.035),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.platform-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 5px;
}

.platform-copy strong {
  overflow: hidden;
  color: #fff8dd;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-arrow {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 1;
  color: rgba(255, 215, 107, 0.5);
  font-size: 19px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.platform-card:hover .platform-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

.recommend {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  min-width: 39px;
  overflow: hidden;
  padding: 3px 6px 4px;
  border-radius: 0 14px 0 9px;
  color: #391100;
  background: linear-gradient(120deg, #fff0a5, #e6a62d 50%, #fff0a5);
  background-size: 220% 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  animation:
    recommend-shimmer 2.2s linear infinite,
    recommend-pulse 2.8s ease-in-out infinite;
}

.recommend span {
  position: relative;
  z-index: 1;
}

.recommend::after {
  position: absolute;
  inset: -40% auto -40% -50%;
  width: 45%;
  content: "";
  background: rgba(255, 255, 255, 0.6);
  filter: blur(3px);
  transform: skewX(-20deg);
  animation: badge-scan 2.8s ease-in-out infinite;
}

.footer {
  padding: 26px 0 6px;
  color: rgba(255, 225, 141, 0.5);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-align: center;
}

.footer-line {
  width: 54%;
  height: 1px;
  margin: 0 auto 13px;
  background: linear-gradient(90deg, transparent, rgba(255, 216, 105, 0.32), transparent);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes service-scan {
  0%,
  45% {
    left: -45%;
  }
  72%,
  100% {
    left: 125%;
  }
}

@keyframes banner-scan {
  0%,
  48% {
    left: -24%;
    opacity: 0;
  }
  56% {
    opacity: 0.7;
  }
  78%,
  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes card-scan {
  0%,
  57% {
    left: -45%;
    opacity: 0;
  }
  63% {
    opacity: 0.75;
  }
  82%,
  100% {
    left: 125%;
    opacity: 0;
  }
}

@keyframes badge-scan {
  0%,
  42% {
    left: -50%;
  }
  76%,
  100% {
    left: 140%;
  }
}

@keyframes recommend-shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes recommend-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.18);
  }
}

@keyframes live-ring {
  from {
    opacity: 0.8;
    transform: scale(0.45);
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@media (max-width: 480px) {
  .page-header,
  .content-column {
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-card {
    min-height: 62px;
    padding: 7px 10px;
    border-radius: 18px;
  }

  .brand-chip {
    height: 43px;
  }

  .brand-chip img {
    width: min(100%, 205px);
    height: 43px;
  }

  .service-pill {
    min-width: 104px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .banner-card {
    border-radius: 16px;
  }

  .announcement {
    min-height: 58px;
    padding: 0 13px;
    border-radius: 16px;
  }

  .announcement-icon {
    font-size: 23px;
  }

  .category-tab {
    min-height: 45px;
    font-size: 13px;
  }

  .catalog {
    padding: 14px 9px 11px;
    border-radius: 18px;
  }

  .platform-grid {
    gap: 8px;
  }

  .platform-card {
    min-height: 76px;
    gap: 9px;
    padding: 12px 20px 10px 9px;
    border-radius: 13px;
  }

  .platform-logo {
    width: 43px;
    height: 43px;
  }

  .platform-copy strong {
    font-size: 13px;
  }

  .platform-copy small {
    font-size: 10px;
  }

  .recommend {
    border-radius: 0 12px 0 8px;
  }
}

@media (max-width: 365px) {
  .service-pill {
    min-width: 42px;
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .service-pill span {
    font-size: 14px;
  }

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

  .platform-card {
    min-height: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.banner-carousel {
  display: block;
}

.banner-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.banner-dots button {
  width: 18px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.banner-dots button.active {
  width: 28px;
  background: var(--gold);
}

.category-panel {
  display: none;
}

.category-panel.active {
  display: grid;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 18px;
  color: var(--muted);
  text-align: center;
}
