:root {
  --bg: #05070d;
  --bg-2: #080b13;
  --panel: rgba(10, 12, 22, 0.88);
  --panel-soft: rgba(16, 18, 31, 0.76);
  --gold: #d6a84f;
  --gold-bright: #f5d27a;
  --purple: #7c3cff;
  --purple-bright: #b96cff;
  --mana: #38bdf8;
  --text: #f5ead2;
  --muted: #b9a98a;
  --green: #8ee6a6;
  --danger-blue: #83a8ff;
  --line: rgba(214, 168, 79, 0.34);
  --line-gradient: linear-gradient(
    90deg,
    rgba(250, 202, 33, 0.15) 0%,
    rgba(245, 210, 122, 0.65) 50%,
    rgba(250, 202, 33, 0.15) 100%
  );
  --line-gradient-active: linear-gradient(
    90deg,
    rgba(250, 202, 33, 0.25) 0%,
    rgba(245, 210, 122, 0.95) 50%,
    rgba(250, 202, 33, 0.25) 100%
  );
  --shadow-purple: 0 0 36px rgba(124, 60, 255, 0.34);
  --shadow-gold: 0 0 26px rgba(214, 168, 79, 0.25);
  --max: 1280px;
  --header-height: 76px;
  --litepaper-heading-font: "GEBIONETH", serif;
  --litepaper-body-font: "Red Hat Display", sans-serif;
  --litepaper-heading-ios-fallback-gradient: linear-gradient(
    180deg,
    #faca21 0%,
    #f5d27a 50%,
    #d0b561 100%
  );
}

@font-face {
  font-family: "GEBIONETH";
  src:
    url("/fonts/gebioneth-webfont.woff2") format("woff2"),
    url("/fonts/gebioneth-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 108, 255, 0.95) rgba(8, 11, 19, 0.9);
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: rgba(8, 11, 19, 0.9);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(245, 210, 122, 0.95), rgba(124, 60, 255, 0.95));
  border-radius: 9999px;
  border: 2px solid rgba(8, 11, 19, 0.9);
}

html.nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  min-width: 320px;
  color: var(--text);
  font-family: var(--litepaper-body-font);
  line-height: 1.6;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(124, 60, 255, 0.19),
      transparent 34rem
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(214, 168, 79, 0.13),
      transparent 23rem
    ),
    linear-gradient(180deg, #05070d 0%, #080b13 44%, #05070d 100%);
  overflow-x: hidden;
  cursor: url("/images/arrow_03.png") 0 0, auto;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

* {
  cursor: url("/images/arrow_03.png") 0 0, auto;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: url("/images/arrow_03.png") 0 0, pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

h1,
h2,
h3,
.brand,
.badge,
.eyebrow,
.hero-kicker {
  font-family: var(--litepaper-heading-font);
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.background-runes,
.particle-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.background-runes {
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(214, 168, 79, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 168, 79, 0.04) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

.particle-field {
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 14px rgba(185, 108, 255, 0.8);
  opacity: 0.65;
  animation: floatParticle var(--duration, 12s) linear infinite;
}

.section-panel {
  position: relative;
}

.section-panel::before,
.section-panel::after {
  content: "";
  position: absolute;
  left: max(16px, calc((100vw - var(--max)) / 2));
  right: max(16px, calc((100vw - var(--max)) / 2));
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 168, 79, 0.55),
    transparent
  );
  pointer-events: none;
}

.section-panel::before {
  top: 0;
}

.section-panel::after {
  bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 54px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(5, 7, 13, 0.78);
  border-bottom: 1px solid rgba(214, 168, 79, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(214, 168, 79, 0.26);
}

.brand span {
  background-image: var(--litepaper-heading-ios-fallback-gradient);
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(185, 108, 255, 0.48));
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.75vw, 28px);
}

.site-nav a {
  position: relative;
  color: rgba(245, 234, 210, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(
    90deg,
    transparent,
    var(--purple-bright),
    transparent
  );
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-bright);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      rgba(255, 220, 97, 0),
      rgba(255, 220, 97, 0.85),
      rgba(255, 220, 97, 0)
    )
    1;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(132, 108, 33, 0.32) 0%,
    rgba(132, 108, 33, 0) 100%
  );
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-bright);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header-height) - 40px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  max-width: none;
  padding: clamp(24px, 4vw, 52px) max(22px, calc((100vw - var(--max)) / 2)) 0;
  overflow: visible;
}

.hero-content {
  align-self: start;
  position: relative;
  z-index: 20;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 68% 48%,
      rgba(124, 60, 255, 0.4),
      transparent 18rem
    ),
    radial-gradient(
      circle at 86% 40%,
      rgba(214, 168, 79, 0.16),
      transparent 22rem
    ),
    linear-gradient(
      90deg,
      rgba(5, 7, 13, 0.96),
      rgba(5, 7, 13, 0.7) 42%,
      rgba(5, 7, 13, 0.3) 66%,
      rgba(5, 7, 13, 0.86)
    ),
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.9) 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background:
    linear-gradient(
      135deg,
      transparent 0 42%,
      rgba(16, 18, 31, 0.86) 42% 48%,
      transparent 48%
    ),
    linear-gradient(
      45deg,
      transparent 0 35%,
      rgba(10, 12, 22, 0.98) 35% 42%,
      transparent 42%
    ),
    linear-gradient(
      155deg,
      transparent 0 54%,
      rgba(18, 19, 31, 0.9) 54% 60%,
      transparent 60%
    ),
    linear-gradient(180deg, transparent, #05070d);
  background-size:
    44% 100%,
    38% 100%,
    56% 100%,
    100% 100%;
  background-position:
    left bottom,
    35% bottom,
    right bottom,
    center;
  background-repeat: no-repeat;
  opacity: 0.82;
}

.hero-bg::after {
  height: 60%;
  opacity: 0.32;
  filter: blur(12px);
  transform: translateY(8px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 16px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid rgba(245, 210, 122, 0.62);
  background:
    linear-gradient(90deg, rgba(214, 168, 79, 0.1), transparent 50%),
    rgba(10, 12, 22, 0.76);
  box-shadow:
    inset 0 0 16px rgba(185, 108, 255, 0.14),
    0 0 22px rgba(124, 60, 255, 0.24);
  text-shadow: 0 0 12px rgba(214, 168, 79, 0.35);
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 50%,
    calc(100% - 8px) 100%,
    8px 100%,
    0 50%
  );
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--purple-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(185, 108, 255, 0.65);
}

h1 {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: clamp(4.2rem, 9vw, 8.7rem);
  line-height: 0.86;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
  position: relative;
  z-index: 24;
  display: block;
}

.hero-kicker {
  margin-bottom: 16px;
  color: #e7a8ff;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 300;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(208, 181, 97, 0.28);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(245, 234, 210, 0.92);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero-figure-stage {
  position: relative;
  align-self: end;
  width: 100%;
  z-index: 2;
  --hero-figure-offset: 12px;
  --hero-figure-float-offset: -2px;
  min-height: clamp(380px, calc(58vw - 40px), 630px);
  display: grid;
  place-items: end center;
  overflow: visible;
}

