:root {
  --bg: #08070d;
  --gold: #f2d58a;
  --gold-soft: #b99955;
  --purple: #8e35ff;
  --violet: #c45cff;
  --text: #f6efe0;
  --muted: #aaa3a9;
  --line: rgba(236, 205, 129, .34);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(109, 31, 159, .19), transparent 29%),
    radial-gradient(circle at 15% 80%, rgba(120, 61, 10, .08), transparent 25%),
    #08070d;
}

.scene,
.scene::before,
.scene::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene {
  overflow: hidden;
  background: #08070d;
}

.artwork-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5,4,10,.72) 0%, rgba(5,4,10,.22) 28%, rgba(5,4,10,.06) 50%, rgba(5,4,10,.30) 74%, rgba(5,4,10,.78) 100%),
    linear-gradient(180deg, rgba(3,2,8,.18) 0%, rgba(3,2,8,.02) 42%, rgba(3,2,8,.78) 100%),
    url("assets/pandora-fondo.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(.94) contrast(1.08) brightness(.78);
  transform: scale(1.015);
}

.artwork-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(189,67,255,.13), transparent 25%),
    radial-gradient(circle at 51% 57%, rgba(244,197,91,.13), transparent 19%);
  mix-blend-mode: screen;
  animation: artworkGlow 5s ease-in-out infinite;
}

.scene::before {
  content: "";
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}

.scene::after {
  content: "";
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 45%),
    rgba(229, 179, 77, .11), transparent 16%);
  transition: background .15s ease;
}

.ambient {
  position: absolute;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  animation: drift 10s ease-in-out infinite alternate;
}
.ambient-one { left: 35%; top: 18%; background: #8c27ff; }
.ambient-two { left: 70%; top: 45%; background: #ffb329; animation-delay: -4s; }
.ambient-three { left: -12%; top: 50%; background: #4d178c; animation-delay: -7s; }

.page {
  position: relative;
  z-index: 2;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: auto;
  padding: 44px 7vw 24px;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(240px, .7fr);
  align-items: center;
  gap: 5vw;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 680px;
  animation: rise .9s ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .34em;
  margin-bottom: 26px;
}
.eyebrow span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  box-shadow: 0 0 10px rgba(242,213,138,.55);
}
.eyebrow span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: .025em;
  font-weight: 600;
  text-shadow: 0 0 30px rgba(204, 140, 255, .08);
}
h1 em {
  color: var(--gold);
  font-style: normal;
  text-shadow:
    0 0 12px rgba(242,213,138,.38),
    0 0 45px rgba(173,74,255,.2);
}

.lead {
  max-width: 560px;
  margin: 30px 0 25px;
  color: #d5d0d7;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 300;
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #b9b1b6;
  font-size: 12px;
  letter-spacing: .04em;
}
.signature .line {
  width: 42px;
  height: 1px;
  background: var(--gold-soft);
  box-shadow: 0 0 9px rgba(242,213,138,.4);
}

.hero-art {
  position: absolute;
  left: 36%;
  top: 50%;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.halo {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(192,70,255,.22), rgba(89,21,138,.08) 44%, transparent 70%);
  filter: blur(8px);
  animation: breathe 4s ease-in-out infinite;
}

.ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(239, 199, 107, .34);
  border-radius: 50%;
  box-shadow:
    0 0 22px rgba(193, 79, 255, .18),
    inset 0 0 24px rgba(242, 213, 138, .08);
}
.ring-a { animation: spin 16s linear infinite; }
.ring-b {
  inset: 10%;
  border-color: rgba(184, 72, 255, .17);
  border-style: dashed;
  animation: spin-reverse 24s linear infinite;
}

.energy {
  position: absolute;
  left: 3%;
  top: 46%;
  width: 94%;
  height: 14%;
  border-radius: 50%;
  border-top: 2px solid rgba(246, 209, 112, .9);
  border-bottom: 2px solid rgba(176, 52, 255, .65);
  filter: blur(.5px);
  box-shadow: 0 0 18px rgba(224, 172, 66, .4), 0 0 35px rgba(163, 39, 255, .28);
  transform: rotate(-12deg);
}
.energy-a { animation: energy 3.2s ease-in-out infinite; }
.energy-b { transform: rotate(13deg) scale(.83); opacity: .72; animation: energy 4.2s ease-in-out infinite reverse; }
.energy-c { transform: rotate(-4deg) scale(.67); opacity: .45; animation: energy 2.5s ease-in-out infinite; }

