:root {
  --bg: #12051f;
  --bg-2: #1c0938;
  --panel: rgba(42, 18, 70, 0.78);
  --panel-2: rgba(78, 33, 119, 0.72);
  --text: #fff7e8;
  --muted: rgba(255, 247, 232, 0.72);
  --gold: #ffc857;
  --green: #63ff61;
  --aqua: #42e7d7;
  --border: rgba(255, 200, 87, 0.28);
  --shadow: rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(99, 255, 97, 0.16), transparent 24rem),
    radial-gradient(circle at 80% 20%, rgba(162, 81, 255, 0.28), transparent 26rem),
    linear-gradient(180deg, #10041d 0%, #1b0735 48%, #0d0317 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 200, 87, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(99, 255, 97, 0.35) 0 1px, transparent 1.5px);
  background-position: 0 0, 38px 42px;
  background-size: 96px 96px, 132px 132px;
  opacity: 0.22;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(18, 5, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__icon {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(99, 255, 97, 0.28);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: calc(100vh - 72px);
  padding-top: 60px;
}

.hero__content,
.soon,
.network {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 18px 40px var(--shadow);
}

.button--primary {
  color: #1d0c06;
  background: linear-gradient(135deg, #ffe28a, var(--gold));
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero__art {
  position: relative;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.24), rgba(99, 255, 97, 0.12));
  box-shadow: 0 32px 100px rgba(99, 255, 97, 0.16);
}

.hero__art img,
.artifact-card img {
  border-radius: 34px;
}

.quick-grid,
.mode-grid,
.feature-list,
.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-card,
.mode-card,
.feature-list article,
.rules,
.network,
.soon,
.artifact-card {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--panel), rgba(25, 8, 56, 0.72));
  box-shadow: 0 24px 70px var(--shadow);
}

.quick-card,
.mode-card,
.feature-list article,
.rules,
.network,
.soon {
  padding: 28px;
}

.quick-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 18px;
  color: #160720;
  background: linear-gradient(135deg, var(--green), var(--gold));
  font-weight: 950;
}

.quick-card p,
.mode-card p,
.feature-list p,
.split p,
.network p,
.soon p,
.steps p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 34px;
}

.artifact-card {
  overflow: hidden;
  padding: 14px;
}

.mode-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.steps li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #160720;
  background: var(--gold);
  font-weight: 950;
}

.screenshots figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 24px 70px var(--shadow);
}

.screenshots img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.screenshots figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-weight: 800;
}

.network,
.soon {
  text-align: center;
}

/* Card sections use .section padding inside the panel; add gap when stacked */
.network.section + .soon.section {
  margin-top: clamp(32px, 5vw, 56px);
}

.network p,
.soon p {
  max-width: 760px;
  margin-inline: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer strong {
  color: var(--text);
}

.footer p {
  margin: 6px 0 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer a:hover {
  color: var(--text);
}

.contact-page {
  padding-top: 48px;
  padding-bottom: 72px;
}

.contact-form {
  max-width: 640px;
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--panel), rgba(25, 8, 56, 0.72));
  box-shadow: 0 24px 70px var(--shadow);
}

.contact-field + .contact-field {
  margin-top: 20px;
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.contact-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-input::placeholder {
  color: rgba(255, 247, 232, 0.38);
}

.contact-input:focus {
  outline: none;
  border-color: rgba(255, 200, 87, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.14);
}

.contact-input--area {
  min-height: 160px;
  resize: vertical;
}

.contact-error {
  margin: 8px 0 0;
  color: #ff8a8a;
  font-size: 0.92rem;
}

.contact-submit {
  width: 100%;
  margin-top: 24px;
  border: none;
  cursor: pointer;
}

.contact-alerts {
  max-width: 640px;
  margin-top: 24px;
}

.contact-alert {
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 700;
}

.contact-alert--success {
  color: #103116;
  background: linear-gradient(135deg, rgba(99, 255, 97, 0.92), rgba(66, 231, 215, 0.88));
}

.contact-alert--error {
  color: #fff7e8;
  background: rgba(255, 90, 90, 0.22);
  border: 1px solid rgba(255, 138, 138, 0.45);
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer__links {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .quick-grid,
  .mode-grid,
  .feature-list,
  .screenshots,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }
}