.hero-figure-stage::before,
.hero-figure-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-figure-stage::before {
  width: min(52vw, 600px);
  aspect-ratio: 1;
  left: 48%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(185, 108, 255, 0.28), transparent 58%),
    radial-gradient(circle, rgba(214, 168, 79, 0.12), transparent 72%);
  filter: blur(10px);
  animation: pulseAura 4s ease-in-out infinite;
}

.hero-figure-stage::after {
  left: 18%;
  right: 10%;
  bottom: 4%;
  height: 18%;
  background: radial-gradient(ellipse, rgba(5, 7, 13, 0.88), transparent 70%);
  filter: blur(10px);
}

.hero-aldrion {
  position: relative;
  z-index: 1;
  width: min(82%, 520px);
  max-height: min(78vh, 680px);
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(var(--hero-figure-offset));
  filter: drop-shadow(0 0 34px rgba(124, 60, 255, 0.52))
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.54));
  animation: heroFigureFloat 5s ease-in-out infinite;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) clamp(18px, 3vw, 28px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-bottom: 10px;
  text-align: center;
}

.section-heading h2,
.rnc-copy h2,
.early-copy h2 {
  margin-bottom: 0;
  color: var(--gold-bright);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(214, 168, 79, 0.24);
}

.section-heading h2 span {
  color: #d8c7a1;
  font-size: 0.76em;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

#awakening-title span,
#relics-title span {
  color: #d8c7a1;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 168, 79, 0.66),
    rgba(124, 60, 255, 0.25),
    transparent
  );
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 30px;
  color: rgba(245, 234, 210, 0.9);
  font-size: 1.06rem;
  text-align: center;
}

h1,
.section-heading h2,
.rnc-copy h2,
.early-copy h2 {
  background-image: var(--litepaper-heading-ios-fallback-gradient);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 {
    background-image:
      url('/textures/text_texture.webp'),
      var(--litepaper-heading-ios-fallback-gradient);
    background-size: 220px auto, 100% 100%;
    background-position: center, center;
    background-repeat: repeat, no-repeat;
    background-blend-mode: overlay, normal;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .section-heading h2,
  .rnc-copy h2,
  .early-copy h2 {
    background-image: var(--litepaper-heading-ios-fallback-gradient);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .brand span {
    background-image:
      url('/textures/text_texture.webp'),
      var(--litepaper-heading-ios-fallback-gradient);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    background-blend-mode: overlay, normal;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step-card,
.world-card,
.relic-card,
.feature-column,
.trust-item {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-image-source: var(--line-gradient);
  border-image-slice: 1;
  box-shadow:
    inset 0 0 24px rgba(124, 60, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.24);
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.step-card:hover,
.world-card:hover,
.relic-card:hover,
.feature-column:hover,
.trust-item:hover,
.land-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 210, 122, 0.62);
  border-image-source: var(--line-gradient-active);
  box-shadow:
    inset 0 0 28px rgba(185, 108, 255, 0.1),
    0 18px 44px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(124, 60, 255, 0.22);
}

.step-card {
  min-height: 246px;
  padding: 28px 18px 22px;
  text-align: center;
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48%;
  right: -19px;
  width: 38px;
  height: 16px;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      transparent 0 8px,
      rgba(214, 168, 79, 0.85) 8px 28px,
      transparent 28px
    ),
    linear-gradient(
      45deg,
      transparent 48%,
      rgba(214, 168, 79, 0.85) 49% 55%,
      transparent 56%
    ),
    linear-gradient(
      -45deg,
      transparent 48%,
      rgba(214, 168, 79, 0.85) 49% 55%,
      transparent 56%
    );
  background-position:
    left center,
    right center,
    right center;
  background-size:
    100% 2px,
    13px 13px,
    13px 13px;
  background-repeat: no-repeat;
}

.step-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-weight: 700;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #06070d;
  box-shadow: 0 0 14px rgba(214, 168, 79, 0.22);
}

.step-card h3,
.world-card h3,
.feature-column h3,
.trust-item h3,
.relic-card h3,
.land-card h3 {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.step-card p,
.world-card p,
.feature-column p,
.trust-item p,
.relic-card p,
.land-card p {
  margin-bottom: 0;
  color: rgba(245, 234, 210, 0.86);
  font-size: 0.95rem;
}

.step-icon,
.card-icon,
.trust-icon,
.mini-icon {
  position: relative;
  margin: 0 auto 18px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 60, 255, 0.25),
    rgba(10, 12, 22, 0.42)
  );
  border: 1px solid rgba(214, 168, 79, 0.36);
  box-shadow:
    inset 0 0 18px rgba(185, 108, 255, 0.14),
    0 0 18px rgba(124, 60, 255, 0.22);
}

.step-icon::before,
.step-icon::after,
.card-icon::before,
.card-icon::after,
.trust-icon::before,
.trust-icon::after,
.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
}

.mana-icon::before,
.rune-icon::before,
.diamond-icon::before {
  width: 24px;
  height: 42px;
  clip-path: polygon(50% 0, 92% 28%, 72% 100%, 28% 100%, 8% 28%);
  background: linear-gradient(180deg, #a7f3ff, var(--mana) 45%, #0f6aa6);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.rune-icon::before,
.diamond-icon::before {
  width: 36px;
  height: 36px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(180deg, #f0c9ff, var(--purple-bright), #5022a2);
  box-shadow: 0 0 20px rgba(185, 108, 255, 0.85);
}

.rune-icon::after,
.diamond-icon::after {
  width: 14px;
  height: 14px;
  border: 1px solid #fff3ff;
  transform: rotate(45deg);
}

.forge-icon::before {
  width: 52px;
  height: 23px;
  bottom: 15px;
  border: 2px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(
    180deg,
    rgba(245, 210, 122, 0.3),
    rgba(83, 42, 12, 0.8)
  );
}

.forge-icon::after {
  width: 34px;
  height: 30px;
  top: 8px;
  background: radial-gradient(circle, var(--gold-bright), transparent 70%);
  filter: blur(3px);
  box-shadow: 0 0 22px rgba(245, 210, 122, 0.9);
}

.coin-icon::before {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      transparent 37%,
      rgba(255, 255, 255, 0.35) 39%,
      transparent 44%
    ),
    radial-gradient(circle, #f8d878, #b87324 68%);
  border: 2px solid #f5d27a;
  box-shadow:
    inset 0 0 12px rgba(75, 36, 4, 0.5),
    0 0 20px rgba(245, 210, 122, 0.42);
}

.coin-icon::after {
  width: 17px;
  height: 17px;
  border: 2px solid #fff3c2;
  transform: rotate(45deg);
}

.asset-icon::before,
.asset-icon::after {
  display: none;
}

.asset-icon {
  overflow: visible;
  background: radial-gradient(
    circle,
    rgba(10, 12, 22, 0.24),
    rgba(10, 12, 22, 0.72)
  );
}

.asset-icon img {
  position: relative;
  z-index: 1;
  width: 92px;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(185, 108, 255, 0.45));
}

.step-icon.asset-icon {
  overflow: hidden;
}

.step-icon.asset-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  max-width: calc(100% - 8px);
  max-height: calc(100% - 8px);
  transform: translate(-50%, -50%);
  object-position: center;
}

.step-icon.mana-icon,
.step-icon.rune-icon,
.step-icon.rnc-icon {
  width: 64px;
  height: 64px;
}

.step-icon.mana-icon img,
.step-icon.rune-icon img,
.step-icon.rnc-icon img {
  width: 80px;
  height: 80px;
  max-width: none;
  max-height: none;
}

.step-icon.chest-icon img {
  width: 80px;
  height: 80px;
  max-width: none;
  max-height: none;
}

.step-icon.usdc-icon img {
  width: 45px;
  height: 45px;
}

.mana-icon img,
.mana-mini-icon img {
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.62));
}

