:root {
  --ink: #2a1c28;
  --muted: #755b73;
  --surface: #fff8fb;
  --surface-strong: #ffffff;
  --rose: #ef5aa3;
  --coral: #ff8b67;
  --gold: #ffbd4f;
  --violet: #7d58c8;
  --line: rgba(82, 39, 72, 0.14);
  --shadow: 0 22px 60px rgba(83, 28, 64, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 248, 253, 0.76);
  padding: 10px 14px;
  box-shadow: 0 12px 40px rgba(68, 22, 53, 0.16);
  backdrop-filter: blur(18px);
}

.header-left {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.developer-name {
  border-left: 1px solid rgba(74, 35, 68, 0.16);
  padding-left: 14px;
  color: #6b4964;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand img,
.hero-icon {
  border-radius: 22%;
  box-shadow: 0 8px 20px rgba(91, 36, 86, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: #493045;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(239, 90, 163, 0.12);
}

.hero {
  position: relative;
  display: flex;
  min-height: 84svh;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/hero-banner.png");
  background-position: center;
  background-size: cover;
  padding: 118px 24px 58px;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 248, 251, 0), var(--surface));
  content: "";
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 252, 0.96) 0%, rgba(255, 247, 252, 0.84) 32%, rgba(255, 247, 252, 0.14) 72%),
    linear-gradient(180deg, rgba(69, 22, 59, 0.12), rgba(255, 150, 194, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #341d36;
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: #2d1b2e;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: #5a3b55;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.play-button {
  display: inline-flex;
  min-width: 214px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: #111111;
  color: #ffffff;
  padding: 10px 18px;
  box-shadow: 0 18px 30px rgba(51, 24, 44, 0.24);
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.05;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(51, 24, 44, 0.28);
}

.play-button small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 700;
}

.play-button-large {
  min-width: 240px;
}

.play-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.secondary-link,
.text-link {
  color: #43243d;
  font-weight: 900;
  text-decoration-color: rgba(239, 90, 163, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

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

.intro {
  padding: 72px 0 84px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: start;
}

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

.feature-card {
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 22px;
  box-shadow: 0 14px 30px rgba(105, 50, 85, 0.09);
}

.feature-card p,
.showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.feature-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
}

.showcase {
  background: #fff0f6;
  padding: 92px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.showcase-copy p {
  max-width: 610px;
  margin: 22px 0 24px;
  font-size: 1.1rem;
}

.poster-frame {
  margin: 0;
}

.poster-frame img,
.screenshot-grid img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.poster-frame img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
}

.screenshots {
  padding: 92px 0;
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

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

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.screenshot-grid figcaption {
  padding: 14px 4px 0;
  color: #5b3f56;
  font-size: 1rem;
  font-weight: 900;
}

.download {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 189, 79, 0.32), transparent 28%),
    linear-gradient(135deg, #4a2344, #b83d82 58%, #ff956f);
  color: #ffffff;
  padding: 72px 0;
}

.download-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download .eyebrow,
.download h2 {
  color: #ffffff;
}

.download h2 {
  max-width: 740px;
  font-size: clamp(2rem, 4vw, 4.3rem);
}

.site-footer {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(24px, calc((100vw - 1120px) / 2));
  color: #674b63;
  background: #fff8fb;
  font-size: 0.95rem;
  font-weight: 750;
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    width: min(100% - 20px, 620px);
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82svh;
    background-position: 35% center;
    padding: 104px 20px 54px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 247, 252, 0.96) 0%, rgba(255, 247, 252, 0.82) 58%, rgba(255, 247, 252, 0.28) 100%),
      linear-gradient(180deg, rgba(69, 22, 59, 0.12), rgba(255, 150, 194, 0.12));
  }

  .intro-grid,
  .showcase-grid,
  .section-heading,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-layout {
    display: grid;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 20px;
  }

  .showcase {
    padding: 72px 0;
  }

  .poster-frame {
    width: min(420px, 100%);
  }

  .screenshot-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-grid figure {
    flex: 0 0 min(78vw, 360px);
    scroll-snap-align: start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .brand span {
    font-size: 0.98rem;
  }

  .header-left {
    gap: 8px;
  }

  .developer-name {
    padding-left: 8px;
    font-size: 0.78rem;
  }

  .hero-icon {
    width: 78px;
    height: 78px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .play-button {
    width: 100%;
  }
}
