/* Alchemy Magic page: the shared Alchemy look, recoloured with the Magic logo's gradient
   (magenta → red → orange) and a warm glow behind the hero. */

.theme-magic {
  --accent: #ff2d3c;
  --m1: #e3177f;
  --m2: #ff2d3c;
  --m3: #ff6a1a;
  --magic: linear-gradient(110deg, var(--m1), var(--m2) 55%, var(--m3));
}

.theme-magic .btn {
  background: var(--magic);
  box-shadow: 0 10px 40px -12px rgba(255, 45, 60, 0.7);
}
.theme-magic .kicker,
.theme-magic .spell {
  background: var(--magic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-magic .release-tag {
  background: var(--magic);
}

/* A slow warm aurora behind the hero. */
.theme-magic .hero {
  position: relative;
  isolation: isolate;
}
.theme-magic .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(38% 34% at 50% 36%, rgba(227, 23, 127, 0.16), transparent 70%),
    radial-gradient(30% 26% at 60% 52%, rgba(255, 106, 26, 0.11), transparent 70%);
  animation: aurora 12s ease-in-out infinite alternate;
}
@keyframes aurora {
  to {
    transform: translate(-3%, 2%) scale(1.06);
  }
}

/* The gem breathes. */
.gem {
  filter: drop-shadow(0 0 26px rgba(255, 45, 60, 0.45));
}
.hero-logo.gem.intro {
  animation:
    intro 1.4s var(--ease) 0.1s forwards,
    breathe 5s ease-in-out 1.6s infinite;
}
@keyframes breathe {
  50% {
    filter: drop-shadow(0 0 40px rgba(255, 106, 26, 0.6));
    translate: 0 -4px;
  }
}

/* Text beside a screenshot. */
.split-even {
  grid-template-columns: 5fr 7fr;
  margin-top: 40px;
}
.split-flip {
  grid-template-columns: 7fr 5fr;
  margin-top: 90px;
}
.side-copy h3 {
  font-size: clamp(28px, 3vw, 40px);
}
.side-copy p {
  margin: 14px 0 0;
  font-size: 19px;
  color: var(--text-2);
}

.theme-magic .count-number {
  background: var(--magic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 900px) {
  .split-even,
  .split-flip {
    grid-template-columns: 1fr;
  }
  .split-flip .shot {
    order: 2;
  }
}