.rnc-icon img {
  filter: drop-shadow(0 0 14px rgba(245, 210, 122, 0.56));
}

.chest-icon img {
  filter: drop-shadow(0 0 14px rgba(185, 108, 255, 0.56));
}

.usdc-icon img {
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.56));
}

.awakening {
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(
      circle at 18% 48%,
      rgba(185, 108, 255, 0.32),
      transparent 19rem
    ),
    radial-gradient(
      circle at 75% 18%,
      rgba(124, 60, 255, 0.18),
      transparent 24rem
    ),
    linear-gradient(180deg, rgba(8, 11, 19, 0.45), rgba(5, 7, 13, 0.94));
}

.awakening-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 30px;
}

.awakening-art {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.26);
  background:
    radial-gradient(
      circle at 50% 62%,
      rgba(185, 108, 255, 0.52),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(20, 12, 35, 0.65), rgba(5, 7, 13, 0.94));
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
}

.crystal-orbit {
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  bottom: 28px;
  border: 1px solid rgba(245, 210, 122, 0.42);
  border-radius: 50%;
  transform: rotateX(72deg);
  box-shadow:
    0 0 26px rgba(185, 108, 255, 0.55),
    inset 0 0 18px rgba(185, 108, 255, 0.4);
}

.crystal-orbit::before,
.crystal-orbit::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(185, 108, 255, 0.38);
  border-radius: 50%;
}

.crystal-orbit::after {
  inset: 44px;
}

.large-crystal {
  position: relative;
  width: 82px;
  height: 178px;
  clip-path: polygon(50% 0, 85% 24%, 72% 82%, 50% 100%, 28% 82%, 15% 24%);
  background:
    linear-gradient(
      105deg,
      transparent 0 42%,
      rgba(255, 255, 255, 0.66) 44%,
      transparent 47%
    ),
    linear-gradient(180deg, #f5d9ff, #b96cff 46%, #48209b);
  box-shadow: 0 0 44px rgba(185, 108, 255, 0.98);
  animation: crystalHover 3.8s ease-in-out infinite;
}

.large-crystal.asset-crystal {
  position: relative;
  z-index: 1;
  width: min(76%, 280px);
  height: auto;
  clip-path: none;
  background: none;
  box-shadow: none;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(56, 189, 248, 0.78));
}

.feature-column {
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-column .mini-icon {
  margin: 0 0 18px;
  width: 50px;
  height: 50px;
}

.feature-column .mini-icon.asset-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
}

.group-icon::before {
  width: 34px;
  height: 24px;
  border-radius: 16px 16px 8px 8px;
  background:
    radial-gradient(circle at 24% 12%, #f0c9ff 0 4px, transparent 5px),
    radial-gradient(circle at 50% 6%, #f0c9ff 0 5px, transparent 6px),
    radial-gradient(circle at 76% 12%, #f0c9ff 0 4px, transparent 5px),
    linear-gradient(180deg, var(--purple-bright), #5422a6);
  box-shadow: 0 0 16px rgba(185, 108, 255, 0.62);
}

.hourglass-icon::before {
  width: 32px;
  height: 42px;
  border: 2px solid var(--purple-bright);
  clip-path: polygon(10% 0, 90% 0, 63% 50%, 90% 100%, 10% 100%, 37% 50%);
  background: linear-gradient(
    180deg,
    rgba(245, 210, 122, 0.22),
    rgba(185, 108, 255, 0.28)
  );
  box-shadow: 0 0 16px rgba(185, 108, 255, 0.62);
}

.mana-progress {
  margin: 30px auto 0;
  max-width: 860px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(214, 168, 79, 0.32);
  background: rgba(5, 7, 13, 0.58);
  box-shadow: inset 0 0 24px rgba(124, 60, 255, 0.08);
}

.mana-progress strong,
.mana-progress span {
  display: block;
}

.mana-progress strong {
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  text-transform: uppercase;
}

.mana-progress span {
  color: var(--muted);
  font-size: 0.92rem;
}

.progress-track {
  height: 16px;
  padding: 3px;
  border: 1px solid rgba(245, 210, 122, 0.35);
  background: rgba(2, 4, 9, 0.74);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--purple),
    var(--mana),
    var(--gold-bright)
  );
  box-shadow: 0 0 18px rgba(185, 108, 255, 0.65);
  transform-origin: left;
  animation: fillMana 1.8s ease both;
}

.relic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.relic-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px;
  padding: 22px;
  clip-path: polygon(
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px),
    0 14px
  );
}

.relic-requirement {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 2px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(214, 168, 79, 0.24);
}

.relic-requirement span {
  font-weight: 500;
}

.relic-art {
  position: relative;
  width: 100%;
  height: clamp(230px, 20vw, 300px);
  aspect-ratio: auto;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(214, 168, 79, 0.2);
  background: radial-gradient(
    circle at 50% 74%,
    rgba(255, 255, 255, 0.12),
    transparent 54%
  );
  overflow: hidden;
}

.relic-art-image::before,
.relic-art-image::after {
  display: none;
}

.relic-art-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px var(--relic-glow));
}

.relic-copy {
  text-align: center;
}

.relic-art::before {
  content: "";
  width: 54px;
  height: 118px;
  clip-path: polygon(50% 0, 88% 28%, 71% 80%, 50% 100%, 29% 80%, 12% 28%);
  background: linear-gradient(
    180deg,
    var(--relic-light),
    var(--relic-main),
    var(--relic-deep)
  );
  box-shadow: 0 0 32px var(--relic-glow);
  animation: crystalHover 4.2s ease-in-out infinite;
}

.relic-art::after {
  content: "";
  position: absolute;
  bottom: 22px;
  width: 112px;
  height: 22px;
  border: 1px solid rgba(245, 210, 122, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, var(--relic-glow), transparent 65%);
  transform: perspective(120px) rotateX(62deg);
}

.relic-blue {
  --relic-light: #c9f7ff;
  --relic-main: #38bdf8;
  --relic-deep: #075985;
  --relic-glow: rgba(56, 189, 248, 0.78);
}

