:root {
  --ink: #4d5168;
  --ink-soft: #6b7088;
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --accent: #e56b73;
  --line: #eceae6;
  --card-shadow: 0 18px 40px rgba(77, 81, 104, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: Quicksand, "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--ink);
}

.brand-pig {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
}

.nav a {
  color: var(--ink);
  font-weight: 600;
}

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

#story,
#play,
#buy,
#trailer {
  scroll-margin-top: 88px;
}

.hero {
  position: relative;
  padding: 72px 20px 0;
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 18px auto 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.hero-cta-label {
  margin: 36px 0 10px;
  font-weight: 700;
}

.buy-now {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.buy-now img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.buy-now:hover {
  color: #c84e57;
}

.hero-art {
  position: relative;
  width: min(980px, 100%);
  margin: 28px auto 0;
  min-height: 280px;
}

.hero-scene {
  display: block;
  width: min(820px, 100%);
  margin: 0 auto;
}

.hero-card {
  position: absolute;
  width: min(168px, 22vw);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  top: 12%;
}

.hero-card-left {
  left: 0;
  transform: rotate(-8deg);
}

.hero-card-right {
  right: 0;
  transform: rotate(8deg);
}

.story,
.play,
.buy-sec {
  padding: 88px 0;
}

.trailer {
  padding: 72px 0 88px;
  background: var(--bg-soft);
}

.stats {
  padding: 24px 0 88px;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.prose h2 {
  text-align: left;
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.lede {
  font-size: 1.2rem;
  font-weight: 700;
}

.story-grid,
.play-grid,
.buy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px 64px;
  align-items: center;
}

.play-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.story-card {
  width: min(280px, 100%);
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.box-shot {
  display: block;
  width: min(420px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 16px 24px rgba(77, 81, 104, 0.16));
}

.play-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 22px;
}

.play-links a {
  color: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.video-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.pay-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-main {
  padding: 48px 0 80px;
}

.panel {
  width: min(680px, 100%);
  margin: 0 auto;
}

.panel h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel .updated {
  margin: 0 0 28px;
  color: var(--ink-soft);
}

.panel h2 {
  margin: 32px 0 8px;
  font-size: 1.2rem;
  text-align: left;
}

.panel ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 28px 0 36px;
  font-size: 0.92rem;
}

.footer-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 600;
}

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

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-card {
    display: none;
  }

  .story,
  .play,
  .buy-sec,
  .trailer {
    padding: 56px 0;
  }

  .story-grid,
  .play-grid,
  .buy-grid {
    grid-template-columns: 1fr;
  }

  .prose h2,
  h2 {
    text-align: center;
  }
}