.gem {
  position: absolute;
  width: 54px;
  height: 54px;
  left: calc(50% - 27px);
  top: calc(50% - 27px);
  transform: rotate(45deg);
  border: 1px solid rgba(242,213,138,.9);
  background: radial-gradient(circle at 35% 30%, #f3b9ff, #7e1ee6 48%, #22053d);
  box-shadow:
    0 0 15px #bc55ff,
    0 0 55px rgba(189,71,255,.75),
    0 0 100px rgba(242,213,138,.25);
  animation: gem 2.7s ease-in-out infinite;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f5dc9a;
  box-shadow: 0 0 10px 3px rgba(242,213,138,.65);
}
.spark-1 { left: 21%; top: 31%; animation: float 3.2s infinite; }
.spark-2 { left: 73%; top: 28%; animation: float 2.6s .4s infinite; }
.spark-3 { left: 80%; top: 65%; animation: float 3.7s .8s infinite; }
.spark-4 { left: 18%; top: 69%; animation: float 2.9s .2s infinite; }

.steps {
  position: relative;
  z-index: 5;
  width: min(390px, 100%);
  justify-self: end;
  animation: rise 1s .15s ease both;
}

.steps-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .24em;
}
.steps-heading div {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(242,213,138,.55), transparent);
}
.steps-heading small {
  color: #7d777c;
  letter-spacing: .16em;
  font-size: 9px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 19px 16px;
  border-top: 1px solid var(--line);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold), var(--purple));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}
.step:hover {
  transform: translateX(-7px);
  background: linear-gradient(90deg, rgba(163,73,255,.08), transparent);
  border-color: rgba(242,213,138,.5);
}
.step:hover::before { transform: scaleY(1); }

.number {
  font-family: "Cinzel", serif;
  font-size: 22px;
  color: var(--gold);
  opacity: .85;
}
.step h2 {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  font-weight: 300;
}

footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(242,213,138,.22);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  color: #756e75;
  font-size: 9px;
  letter-spacing: .17em;
}
.footer-center { color: var(--gold-soft); }

.cursor-glow {
  position: fixed;
  z-index: 10;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(216,148,255,.16), rgba(242,213,138,.08) 19%, rgba(255,196,74,.035) 32%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .25s ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes artworkGlow {
  0%,100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
}
@keyframes drift {
  from { transform: translate3d(-4%, -2%, 0) scale(.94); }
  to { transform: translate3d(5%, 5%, 0) scale(1.08); }
}
@keyframes breathe {
  0%,100% { transform: scale(.94); opacity: .72; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes energy {
  0%,100% { transform: rotate(-12deg) scaleX(.92); opacity: .55; }
  50% { transform: rotate(-8deg) scaleX(1.04); opacity: 1; }
}
@keyframes gem {
  0%,100% { transform: rotate(45deg) scale(.92); }
  50% { transform: rotate(225deg) scale(1.08); }
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(.7); opacity: .3; }
  50% { transform: translate(14px,-18px) scale(1.4); opacity: 1; }
}

@media (max-width: 1000px) {
  .page { padding: 35px 6vw 20px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 70px;
    padding: 55px 0 70px;
  }
  .hero-art { display: none; }
  .hero-copy { max-width: 720px; }
  .steps { justify-self: stretch; width: 100%; max-width: 620px; }
}

@media (max-width: 620px) {
  .page { padding: 26px 22px 16px; }
  .hero { padding-top: 35px; gap: 55px; }
  h1 { font-size: clamp(38px, 12vw, 58px); }
  .lead { font-size: 13px; line-height: 1.75; }
  .hero-art { display: none; }
  .step { padding: 17px 8px; }
  footer { font-size: 7px; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