.relic-purple {
  --relic-light: #f5d9ff;
  --relic-main: #b96cff;
  --relic-deep: #5525ad;
  --relic-glow: rgba(185, 108, 255, 0.78);
}

.relic-gold {
  --relic-light: #fff3ba;
  --relic-main: #f5b849;
  --relic-deep: #96510f;
  --relic-glow: rgba(245, 184, 73, 0.72);
}

.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 14px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(214, 168, 79, 0.54);
  background: rgba(26, 15, 34, 0.82);
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 50%,
    calc(100% - 8px) 100%,
    8px 100%,
    0 50%
  );
}

.relic-note {
  max-width: 780px;
  margin: 28px auto 0;
  color: rgba(245, 234, 210, 0.88);
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.world-card {
  min-height: 268px;
  padding: 24px 18px 22px;
  text-align: center;
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
}

.card-icon {
  width: 74px;
  height: 74px;
}

.asset-card-icon {
  overflow: hidden;
}

.asset-card-icon::before,
.asset-card-icon::after {
  display: none;
}

.asset-card-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 14px rgba(245, 125, 48, 0.58));
}

.ritual-icon::before {
  width: 42px;
  height: 42px;
  border: 2px solid var(--purple-bright);
  border-radius: 50%;
  box-shadow:
    inset 0 0 18px rgba(185, 108, 255, 0.38),
    0 0 18px rgba(185, 108, 255, 0.42);
}

.ritual-icon::after {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold-bright);
  transform: rotate(45deg);
}

.invite-icon::before {
  width: 42px;
  height: 32px;
  background:
    radial-gradient(circle at 25% 15%, #d7ffe1 0 5px, transparent 6px),
    radial-gradient(circle at 50% 8%, #d7ffe1 0 6px, transparent 7px),
    radial-gradient(circle at 75% 15%, #d7ffe1 0 5px, transparent 6px),
    linear-gradient(180deg, var(--green), #1e7c4a);
  border-radius: 20px 20px 8px 8px;
  box-shadow: 0 0 18px rgba(142, 230, 166, 0.46);
}

.market-icon::before {
  width: 48px;
  height: 4px;
  background: var(--gold-bright);
}

.market-icon::after {
  width: 38px;
  height: 42px;
  border: 2px solid var(--gold);
  border-top: 0;
  clip-path: polygon(50% 0, 100% 24%, 72% 100%, 28% 100%, 0 24%);
  box-shadow: 0 0 18px rgba(214, 168, 79, 0.34);
}

.rewards-icon::before {
  width: 44px;
  height: 34px;
  border: 2px solid var(--purple-bright);
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(185, 108, 255, 0.72),
    rgba(65, 30, 124, 0.82)
  );
  box-shadow: 0 0 18px rgba(185, 108, 255, 0.42);
}

.rewards-icon::after {
  width: 46px;
  height: 8px;
  top: 20px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: #30134f;
}

.progression-icon::before {
  width: 42px;
  height: 42px;
  clip-path: polygon(50% 0, 92% 30%, 82% 100%, 18% 100%, 8% 30%);
  border: 2px solid var(--gold);
  background: linear-gradient(
    180deg,
    rgba(214, 168, 79, 0.32),
    rgba(81, 49, 16, 0.8)
  );
}

.progression-icon::after {
  width: 18px;
  height: 26px;
  border-left: 3px solid var(--gold-bright);
  border-top: 3px solid var(--gold-bright);
  transform: rotate(45deg);
  top: 26px;
}

.invite-earn-section {
  max-width: none;
  padding: clamp(44px, 6vw, 78px) max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(124, 60, 255, 0.22),
      transparent 30rem
    ),
    radial-gradient(
      circle at 78% 72%,
      rgba(185, 108, 255, 0.14),
      transparent 22rem
    ),
    linear-gradient(180deg, rgba(5, 7, 13, 0.92), rgba(10, 12, 22, 0.98));
}

.invite-earn-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.invite-kicker {
  margin: 0 auto 12px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 16px rgba(214, 168, 79, 0.22);
}

.invite-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(245, 234, 210, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  text-align: center;
}

.invite-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.invite-card {
  position: relative;
  min-height: 292px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent), #0b0f1a;
  border: 1px solid rgba(214, 168, 79, 0.38);
  box-shadow:
    inset 0 0 30px rgba(124, 60, 255, 0.09),
    0 18px 44px rgba(0, 0, 0, 0.28);
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.invite-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 210, 122, 0.64);
  box-shadow:
    inset 0 0 34px rgba(185, 108, 255, 0.13),
    0 20px 46px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(124, 60, 255, 0.2);
}

.invite-card-highlight {
  border-color: rgba(245, 210, 122, 0.72);
  box-shadow:
    inset 0 0 42px rgba(185, 108, 255, 0.16),
    0 0 36px rgba(124, 60, 255, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.28);
  animation: inviteGlowPulse 3.8s ease-in-out infinite;
}

.invite-card h3 {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(214, 168, 79, 0.24);
}

.invite-card p {
  margin-bottom: 14px;
  color: rgba(245, 234, 210, 0.9);
}

.invite-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.invite-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 24px;
  color: rgba(245, 234, 210, 0.88);
}

.invite-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(214, 168, 79, 0.45);
}

.invite-memory {
  margin: 28px auto 0;
  color: rgba(245, 234, 210, 0.86);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 16px rgba(185, 108, 255, 0.28);
}

.rnc-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(300px, 1fr) minmax(
      240px,
      0.72fr
    );
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(
      circle at 82% 46%,
      rgba(185, 108, 255, 0.26),
      transparent 19rem
    ),
    linear-gradient(
      90deg,
      rgba(5, 7, 13, 0.92),
      rgba(18, 12, 26, 0.82),
      rgba(5, 7, 13, 0.94)
    );
}

.rnc-coin {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle,
    rgba(245, 210, 122, 0.14),
    transparent 62%
  );
}

.rnc-coin img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(245, 210, 122, 0.42));
}

.rnc-copy p {
  margin-bottom: 4px;
  color: rgba(245, 234, 210, 0.9);
}

.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gold-bright) !important;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
}

.formula img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(185, 108, 255, 0.32));
}

.gold-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.gold-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
  color: rgba(245, 234, 210, 0.9);
}

.gold-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 9px rgba(214, 168, 79, 0.46);
}

.forge-art {
  position: relative;
  min-height: 260px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(214, 168, 79, 0.38);
  background: #0b0f1a;
  box-shadow:
    inset 0 0 26px rgba(124, 60, 255, 0.08),
    0 0 30px rgba(124, 60, 255, 0.15);
  overflow: hidden;
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
}

.forge-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 520ms ease;
}

.forge-art:hover .forge-image {
  transform: scale(1.03);
}

.elyndor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.land-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-image-source: var(--line-gradient);
  border-image-slice: 1;
  background: var(--panel);
  box-shadow:
    inset 0 0 22px rgba(124, 60, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.24);
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.land-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.08), rgba(5, 7, 13, 0.88)),
    var(--land-scene);
  background-position: center;
  background-size: cover;
}

