﻿:root {
  --bg: #121212;
  --panel: #1b1b1b;
  --text: #ffffff;
  --muted: #b3b3b3;
  --line: #2b2b2b;
  --brand: #E65A0A;
  --wrap: 1240px;
  --sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --display: "Arial Black", "Bahnschrift", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(230, 90, 10, .4); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .8); }
.pill:active { transform: translateY(0); }
.pill-white { background: #fff; color: #111; }
.pill-white:hover { background: #e6e6e6; }
.pill-light { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.pill-light:hover { background: rgba(255, 255, 255, .26); }
.pill-lg { height: 44px; padding: 0 22px; font-size: 14.5px; }

/* announcement */
.announce {
  max-width: var(--wrap);
  margin: 14px auto 0;
  padding: 11px 20px;
  background: #1b1b1b;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #d7d7d7;
}
.announce p { flex: 1; text-align: center; }
.announce strong { color: #fff; font-weight: 700; }
.announce a { color: #9db7ff; margin-left: 4px; }
.announce a:hover { text-decoration: underline; }
.announce-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: 1px; }
.announce-close { border: 0; background: transparent; color: #8d8d8d; font-size: 18px; line-height: 1; cursor: pointer; padding: 4px; }
.announce-close:hover { color: #fff; }

/* hero */
.hero { padding: 20px 20px 0; }
.hero-card {
  position: relative;
  isolation: isolate;
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 480px;
  padding: 24px 32px 42px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #181818;
  animation: cardIn .8s .05s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/hero-bg.jpg?v=2") 78% center / cover no-repeat;
  transform: scale(1.03);
  translate: var(--mx, 0px) var(--my, 0px);
  transition: translate .35s ease, background-position .9s ease;
  animation: heroZoom 20s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .92) 42%, rgba(10, 10, 10, .38) 70%, rgba(10, 10, 10, .1) 100%);
}
.hero-card[data-slide="0"] .hero-bg { background-position: 78% center; }
.hero-card[data-slide="1"] .hero-bg { background-position: 62% center; }
.hero-card[data-slide="2"] .hero-bg { background-position: 90% center; }
.hero-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; display: block; flex: none; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.brand-text small { font-size: 10px; color: rgba(255, 255, 255, .55); letter-spacing: .06em; }
.hero-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hero-text-link { font-size: 13px; color: rgba(255, 255, 255, .8); margin-left: 4px; }
.hero-text-link:hover { color: #fff; }
.hero-copy { position: relative; z-index: 2; margin-top: auto; padding-top: 40px; max-width: 620px; }
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(46px, 4.8vw, 68px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 20px;
  max-width: 540px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.hero-underline { font-size: 13.5px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
.hero-underline:hover { border-color: #fff; }
.hero-dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 9px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.hero-dots button:hover { transform: scale(1.25); }
.hero-dots button.is-on { background: #fff; }
.hero-credit { position: absolute; right: 32px; bottom: 20px; z-index: 2; font-size: 11px; color: rgba(255, 255, 255, .65); }

/* motion */
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(.99); }
  to { opacity: 1; transform: none; }
}
@keyframes textSwap {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
.hero-copy.is-swap h1 { animation: textSwap .45s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy.is-swap .hero-sub { animation: textSwap .45s .05s cubic-bezier(.2, .7, .2, 1) both; }
.announce { animation: slideDown .55s .05s both; transition: opacity .3s ease, transform .3s ease; }
.announce.is-closed { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* search band */
.search-band { max-width: var(--wrap); margin: 0 auto; padding: 44px 20px 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.search-form {
  width: min(600px, 100%);
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1f1f1f;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #2c2c2c;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.search-form:focus-within { border-color: rgba(255, 255, 255, .5); background: #242424; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.search-form:focus-within .icon { color: #fff; }
.search-form .icon { color: #b3b3b3; width: 18px; height: 18px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14.5px; }
.search-form input::placeholder { color: #8d8d8d; }
.search-band .or { font-size: 12px; color: #a5a5a5; }

/* trending */
.trending { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 64px; }
.trending h2 { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.trend-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.trend-row::-webkit-scrollbar { display: none; }
.trend-card { display: block; min-width: 0; transition: transform .25s ease; }
.trend-card:hover { transform: translateY(-2px); }
.trend-card img { width: 190px; height: 190px; object-fit: cover; border-radius: 4px; display: block; background: #1f1f1f; transition: transform .35s ease, filter .35s ease; }
.trend-card:hover img { transform: scale(1.04); filter: brightness(1.08); }
.trend-card strong { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-card span { display: block; font-size: 12px; color: #a5a5a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-card:hover strong { text-decoration: underline; }
.trend-more { display: flex; width: fit-content; margin: 30px auto 0; }

/* data anywhere */
.anywhere { max-width: var(--wrap); margin: 0 auto; padding: 30px 20px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.anywhere-copy h2, .creators-copy h2 {
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.qr-row { display: flex; align-items: center; gap: 22px; margin-top: 30px; max-width: 460px; }
.qr { width: 118px; height: 118px; flex: none; }
.qr-row p { font-size: 14px; line-height: 1.7; color: #d2d2d2; }
.qr-row p.small { margin-top: 6px; font-size: 12px; color: #8d8d8d; }
.anywhere-visual img { width: 100%; border-radius: 8px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); transform: rotate(-1.5deg); border: 1px solid #2a2a2a; }

/* creators */
.creators { max-width: var(--wrap); margin: 0 auto; padding: 20px 20px 84px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.creators-media img { width: 100%; border-radius: 4px; display: block; }
.creators-copy p { margin-top: 20px; max-width: 440px; font-size: 14.5px; line-height: 1.8; color: #cfcfcf; }
.creators-copy .pill { margin-top: 24px; }

/* footer */
.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 32px 20px 64px; text-align: center; }
.socials { display: flex; justify-content: center; gap: 26px; margin-bottom: 26px; }
.socials a { color: rgba(255, 255, 255, .75); display: inline-flex; transition: color .15s ease, transform .15s ease; }
.socials a:hover { color: #fff; transform: translateY(-2px); }
.socials .icon { width: 22px; height: 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12.5px; color: #b3b3b3; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-meta { margin-top: 14px; font-size: 13px; color: #b3b3b3; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; font-weight: 600; }
.footer-brand .brand-mark { width: 26px; height: 26px; }
.copyright { margin-top: 14px; font-size: 11.5px; color: #777; line-height: 1.7; }

@media (max-width: 1024px) {
  .hero { padding: 16px 16px 0; }
  .hero-card { min-height: 500px; padding: 22px 24px 40px; }
  .hero-copy h1 { font-size: clamp(44px, 6.4vw, 58px); }
  .anywhere, .creators { grid-template-columns: 1fr; gap: 40px; padding-bottom: 64px; }
  .anywhere-visual { order: 0; }
  .creators-media { order: 0; }
}

@media (max-width: 640px) {
  .announce { margin: 10px 12px 0; padding: 10px 12px; font-size: 12px; }
  .announce p { text-align: left; }
  .hero { padding: 12px 12px 0; }
  .hero-card {
    min-height: 540px;
    padding: 18px 18px 36px;
    background: #181818;
  }
  .hero-card::before {
    background: linear-gradient(180deg, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, .9) 48%, rgba(10, 10, 10, .97) 100%);
  }
  .hero-bg { background-position: 66% center; }
  .hero-actions .pill-light, .hero-text-link { display: none; }
  .hero-copy { padding-top: 30px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 54px); }
  .hero-sub { font-size: 14px; }
  .hero-dots { bottom: 16px; }
  .hero-credit { display: none; }
  .search-band { padding: 32px 16px 40px; }
  .trending { padding: 0 16px 48px; }
  .trend-row { grid-auto-columns: 150px; }
  .trend-card img { width: 150px; height: 150px; }
  .anywhere, .creators { padding: 16px 16px 56px; }
  .anywhere-copy h2, .creators-copy h2 { font-size: clamp(38px, 11vw, 48px); }
  .qr-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { padding: 24px 16px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .hero-bg { animation: none; transform: none; translate: none; }
  .reveal { opacity: 1; transform: none; }
}
