/* Rhythm Tiles: Pop Songs — 霓虹赛博画风；结构与通用 h5 落地页一致 */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #12081f;
}

/* ---------- Loading ---------- */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12081f;
}

.loading[hidden] {
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 61, 154, 0.25);
  border-top-color: #5cf0ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Landing ---------- */
.page {
  --primary: #ff3d9a;
  --accent: #5cf0ff;
  --secondary: #f6ecff;
  --ink: #1a0b2e;
  position: relative;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  font-family: Outfit, sans-serif;
  color: var(--secondary);
  overflow: hidden;
  background:
    radial-gradient(90% 50% at 80% 0%, rgba(255, 61, 154, 0.45), transparent 55%),
    radial-gradient(70% 40% at 10% 15%, rgba(92, 240, 255, 0.22), transparent 50%),
    radial-gradient(80% 50% at 50% 100%, rgba(123, 92, 255, 0.35), transparent 55%),
    linear-gradient(180deg, #2a1048 0%, #12081f 48%, #1a0b2e 100%);
  cursor: pointer;
  user-select: none;
}

/* 轻微光斑，贴近商店素材的 bokeh 氛围 */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.14) 0 3%, transparent 4%),
    radial-gradient(circle at 78% 18%, rgba(92, 240, 255, 0.18) 0 4%, transparent 5%),
    radial-gradient(circle at 62% 62%, rgba(255, 61, 154, 0.16) 0 5%, transparent 6%);
  animation: drift 10s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translateY(0);
    opacity: 0.85;
  }
  to {
    transform: translateY(12px);
    opacity: 1;
  }
}

.page[hidden] {
  display: none;
}

.bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(18, 8, 31, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 61, 154, 0.25);
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255, 61, 154, 0.45);
}

.brand {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 40px 24px 28px;
  text-align: left;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(92, 240, 255, 0.55);
}

.hero h1 {
  margin: 0 0 12px;
  font-family: Syne, Outfit, sans-serif;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 61, 154, 0.45);
}

.lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 24em;
  color: #e8d7ff;
}

.cta {
  border: none;
  padding: 14px 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff3d9a 0%, #b14dff 55%, #5cf0ff 140%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 10px 28px rgba(255, 61, 154, 0.45),
    0 0 24px rgba(92, 240, 255, 0.25);
  pointer-events: none;
  animation: pulse-glow 2.2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.18) inset,
      0 10px 28px rgba(255, 61, 154, 0.4),
      0 0 18px rgba(92, 240, 255, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.28) inset,
      0 12px 32px rgba(255, 61, 154, 0.6),
      0 0 32px rgba(92, 240, 255, 0.35);
  }
}

.about {
  position: relative;
  z-index: 1;
  padding: 4px 24px 28px;
  font-size: 14px;
  line-height: 1.65;
  color: #d8c6f0;
}

.shots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  padding: 0 24px 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shots::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 120px;
  height: 212px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(160deg, #ff3d9a, #5cf0ff);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 61, 154, 0.35);
}

.foot {
  position: relative;
  z-index: 1;
  padding: 16px 24px 40px;
  text-align: center;
  font-size: 12px;
  opacity: 0.65;
  color: #c9b4e8;
}