.land-card > div {
  position: relative;
  z-index: 1;
}

.land-card.rewards::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  z-index: 0;
  background:
    linear-gradient(
      135deg,
      transparent 0 42%,
      rgba(245, 210, 122, 0.13) 42% 45%,
      transparent 45%
    ),
    linear-gradient(
      45deg,
      transparent 0 34%,
      rgba(10, 12, 22, 0.98) 34% 44%,
      transparent 44%
    );
  background-size:
    62% 100%,
    72% 100%;
  background-position:
    left bottom,
    right bottom;
  background-repeat: no-repeat;
}

.vast {
  --land-scene:
    url("./assets/map1.png"),
    radial-gradient(
      circle at 78% 30%,
      rgba(245, 210, 122, 0.18),
      transparent 20%
    ),
    linear-gradient(
      130deg,
      transparent 0 45%,
      rgba(49, 71, 50, 0.72) 45% 52%,
      transparent 52%
    ),
    linear-gradient(35deg, rgba(32, 48, 54, 0.7), rgba(15, 21, 30, 0.96));
}

.rewards {
  --land-scene:
    radial-gradient(
      circle at 60% 27%,
      rgba(245, 210, 122, 0.26),
      transparent 24%
    ),
    linear-gradient(
      130deg,
      transparent 0 48%,
      rgba(93, 72, 35, 0.74) 48% 54%,
      transparent 54%
    ),
    linear-gradient(35deg, rgba(30, 36, 50, 0.8), rgba(12, 14, 22, 0.96));
}

.risk {
  --land-scene:
    url("./assets/map2.png"),
    radial-gradient(
      circle at 75% 42%,
      rgba(131, 168, 255, 0.28),
      transparent 20%
    ),
    linear-gradient(
      140deg,
      transparent 0 42%,
      rgba(21, 37, 58, 0.86) 42% 50%,
      transparent 50%
    ),
    linear-gradient(35deg, rgba(12, 16, 24, 0.7), rgba(5, 7, 13, 0.98));
}

.skyhome-section {
  max-width: none;
  padding: clamp(48px, 6vw, 86px) max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(
      circle at 22% 26%,
      rgba(185, 108, 255, 0.18),
      transparent 24rem
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(56, 189, 248, 0.08),
      transparent 22rem
    ),
    linear-gradient(180deg, rgba(5, 7, 13, 0.98), rgba(9, 11, 20, 0.96));
}

.skyhome-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.skyhome-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.46);
  border-radius: 8px;
  background: #0b0f1a;
  box-shadow:
    inset 0 0 28px rgba(124, 60, 255, 0.12),
    0 0 36px rgba(124, 60, 255, 0.18),
    0 20px 48px rgba(0, 0, 0, 0.34);
}

.skyhome-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.02), rgba(5, 7, 13, 0.68)),
    radial-gradient(
      circle at 50% 58%,
      transparent 0 42%,
      rgba(5, 7, 13, 0.38) 100%
    );
  pointer-events: none;
}

.skyhome-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 520ms ease;
}

.skyhome-media:hover .skyhome-image {
  transform: scale(1.03);
}

.skyhome-spark {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 14px rgba(185, 108, 255, 0.8);
  animation: skyhomeSpark 5s ease-in-out infinite;
}

.spark-one {
  left: 18%;
  top: 22%;
}

.spark-two {
  right: 18%;
  top: 34%;
  animation-delay: -1.4s;
}

.spark-three {
  left: 58%;
  bottom: 22%;
  animation-delay: -2.6s;
}

.skyhome-copy .section-heading {
  margin-bottom: 14px;
}

.skyhome-kicker {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(214, 168, 79, 0.24);
}

.skyhome-body {
  max-width: 720px;
  color: rgba(245, 234, 210, 0.9);
  font-size: 1rem;
}

.skyhome-body p {
  margin-bottom: 12px;
}

.skyhome-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.skyhome-card {
  min-height: 164px;
  padding: 20px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent), #0b0f1a;
  border: 1px solid rgba(214, 168, 79, 0.38);
  box-shadow:
    inset 0 0 26px rgba(124, 60, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.26);
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.skyhome-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 210, 122, 0.64);
  box-shadow:
    inset 0 0 32px rgba(185, 108, 255, 0.13),
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 0 26px rgba(124, 60, 255, 0.18);
}

.skyhome-card h3 {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: 1.04rem;
  text-transform: uppercase;
}

.skyhome-card p {
  margin-bottom: 0;
  color: rgba(245, 234, 210, 0.86);
  font-size: 0.94rem;
}

.skyhome-card-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.skyhome-card-grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.skyhome-final {
  margin: 24px 0 0;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(214, 168, 79, 0.22);
}

.skyhome-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 18px;
  color: var(--text);
  font-family: var(--litepaper-heading-font);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(245, 210, 122, 0.5);
  background: rgba(26, 15, 34, 0.82);
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 50%,
    calc(100% - 8px) 100%,
    8px 100%,
    0 50%
  );
}

.daily-ritual-section {
  position: relative;
  max-width: none;
  padding: clamp(38px, 4.8vw, 68px) max(18px, calc((100vw - 1480px) / 2));
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 34%,
      rgba(124, 60, 255, 0.22),
      transparent 26rem
    ),
    radial-gradient(
      circle at 84% 42%,
      rgba(185, 108, 255, 0.18),
      transparent 24rem
    ),
    radial-gradient(
      circle at 50% 74%,
      rgba(56, 189, 248, 0.07),
      transparent 26rem
    ),
    linear-gradient(180deg, rgba(5, 7, 13, 0.98), rgba(8, 10, 20, 0.98));
}

.daily-rune-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(185, 108, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(245, 210, 122, 0.52) 0 1px, transparent 2px);
  background-position:
    12% 24%,
    82% 18%;
  background-size:
    180px 180px,
    240px 240px;
  opacity: 0.42;
  animation: ritualDrift 18s linear infinite;
}

.daily-ritual-inner {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
}

.daily-ritual-heading {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.daily-top-mark {
  position: relative;
  display: block;
  width: min(560px, 72vw);
  height: 24px;
  margin: 0 auto 12px;
}

.daily-top-mark::before,
.daily-top-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 24px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 168, 79, 0.72),
    rgba(185, 108, 255, 0.42)
  );
}

.daily-top-mark::before {
  left: 0;
}

.daily-top-mark::after {
  right: 0;
  transform: scaleX(-1);
}

.daily-top-mark {
  background:
    linear-gradient(
        45deg,
        transparent 44%,
        var(--purple-bright) 45% 55%,
        transparent 56%
      )
      center / 18px 18px no-repeat,
    linear-gradient(
        -45deg,
        transparent 44%,
        var(--gold-bright) 45% 55%,
        transparent 56%
      )
      center / 18px 18px no-repeat;
}

