:root {
  --night: #070a12;
  --navy: #10182a;
  --steel: #1a2740;
  --gold: #e4c98a;
  --gold-deep: #9a7433;
  --gold-hot: #fff3cc;
  --parchment: #f4ecd8;
  --mist: #b9c3d6;
  --line: rgba(228, 201, 138, 0.38);
  --ink: #06080f;
  --display: "UnifrakturMaguntia", "Grenze Gotisch", serif;
  --text: "Grenze Gotisch", "Palatino Linotype", Palatino, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--parchment);
  font-family: var(--text);
  font-size: 1.18rem;
  line-height: 1.45;
  background: var(--night);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { font-family: inherit; }

.sky, .glow, #dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.sky { z-index: 0; background:
  radial-gradient(900px 520px at 70% 18%, rgba(214, 168, 74, 0.18), transparent 60%),
  radial-gradient(700px 480px at 12% 80%, rgba(48, 72, 120, 0.35), transparent 70%),
  linear-gradient(180deg, #121a2e 0%, #0a101c 42%, #070910 100%);
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><path d='M70 18c2 10 8 14 8 22 0 6-4 10-8 11 4-1 8-5 8-11 0-8 6-12 8-22-2 10-2 16 0 20 3 4 3 9 0 12 4-1 8 0 10 3-6 2-8 8-7 13 7 0 11 4 11 9H82c1-7-3-11-8-12 3 10 3 16 0 24h-8c-3-8-3-14 0-24-5 1-9 5-8 12H46c0-5 4-9 11-9 1-5-1-11-7-13 2 0 6-1 10-3-3-3-3-8 0-12 2-4 2-10 0-20-2 10-2 14-8 22 5-1 8-5 8-11 0-8-6-12-8-22z' fill='%23e4c98a' opacity='0.35'/></svg>");
  background-size: 180px 180px;
  animation: drift 80s linear infinite;
}
#dust { z-index: 1; }
.fog {
  position: absolute;
  left: -20%;
  width: 70%;
  height: 38%;
  background: radial-gradient(closest-side, rgba(186, 198, 220, 0.16), transparent 72%);
  filter: blur(8px);
}
.fog-a { top: 8%; animation: fog 46s ease-in-out infinite; }
.fog-b { top: 54%; width: 80%; animation: fog 62s ease-in-out infinite reverse; opacity: 0.7; }
.rays {
  position: absolute;
  left: 58%;
  top: -10%;
  width: 180px;
  height: 78vh;
  background: linear-gradient(180deg, rgba(255, 236, 186, 0.0), rgba(255, 220, 140, 0.18), rgba(255, 220, 140, 0));
  filter: blur(18px);
  transform: rotate(8deg);
  animation: beam 7s ease-in-out infinite;
}
.flash {
  position: absolute;
  inset: 0;
  background: rgba(214, 226, 255, 0.0);
  animation: lightning 11s infinite;
}
.glow {
  z-index: 1;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 201, 138, 0.13), transparent 68%);
  transition: left 0.15s linear, top 0.15s linear;
}
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 40;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hot));
}

.nav, main, footer { position: relative; z-index: 2; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.92), rgba(7, 10, 18, 0.72) 70%, transparent);
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: 0 0 18px rgba(228, 201, 138, 0.35);
}
.brand strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.brand em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--parchment);
  letter-spacing: 0.12em;
  font-size: 1rem;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-x {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.nav-x img { width: 14px; height: 14px; }

.spine {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: 0.42em;
  color: rgba(228, 201, 138, 0.55);
  font-size: 0.78rem;
  z-index: 3;
}

.wrap { width: min(1120px, calc(100% - 10vw)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 2rem 0 4rem;
}
.kicker {
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.4rem, 9vw, 7.4rem);
  line-height: 0.82;
  margin: 0 0 1rem;
  text-shadow: 0 0 24px rgba(228, 201, 138, 0.25);
}
h1 span { display: block; }
h1 span:last-child {
  background: linear-gradient(100deg, #8d6a2e 0%, #fff1c9 40%, #e4c98a 55%, #fff6d8 78%, #a37b38 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
.lede { font-size: 1.45rem; max-width: 38rem; color: var(--parchment); margin: 0 0 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.3rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--gold-hot);
  padding: 0.72rem 1.15rem;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(228, 201, 138, 0.08), rgba(228, 201, 138, 0.02));
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn img { width: 18px; height: 18px; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 243, 204, 0.28), transparent);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(158, 116, 42, 0.25); }
.btn:hover::before { animation: sheen 0.7s ease; }
.btn.solid {
  background: linear-gradient(180deg, #f0ddb0, #b8893e);
  color: #1a1408;
  border-color: #f6e7c2;
}
.btn.solid img { filter: brightness(0) saturate(100%); }
.mint {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  max-width: 40rem;
  background: rgba(8, 12, 22, 0.55);
}
.mint small { color: var(--gold); letter-spacing: 0.16em; display: block; font-size: 0.75rem; }
.mint code {
  font-family: var(--text);
  font-size: 0.98rem;
  color: var(--mist);
  word-break: break-all;
}
.copy {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  letter-spacing: 0.08em;
}
.copy.done { color: var(--gold-hot); border-color: var(--gold); }

.portrait {
  position: relative;
  justify-self: end;
  width: min(460px, 100%);
}
.portrait-frame {
  border-radius: 230px 230px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 8px rgba(16, 22, 36, 0.8),
    0 0 0 9px rgba(228, 201, 138, 0.45),
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(228, 201, 138, 0.2);
  position: relative;
  animation: floaty 7s ease-in-out infinite;
}
.portrait-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 15%;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, 0.22) 48%, transparent 60%);
  transform: translateX(-130%);
  animation: glint 5.5s ease-in-out infinite;
}
.halo {
  position: absolute;
  inset: -8% -6% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 214, 120, 0.35), transparent 68%);
  filter: blur(12px);
  z-index: -1;
  animation: beam 4.5s ease-in-out infinite;
}

