:root {
  --bg: #050812;
  --panel: rgba(8, 14, 24, .78);
  --line: rgba(255, 255, 255, .09);
  --text: #eef3ff;
  --muted: #aab3c7;
  --accent: #9b35ff;
  --blue: #168ee7;
  --green: #51e44f;
  --font-title: "Cinzel", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px clamp(16px, 5vw, 70px);
  background: linear-gradient(180deg, rgba(3, 5, 12, .86), rgba(3, 5, 12, .2));
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}
.brand-mark {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
  color: #f4f1eb;
  text-shadow: 0 3px 0 #3c3d47, 0 0 18px rgba(149, 58, 255, .65);
}
.brand-mark span { color: var(--accent); font-size: 1.22em; text-shadow: 0 0 20px rgba(168, 55, 255, .9); }
.nav { display: flex; gap: clamp(14px, 2.5vw, 34px); align-items: center; }
.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #e7ecfa;
}
.nav a.active, .nav a:hover { color: var(--accent); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 810px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-media,
.hero-vignette {
  position: absolute;
  inset: 0;
}
.hero-media {
  background: url("hero.png") center / cover no-repeat;
  transform: scale(1.02);
}
.hero-vignette {
  background:
    radial-gradient(circle at 78% 42%, rgba(144, 42, 255, .2), transparent 27%),
    linear-gradient(90deg, rgba(3, 5, 12, .98) 0%, rgba(3, 5, 12, .76) 34%, rgba(3, 5, 12, .18) 68%),
    linear-gradient(180deg, rgba(3, 5, 12, .18), #050812 98%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.title-metal {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(72px, 12vw, 146px);
  line-height: .82;
  text-transform: uppercase;
  color: #f7f5ef;
  text-shadow: 0 5px 0 #343846, 0 10px 22px rgba(0, 0, 0, .75), 0 0 24px rgba(255, 255, 255, .18);
}
.title-metal span { color: var(--accent); text-shadow: 0 5px 0 #4d2d63, 0 0 30px rgba(169, 65, 255, .8); }
.hero h2 {
  margin: 22px 0 14px;
  font-size: clamp(23px, 3vw, 34px);
  text-transform: uppercase;
  color: #dfe6f5;
}
.hero-copy { max-width: 510px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font: 800 13px var(--font-body);
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .25);
}
.btn-purple { background: linear-gradient(180deg, #a645ff, #6f2bc9); }
.btn-blue { background: linear-gradient(180deg, #22a7ff, #0872ca); }
.btn-ghost { background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 18px;
  max-width: 690px;
  margin-top: 44px;
}
.stats div { border-left: 2px solid rgba(158, 62, 255, .65); padding-left: 12px; }
.stats b { display: block; font-size: 18px; color: #fff; }
.stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.countdown b {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-family: var(--font-title);
  text-shadow: 0 0 18px rgba(155, 53, 255, .55);
}
.countdown span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #d7def0;
}
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 20px;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(3, 5, 12, .5);
  font-size: 26px;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #07101a, #050812);
  overflow: hidden;
}
.section-blue { background: radial-gradient(circle at 78% 22%, rgba(45, 115, 205, .18), transparent 30%), #07111b; }
.section-green { background: radial-gradient(circle at 50% 64%, rgba(40, 210, 76, .16), transparent 26%), #06100c; }
.section-red { background: radial-gradient(circle at 52% 58%, rgba(232, 70, 46, .14), transparent 28%), #100807; }
.section-violet { background: radial-gradient(circle at 50% 55%, rgba(112, 70, 255, .16), transparent 30%), #090816; }
.section-boss { background: radial-gradient(circle at 58% 50%, rgba(230, 38, 80, .16), transparent 28%), #10070d; }
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.split-reverse { grid-template-columns: .9fr 1.1fr; }
.section-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.section-icon {
  color: var(--accent);
  font-size: 52px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(155, 53, 255, .95), 0 0 28px rgba(155, 53, 255, .65);
  filter: drop-shadow(0 0 18px rgba(155, 53, 255, .8));
}
.section-icon.green {
  color: var(--green);
  text-shadow: 0 0 12px rgba(81, 228, 79, .95), 0 0 28px rgba(81, 228, 79, .6);
  filter: drop-shadow(0 0 18px rgba(81, 228, 79, .72));
}
.section-icon.red {
  color: #ff5a4e;
  text-shadow: 0 0 12px rgba(255, 90, 78, .95), 0 0 28px rgba(255, 90, 78, .6);
  filter: drop-shadow(0 0 18px rgba(255, 90, 78, .72));
}
.section-icon.violet {
  color: #8e6bff;
  text-shadow: 0 0 12px rgba(142, 107, 255, .95), 0 0 28px rgba(142, 107, 255, .6);
  filter: drop-shadow(0 0 18px rgba(142, 107, 255, .72));
}
.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  text-transform: uppercase;
}
.section-heading p, .section p { margin: 4px 0 0; color: var(--muted); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
}
.feature-grid article,
.alchemy-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
}
.feature-grid span,
.alchemy-list span {
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(132, 49, 255, .12);
  border: 1px solid rgba(155, 53, 255, .42);
  color: var(--accent);
  font-size: 27px;
  box-shadow: 0 0 18px rgba(155, 53, 255, .24), inset 0 0 20px rgba(155, 53, 255, .16);
  text-shadow: 0 0 10px rgba(155, 53, 255, .95), 0 0 22px rgba(155, 53, 255, .72);
}
.feature-grid h3,
.alchemy-list h3 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}
.feature-grid p,
.alchemy-list p {
  max-width: 290px;
  font-size: 14px;
  line-height: 1.55;
}
.feature-copy {
  grid-column: 2;
  min-width: 0;
}
.preview-card, .alchemy-art {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(0, 0, 0, .32);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
}
.preview-card img, .alchemy-art img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.alchemy-list { display: grid; gap: 28px; max-width: 560px; }
.alchemy-list span {
  background: rgba(50, 210, 64, .12);
  border-color: rgba(81, 228, 79, .46);
  color: var(--green);
  box-shadow: 0 0 18px rgba(81, 228, 79, .22), inset 0 0 20px rgba(81, 228, 79, .14);
  text-shadow: 0 0 10px rgba(81, 228, 79, .95), 0 0 22px rgba(81, 228, 79, .68);
}
.alchemy-list h3 { color: var(--green); }
.red-list span {
  background: rgba(255, 90, 78, .12);
  border-color: rgba(255, 90, 78, .46);
  color: #ff5a4e;
  box-shadow: 0 0 18px rgba(255, 90, 78, .22), inset 0 0 20px rgba(255, 90, 78, .14);
  text-shadow: 0 0 10px rgba(255, 90, 78, .95), 0 0 22px rgba(255, 90, 78, .68);
}
.red-list h3 { color: #ff5a4e; }
.violet-list span {
  background: rgba(142, 107, 255, .12);
  border-color: rgba(142, 107, 255, .46);
  color: #8e6bff;
  box-shadow: 0 0 18px rgba(142, 107, 255, .22), inset 0 0 20px rgba(142, 107, 255, .14);
  text-shadow: 0 0 10px rgba(142, 107, 255, .95), 0 0 22px rgba(142, 107, 255, .68);
}
.violet-list h3 { color: #8e6bff; }
.blue-list span {
  background: rgba(52, 156, 255, .12);
  border-color: rgba(52, 156, 255, .46);
  color: #39a6ff;
  box-shadow: 0 0 18px rgba(52, 156, 255, .22), inset 0 0 20px rgba(52, 156, 255, .14);
  text-shadow: 0 0 10px rgba(52, 156, 255, .95), 0 0 22px rgba(52, 156, 255, .68);
}
.blue-list h3 { color: #39a6ff; }
.reveal {
  opacity: 0;
  transform: translate3d(0, 42px, -120px) rotateX(8deg) scale(.94);
  transform-origin: center;
  filter: blur(18px);
  transition: opacity 1.15s cubic-bezier(.2, .8, .2, 1), transform 1.15s cubic-bezier(.2, .8, .2, 1), filter 1.15s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal-left {
  transform: perspective(900px) translate3d(-120px, 30px, -160px) rotateY(28deg) scale(.92);
  transform-origin: left center;
}
.reveal-right {
  transform: perspective(900px) translate3d(120px, 30px, -160px) rotateY(-28deg) scale(.92);
  transform-origin: right center;
}
.reveal.is-visible {
  opacity: 1;
  transform: perspective(900px) translate3d(0, 0, 0) rotateY(0) rotateX(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
.compact { padding: 42px 0; background: #050812; }
.compact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.compact h2 { margin: 0; }

.admin-page {
  min-height: 100vh;
  background: radial-gradient(circle at 18% 0%, rgba(155, 53, 255, .25), transparent 32%), #070b14;
}
.admin-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 100vh;
}
.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 34px;
  background: rgba(3, 5, 12, .7);
  border-right: 1px solid var(--line);
}
.admin-side h1 { margin: 36px 0 10px; font-size: 34px; }
.admin-side p { color: var(--muted); }
.admin-actions { display: grid; gap: 12px; margin-top: 28px; }
.admin-panel {
  display: grid;
  gap: 20px;
  padding: 32px;
}
.admin-panel section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}
.admin-panel h2 { margin: 0 0 18px; font-size: 22px; }
.admin-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #dbe4f5;
  font-weight: 700;
}
.admin-panel input,
.admin-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: rgba(1, 4, 10, .65);
  color: #fff;
  padding: 13px 14px;
  font: 500 15px var(--font-body);
}
.admin-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 900px) {
  .site-header { min-height: 68px; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 7, 15, .96);
  }
  .nav.open { display: flex; }
  .nav a.active::after { display: none; }
  .hero { min-height: 760px; }
  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(3, 5, 12, .96), rgba(3, 5, 12, .62)),
      linear-gradient(180deg, rgba(3, 5, 12, .12), #050812 98%);
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse, .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero { min-height: 720px; }
  .title-metal { font-size: 64px; }
  .actions, .compact-grid { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; padding: 0 18px; }
  .feature-grid, .admin-row, .stats { grid-template-columns: 1fr; }
  .section-heading { gap: 14px; }
  .section-icon { font-size: 42px; }
  .feature-grid article, .alchemy-list article { grid-template-columns: 52px minmax(0, 1fr); gap: 7px 14px; }
  .feature-grid span, .alchemy-list span { width: 52px; height: 52px; font-size: 22px; }
  .feature-grid p, .alchemy-list p { max-width: none; }
  .admin-panel { padding: 16px; }
}