.daily-ritual-heading h2 {
  margin-bottom: 4px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(2.45rem, 6.4vw, 5.8rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background-image: var(--litepaper-heading-ios-fallback-gradient);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow:
    0 1px 0 var(--gold-bright),
    0 6px 18px rgba(245, 210, 122, 0.3),
    0 0 24px rgba(208, 181, 97, 0.3);
}

.daily-ritual-heading p {
  margin: 0;
  color: var(--text);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1.2rem, 2.5vw, 2.05rem);
  font-weight: 300;
  line-height: 1.25;
}

.daily-divider {
  position: relative;
  display: block;
  width: min(620px, 72vw);
  height: 24px;
  margin: 18px auto 16px;
}

.daily-divider::before,
.daily-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 18px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 168, 79, 0.66),
    rgba(185, 108, 255, 0.42)
  );
}

.daily-divider::before {
  left: 0;
}

.daily-divider::after {
  right: 0;
  transform: scaleX(-1);
}

.daily-divider {
  background:
    linear-gradient(
        45deg,
        transparent 42%,
        var(--gold-bright) 43% 57%,
        transparent 58%
      )
      center / 14px 14px no-repeat,
    linear-gradient(
        -45deg,
        transparent 42%,
        var(--purple-bright) 43% 57%,
        transparent 58%
      )
      center / 14px 14px no-repeat;
}

.daily-ritual-heading strong {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(245, 234, 210, 0.92);
  font-family: var(--litepaper-body-font);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 300;
  line-height: 1.55;
}

.ritual-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(50px, 4.6vw, 66px);
}

.ritual-card {
  position: relative;
  min-height: 350px;
  padding: 62px 18px 22px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 20px;
  text-align: center;
  border: 1px solid rgba(214, 168, 79, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    radial-gradient(
      circle at 50% 34%,
      rgba(124, 60, 255, 0.22),
      transparent 58%
    ),
    radial-gradient(
      circle at 50% 82%,
      rgba(214, 168, 79, 0.08),
      transparent 54%
    ),
    #0b0f1a;
  box-shadow:
    inset 0 0 28px rgba(124, 60, 255, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.26);
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.ritual-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(214, 168, 79, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent, rgba(245, 210, 122, 0.08), transparent)
      50% 28% / 72% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(185, 108, 255, 0.12), transparent)
      50% 68% / 60% 1px no-repeat;
  opacity: 0.72;
  pointer-events: none;
  transition:
    opacity 190ms ease,
    border-color 190ms ease;
}

.ritual-card:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 51%;
  right: -29px;
  width: 38px;
  height: 34px;
  background: linear-gradient(90deg, #8a5c1d, var(--gold-bright), #8a5c1d);
  clip-path: polygon(0 38%, 68% 38%, 68% 0, 100% 50%, 68% 100%, 68% 62%, 0 62%);
  filter: drop-shadow(0 0 9px rgba(214, 168, 79, 0.5));
  animation: ritualArrowGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}

.ritual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 210, 122, 0.74);
  box-shadow:
    inset 0 0 40px rgba(185, 108, 255, 0.2),
    0 22px 48px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(124, 60, 255, 0.24);
}

.ritual-card:hover::before {
  border-color: rgba(245, 210, 122, 0.34);
  opacity: 1;
}

.ritual-card:hover .ritual-card-copy h3 {
  background-position: 100% 50%;
  text-shadow:
    0 0 14px rgba(245, 210, 122, 0.28),
    0 0 26px rgba(185, 108, 255, 0.18);
}

.ritual-card:hover .ritual-card-copy p {
  color: #fff8df;
  text-shadow:
    0 0 18px rgba(245, 210, 122, 0.18),
    0 0 26px rgba(185, 108, 255, 0.32);
  transform: translateY(-2px);
}

.daily-ritual-section.is-sequenced .ritual-card {
  cursor: default;
}

.daily-ritual-section.is-sequenced .ritual-card.is-active {
  cursor: pointer;
  border-color: rgba(245, 210, 122, 0.78);
  box-shadow:
    inset 0 0 48px rgba(185, 108, 255, 0.22),
    0 0 28px rgba(245, 210, 122, 0.16),
    0 0 46px rgba(124, 60, 255, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.26);
  animation: ritualActivePulse 3.8s ease-in-out infinite;
}

.daily-ritual-section.is-sequenced .ritual-card.is-revealed {
  border-color: rgba(214, 168, 79, 0.58);
}

.daily-ritual-section.is-sequenced
  .ritual-card:not(.is-revealed)
  .ritual-card-copy,
.daily-ritual-section.is-sequenced
  .ritual-card:not(.is-revealed)
  .ritual-subtext {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
}

.daily-ritual-section.is-sequenced
  .ritual-card:not(.is-active):not(.is-revealed)
  .ritual-number {
  opacity: 0.62;
  filter: grayscale(0.35);
}

.daily-ritual-section.is-sequenced .ritual-card.is-active .ritual-number {
  box-shadow:
    inset 0 0 22px rgba(185, 108, 255, 0.44),
    0 0 28px rgba(245, 210, 122, 0.32),
    0 0 36px rgba(124, 60, 255, 0.36);
}

.ritual-number {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-family: var(--litepaper-heading-font);
  font-size: 1.58rem;
  font-weight: 700;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(124, 60, 255, 0.74),
      rgba(27, 12, 44, 0.96)
    ),
    #160c25;
  border: 1px solid rgba(245, 210, 122, 0.62);
  box-shadow:
    inset 0 0 18px rgba(185, 108, 255, 0.34),
    0 0 20px rgba(124, 60, 255, 0.4);
  transform: translateX(-50%) rotate(45deg);
}

.ritual-number::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(245, 210, 122, 0.34);
}

.ritual-number span {
  position: relative;
  z-index: 1;
  display: block;
  transform: rotate(-45deg);
}

.ritual-reveal-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 55%;
  min-width: 112px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(245, 234, 210, 0.96);
  font-family: var(--litepaper-heading-font);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.ritual-reveal-button[hidden] {
  display: none;
}

.daily-ritual-section.is-sequenced
  .ritual-card.is-active:not(.is-revealed)
  .ritual-reveal-button {
  opacity: 1;
  visibility: visible;
  animation: ritualClickWander 5.8s ease-in-out infinite;
}

.ritual-reveal-button > span {
  padding: 7px 14px;
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      rgba(255, 220, 97, 0),
      rgba(255, 220, 97, 0.9),
      rgba(255, 220, 97, 0)
    )
    1;
  border-left: 0;
  border-right: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(132, 108, 33, 0.4) 0%,
    rgba(132, 108, 33, 0) 100%
  );
  box-shadow:
    inset 0 0 12px rgba(185, 108, 255, 0.2),
    0 0 18px rgba(245, 210, 122, 0.18);
  text-shadow: 0 0 12px rgba(245, 210, 122, 0.42);
  clip-path: none;
  animation: ritualClickTextPulse 2.8s ease-in-out infinite;
}

.ritual-card-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  place-items: center;
  gap: 18px;
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    visibility 240ms ease;
}

