/* ustar.world landing page: the city full screen, a grid of what you do (each with a bit of the game's own UI on it),
   POPit, the road to fame, and the launch list. Big pictures, few words. */

/* The plaza's shops, each in its own light. */
.c-fitcheck { --c: #ff4fa8; }
.c-glowup { --c: #ecc35c; }
.c-kickz { --c: #4fa3ff; }
.c-fade { --c: #45e3a0; }
.c-sip { --c: #ff9a5c; }
.c-flex { --c: #b07aff; }

.home { background: var(--night-0); }

/* ------------------------------------------------------------------------------------------------ shared */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 56px); }
.head-center { margin-inline: auto; text-align: center; }
.head-center .line { margin-inline: auto; }

/* Big, tracked capitals, like a game's key art. */
.title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 7.4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.line {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-2);
}

.neon {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 61, 154, 0.5));
  animation: neon-on 2.6s 0.6s both;
}
@keyframes neon-on {
  0% { opacity: 0; } 8% { opacity: 1; } 11% { opacity: 0.25; } 15% { opacity: 1; }
  38% { opacity: 1; } 40% { opacity: 0.45; } 43%, 100% { opacity: 1; }
}

.reveal { transition: opacity 0.9s cubic-bezier(.2, .7, .2, 1), transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.reveal.pre { opacity: 0; transform: translateY(34px); }

/* A small piece of game UI: dark glass, like the in-game HUD. */
.glass {
  background: rgba(12, 7, 22, 0.62);
  border: 1px solid rgba(255, 236, 214, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
}

/* ------------------------------------------------------------------------------------------------ hero */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--night-0);
}
.hero-slides, .hero-slides .slide, .hero-shade { position: absolute; inset: 0; }
.hero-slides { z-index: -2; }
.hero-slides .slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slides .slide.is-on { opacity: 1; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 60% 40%; }
.hero-slides .slide.is-on img { animation: kenburns 9s cubic-bezier(.25, .6, .3, 1) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 4, 12, 0.55) 0%, rgba(7, 4, 12, 0) 22%),
    linear-gradient(0deg, rgba(7, 4, 12, 0.98) 0%, rgba(7, 4, 12, 0.72) 26%, rgba(7, 4, 12, 0) 62%),
    radial-gradient(70% 60% at 15% 100%, rgba(216, 27, 114, 0.28), transparent 70%);
}
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(84px, 13vh, 150px); text-align: center; }
.hero-logo { margin: 0 auto; width: min(86vw, 640px); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 6px 36px rgba(7, 4, 12, 0.65)) drop-shadow(0 0 42px rgba(255, 61, 154, 0.25)); }
.hero-line {
  margin: clamp(16px, 2.6vw, 26px) auto 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 22px rgba(7, 4, 12, 0.85);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(22px, 3.4vw, 34px); }
.hero-note { margin: 16px 0 0; font-size: 0.85rem; color: var(--text-3); letter-spacing: 0.04em; }
@media (max-width: 480px) {
  .hero-cta .btn, .hero-cta .store-pill { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 1000px) {
  .hero-inner { text-align: left; }
  .hero-logo { margin: 0; width: min(46vw, 660px); }
  .hero-line { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 4, 12, 0.55) 0%, rgba(7, 4, 12, 0) 22%),
      linear-gradient(0deg, rgba(7, 4, 12, 0.95) 0%, rgba(7, 4, 12, 0.45) 30%, rgba(7, 4, 12, 0) 58%),
      linear-gradient(90deg, rgba(7, 4, 12, 0.72) 0%, rgba(7, 4, 12, 0.2) 45%, rgba(7, 4, 12, 0) 70%),
      radial-gradient(60% 70% at 0% 100%, rgba(216, 27, 114, 0.3), transparent 70%);
  }
}

