:root {
  --bg: #03030a;
  --panel: rgba(24, 18, 42, 0.78);
  --panel-2: rgba(19, 13, 34, 0.9);
  --line: rgba(150, 92, 255, 0.24);
  --text: #f7f4ff;
  --muted: #a9a1bb;
  --brand-start: #8b47e0;
  --brand-end: #d6306e;
  --purple: var(--brand-start);
  --purple-2: var(--brand-end);
  --green: #3fe575;
  --red: #ff4d4d;
  --grad: linear-gradient(135deg, var(--brand-start) 0%, #a843bc 48%, var(--brand-end) 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 71, 224, 0.9), rgba(214, 48, 110, 0.9));
  --glow: 0 0 24px rgba(139, 71, 224, 0.5), 0 14px 46px rgba(214, 48, 110, 0.3);
  --font: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--bg);
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 78% 13%, rgba(139, 71, 224, 0.32), transparent 24rem),
    radial-gradient(circle at 12% 32%, rgba(214, 48, 110, 0.2), transparent 18rem),
    linear-gradient(180deg, #03040a 0%, #06020f 48%, #03030a 100%);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
[data-icon],
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
[data-icon] > svg { display: block; width: 1em; height: 1em; }

.landing {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}
.landing::before {
  content: "";
  position: absolute;
  inset: 68px -190px auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 10.5%, rgba(139, 71, 224, 0.28) 10.8% 11%, transparent 11.3% 20%),
    radial-gradient(circle, rgba(214, 48, 110, 0.24), transparent 58%);
  opacity: 0.65;
  transform: rotate(-18deg);
  pointer-events: none;
}
.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 71, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 48, 110, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, transparent 76%);
  pointer-events: none;
}