.ritual-card-copy h3 {
  position: relative;
  margin-bottom: 0;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1.02rem, 1.12vw, 1.2rem);
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(
    100deg,
    #d6a84f 0%,
    #fff0bd 32%,
    #d6a84f 62%,
    #b96cff 100%
  );
  background-position: 0 50%;
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition:
    background-position 420ms ease,
    text-shadow 190ms ease;
}

.ritual-card-copy h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  margin: 13px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 210, 122, 0.82),
    rgba(185, 108, 255, 0.56),
    transparent
  );
  box-shadow: 0 0 12px rgba(185, 108, 255, 0.34);
}

.ritual-card-copy p,
.ritual-subtext {
  margin: 0;
  color: rgba(245, 234, 210, 0.9);
  line-height: 1.45;
}

.ritual-card-copy p {
  max-width: 15ch;
  color: rgba(245, 234, 210, 0.96);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 600;
  line-height: 1.32;
  text-shadow: 0 0 20px rgba(185, 108, 255, 0.22);
  transition:
    color 190ms ease,
    text-shadow 190ms ease,
    transform 190ms ease;
}

.ritual-subtext {
  position: relative;
  z-index: 1;
  align-self: end;
  padding-top: 18px;
  color: rgba(185, 169, 138, 0.95);
  font-size: clamp(0.88rem, 0.92vw, 0.98rem);
  border-top: 1px solid rgba(214, 168, 79, 0.2);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    visibility 240ms ease;
}

.ritual-flow .reveal:nth-child(2) {
  transition-delay: 100ms;
}

.ritual-flow .reveal:nth-child(3) {
  transition-delay: 200ms;
}

.ritual-flow .reveal:nth-child(4) {
  transition-delay: 300ms;
}

.ritual-flow .reveal:nth-child(5) {
  transition-delay: 400ms;
}

.ritual-flow .reveal:nth-child(6) {
  transition-delay: 500ms;
}

.ritual-bottom-line {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: 18px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(0.98rem, 1.7vw, 1.45rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(214, 168, 79, 0.28);
}

.ritual-bottom-line span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214, 168, 79, 0.7),
    rgba(185, 108, 255, 0.46)
  );
}

.ritual-bottom-line span:last-child {
  transform: scaleX(-1);
}

.early-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(
      circle at 44% 50%,
      rgba(124, 60, 255, 0.34),
      transparent 20rem
    ),
    linear-gradient(
      90deg,
      rgba(5, 7, 13, 0.98),
      rgba(15, 11, 23, 0.88),
      rgba(5, 7, 13, 0.98)
    );
}

.early-copy h2 {
  max-width: 260px;
}

.early-copy p {
  margin-top: 22px;
  color: rgba(245, 234, 210, 0.9);
}

.early-quote {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 722 / 445;
  min-height: 0;
  padding: clamp(26px, 4vw, 44px) 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-image-source: var(--line-gradient);
  border-image-slice: 1;
  background:
    radial-gradient(
      circle at 50% 70%,
      rgba(185, 108, 255, 0.22),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(11, 13, 23, 0.2), rgba(6, 7, 12, 0.52));
  box-shadow:
    inset 0 0 22px rgba(124, 60, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.24);
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
}

.early-figure {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  filter: saturate(1.12) contrast(1.08) brightness(0.98);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    filter 220ms ease,
    transform 320ms ease;
}

.early-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 50% 52%,
      rgba(5, 7, 13, 0.26),
      rgba(5, 7, 13, 0.62) 76%
    ),
    linear-gradient(180deg, rgba(5, 7, 13, 0.34), rgba(5, 7, 13, 0.72));
  pointer-events: none;
  transition: opacity 220ms ease;
}

.early-quote span {
  position: relative;
  z-index: 1;
  color: rgba(245, 234, 210, 0.9);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  text-transform: uppercase;
  transition: opacity 220ms ease;
}

.early-quote strong {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: var(--gold-bright);
  font-family: var(--litepaper-heading-font);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.22;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(214, 168, 79, 0.26);
  transition: opacity 220ms ease;
}

.early-hover-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  display: none;
  width: 76px;
  height: 38px;
  pointer-events: none;
  opacity: 0.78;
  transform: translateX(-50%);
  transition: opacity 220ms ease;
  animation: hoverHintSlide 2.2s ease-in-out infinite;
}

.early-hover-hint::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 17px;
  height: 30px;
  border: 1px solid rgba(245, 210, 122, 0.82);
  border-radius: 12px 12px 8px 8px;
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(245, 210, 122, 0.32),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(245, 234, 210, 0.18), rgba(124, 60, 255, 0.2));
  box-shadow:
    inset 0 0 10px rgba(185, 108, 255, 0.22),
    0 0 14px rgba(245, 210, 122, 0.34);
  transform: translateX(-50%) rotate(-10deg);
}

.early-hover-hint::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 210, 122, 0.78),
    rgba(185, 108, 255, 0.62),
    rgba(245, 210, 122, 0.78),
    transparent
  );
  box-shadow: 0 0 12px rgba(185, 108, 255, 0.44);
}

@media (hover: hover) and (pointer: fine) {
  .early-hover-hint {
    display: block;
  }

  .early-quote:hover .early-figure {
    opacity: 1;
    filter: saturate(1.14) contrast(1.08) brightness(1.06);
    transform: scale(1.01);
  }

  .early-quote:hover::after,
  .early-quote:hover span,
  .early-quote:hover strong,
  .early-quote:hover .early-hover-hint {
    opacity: 0;
  }
}

.trust-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  min-height: 170px;
  padding: 18px 14px;
  text-align: center;
}

.trust-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
}

