:root {
  color-scheme: dark;
  --ink: #100c0a;
  --smoke: #171716;
  --panel: rgba(24, 18, 14, 0.84);
  --panel-strong: rgba(39, 26, 18, 0.92);
  --paper: #f3e6bd;
  --muted: #ceb985;
  --gold: #ffcf55;
  --amber: #e49335;
  --ember: #e25732;
  --jade: #67d8c1;
  --blue: #76ccff;
  --violet: #bda7ff;
  --line: rgba(255, 219, 139, 0.24);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 4%, rgba(103, 216, 193, 0.17), transparent 28rem),
    radial-gradient(circle at 92% 14%, rgba(226, 87, 50, 0.16), transparent 24rem),
    radial-gradient(circle at 55% 62%, rgba(118, 204, 255, 0.1), transparent 30rem),
    linear-gradient(180deg, #080808 0%, #15110f 48%, #22140f 100%);
}

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

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.14));
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-shadow: 0 2px 0 #000;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ember), var(--gold));
  box-shadow: 0 0 18px rgba(255, 207, 85, 0.58);
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(243, 230, 189, 0.88);
  font-size: 15px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > picture img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 43%, rgba(5, 5, 5, 0.18) 78%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.24) 0%, rgba(5, 5, 5, 0.1) 48%, #11100f 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(52px, 9vh, 108px) clamp(18px, 6vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(46px, 7.8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    0 5px 0 #2b160c,
    0 12px 34px rgba(0, 0, 0, 0.78);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 247, 222, 0.95);
  font-size: clamp(18px, 2.25vw, 26px);
  line-height: 1.55;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 231, 147, 0.54);
  border-radius: 8px;
  color: #20120b;
  background: linear-gradient(180deg, #ffe481, #e0862d);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 950;
}

.release-pill {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(118, 204, 255, 0.36);
  border-radius: 8px;
  color: #def6ff;
  background: rgba(8, 20, 24, 0.72);
  font-weight: 850;
}

.proof-strip,
.intro-band,
.characters-section,
.stage-section,
.systems-section,
.arcana-section,
.achievements-section,
.screens-section,
.release-section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.proof-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -34px;
}

.proof-strip article {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(43, 29, 19, 0.94), rgba(15, 12, 10, 0.92));
  box-shadow: var(--shadow);
}

.proof-strip strong {
  display: block;
  color: var(--gold);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: #ecdfb8;
  font-weight: 900;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: end;
  padding: clamp(64px, 8vw, 108px) 0 36px;
}

.intro-copy h2,
.section-heading h2,
.stage-lead h2,
.arcana-copy h2,
.achievements-section h2,
.release-section h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.7vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro-copy p:last-child,
.section-heading p,
.stage-lead p,
.arcana-copy p,
.achievements-section p,
.release-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.system-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.system-snapshot span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(243, 230, 189, 0.1), rgba(8, 8, 8, 0.38));
  color: #fff2bd;
  font-size: 18px;
  font-weight: 950;
}

.characters-section,
.stage-section,
.systems-section,
.arcana-section,
.achievements-section,
.screens-section {
  padding: clamp(52px, 7vw, 88px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.character-card {
  position: relative;
  overflow: hidden;
  min-height: 328px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 207, 85, 0.17), transparent 42%),
    linear-gradient(180deg, rgba(48, 31, 22, 0.95), rgba(12, 10, 9, 0.96));
  box-shadow: var(--shadow);
}

.character-card img {
  width: 100%;
  height: clamp(230px, 24vw, 280px);
  object-fit: contain;
  padding: 12px 10px 0;
}

.character-card div {
  padding: 0 16px 18px;
}

.character-card h3 {
  margin-bottom: 6px;
  color: #fff2b7;
  font-size: 25px;
}

.character-card p {
  min-height: 48px;
  margin-bottom: 10px;
  color: #d7c49a;
  line-height: 1.45;
}

