@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Noto+Sans+SC:wght@500;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --bg-top: #18032f;
  --bg-bottom: #07010f;
  --panel-top: #ff3cb2;
  --panel-mid: #b629ef;
  --panel-bottom: #5f2cf2;
  --pink: #ff46cf;
  --pink-soft: #ff86ea;
  --cyan: #4cecff;
  --cyan-soft: #a0f6ff;
  --violet: #7f34ff;
  --violet-deep: #2a0d5e;
  --white: #ffffff;
  --ink: #180f2a;
  --shadow: 0 24px 70px rgba(8, 0, 19, 0.52);
  font-family: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #09010f;
  color: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(188, 46, 237, 0.24), transparent 34%),
    radial-gradient(circle at 50% 16%, rgba(76, 236, 255, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

body::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

button,
.download-strip,
.feature-band,
.poster-copy,
.app-logo,
.age-note {
  user-select: none;
}

button {
  border: 0;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.ad-shell {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 114, 217, 0.2), transparent 28%),
    linear-gradient(180deg, #2a064d 0%, #17032f 40%, #0a0217 100%);
  box-shadow: var(--shadow);
}

.download-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(110deg, var(--panel-top) 0%, var(--panel-mid) 58%, var(--panel-bottom) 100%);
}

.strip-top {
  position: sticky;
  top: 0;
  z-index: 10;
}

.download-strip::before {
  position: absolute;
  inset: 10px 10px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  content: "";
}

.download-strip::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.strip-bottom {
  margin-top: -1px;
}

.strip-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-logo {
  position: relative;
  flex: 0 0 68px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(154deg, #ffe24e 0 23%, transparent 24%),
    linear-gradient(180deg, #060606 0 70%, #ff4d35 71% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.3);
}

.logo-corner {
  position: absolute;
  top: 4px;
  left: 4px;
  color: #080808;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-22deg);
}

.app-logo strong {
  margin-top: 8px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.82);
}

.app-logo small {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  color: #fff;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.strip-copy {
  min-width: 0;
}

.strip-copy h1,
.strip-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 7.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 3px 12px rgba(78, 0, 133, 0.24);
  white-space: nowrap;
}

.strip-copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.neon-button {
  position: relative;
  display: grid;
  height: 44px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(160, 246, 255, 0.78);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #ff63d8 0%, #ff4fc7 36%, #a13bff 100%);
  color: #fff;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 2px rgba(76, 236, 255, 0.22),
    0 10px 18px rgba(56, 0, 92, 0.28);
}

.neon-button::before,
.neon-button::after {
  position: absolute;
  top: 13px;
  bottom: 13px;
  width: 8px;
  border-top: 1px solid rgba(160, 246, 255, 0.72);
  border-bottom: 1px solid rgba(160, 246, 255, 0.72);
  content: "";
}

.neon-button::before {
  left: -3px;
  border-left: 1px solid rgba(160, 246, 255, 0.72);
  transform: skewX(-28deg);
}

.neon-button::after {
  right: -3px;
  border-right: 1px solid rgba(160, 246, 255, 0.72);
  transform: skewX(-28deg);
}

.neon-button span {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(91, 10, 139, 0.42);
}

.neon-button:active {
  transform: translateY(1px);
}

.poster {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 108, 224, 0.18), transparent 22%),
    linear-gradient(180deg, #2c074f 0%, #17032e 52%, #0c0119 100%);
}

.poster::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  opacity: 0.36;
  pointer-events: none;
}

.poster::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(18, 2, 42, 0.74) 42%, rgba(11, 1, 24, 0.98));
  content: "";
  pointer-events: none;
}

.poster-art {
  position: relative;
  z-index: 1;
  min-height: 760px;
  padding: 28px 10px 250px;
}

.poster-glow,
.poster-ring,
.speed-line {
  position: absolute;
  pointer-events: none;
}

.poster-glow {
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.85;
}

.glow-a {
  top: 124px;
  left: -18px;
  width: 132px;
  height: 132px;
  background: rgba(255, 70, 207, 0.44);
}

.glow-b {
  top: 74px;
  right: -18px;
  width: 148px;
  height: 148px;
  background: rgba(76, 236, 255, 0.32);
}

.poster-ring {
  border: 4px solid rgba(255, 114, 217, 0.68);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 77, 216, 0.28), inset 0 0 20px rgba(255, 255, 255, 0.12);
}

.ring-a {
  top: 34px;
  left: 50%;
  width: 308px;
  height: 308px;
  transform: translateX(-50%);
}

.ring-b {
  top: 112px;
  left: 50%;
  width: 196px;
  height: 196px;
  border-color: rgba(76, 236, 255, 0.56);
  transform: translateX(-50%);
}

.speed-line {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.line-a {
  top: 212px;
  left: 10px;
  width: 86px;
  transform: rotate(-14deg);
}

.line-b {
  top: 196px;
  right: 10px;
  width: 110px;
  transform: rotate(16deg);
}

.line-c {
  top: 436px;
  right: 26px;
  width: 84px;
  transform: rotate(-28deg);
}

.sticker {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  background: #240539;
  box-shadow:
    0 0 0 3px rgba(255, 70, 207, 0.22),
    0 18px 32px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(255, 86, 221, 0.18);
}

.sticker::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(11, 2, 22, 0.44));
  content: "";
  pointer-events: none;
}