.wanderer-icon::before {
  width: 30px;
  height: 40px;
  clip-path: polygon(45% 0, 72% 16%, 92% 100%, 50% 82%, 8% 100%, 27% 16%);
  background: linear-gradient(180deg, #64748b, #101827);
}

.browser-icon::before {
  width: 42px;
  height: 42px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
}

.browser-icon::after {
  width: 42px;
  height: 2px;
  background: #cbd5e1;
  box-shadow:
    0 -12px 0 -1px rgba(203, 213, 225, 0.65),
    0 12px 0 -1px rgba(203, 213, 225, 0.65);
}

.shield-icon::before {
  width: 38px;
  height: 42px;
  clip-path: polygon(50% 0, 92% 16%, 80% 76%, 50% 100%, 20% 76%, 8% 16%);
  background: linear-gradient(180deg, #f5d27a, #6c3b12);
}

.shield-icon::after {
  width: 14px;
  height: 14px;
  border: 2px solid #fff3ba;
  transform: rotate(45deg);
}

.community-icon::before {
  width: 38px;
  height: 28px;
  border-radius: 18px 18px 8px 8px;
  background:
    radial-gradient(circle at 26% 14%, #f0c9ff 0 4px, transparent 5px),
    radial-gradient(circle at 50% 7%, #f0c9ff 0 5px, transparent 6px),
    radial-gradient(circle at 74% 14%, #f0c9ff 0 4px, transparent 5px),
    linear-gradient(180deg, var(--purple-bright), #5422a6);
}

.compass-icon::before {
  width: 42px;
  height: 42px;
  border: 2px solid var(--purple-bright);
  border-radius: 50%;
}

.compass-icon::after {
  width: 10px;
  height: 36px;
  background: linear-gradient(
    180deg,
    var(--gold-bright) 0 49%,
    var(--mana) 50% 100%
  );
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px clamp(18px, 3vw, 28px) 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-copy {
  text-align: center;
}

.footer-copy strong {
  color: var(--text);
  font-weight: 600;
}

.footer-copy p {
  margin-bottom: 0;
  color: rgba(245, 234, 210, 0.82);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: clamp(2.4rem, 4vw, 2.9rem);
  height: clamp(2.4rem, 4vw, 2.9rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #edeff3;
  font-family: var(--litepaper-heading-font);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 50%;
  background-image:
    linear-gradient(#211059, #211059),
    conic-gradient(
      from 55.95deg at 51.12% 51.2%,
      #faca21 -12.2deg,
      #846c21 89.31deg,
      #faca21 144.97deg,
      #846c21 271.73deg,
      #faca21 347.8deg,
      #846c21 449.31deg
    );
  background-origin: border-box, border-box;
  background-clip: padding-box, border-box;
  transition:
    transform 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow:
    0 0 1.2rem rgba(250, 202, 33, 0.22),
    0 0 2.2rem rgba(250, 202, 33, 0.14);
  filter: brightness(1.04);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatParticle {
  0% {
    transform: translate3d(0, 20px, 0);
    opacity: 0;
  }
  18%,
  80% {
    opacity: 0.7;
  }
  100% {
    transform: translate3d(var(--drift, 26px), -105vh, 0);
    opacity: 0;
  }
}

@keyframes pulseAura {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes heroFigureFloat {
  0%,
  100% {
    transform: translateY(var(--hero-figure-offset));
  }
  50% {
    transform: translateY(var(--hero-figure-float-offset));
  }
}

@keyframes crystalHover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes inviteGlowPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 42px rgba(185, 108, 255, 0.14),
      0 0 28px rgba(124, 60, 255, 0.18),
      0 18px 44px rgba(0, 0, 0, 0.28);
  }
  50% {
    box-shadow:
      inset 0 0 52px rgba(185, 108, 255, 0.22),
      0 0 46px rgba(124, 60, 255, 0.34),
      0 18px 44px rgba(0, 0, 0, 0.28);
  }
}

@keyframes skyhomeSpark {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translateY(-14px) scale(1.12);
  }
}

@keyframes ritualDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-90px, -60px, 0);
  }
}

@keyframes ritualArrowGlow {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

@keyframes ritualActivePulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 42px rgba(185, 108, 255, 0.18),
      0 0 20px rgba(245, 210, 122, 0.12),
      0 0 30px rgba(124, 60, 255, 0.22),
      0 18px 40px rgba(0, 0, 0, 0.26);
  }
  50% {
    box-shadow:
      inset 0 0 58px rgba(185, 108, 255, 0.3),
      0 0 34px rgba(245, 210, 122, 0.22),
      0 0 58px rgba(124, 60, 255, 0.4),
      0 18px 40px rgba(0, 0, 0, 0.26);
  }
}

@keyframes ritualClickWander {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  22% {
    transform: translate(calc(-50% + 7px), calc(-50% - 5px));
  }
  46% {
    transform: translate(calc(-50% - 6px), calc(-50% + 4px));
  }
  68% {
    transform: translate(calc(-50% + 5px), calc(-50% + 6px));
  }
  86% {
    transform: translate(calc(-50% - 7px), calc(-50% - 3px));
  }
}

@keyframes ritualClickTextPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes hoverHintSlide {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(calc(-50% - 10px));
  }
  50% {
    opacity: 1;
    transform: translateX(calc(-50% + 10px));
  }
}

@keyframes fillMana {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 18px;
    background: rgba(5, 7, 13, 0.96);
    border-bottom: 1px solid rgba(214, 168, 79, 0.24);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.36);
    transform: translateY(-140%);
    transition: transform 220ms ease;
  }

  .site-nav a {
    padding: 15px;
    border: 1px solid rgba(214, 168, 79, 0.16);
    background: rgba(10, 12, 22, 0.72);
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-figure-stage {
    --hero-figure-offset: -4px;
    --hero-figure-float-offset: -16px;
    min-height: 500px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .invite-card-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .relic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .awakening-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .awakening-art {
    grid-column: 1 / -1;
  }

  .skyhome-layout {
    grid-template-columns: 1fr;
  }

  .skyhome-media {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }

  .skyhome-copy {
    text-align: center;
  }

  .skyhome-body {
    margin: 0 auto;
  }

  .ritual-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 54px 20px;
  }

  .ritual-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .section-heading {
    grid-template-columns: 1fr;
  }

  .divider {
    width: min(340px, 70vw);
    margin: 0 auto;
  }

  .steps-grid,
  .relic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elyndor-grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .step-number {
    top: 10px;
    left: 10px;
  }

  .step-icon {
    margin: 0;
  }

  .awakening-grid,
  .rnc-section,
  .early-section {
    grid-template-columns: 1fr;
  }

  .rnc-copy,
  .early-copy {
    text-align: center;
  }

  .gold-list {
    display: inline-block;
    text-align: left;
  }

  .forge-art {
    min-height: 220px;
  }

  .skyhome-card-grid {
    grid-template-columns: 1fr;
  }

  .skyhome-card {
    min-height: auto;
  }

  .ritual-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 13.4vw, 4.1rem);
    line-height: 0.98;
    overflow-wrap: normal;
    text-shadow: none;
  }

  .hero-kicker {
    font-size: 1.25rem;
  }

  .hero-figure-stage {
    --hero-figure-offset: -20px;
    --hero-figure-float-offset: -30px;
    min-height: 380px;
    margin-top: -12px;
  }

  .hero-aldrion {
    width: min(92%, 360px);
    max-height: 430px;
  }

  .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .section-heading h2,
  .rnc-copy h2,
  .early-copy h2 {
    font-size: clamp(1.6rem, 9vw, 2.25rem);
  }

  .step-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 54px;
  }

  .step-icon {
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .relic-grid {
    grid-template-columns: 1fr;
  }

  .invite-earn-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .invite-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .skyhome-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .skyhome-media {
    aspect-ratio: 4 / 3;
  }

  .skyhome-body {
    font-size: 0.96rem;
  }

  .daily-ritual-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .ritual-flow {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .ritual-card {
    min-height: auto;
  }

  .ritual-bottom-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ritual-bottom-line span {
    width: min(260px, 70vw);
    margin: 0 auto;
  }

  .relic-card {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: stretch;
    gap: 16px;
  }

  .relic-art {
    width: 100%;
    height: clamp(280px, 82vw, 380px);
    justify-self: center;
  }

  .relic-art-image img {
    padding: 4px;
  }

  .mana-progress {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .early-quote {
    padding-inline: 16px;
  }

  .trust-item {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