.character-card span {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(103, 216, 193, 0.28);
  border-radius: 6px;
  color: #d8fff5;
  background: rgba(6, 24, 24, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.stage-lead {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.stage-lead img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.stage-grid figure,
.screens figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.stage-grid img,
.screens img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.stage-grid figcaption,
.screens figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(255, 231, 147, 0.34);
  border-radius: 6px;
  background: rgba(10, 9, 8, 0.8);
  color: #fff1b1;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.screens figure {
  display: flex;
  flex-direction: column;
}

.screens img {
  height: auto;
  object-fit: contain;
  background: #090705;
  border-bottom: 1px solid var(--line);
}

.screens figcaption {
  position: static;
  inset: auto;
  min-height: 44px;
  justify-content: center;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(255, 231, 147, 0.22);
  background: linear-gradient(180deg, rgba(27, 19, 14, 0.94), rgba(10, 9, 8, 0.96));
  color: #fff1b1;
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #0c0908;
  border-bottom: 1px solid var(--line);
}

.feature-grid div {
  padding: 22px;
}

.feature-grid h3 {
  margin-bottom: 12px;
  color: #fff1b1;
  font-size: 24px;
  line-height: 1.24;
}

.feature-grid p:not(.section-kicker) {
  margin-bottom: 0;
  color: #d8c7a0;
  line-height: 1.7;
}

.arcana-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.arcana-copy {
  display: grid;
  gap: 18px;
}

.arcana-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(189, 167, 255, 0.32);
  border-radius: 8px;
  background: rgba(9, 7, 11, 0.92);
  box-shadow: var(--shadow);
}

.arcana-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0c0908;
}

.arcana-shot figcaption {
  padding: 12px 14px;
  color: #e6d8ff;
  font-size: 14px;
  font-weight: 900;
  border-top: 1px solid rgba(189, 167, 255, 0.22);
}

.arcana-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.arcana-list article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(189, 167, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 18%, rgba(189, 167, 255, 0.16), transparent 10rem),
    linear-gradient(180deg, rgba(34, 25, 48, 0.88), rgba(13, 11, 16, 0.92));
}

.arcana-list strong {
  display: block;
  margin-bottom: 8px;
  color: #e6d8ff;
  font-size: 19px;
}

.arcana-list span {
  color: #d7c9e8;
  line-height: 1.55;
}

.achievements-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: center;
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.achievement-list article {
  min-height: 124px;
  padding: 18px;
  border: 1px solid rgba(118, 204, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(118, 204, 255, 0.18), transparent 10rem),
    linear-gradient(180deg, rgba(19, 31, 34, 0.88), rgba(10, 12, 13, 0.94));
}

.achievement-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 950;
}

.achievement-list strong {
  color: #eef8ff;
  font-size: 19px;
  line-height: 1.45;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.screens .wide-shot {
  grid-column: auto;
}

.release-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 70px;
  border-top: 1px solid var(--line);
}

.release-section div {
  max-width: 740px;
}

.secondary-action {
  flex: 0 0 auto;
  background: linear-gradient(180deg, #9ce9df, #4a9dc8);
}

@media (max-width: 1120px) {
  .character-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.72) 55%, #11100f 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.44), rgba(5, 5, 5, 0.12));
  }

  .hero-content {
    margin: 0 auto 42px;
  }

  .proof-strip,
  .intro-band,
  .stage-lead,
  .feature-grid,
  .arcana-section,
  .achievements-section,
  .screens,
  .release-section {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 0;
    padding-top: 18px;
  }

  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .release-section {
    display: grid;
  }

  .secondary-action {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 15px;
  }

  .hero-content,
  .proof-strip,
  .intro-band,
  .characters-section,
  .stage-section,
  .systems-section,
  .arcana-section,
  .achievements-section,
  .screens-section,
  .release-section {
    width: min(100% - 28px, 1200px);
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-copy,
  .intro-copy p:last-child,
  .section-heading p,
  .stage-lead p,
  .arcana-copy p,
  .achievements-section p,
  .release-section p {
    font-size: 16px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action,
  .release-pill {
    width: 100%;
  }

  .proof-strip,
  .system-snapshot,
  .character-grid,
  .arcana-list,
  .achievement-list {
    grid-template-columns: 1fr;
  }

  .stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .character-card {
    min-height: 316px;
  }

  .character-card img {
    height: 240px;
  }

  .stage-grid figcaption {
    position: static;
    border: 0;
    border-top: 1px solid rgba(255, 231, 147, 0.2);
    border-radius: 0;
    background: rgba(10, 9, 8, 0.92);
  }
}