.sticker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sticker-idol {
  top: 34px;
  left: 50%;
  z-index: 1;
  width: 208px;
  height: 304px;
  transform: translateX(-50%);
}

.sticker-jk {
  top: 144px;
  left: -6px;
  z-index: 3;
  width: 172px;
  height: 352px;
  transform: rotate(-5deg);
}

.sticker-cyber {
  top: 144px;
  right: -4px;
  z-index: 3;
  width: 170px;
  height: 344px;
  transform: rotate(5deg);
}

.sticker-lolita {
  top: 250px;
  left: 50%;
  z-index: 4;
  width: 196px;
  height: 300px;
  transform: translateX(-50%) rotate(-1deg);
}

.poster-copy {
  position: relative;
  z-index: 4;
  margin: -302px 14px 0;
  padding-bottom: 24px;
  text-align: center;
}

.domain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  margin: 0 auto 8px;
  padding: 9px 22px 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #8c29ea, #5210b1);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 79, 210, 0.5);
  box-shadow: 0 0 20px rgba(255, 72, 235, 0.42);
}

.poster-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 17vw, 74px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 #6326d6,
    0 9px 22px rgba(255, 70, 207, 0.34);
}

.poster-note {
  display: inline-block;
  margin: 18px 0 0;
  padding: 11px 16px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #d42ab3;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.feature-band article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #250544, #6f1bd0 54%, #c62eb0);
  text-align: center;
}

.feature-band strong {
  overflow: hidden;
  color: var(--cyan-soft);
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-band span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.age-note {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.76);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 104px;
  width: min(300px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(28, 0, 56, 0.9);
  color: #fff;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.download-modal[hidden] {
  display: none;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 1, 15, 0.76);
  backdrop-filter: blur(10px);
}

.download-modal__panel {
  position: absolute;
  right: 16px;
  bottom: 24px;
  left: 16px;
  display: grid;
  gap: 12px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(47, 7, 91, 0.98), rgba(17, 2, 33, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.download-modal__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.download-modal__title {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 0.98;
}

.download-modal__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.download-modal__actions {
  display: grid;
  gap: 10px;
}

.download-modal__button {
  min-height: 48px;
  border-radius: 16px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.download-modal__button--primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #ff63d8 0%, #ff4fc7 36%, #a13bff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 2px rgba(76, 236, 255, 0.18),
    0 12px 24px rgba(56, 0, 92, 0.26);
}

.download-modal__button--ghost {
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 390px) {
  .download-strip {
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 8px;
    padding: 12px 10px 14px;
  }

  .strip-brand {
    gap: 8px;
  }

  .app-logo {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .app-logo strong {
    font-size: 22px;
  }

  .app-logo small {
    font-size: 10px;
  }

  .strip-copy h1,
  .strip-copy h2 {
    font-size: clamp(20px, 7vw, 26px);
  }

  .strip-copy p {
    font-size: 11px;
  }

  .neon-button {
    height: 40px;
  }

  .neon-button span {
    font-size: 15px;
  }

  .download-modal__panel {
    right: 12px;
    bottom: 18px;
    left: 12px;
  }

  .download-modal__title {
    font-size: 30px;
  }

  .download-modal__desc {
    font-size: 13px;
  }

  .poster-art {
    min-height: 680px;
    padding-bottom: 236px;
  }

  .ring-a {
    width: 276px;
    height: 276px;
  }

  .ring-b {
    width: 176px;
    height: 176px;
  }

  .sticker-idol {
    width: 190px;
    height: 286px;
  }

  .sticker-jk,
  .sticker-cyber {
    width: 160px;
    height: 332px;
  }

  .sticker-lolita {
    width: 184px;
    height: 286px;
  }

  .poster-copy {
    margin-top: -254px;
  }

  .poster-note {
    padding: 10px 14px;
    font-size: 17px;
  }
}

@media (max-width: 360px) {
  .download-strip {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 9px;
  }

  .app-logo {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .logo-corner {
    font-size: 11px;
  }

  .app-logo strong {
    font-size: 20px;
  }

  .strip-copy h1,
  .strip-copy h2 {
    font-size: 18px;
  }

  .strip-copy p {
    font-size: 10px;
  }

  .poster-art {
    min-height: 688px;
    padding-inline: 8px;
    padding-bottom: 226px;
  }

  .sticker-idol {
    width: 178px;
    height: 270px;
  }

  .sticker-jk,
  .sticker-cyber {
    width: 148px;
    height: 316px;
  }

  .sticker-lolita {
    width: 174px;
    height: 274px;
  }

  .poster-copy h2 {
    font-size: 52px;
  }

  .feature-band strong {
    font-size: 14px;
  }
}

@media (min-width: 431px) {
  .ad-shell {
    min-height: auto;
    margin: 18px auto;
    border-radius: 28px;
  }

  .strip-top {
    border-radius: 28px 28px 0 0;
  }
}

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