:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #080612;
  color: #fff;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background:
    radial-gradient(circle at 50% 18%, rgba(125, 34, 235, .28), transparent 34rem),
    #080612;
}

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

.page-shell {
  width: min(100%, 550px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #090716 url("assets/bg-mobile.webp") center top / cover fixed no-repeat;
  box-shadow: 0 0 80px rgba(0, 0, 0, .8);
}

.hero {
  position: relative;
  min-height: 610px;
}

.brand {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 6vw, 34px);
  left: 50%;
  width: calc(100% - 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45));
}

.brand-logo-crop { width: 165px; height: 60px; flex: 0 0 165px; overflow: hidden; }
.brand-logo-crop img { display: block; width: auto; height: 60px; max-width: none; opacity: .72; filter: saturate(.72) brightness(1.04); }
.brand i { width: 1px; height: 47px; margin: 0 3px 0 -1px; background: linear-gradient(transparent, rgba(225, 211, 248, .78), transparent); }
.brand > strong {
  position: relative;
  color: #e8df74;
  font-family: "Arial Black", "Microsoft YaHei", sans-serif;
  font-size: clamp(28px, 7.5vw, 40px);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.7px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .28);
}
.brand > strong::after {
  content: "";
  position: absolute;
  left: -7%;
  bottom: -19px;
  width: 116%;
  height: 12px;
  border-top: 2px solid #e8df74;
  border-radius: 50%;
  transform: rotate(-1.5deg);
  opacity: .94;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
}

.primary-actions {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 22px;
  margin-top: 18px;
}

.action {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 76px;
  padding: 12px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 26px rgba(0, 0, 0, .44);
  animation: buttonPulse 1.4s ease-in-out infinite;
  min-width: 0;
}

.action-play { background: linear-gradient(145deg, #ffcf56, #ff631f 55%, #d92918); }
.action-agent { background: linear-gradient(145deg, #e358ff, #7e24f0 55%, #3912a8); animation-delay: .18s; }
.action-icon { font-size: 23px; color: #fff9cd; text-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.action b { display: block; font-size: clamp(20px, 5vw, 25px); line-height: 1.1; text-shadow: 0 2px 5px rgba(0, 0, 0, .42); }
.action small { display: block; margin-top: 5px; font-size: 10px; opacity: .9; }
.action-shine { position: absolute; z-index: -1; inset: -40% auto -40% -30%; width: 35%; transform: rotate(18deg); background: rgba(255,255,255,.3); animation: shine 2.7s infinite; }

.contact-panel {
  position: relative;
  margin-top: 48px;
  padding: 112px 24px 44px;
  min-height: 520px;
  background: url("assets/contact-bg2.webp") center top / 100% 100% no-repeat;
}

.panel-heading { display: none; }
.panel-heading span { height: 1px; background: linear-gradient(90deg, transparent, #d995ff); }
.panel-heading span:last-child { transform: scaleX(-1); }
.panel-heading h1 { margin: 0; font-size: 16px; font-weight: 700; color: #f8dcff; letter-spacing: 1px; }
.contact-list { display: grid; gap: 12px; }

.contact-card {
  width: 100%;
  min-height: 78px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-align: left;
  border: 1px solid rgba(214, 158, 255, .58);
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(40, 12, 75, .94), rgba(85, 23, 136, .78));
  box-shadow: inset 0 0 20px rgba(175, 95, 255, .16), 0 7px 15px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
  overflow: hidden;
}

.contact-card:hover { transform: translateY(-2px); border-color: #f5ceff; }
.contact-card:active { transform: translateY(1px) scale(.99); }
.contact-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; }
.contact-icon img, .contact-icon svg { width: 31px; height: 31px; }
.contact-icon svg { fill: #fff; }
.qq { background: linear-gradient(145deg, #36b9ff, #1265db); }
.chat { background: linear-gradient(145deg, #ffb84d, #f05a24); }
.telegram { background: linear-gradient(145deg, #54c7ff, #168ac5); }
.contact-copy strong, .contact-copy em { display: block; font-style: normal; }
.contact-copy { min-width: 0; }
.contact-copy strong { font-size: 14px; color: #e7c8ff; font-weight: 500; }
.contact-copy em { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.contact-actions { display: flex; gap: 6px; align-items: center; }
.contact-cta { min-width: 46px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; font-size: 12px; line-height: 1; text-align: center; white-space: nowrap; background: rgba(255,255,255,.12); cursor: pointer; }
.contact-cta.download { border-color: rgba(255, 213, 106, .75); color: #ffe8a7; background: rgba(255, 170, 53, .15); }
.site-mark { display: none; }

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(28px, env(safe-area-inset-bottom));
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 10, 32, .92);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes buttonPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes shine { 0% { left: -45%; } 42%, 100% { left: 125%; } }

@media (max-width: 420px) {
  .hero { min-height: auto; }
  .primary-actions { gap: 8px; padding: 0 12px; margin-top: 14px; }
  .action { min-height: 68px; border-radius: 15px; }
  .action b { font-size: 20px; }
  .action small { display: none; }
  .contact-panel { margin-top: 38px; padding: 86px 16px 36px; }
  .brand { gap: 7px; width: calc(100% - 18px); }
  .brand-logo-crop { width: 143px; height: 52px; flex-basis: 143px; }
  .brand-logo-crop img { height: 52px; }
  .brand i { height: 42px; margin: 0 1px; }
  .contact-copy em { font-size: 18px; }
  .contact-actions { flex-direction: column; gap: 4px; }
  .contact-cta { padding: 5px 7px; font-size: 11px; }
}

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