:root {
  --bg-deep: #0e0a14;
  --bg-mid: #1a0e1f;
  --bg-card: #221332;
  --purple: #3d2952;
  --magenta: #8e3a8e;
  --orange: #f08030;
  --teal: #5fbcb8;
  --cream: #f4d58a;
  --bone: #ece1d4;
  --muted: #7a6f80;

  --max-width: 1280px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arsenal', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(142, 58, 142, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(240, 128, 48, 0.10), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(95, 188, 184, 0.05), transparent 70%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--orange); }

h2 {
  font-family: 'Arsenal', serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }

strong { color: var(--cream); font-weight: 700; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 41, 82, 0.5);
}

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bone);
  position: relative;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */

.hero {
  max-width: none;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 1.5rem 3rem;
  text-align: center;
}

.capsule {
  width: 80%;
  max-width: 1920px;
  height: auto;
  border-radius: var(--radius);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter:
    drop-shadow(0 0 30px rgba(95, 188, 184, 0.25))
    drop-shadow(0 12px 40px rgba(0, 0, 0, 0.6));
}

.tagline {
  margin-top: 1rem;
  font-size: 1.8rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}

/* ---------- Fade-in ---------- */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out 0.2s forwards;
}

.fade-in-delayed {
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s forwards;
}

/* ---------- Sections ---------- */

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6.5rem 3rem;
}

.about p,
.wishlist p,
.mailing-list p {
  max-width: 820px;
  color: var(--bone);
}

.about { padding-bottom: 2rem; }
.wishlist { padding-top: 0; padding-bottom: 4rem; }
.mailing-list { margin-top: 0rem; }

/* ---------- About pillars ---------- */

.about-header {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.about-header-text {
  flex: 1 1 0;
  min-width: 0;
}

.about-header-text .about-intro {
  margin-bottom: 0;
}

.itch-embed {
  flex: 0 0 auto;
  width: 552px;
  max-width: 100%;
  height: 167px;
  border-radius: var(--radius);
}

.about-intro {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 3rem;
  max-width: 880px;
}

.pillar {
  max-width: none;
  margin: 0 0 3rem;
  padding: 2.25rem 2.5rem;
  background: rgba(26, 14, 31, 0.5);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pillar-text {
  flex: 1 1 0;
  min-width: 0;
}
.pillar:hover {
  transform: translateX(4px);
  border-left-color: var(--cream);
  background: rgba(34, 19, 50, 0.65);
}

.pillar h3 {
  font-family: 'Arsenal', serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin: 0 0 0.5rem;
}

.pillar-media {
  display: block;
  flex: 0 0 45%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.pillar-tagline {
  color: var(--teal);
  font-size: 1.05rem;
  margin-bottom: 1rem !important;
  font-style: italic;
}

.pillar p {
  margin-bottom: 0.85rem;
}
.pillar p:last-child { margin-bottom: 0; }

/* ---------- Wishlist CTA ---------- */

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--orange);
  color: var(--bg-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta:hover {
  background: var(--cream);
  color: var(--bg-deep);
  transform: translateY(-1px);
}

/* ---------- Mailing list section ---------- */

.mailing-list {
  background: linear-gradient(135deg, var(--purple) 0%, var(--bg-card) 60%, var(--bg-mid) 100%);
  border: 1px solid rgba(240, 128, 48, 0.25);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  margin-top: 2rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.mailing-list::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(240, 128, 48, 0.18), transparent 60%);
  pointer-events: none;
}
.mailing-list > * { position: relative; }

/* ---------- Subscribe form ---------- */

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1 1 240px;
  background: var(--bg-mid);
  color: var(--bone);
  border: 1px solid var(--purple);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.subscribe-form input::placeholder { color: var(--muted); }
.subscribe-form input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 128, 48, 0.18);
}

.subscribe-form button {
  background: var(--orange);
  color: var(--bg-deep);
  border: 0;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.subscribe-form button:hover { background: var(--cream); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(61, 41, 82, 0.4);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--orange); }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-links a { font-size: 1rem; }
  h2 { font-size: 1.7rem; }
  section { padding: 4rem 1.25rem; }
  .about-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .itch-embed { width: 100%; }
  .pillar {
    padding: 1.5rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .pillar-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
  .hero {
    min-height: auto;
    padding: 1rem 1rem 1.5rem;
  }
  .about,
  .wishlist { padding-top: 0; }
}
