:root {
  --bg: #070d1a;
  --bg-card: #121a2b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #8b97ad;
  --blue: #4ca8ff;
  --green: #00e676;
  --pink: #ff4d9a;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 40px;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 28%, rgba(40, 80, 160, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 40% at 88% 6%, rgba(255, 90, 168, 0.14), transparent 55%);
  z-index: 0;
}

/* —— Corner arrow (⋯ top-right) —— */
.corner-hint {
  position: fixed;
  top: 4px;
  right: 6px;
  left: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  width: 72px;
}

.dots-pulse {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
  animation: dots-glow 1.2s ease-in-out infinite;
}

.corner-arrow {
  width: 48px;
  height: 54px;
  transform: rotate(12deg);
  animation: arrow-bounce 1s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(255, 90, 168, 0.55));
}

.corner-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  color: #ff8cc8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-top: 2px;
  animation: label-pulse 1.4s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-9px); }
}

@keyframes label-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes dots-glow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 90, 168, 0.8);
  }
  50% {
    opacity: 0.45;
    text-shadow: 0 0 18px rgba(255, 90, 168, 1);
  }
}

/* —— Content —— */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 72px 16px 24px;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.55rem, 5.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.grad-pink {
  background: linear-gradient(90deg, #ff5aa8, #d94dff 55%, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.steps-card {
  padding: 16px;
  text-align: left;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #266289, #1f7a8c);
  box-shadow: 0 4px 14px rgba(30, 120, 160, 0.35);
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.step-title b {
  color: var(--blue);
}

.step-desc {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Animated “GIF” —— */
.gif-card {
  padding: 14px;
  overflow: hidden;
}

.gif-stage {
  position: relative;
  border-radius: 14px;
  background: #0a1120;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 14px 10px;
  min-height: 320px;
}

.phone {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
  background: #151c2c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #1a2235;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-url {
  font-size: 0.72rem;
  color: var(--muted);
}

.phone-menu {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: #c5cedd;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.phone-menu.lit {
  color: #fff;
  background: rgba(255, 90, 168, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 90, 168, 0.55);
}

.phone-body {
  position: relative;
  padding: 28px 16px;
  height: 100%;
}

.phone-blur-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  filter: blur(1px);
}

.tap-ripple {
  position: absolute;
  top: 6px;
  right: 10px;
  left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 90, 168, 0.8);
  opacity: 0;
  pointer-events: none;
}

.tap-ripple.show {
  animation: ripple 0.7s ease-out;
}

@keyframes ripple {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1e2638;
  border-radius: 16px 16px 0 0;
  padding: 10px 12px 16px;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 auto 12px;
}

.sheet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #d6deeb;
  position: relative;
}

.sheet-item-active {
  background: rgba(76, 168, 255, 0.14);
  border: 1px solid rgba(76, 168, 255, 0.35);
  color: #fff;
  font-weight: 600;
}

.sheet-item-active.pulse {
  animation: active-pulse 0.9s ease-in-out infinite;
}

@keyframes active-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 168, 255, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(76, 168, 255, 0); }
}

.sheet-ico {
  font-size: 1rem;
}

.hand {
  position: absolute;
  right: 10px;
  top: -2px;
  font-size: 1.35rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.3s;
}

.hand.show {
  opacity: 1;
  transform: translateY(0);
  animation: hand-bounce 0.8s ease-in-out infinite;
}

@keyframes hand-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.gif-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  min-height: 1.3em;
}

.footer-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #6b778c;
  line-height: 1.45;
}

@media (max-width: 380px) {
  .wrap {
    padding-top: 64px;
  }

  .corner-hint {
    width: 68px;
  }

  .corner-arrow {
    width: 44px;
    height: 50px;
  }
}