.topbar {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) 20px 12px;
  background: rgba(3, 3, 10, 0.86);
  border-bottom: 1px solid rgba(214, 48, 110, 0.22);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-width: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(139, 71, 224, 0.44);
}
.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(139, 71, 224, 0.35);
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.topbar__download {
  min-width: 118px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--glow);
  justify-self: end;
}
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding: 12px 0 calc(18px + env(safe-area-inset-bottom));
  overflow: hidden;
  text-align: center;
}
.phone-carousel {
  --phone-w: min(82vw, 354px, 37.5svh);
  --drag-x: 0px;
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0 auto;
  touch-action: pan-y;
  user-select: none;
}
.phone-carousel__stage {
  position: relative;
  height: min(780px, calc(100svh - 118px), 180vw);
}
.phone-carousel__item {
  --item-x: 0%;
  --item-scale: 0.72;
  --item-opacity: 0;
  --item-blur: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--phone-w);
  aspect-ratio: 1320 / 2868;
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #080712;
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.66),
    0 0 34px rgba(139, 71, 224, 0.22);
  opacity: var(--item-opacity);
  filter: brightness(0.62) saturate(0.9) blur(var(--item-blur));
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--item-x) + var(--drag-x)))
    scale(var(--item-scale));
  transition:
    transform 0.56s cubic-bezier(0.22, 0.72, 0.18, 1),
    opacity 0.42s ease,
    filter 0.42s ease,
    box-shadow 0.42s ease;
  will-change: transform, opacity;
}
.phone-carousel.is-dragging .phone-carousel__item {
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.phone-carousel__item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 34%;
  height: 21px;
  border-radius: 0 0 18px 18px;
  background: rgba(0, 0, 0, 0.76);
  transform: translateX(-50%);
}
.phone-carousel__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11px;
  z-index: 4;
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  transform: translateX(-50%);
}
.phone-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.phone-carousel__item.is-active {
  --item-x: 0%;
  --item-scale: 1;
  --item-opacity: 1;
  z-index: 4;
  filter: brightness(1) saturate(1.08) blur(0);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.78),
    0 0 48px rgba(214, 48, 110, 0.32);
}
.phone-carousel__item.is-prev {
  --item-x: -78%;
  --item-scale: 0.72;
  --item-opacity: 0.48;
  --item-blur: 0.3px;
  z-index: 2;
}
.phone-carousel__item.is-next {
  --item-x: 78%;
  --item-scale: 0.72;
  --item-opacity: 0.48;
  --item-blur: 0.3px;
  z-index: 2;
}
.phone-carousel__item.is-hidden {
  --item-x: 0%;
  --item-scale: 0.58;
  --item-opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.phone-carousel__item--brand {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 48, 110, 0.32), transparent 34%),
    radial-gradient(circle at 50% 58%, rgba(139, 71, 224, 0.3), transparent 42%),
    linear-gradient(180deg, #0b0615, #05040c);
}
.phone-carousel__item--brand img {
  width: 58%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(214, 48, 110, 0.38));
}
.hero__intro {
  position: relative;
  z-index: 3;
  max-width: 380px;
  margin: 0 auto;
}
.eyebrow {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 16px;
  padding: 10px 16px;
  border: 1px solid rgba(151, 72, 255, 0.34);
  border-radius: 999px;
  color: #e58ac0;
  background: rgba(35, 20, 64, 0.56);
  box-shadow: inset 0 0 22px rgba(116, 49, 255, 0.18);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.eyebrow span {
  color: var(--brand-end);
  font-size: 16px;
}
.hero h1 {
  position: relative;
  max-width: 10em;
  margin: 0 auto;
  font-size: clamp(34px, 8.9vw, 44px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  font-weight: 300;
  text-shadow: 0 0 18px rgba(139, 71, 224, 0.18);
}
.hero h1::before {
  display: none;
}
.hero h1 span {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  background: linear-gradient(135deg, #f1ecfb 0%, var(--brand-start) 42%, var(--brand-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 300;
  text-shadow: 0 0 20px rgba(214, 48, 110, 0.16);
}
.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0.08em;
  bottom: -0.12em;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 71, 224, 0), rgba(139, 71, 224, 0.8), rgba(214, 48, 110, 0.8), rgba(214, 48, 110, 0));
  box-shadow: 0 0 14px rgba(214, 48, 110, 0.28);
}
.hero h1,
.hero h1 span {
  -webkit-font-smoothing: antialiased;
}
.hero__desc {
  max-width: 24em;
  margin: 17px auto 0;
  color: #c9c3d7;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
}
.hero__download {
  position: relative;
  z-index: 4;
  min-height: 50px;
  width: min(260px, 72vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -4px auto 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--glow);
}
.hero__download span {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 13px;
}
.phone__bezel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.8;
  padding: 10px;
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(47, 43, 62, 0.7) 16%, #0d0d18 34%, #444055 72%, rgba(255, 255, 255, 0.8)),
    #161322;
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  padding: 20px 12px 11px;
  background:
    radial-gradient(circle at 75% 22%, rgba(129, 55, 255, 0.3), transparent 24%),
    linear-gradient(180deg, #070712 0%, #0b0715 100%);
}
.phone__notch {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 4;
  width: 82px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #05050a;
  transform: translateX(-50%);
}
.phone__status,
.phone__brand,
.phone__tabs,
.phone__banner,
.market-list,
.phone-nav {
  position: relative;
  z-index: 2;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.phone__status i {
  width: 28px;
  height: 9px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff 0 24%, transparent 24% 38%, #fff 38% 58%, transparent 58% 70%, #fff 70%);
  opacity: 0.9;
}
.phone__brand {
  margin-top: 14px;
  color: var(--brand-start);
  font-size: 15px;
  font-weight: 900;
}
.phone__tabs {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  color: #888095;
  font-size: 11px;
}
.phone__tabs b {
  color: #fff;
  border-bottom: 2px solid var(--purple);
  padding-bottom: 3px;
}
.phone__banner {
  min-height: 118px;
  margin-top: 12px;
  padding: 17px 12px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 46%, rgba(214, 48, 110, 0.66), transparent 29%),
    linear-gradient(135deg, rgba(40, 16, 91, 0.96), rgba(18, 9, 46, 0.96));
  border: 1px solid rgba(214, 48, 110, 0.26);
}
.phone__banner::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 44%, rgba(255, 255, 255, 0.55) 45% 47%, transparent 48%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px 7px);
  box-shadow: 0 0 25px rgba(214, 48, 110, 0.72), inset 0 0 22px rgba(139, 71, 224, 0.5);
}
.phone__banner p {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}
.phone__banner h3 {
  margin: 3px 0 0;
  max-width: 9em;
  color: #f09ac5;
  font-size: 15px;
  line-height: 1.3;
}
.phone__banner span {
  display: block;
  margin-top: 7px;
  color: #a69bb8;
  font-size: 9px;
}
.phone__banner i {
  display: block;
  width: 62px;
  margin-top: 11px;
  padding: 6px 0;
  border-radius: 10px;
  background: var(--grad);
}
.market-list {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}
.market-item {
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 14px;
  background: rgba(18, 16, 27, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.market-item div {
  min-width: 0;
}
.market-item b {
  display: -webkit-box;
  overflow: hidden;
  color: #f4efff;
  font-size: 9px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.market-item span {
  display: block;
  margin-top: 4px;
  color: #7c748c;
  font-size: 8px;
}
.market-item strong {
  color: var(--green);
  font-size: 14px;
  text-align: center;
}
.market-item small {
  display: block;
  font-size: 8px;
  color: inherit;
}
.market-item .no {
  color: var(--red);
}
.coin {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}
.coin--orange { background: linear-gradient(135deg, #ff9e42, #ff6b21); }
.coin--blue { background: linear-gradient(135deg, #526bff, #17213f); }
.coin--flag {
  background:
    linear-gradient(#f44 0 14%, #fff 14% 28%, #f44 28% 42%, #fff 42% 56%, #f44 56% 70%, #fff 70% 84%, #f44 84%),
    #2249b8;
}
.phone-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  color: #82788f;
  font-size: 16px;
}
.phone-nav b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 0 22px rgba(214, 48, 110, 0.48);
}

@media (max-width: 390px) {
  .topbar {
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .logo {
    font-size: 20px;
  }
  .logo img {
    width: 34px;
    height: 34px;
  }
  .topbar__download {
    min-width: 104px;
    height: 40px;
    border-radius: 16px;
    font-size: 14px;
  }
  .hero {
    padding-left: 0;
    padding-right: 0;
  }
  .phone-carousel {
    --phone-w: min(82vw, 340px, 37.5svh);
  }
}
