/* Homepage feature stories and the Pokémon launch section */
.parallel-section,
#live-pokemon-prices,
#card-show,
#how-it-works,
#features,
#faq,
#live-pokemon-faq {
  scroll-margin-top: 6rem;
}

.parallel-story,
.feature-showcase {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.parallel-story .section-label,
.feature-showcase .section-label {
  color: #9fc6f2;
}

.parallel-story__intro {
  max-width: 33rem;
}

.parallel-story__steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
}

.parallel-story__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(165, 183, 208, 0.24);
}

.parallel-story__steps li > span {
  color: #8abdf1;
  font: 700 0.75rem ui-monospace, monospace;
}

.parallel-story__steps h3 {
  margin: 0;
  color: #f0f9ff;
  font-size: 1.1rem;
}

.parallel-story__steps p {
  margin: 0.35rem 0 0;
  color: #c0d1e8;
  line-height: 1.65;
}

.parallel-story__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.feature-story-link {
  color: #b7dbff;
  font-size: 0.9rem;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.feature-story-link:hover {
  color: #fff;
}

.parallel-story__figure,
.feature-showcase__media {
  margin: 0;
  min-width: 0;
}

.parallel-stage {
  position: relative;
  display: grid;
  align-items: end;
  aspect-ratio: 1.24;
  min-height: 17rem;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 43%, rgba(78, 135, 201, 0.22), transparent 67%);
}

.parallel-stage__deck {
  position: absolute;
  inset: 0 0 16%;
  perspective: 850px;
}

.parallel-card {
  position: absolute;
  top: 49%;
  left: 50%;
  width: min(40%, 13.5rem, 32vh);
  aspect-ratio: 5 / 7;
  transform: translate(-50%, -50%);
}

.parallel-card__stand {
  position: absolute;
  inset: 83% -2% -9%;
  background: linear-gradient(140deg, #57728c, #24384d 51%, #142538);
  clip-path: polygon(24% 0, 76% 0, 100% 89%, 95% 100%, 5% 100%, 0 89%);
}

.parallel-card::before,
.parallel-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.parallel-card::before {
  inset: auto -18% -12%;
  height: 10%;
  border-radius: 50%;
  background: rgba(1, 6, 15, 0.76);
  filter: blur(12px);
}

.parallel-card::after {
  inset: 97% 1% -6%;
  z-index: 1;
  border-radius: 0.25rem;
  background: linear-gradient(#607f9c, #283b50 28%, #17283c);
  box-shadow: 0 5px 8px rgba(1, 6, 16, 0.6);
}

.parallel-card__image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3%;
  box-shadow: 0 0.8rem 1.8rem rgba(1, 6, 16, 0.56);
}

.parallel-card__tiles {
  display: none;
}

.parallel-story.is-animated .parallel-card__tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template: repeat(var(--tile-rows), 1fr) / repeat(var(--tile-columns), 1fr);
  perspective: 740px;
}

.parallel-card__tile {
  background: var(--card-art) no-repeat;
  background-size: calc(var(--tile-columns) * 100%) calc(var(--tile-rows) * 100%);
  box-shadow: 2px 3px 0 #162946, 0 0.4rem 0.8rem rgba(1, 6, 16, 0.56);
}

.parallel-card__stamp {
  display: none;
}

.parallel-story.is-animated .parallel-card__stamp {
  position: absolute;
  display: block;
  top: 11.8%;
  left: 7.6%;
  width: 17%;
  height: 5.6%;
  border: 1px solid #dcf1ff;
  border-radius: 0.2rem;
  box-shadow: 0 0 0.55rem rgba(139, 207, 255, 0.7);
  pointer-events: none;
}

.parallel-stage__details {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 22rem);
  margin: 0 auto;
  padding: 0.75rem 0 0.15rem;
  border-top: 1px solid rgba(169, 190, 217, 0.28);
}

.parallel-stage__details p {
  margin: 0;
  color: #b5c5d9;
  font-size: 0.8rem;
  line-height: 1.5;
}

.parallel-stage__details .parallel-stage__name,
.parallel-stage__details .parallel-stage__price {
  color: #f0f4fa;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
}

.parallel-stage__sale {
  text-align: right;
  flex-shrink: 0;
}

.feature-showcase__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(151, 191, 242, 0.3);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(4, 8, 17, 0.42);
}

.feature-showcase__meta {
  margin: 1.15rem 0;
  color: #c3d8f1;
  font-size: 0.9rem;
  font-weight: 700;
}

#live-pokemon-prices.section,
.duo-section {
  padding-top: clamp(2rem, 5vw, 5rem);
}

/* Give the card show section a clean edge against Live Pokémon Prices. */
#card-show::before {
  display: none;
}

/* The feature list and camera update share the light background. */
#features::after {
  display: none;
}

.feature-showcase--live {
  padding: clamp(1.15rem, 4vw, 3.25rem);
  border: 1px solid rgba(151, 191, 242, 0.23);
  border-radius: 1.75rem;
  background: radial-gradient(ellipse at 82% 35%, #1b3856, transparent 63%), #111c2e;
}

.pokemon-live-detail {
  margin-top: 2rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid rgba(151, 191, 242, 0.27);
  border-radius: 1.2rem;
  background: #14233a;
}

.pokemon-live-detail h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.pokemon-live-detail p {
  margin: 0.65rem 0 0;
}

.pokemon-live-detail .feature-showcase__media {
  margin-top: 1rem;
}

.camera-update {
  padding-top: 0;
  background: #fff;
}

.camera-update__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: end;
  gap: clamp(1rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid #c7d8ed;
  border-radius: 1.5rem;
  background: #eaf3fe;
}

.camera-update__inner > p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.65;
}

@media (min-width: 901px) and (min-height: 640px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .parallel-story.is-animated {
    align-items: start;
  }

  .parallel-story.is-animated .parallel-story__figure {
    position: sticky;
    top: 7rem;
  }

  .parallel-story.is-animated .parallel-stage {
    max-height: calc(100vh - 11rem);
  }
}

@media (max-width: 900px) {
  .parallel-story,
  .feature-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .parallel-story__figure {
    width: min(100%, 39rem);
    margin-inline: auto;
  }

  .parallel-story__steps li {
    padding-block: 0.85rem;
  }
}

@media (max-width: 600px) {
  .cardshow-copy { display: contents; }
  .cardshow-intro { order: 1; }
  .cardshow-col { order: 2; }
  .cardshow-actions { order: 3; }

  .parallel-stage__deck {
    bottom: 21%;
  }

  .camera-update__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