/* The Star Phone's notifications, sliding in over the city. */
.toasts {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 12px;
  width: min(300px, 76vw);
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(12, 7, 22, 0.66);
  border: 1px solid rgba(255, 236, 214, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
  opacity: 0;
  animation: toast-in 0.7s cubic-bezier(.2, .8, .2, 1) forwards, bob 7s ease-in-out infinite;
}
.toast-pop { animation-delay: 1.2s, 2s; }
.toast-live { animation-delay: 2.4s, 3.2s; }
.toast-level { animation-delay: 3.6s, 4.4s; }
.toast-body { display: grid; gap: 1px; min-width: 0; font-size: 0.86rem; line-height: 1.3; color: var(--text-2); }
.toast-body b { font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.toast-body em { font-style: normal; font-weight: 700; color: var(--gold); }
.toast-level .toast-body em { color: var(--pink-2); }
.toast-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
}
.toast-ico svg { width: 20px; height: 20px; }
.ico-heart { background: linear-gradient(135deg, #ff4fa8, #d81b72); box-shadow: 0 0 22px -4px rgba(255, 61, 154, 0.8); }
.ico-coin { background: radial-gradient(circle at 35% 30%, #ffe9a6, #ecc35c 45%, #b8862a); color: #6b4a10; box-shadow: 0 0 22px -4px rgba(236, 195, 92, 0.8); }
.ico-star { background: linear-gradient(135deg, #a066ff, #6c3bd1); box-shadow: 0 0 22px -4px rgba(160, 102, 255, 0.8); }
.ico-live { background: linear-gradient(135deg, #ff4d6a, #c8163a); box-shadow: 0 0 22px -4px rgba(255, 77, 106, 0.85); }
.ico-live i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); animation: blink 1.4s ease-in-out infinite; }
.toast-live .toast-body em { color: #ff8fa3; }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* Phones show one notification, small, under the header. */
@media (max-width: 999px) {
  .toasts { width: auto; left: auto; }
  .toast-live, .toast-level { display: none; }
  .toast { padding: 9px 13px 9px 9px; border-radius: 15px; }
  .toast-ico { width: 32px; height: 32px; border-radius: 10px; }
}
@media (min-width: 1000px) { .toasts { top: auto; bottom: clamp(110px, 18vh, 190px); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 2px solid rgba(255, 246, 236, 0.45);
  border-radius: 999px;
}
.scroll-cue span { width: 4px; height: 9px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-7px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
@media (max-width: 999px) { .scroll-cue { display: none; } }

/* ------------------------------------------------------------------------------------------------ marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--night-0);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.marquee li {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
  padding-right: clamp(24px, 4vw, 44px);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.4vw, 1.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c);
  text-shadow: 0 0 14px color-mix(in srgb, var(--c) 55%, transparent), 0 0 34px color-mix(in srgb, var(--c) 30%, transparent);
}
.marquee li::after { content: "✦"; font-size: 0.6em; color: rgba(255, 246, 236, 0.4); text-shadow: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------------------------------------ the city grid */
.bento {
  display: grid;
  gap: clamp(10px, 1.4vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(250px, 62vw);
}
.tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(255, 236, 214, 0.12);
  background: var(--night-2);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover > img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 4, 12, 0.92) 0%, rgba(7, 4, 12, 0.35) 34%, rgba(7, 4, 12, 0) 58%);
}
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2.2vw, 26px); }
.tile-cap h3 {
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.tile-cap p { margin: 8px 0 0; color: var(--text-2); font-size: 0.95rem; }
.tile-ui {
  position: absolute;
  top: clamp(14px, 1.8vw, 20px);
  right: clamp(14px, 1.8vw, 20px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 70%;
}

/* The pieces of game UI on the tiles. */
.ui-chip, .ui-coin, .ui-likes, .ui-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(12, 7, 22, 0.62);
  border: 1px solid rgba(255, 236, 214, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ui-chip b { color: var(--text); }
.ui-chip-hot { color: #fff; background: var(--grad-neon); border-color: transparent; box-shadow: 0 8px 26px -8px rgba(255, 61, 154, 0.85); }
.ui-coin { color: var(--gold); font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.ui-coin::before {
  content: "C";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  color: #6b4a10;
  background: radial-gradient(circle at 35% 30%, #ffe9a6, #ecc35c 45%, #b8862a);
}
.ui-coin b { font-weight: 800; color: #ffe39a; }
.ui-neon {
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bfe0ff;
  padding: 7px 12px;
  border: 2px solid #4fa3ff;
  border-radius: 10px;
  text-shadow: 0 0 10px #4fa3ff, 0 0 26px #4fa3ff;
  box-shadow: 0 0 16px -2px #4fa3ff, inset 0 0 14px -4px #4fa3ff;
  background: rgba(7, 4, 12, 0.35);
  animation: neon-on 3.2s 0.3s infinite;
}
.ui-likes { color: #fff; font-family: var(--display); font-weight: 700; }
.ui-likes svg { width: 18px; height: 18px; color: var(--pink); }
.ui-vs {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1;
  font-style: italic;
  background: linear-gradient(180deg, #fff 10%, #ffb3d6 45%, #ff3d9a 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 #6c1847) drop-shadow(0 0 22px rgba(255, 61, 154, 0.75));
  transform: rotate(-8deg);
}
.ui-live { color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(205, 22, 58, 0.85); border-color: transparent; }
.ui-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
.ui-onair {
  display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 8px;
  font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: #d3123c; border: 2px solid #ff6b86;
  box-shadow: 0 0 18px rgba(255, 45, 85, 0.75), inset 0 0 10px rgba(255, 255, 255, 0.25);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  animation: neon-on 3.4s 0.4s infinite;
}
.ui-rec {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(12, 7, 22, 0.66); border: 1px solid rgba(255, 236, 214, 0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ui-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

/* The POPit tile: the phone on a neon glow. */
.tile-pop { background: radial-gradient(70% 60% at 50% 40%, rgba(255, 61, 154, 0.32), transparent 70%), radial-gradient(60% 50% at 40% 70%, rgba(122, 92, 255, 0.3), transparent 70%), var(--night-2); }
.tile-pop::after { background: linear-gradient(0deg, rgba(7, 4, 12, 0.92) 0%, rgba(7, 4, 12, 0.4) 26%, rgba(7, 4, 12, 0) 45%); }
.tile-phone {
  position: absolute;
  left: 50%;
  top: 7%;
  z-index: -2;
  width: min(48%, 210px);
  aspect-ratio: 694 / 1600;
  padding: 6px;
  border-radius: 32px;
  background: linear-gradient(150deg, #34234d, #140b21 60%, #2a1a3e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 30px 70px -26px rgba(255, 61, 154, 0.7);
  transform: translateX(-50%) rotate(-4deg);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.tile-pop:hover .tile-phone { transform: translateX(-50%) rotate(-1deg) translateY(-6px); }
.tile-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }

.tile-star > img { object-position: 50% 22%; }
/* The creator's options in one row above the Star's head. */
.tile-star .tile-ui { left: clamp(14px, 1.8vw, 20px); max-width: none; gap: 6px; }
@media (max-width: 639px) {
  .tile-star .tile-ui .ui-chip { padding: 6px 10px; font-size: 0.74rem; }
}
.tile-work > img { object-position: 63% 50%; }
.tile-stage > img { object-position: 50% 60%; }
.tile-fight > img { object-position: 50% 45%; }

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 36vw, 300px);
    grid-template-areas: "star star" "pop work" "pop shop" "fight stage";
  }
  .tile-star { grid-area: star; }
  .tile-work { grid-area: work; }
  .tile-shop { grid-area: shop; }
  .tile-pop { grid-area: pop; }
  .tile-fight { grid-area: fight; }
  .tile-stage { grid-area: stage; }
  .tile-phone { top: 9%; width: min(56%, 200px); }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 21vw, 300px);
    grid-template-areas: "star star pop work" "star star pop shop" "fight fight stage stage";
  }
  .tile-phone { width: min(62%, 220px); }
}

/* ------------------------------------------------------------------------------------------------ POPit */
.section-popit { overflow: hidden; }
.section-popit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 75% 50%, rgba(255, 61, 154, 0.22), transparent 70%),
    radial-gradient(40% 50% at 60% 65%, rgba(122, 92, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.popit { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.popit-word {
  background: linear-gradient(95deg, #ff4fa8, #ff8fd0 60%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: none;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-2);
}
.popit-stage { position: relative; display: grid; place-items: center; margin: 0; padding: 20px 0 30px; }
.phone {
  position: relative;
  width: min(72vw, 330px);
  aspect-ratio: 694 / 1600;
  padding: 9px;
  border-radius: 50px;
  background: linear-gradient(150deg, #34234d, #140b21 60%, #2a1a3e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.05),
              0 50px 100px -36px rgba(255, 61, 154, 0.65), 0 0 140px -30px rgba(122, 92, 255, 0.6);
  transform: rotate(-3deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; }
.float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(21, 13, 36, 0.86);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.8);
  animation: bob 6s ease-in-out infinite;
}
.float svg { width: 16px; height: 16px; color: var(--pink); }
.float-a { left: max(0%, calc(50% - 250px)); top: 16%; }
.float-b { right: max(0%, calc(50% - 250px)); top: 46%; background: var(--grad-neon); border-color: transparent; animation-delay: -2s; }
.float-c { left: max(2%, calc(50% - 230px)); bottom: 14%; animation-delay: -4s; }
.float-c i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6a; box-shadow: 0 0 10px #ff4d6a; }

/* Likes rising off the clip. */
.hearts { position: absolute; right: calc(50% - min(36vw, 165px) + 6px); bottom: 26%; width: 60px; height: 60%; pointer-events: none; }
.hearts i {
  position: absolute;
  bottom: 0;
  left: 18px;
  width: 22px;
  height: 22px;
  opacity: 0;
  animation: rise 4.2s ease-out infinite;
}
.hearts i::before, .hearts i::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 19px;
  border-radius: 12px 12px 0 0;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255, 61, 154, 0.6);
}
.hearts i::before { left: 11px; transform: rotate(-45deg); transform-origin: 0 100%; }
.hearts i::after { left: -1px; transform: rotate(45deg); transform-origin: 100% 100%; }
.hearts i:nth-child(2) { left: 30px; animation-delay: 0.7s; scale: 0.8; }
.hearts i:nth-child(3) { left: 6px; animation-delay: 1.4s; scale: 1.1; }
.hearts i:nth-child(4) { left: 26px; animation-delay: 2.1s; scale: 0.7; }
.hearts i:nth-child(5) { left: 12px; animation-delay: 2.8s; scale: 0.95; }
.hearts i:nth-child(6) { left: 34px; animation-delay: 3.5s; scale: 0.75; }
.hearts i:nth-child(even)::before, .hearts i:nth-child(even)::after { background: #ff8fd0; }
@keyframes rise {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(-22px, -280px) rotate(-18deg); }
}
@media (min-width: 900px) {
  .popit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .popit .title { font-size: clamp(2.4rem, 5vw, 4.4rem); }
}

/* ------------------------------------------------------------------------------------------------ the road to fame */
.section-fame {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 15% 20%, rgba(255, 61, 154, 0.12), transparent 70%),
    radial-gradient(50% 60% at 85% 30%, rgba(160, 102, 255, 0.16), transparent 70%),
    var(--night-1);
  border-block: 1px solid var(--line);
}

/* Five steps, nobody to Icon. Phones and tablets swipe through them; desktops see the whole road. */
.path {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74%, 290px);
  gap: 14px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.path::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) {
  .path { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 4px 0 0; overflow: visible; }
}
.step { position: relative; display: flex; flex-direction: column; scroll-snap-align: start; }
.step-pic {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 236, 214, 0.14);
  background: var(--night-2);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.95);
}
.step-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.step:hover .step-pic img { transform: scale(1.05); }
.step-ui { position: absolute; top: 12px; left: 12px; }
.step-n {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--pink-2);
}
/* The road between the steps. */
.step-n::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 61, 154, 0.7), rgba(160, 102, 255, 0.15)); }
.step:last-child .step-n::after { background: linear-gradient(90deg, rgba(236, 195, 92, 0.8), transparent); }
.step h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.05; text-transform: uppercase; }
.step p { margin: 8px 0 0; color: var(--text-3); font-size: 0.95rem; line-height: 1.45; }
/* The top: Icon, in gold. */
.step-badge {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(255, 210, 122, 0.45), transparent 70%),
    radial-gradient(80% 70% at 50% 100%, rgba(255, 61, 154, 0.35), transparent 70%),
    linear-gradient(160deg, #2b1c46, #150d24);
  border-color: rgba(236, 195, 92, 0.45);
}
.step-badge img { width: 34%; height: auto; filter: drop-shadow(0 0 22px rgba(255, 210, 122, 0.9)) drop-shadow(0 0 50px rgba(255, 61, 154, 0.6)); animation: twinkle 3.2s ease-in-out infinite; }
.step-badge b { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.08em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-top .step-n { color: var(--gold); }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.08) rotate(8deg); } }

.ways { margin-top: clamp(30px, 4vw, 46px); text-align: center; }
.ways-label {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ways .tags { justify-content: center; margin-top: 0; }

.rules { display: grid; gap: 12px; max-width: 900px; margin: clamp(26px, 4vw, 40px) auto 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rules li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 236, 214, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)), var(--night-2);
}
.rules p { margin: 0; color: var(--text-2); line-height: 1.45; }
.rules b { color: var(--text); font-family: var(--display); font-weight: 700; }
.rule-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.1rem;
}
.rule-ico.coin { color: #6b4a10; background: radial-gradient(circle at 35% 30%, #fff1c2, #ecc35c 45%, #a8781f); box-shadow: 0 0 26px -6px rgba(236, 195, 92, 0.8); }
.rule-ico.star { color: #fff; background: linear-gradient(135deg, #ff4fa8, #a066ff 60%, #6c3bd1); box-shadow: 0 0 26px -6px rgba(255, 61, 154, 0.8); }
.rule-ico.star svg { width: 22px; height: 22px; }
.fine { margin: clamp(22px, 3vw, 32px) auto 0; max-width: 60em; text-align: center; color: var(--text-3); font-size: 0.9rem; }

/* ------------------------------------------------------------------------------------------------ join */
.section-join { overflow: hidden; isolation: isolate; text-align: center; padding: clamp(90px, 13vw, 170px) 0; }
.join-bg { position: absolute; inset: 0; z-index: -1; }
.join-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.join-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--night-1) 0%, rgba(7, 4, 12, 0.55) 30%, rgba(7, 4, 12, 0.6) 70%, var(--night-0) 100%),
    radial-gradient(50% 60% at 50% 50%, rgba(216, 27, 114, 0.25), transparent 70%);
}
.join { display: grid; justify-items: center; }
.join-mark { width: 54px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 0 24px rgba(255, 61, 154, 0.7)); }
.join .title { font-size: clamp(1.9rem, 6vw, 4rem); max-width: 14em; }
.join .line { margin-inline: auto; }
.join .waitlist { width: min(100%, 520px); margin-top: 30px; text-align: left; }
.join-store { margin-top: 22px; }
.wl-msg { display: none; margin: 0; font-weight: 600; }
.wl-msg:target { display: block; }
.wl-msg[data-tone="ok"] { color: var(--mint); }
.wl-msg[data-tone="bad"] { color: var(--danger); }

/* ------------------------------------------------------------------------------------------------ calm */
@media (prefers-reduced-motion: reduce) {
  .hero-slides .slide.is-on img, .neon, .toast, .marquee-track, .float, .hearts i, .ui-neon, .ui-live i, .ui-onair, .ui-rec i, .ico-live i, .step-badge img, .scroll-cue span { animation: none; }
  .toast { opacity: 1; }
  .hearts { display: none; }
}
