:root {
  --bg: #0b0b0b;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --orange: #ff7a18;
  --orange-2: #ff9a3d;
  --line: rgba(255, 255, 255, 0.12);
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 50% 18%, rgba(255, 122, 24, 0.12), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(255, 255, 255, 0.04), transparent 55%),
    #0b0b0b;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.45rem;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}

.brand span {
  background: linear-gradient(135deg, #ff9a3d 0%, #ff7a18 45%, #ff4d6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px clamp(16px, 4vw, 48px) 36px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 72px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 96px
    );
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  pointer-events: none;
  opacity: 0.55;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding-top: clamp(12px, 4vh, 40px);
}

.seo-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.display-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #ffd4a8 35%, #ff7a18 70%, #ff4d6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.display-title span {
  display: inline;
}

.display-desc {
  margin: 16px auto 0;
  max-width: none;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.5;
  white-space: nowrap;
}

.poster-fan {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  height: clamp(200px, 30vh, 280px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1200px;
  margin-top: 4px;
}

.fan-card {
  position: absolute;
  bottom: 0;
  width: clamp(96px, 12vw, 138px);
  aspect-ratio: 3 / 4.2;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform-origin: center bottom;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fan-card[data-pos="-4"] {
  transform: translateX(-360%) rotate(-22deg) scale(0.72);
  z-index: 1;
  filter: brightness(0.48);
}
.fan-card[data-pos="-3"] {
  transform: translateX(-270%) rotate(-16deg) scale(0.8);
  z-index: 2;
  filter: brightness(0.58);
}
.fan-card[data-pos="-2"] {
  transform: translateX(-175%) rotate(-10deg) scale(0.88);
  z-index: 3;
  filter: brightness(0.7);
}
.fan-card[data-pos="-1"] {
  transform: translateX(-88%) rotate(-5deg) scale(0.95);
  z-index: 4;
  filter: brightness(0.85);
}
.fan-card[data-pos="0"] {
  transform: translateX(0) rotate(0deg) scale(1.05);
  z-index: 5;
}
.fan-card[data-pos="1"] {
  transform: translateX(88%) rotate(5deg) scale(0.95);
  z-index: 4;
  filter: brightness(0.85);
}
.fan-card[data-pos="2"] {
  transform: translateX(175%) rotate(10deg) scale(0.88);
  z-index: 3;
  filter: brightness(0.7);
}
.fan-card[data-pos="3"] {
  transform: translateX(270%) rotate(16deg) scale(0.8);
  z-index: 2;
  filter: brightness(0.58);
}
.fan-card[data-pos="4"] {
  transform: translateX(360%) rotate(22deg) scale(0.72);
  z-index: 1;
  filter: brightness(0.48);
}

.fan-card:hover {
  filter: brightness(1) !important;
  z-index: 6;
}

.download {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  padding: 0;
}

.download-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.qr-frame {
  width: 160px;
  height: 160px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-label {
  margin-top: 12px;
  text-align: center;
  color: var(--orange);
  font-weight: 700;
}

.dl-copy {
  flex: 1;
  min-width: 0;
}

.dl-copy h2 {
  font-size: 1.6rem;
  font-weight: 800;
}

.dl-lead {
  margin-top: 8px;
  color: var(--muted);
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dl-btn.ios {
  background: #fff;
  color: #111;
}

.dl-btn.android {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
}

.dl-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.dl-tip {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.dl-extra {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.dl-extra a {
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

.dl-extra a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .poster-fan {
    height: 210px;
  }

  .fan-card {
    width: 78px;
  }

  .fan-card[data-pos="-4"],
  .fan-card[data-pos="-3"],
  .fan-card[data-pos="3"],
  .fan-card[data-pos="4"] {
    display: none;
  }

  .fan-card[data-pos="-2"] {
    transform: translateX(-160%) rotate(-10deg) scale(0.84);
  }
  .fan-card[data-pos="2"] {
    transform: translateX(160%) rotate(10deg) scale(0.84);
  }
}

@media (max-width: 640px) {
  .download-inner {
    flex-direction: column;
    align-items: center;
  }

  .dl-copy {
    text-align: center;
  }

  .dl-actions,
  .dl-extra {
    justify-content: center;
  }

  .display-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .display-desc {
    white-space: normal;
  }
}