.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
  margin: 0.5rem 0 2.5rem;
}
.rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule svg { width: 28px; height: 28px; }

section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.9;
  margin: 0.2rem 0 0.8rem;
}
.about-grid, .buy-grid {
  display: grid;
  gap: 1rem;
}
.about-grid { grid-template-columns: 1.4fr 0.8fr; }
.panel, .step, .chart-frame, .banner-frame, .join-card {
  background: linear-gradient(180deg, rgba(20, 28, 46, 0.72), rgba(8, 12, 20, 0.82));
  border: 1px solid var(--line);
  position: relative;
}
.panel { padding: 1.6rem 1.5rem 1.3rem; }
.panel p { margin: 0 0 0.9rem; font-size: 1.28rem; }
.creed { display: grid; gap: 0.8rem; }
.creed article {
  padding: 1rem 1rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.55);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.creed article:hover { transform: translateY(-4px); border-color: var(--gold); }
.creed strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold);
}
.buy-grid { grid-template-columns: repeat(4, 1fr); }
.step {
  padding: 1.2rem 1rem 1.15rem;
  min-height: 230px;
  overflow: hidden;
}
.step:hover { border-color: var(--gold); }
.step i {
  display: block;
  font-style: normal;
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold);
}
.step h3 { margin: 0.2rem 0 0.45rem; font-size: 1.45rem; font-weight: 600; }
.step p { margin: 0; color: var(--mist); }
.step .mark { width: 28px; height: 28px; margin-top: 0.8rem; }
.step::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(228, 201, 138, 0.16), transparent 70%);
}

.chart-frame { padding: 0.7rem; }
.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b0e14;
}
.chart-links { display: flex; gap: 0.8rem; margin-top: 1rem; flex-wrap: wrap; }

.banner-frame {
  aspect-ratio: 3 / 1;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(228, 201, 138, 0.12);
}
.banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: ken 18s ease-in-out infinite alternate;
}
.join-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.join-card { padding: 1.2rem; margin-top: 1rem; }

footer {
  padding: 2rem 6vw 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mist);
  border-top: 1px solid rgba(228, 201, 138, 0.18);
  letter-spacing: 0.08em;
}

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { animation: rise 0.9s ease forwards; }
.reveal.in.d1 { animation-delay: 0.1s; }
.reveal.in.d2 { animation-delay: 0.2s; }
.reveal.in.d3 { animation-delay: 0.3s; }
.reveal.in.d4 { animation-delay: 0.4s; }

@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes sheen { to { transform: translateX(120%); } }
@keyframes glint { 0%, 62% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@keyframes beam { 50% { opacity: 0.55; } }
@keyframes fog { 50% { transform: translateX(38vw); } }
@keyframes drift { to { background-position: 180px 90px; } }
@keyframes lightning {
  0%, 86%, 100% { background: transparent; }
  87% { background: rgba(210, 224, 255, 0.07); }
  88% { background: transparent; }
  90% { background: rgba(210, 224, 255, 0.05); }
}
@keyframes ken { to { transform: scale(1.06); } }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero, .about-grid, .buy-grid { grid-template-columns: 1fr; }
  .spine { display: none; }
  .portrait { justify-self: center; }
  .portrait-frame img { height: 520px; }
  .nav-links a:not(.nav-x) { display: none; }
  h1 { font-size: clamp(3.6rem, 16vw, 5.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
