@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("assets/fonts/MPLUSRounded1c-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("assets/fonts/MPLUSRounded1c-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("assets/fonts/MPLUSRounded1c-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("assets/fonts/MPLUSRounded1c-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #493b59;
  --muted: #7f6d92;
  --violet: #80609a;
  --pink: #f58ab8;
  --peach: #ffd8a9;
  --sky: #9bddff;
  --mint: #dff8ed;
  --cream: #fff8ea;
  --white: #ffffff;
  --line: rgba(104, 83, 124, 0.14);
  --shadow: 0 22px 55px rgba(82, 62, 102, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 237, 246, 0.88) 0%, rgba(231, 248, 255, 0.88) 48%, rgba(231, 250, 240, 0.9) 100%),
    #f7f2ff;
  letter-spacing: 0;
}

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

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

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

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  color: var(--violet);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(119, 89, 139, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(128, 96, 154, 0.1);
  outline: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/images/opening-party.png");
  background-position: 62% 50%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(74, 48, 91, 0.78) 0%, rgba(74, 48, 91, 0.42) 38%, rgba(74, 48, 91, 0.05) 74%),
    linear-gradient(0deg, rgba(255, 250, 255, 0.92) 0%, rgba(255, 250, 255, 0.18) 34%, rgba(255, 250, 255, 0.05) 100%);
}

.hero-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 148px 28px 78px;
  color: var(--white);
  text-shadow: 0 4px 26px rgba(58, 35, 82, 0.38);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #f07aa8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe8a8;
}

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

h1 {
  margin: 0;
  font-size: 8.8rem;
  font-weight: 800;
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: 3.65rem;
  font-weight: 800;
  line-height: 1.18;
}

h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
}

.hero-lede {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.28;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(80, 54, 101, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(80, 54, 101, 0.24);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #f889bb, #ffb26b);
}

.button.secondary {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.82);
}

.button.large {
  min-width: min(100%, 340px);
  min-height: 68px;
  font-size: 1.12rem;
}

.intro-band,
.flow-section,
.game-section,
.characters-section,
.play-section {
  padding: 92px 28px;
}

.intro-band {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(232, 249, 255, 0.72) 48%, rgba(255, 244, 232, 0.7));
}

.intro-layout {
  display: grid;
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: start;
}

.intro-layout p:not(.section-kicker),
.game-copy p,
.play-inner p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 2;
}

.section-heading {
  width: min(100%, 940px);
  margin: 0 auto 42px;
  text-align: center;
}

.flow-steps {
  display: grid;
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-step,
.emo-card {
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.flow-step {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 30px;
}

.step-emoji {
  display: grid;
  width: 82px;
  height: 82px;
  border-radius: 28px;
  place-items: center;
  font-size: 2.7rem;
  box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.9), 0 14px 28px rgba(92, 72, 109, 0.14);
}

.step-emoji.sad {
  background: linear-gradient(145deg, #d9ecff, #f0f6ff);
}

.step-emoji.warm {
  background: linear-gradient(145deg, #fff2b2, #ffe1ee);
}

.step-emoji.happy {
  background: linear-gradient(145deg, #fff2a6, #dff8ed);
}

.flow-step p,
.emo-card p,
.feature-list {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.8;
}

.game-section {
  display: grid;
  width: min(100%, 1160px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.game-copy {
  display: grid;
  gap: 22px;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--sky));
  content: "";
  box-shadow: 0 0 0 5px rgba(248, 138, 184, 0.12);
}

.phone-gallery {
  position: relative;
  display: grid;
  min-height: 660px;
  place-items: center;
}

.phone-shot {
  position: absolute;
  width: min(48vw, 310px);
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 42px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(76, 59, 94, 0.22);
}

.phone-shot img {
  width: 100%;
  height: auto;
}

.phone-shot.front {
  z-index: 2;
  transform: translateX(-22%) rotate(-4deg);
}

.phone-shot.back {
  z-index: 1;
  transform: translate(36%, 28px) rotate(5deg);
}

.characters-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, rgba(255, 216, 169, 0.3), rgba(236, 250, 255, 0.5) 52%, rgba(255, 236, 247, 0.32));
}

.character-grid {
  display: grid;
  width: min(100%, 1120px);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.emo-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.emo-face {
  display: grid;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  place-items: center;
  font-size: 3.8rem;
  box-shadow:
    inset 10px 16px 24px rgba(255, 255, 255, 0.8),
    inset -12px -18px 28px rgba(90, 68, 112, 0.12),
    0 18px 34px rgba(75, 54, 94, 0.16);
}

.emo-card.blue .emo-face {
  background: radial-gradient(circle at 32% 24%, #f8fdff, #72c7ff 42%, #346bd4 100%);
}

.emo-card.red .emo-face {
  background: radial-gradient(circle at 32% 24%, #fff1d0, #ff9d36 45%, #e6472e 100%);
}

.emo-card.mint .emo-face {
  background: radial-gradient(circle at 32% 24%, #f8ffff, #94e2d3 45%, #43a9d8 100%);
}

.emo-card.yellow .emo-face {
  background: radial-gradient(circle at 32% 24%, #fffbe5, #ffd84a 44%, #ff9f31 100%);
}

.play-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 241, 248, 0.76)),
    url("assets/images/opening-party.png") center/cover;
}

.play-inner {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 74px 28px;
  text-align: center;
}

.play-inner h2 {
  margin-bottom: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 34px 28px;
  color: rgba(73, 59, 89, 0.72);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 680px);
  }

  .nav-links a {
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-bg {
    background-position: 56% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(74, 48, 91, 0.62) 0%, rgba(74, 48, 91, 0.22) 42%, rgba(255, 250, 255, 0.9) 100%),
      linear-gradient(90deg, rgba(74, 48, 91, 0.32), rgba(74, 48, 91, 0.08));
  }

  .hero-inner {
    color: var(--ink);
    padding: 118px 22px 58px;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.8);
  }

  .hero .eyebrow {
    color: var(--violet);
  }

  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-lede {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .intro-band,
  .flow-section,
  .game-section,
  .characters-section,
  .play-section {
    padding: 72px 20px;
  }

  .intro-layout,
  .game-section {
    grid-template-columns: 1fr;
  }

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

  .phone-gallery {
    min-height: 620px;
  }

  .phone-shot {
    width: min(58vw, 288px);
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 58px;
  }

  .brand {
    padding-right: 8px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px;
    font-size: 0.78rem;
  }

  .hero-bg {
    background-position: 57% 44%;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.8;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero-lede {
    font-size: 1.45rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .flow-steps,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .flow-step,
  .emo-card {
    min-height: 0;
  }

  .phone-gallery {
    min-height: 520px;
  }

  .phone-shot {
    width: min(72vw, 258px);
    border-width: 6px;
    border-radius: 34px;
  }

  .phone-shot.front {
    transform: translateX(-16%) rotate(-4deg);
  }

  .phone-shot.back {
    transform: translate(24%, 34px) rotate(5deg);
  }

  .play-inner {
    padding-inline: 0;
  }

  .site-footer {
    display: grid;
  }
}
