:root {
  --orange: #f28705;
  --yellow: #f2c84b;
  --flame: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 70%);
  --ink: #f4efe8;
  --muted: #b3aaa0;
  --paper: #12100e;
  --surface: #1c1916;
  --cream: #26211c;
  --line: rgba(255, 255, 255, 0.08);
  --night: #0a0908;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: dark; background: var(--paper); }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--orange); }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  white-space: nowrap;
}

.brand img { height: 38px; width: auto; }

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav a:hover { background: var(--cream); color: var(--orange); }

.nav a[aria-current="page"] { background: var(--flame); color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--flame);
  color: #fff;
  text-align: center;
  padding: 96px 0 150px;
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #fff;
}

.hero .wrap { position: relative; }

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 120px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero .logo {
  width: min(440px, 80%);
  margin: 0 auto;
}

.hero h1 { margin: 0; }

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero .eyebrow { opacity: 0.9; }

.page-hero { padding: 80px 0 140px; }

/* Sections */
.section { padding: 72px 0; }

.section + .section { padding-top: 0; }

.page-hero + .section { padding-top: 24px; }

.intro {
  max-width: 720px;
  margin: -40px auto 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.intro h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--orange);
}

.intro p { font-size: 1.12rem; color: var(--muted); margin: 0; }

.section-title {
  margin: 0 0 28px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--flame);
}

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

.split p { color: var(--muted); font-size: 1.05rem; }

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: 0 24px 60px -24px rgba(242, 135, 5, 0.45);
}

.photo img { width: 100%; height: 100%; object-fit: cover; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.panel p { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
}

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

a.card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 135, 5, 0.35);
  box-shadow: 0 26px 50px -22px rgba(242, 135, 5, 0.5);
}

a.card h3::after,
.card-link::after { content: " \2197"; color: var(--orange); }

.card-linked {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-linked:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 135, 5, 0.35);
  box-shadow: 0 26px 50px -22px rgba(242, 135, 5, 0.5);
}

.card-link {
  color: inherit;
  text-decoration: none;
}

/* Stretches the title link over the whole card so the card stays clickable without nesting the store link inside it. */
.card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.store-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 18px 8px 14px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  transition: border-color 0.15s, background 0.15s;
}

.store-button:hover { border-color: var(--orange); background: #111; }

.store-button svg { width: 24px; height: 24px; fill: currentColor; flex: none; }

.store-button small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.card .art {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card .art img { width: 100%; height: 100%; object-fit: cover; }

.card .art { position: relative; }

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
}

.badge-live {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 16, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.art-spacefuzz { background: #4a2fa0; }

.art-enchanted { background: #1b2140; }

.art-actor {
  background: radial-gradient(circle at 50% 35%, #3a3330 0%, var(--night) 70%);
  color: var(--yellow);
}

.art-actor svg { width: 62%; height: auto; }

.card-body { padding: 22px 24px 26px; }

.card h3 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; }

.card p { margin: 0; color: var(--muted); }

.tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Contact */
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
}

.contact h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: 0.06em; }

.contact p { margin: 0 auto 26px; max-width: 560px; color: rgba(255, 255, 255, 0.75); }

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.button:hover { filter: brightness(1.05); }

/* Footer */
.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 40px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer img { height: 48px; width: auto; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.15s;
}

.social a:hover { background: var(--orange); }

.social svg { width: 18px; height: 18px; fill: currentColor; }

.site-footer .legal { width: 100%; margin: 0; }

.site-footer .legal a { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .brand span { display: none; }
  .nav a { padding: 8px 10px; font-size: 0.86rem; }
  .hero { padding: 64px 0 110px; }
  .hero::after { height: 56px; }
  .page-hero { padding: 64px 0 90px; }
  .section { padding: 56px 0; }
  .panel, .contact { padding: 28px 22px; }
}
