@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap");
:root {
  --ink: #29274c;
  --muted: #69677d;
  --cream: #fffdfa;
  --purple: #7065aa;
  --purple-deep: #554b8c;
  --peach: #ffe5d8;
  --mint: #dff3e9;
  --lavender: #e8e2fb;
  --line: #ece8f4;
  --max: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Nunito, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(41, 39, 76, 0.06);
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-inner {
  width: 100%;
  min-height: 78px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 16px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  width: 142px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--purple-deep);
}
.nav .nav-cta {
  display: inline-flex;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 8px 18px rgba(112, 101, 170, 0.18);
  transition: 0.2s;
}
.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--purple-deep);
  transform: translateY(-1px);
}
.hero {
  overflow: hidden;
  padding: 84px 0 95px;
  background:
    radial-gradient(
      circle at 85% 15%,
      #fff2dc 0,
      rgba(255, 242, 220, 0.55) 15%,
      transparent 36%
    ),
    radial-gradient(
      circle at 7% 76%,
      #e4f6ee 0,
      rgba(228, 246, 238, 0.62) 14%,
      transparent 32%
    );
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 58px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f09d82;
}
.hero h1,
.section-heading h2,
.download-card h2 {
  margin: 0;
  font-size: clamp(3.05rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.hero h1 em {
  color: var(--purple);
  font-style: normal;
}
.hero-text {
  max-width: 490px;
  margin: 24px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
}
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 53px;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 12px 24px rgba(112, 101, 170, 0.24);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  text-decoration: none;
  transition: 0.2s;
}
.play-button:hover,
.play-button:focus-visible {
  background: var(--purple-deep);
  transform: translateY(-2px);
}
.play-button span {
  font-size: 1.15rem;
}
.text-link {
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.text-link:hover,
.text-link:focus-visible {
  border-color: currentColor;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 38px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}
.avatar-stack {
  display: flex;
  padding-left: 8px;
}
.avatar-stack i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: -8px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--purple-deep);
  background: var(--lavender);
  font-size: 0.72rem;
  font-style: normal;
}
.avatar-stack i:nth-child(2) {
  background: var(--peach);
  color: #d7765f;
}
.avatar-stack i:nth-child(3) {
  background: var(--mint);
  color: #4f9276;
}
.hero-visual {
  position: relative;
}
.feature-wrap {
  position: relative;
  z-index: 1;
  padding: 13px;
  border: 1px solid rgba(112, 101, 170, 0.15);
  border-radius: 31px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 25px 55px rgba(61, 51, 106, 0.12);
  transform: rotate(1.5deg);
}
.feature-wrap img {
  width: 100%;
  border-radius: 21px;
}
.visual-decoration {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 900;
}
.decoration-one {
  top: -21px;
  right: 28px;
  width: 53px;
  height: 53px;
  color: #d17359;
  background: var(--peach);
  transform: rotate(-10deg);
}
.decoration-two {
  bottom: -16px;
  left: -19px;
  width: 42px;
  height: 42px;
  color: #529477;
  background: var(--mint);
  font-size: 0.7rem;
}
.games-section {
  padding: 99px 0 105px;
}
.section-heading {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.section-heading .eyebrow {
  justify-content: center;
}
.section-heading h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}
.section-heading > p:last-child {
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 47px;
}
.benefit-card {
  min-height: 238px;
  padding: 31px;
  border-radius: 28px;
}
.lavender {
  background: var(--lavender);
}
.peach {
  background: var(--peach);
}
.mint {
  background: var(--mint);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--purple-deep);
}
.peach .benefit-icon {
  color: #c8725c;
}
.mint .benefit-icon {
  color: #4c9275;
}
.benefit-card h3 {
  margin: 28px 0 7px;
  font-size: 1.27rem;
  letter-spacing: -0.025em;
}
.benefit-card p {
  margin: 0;
  color: #5e5c70;
  font-size: 0.94rem;
  line-height: 1.55;
}
.download-section {
  margin: 20px 0 30px 0;
}
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 51px 65px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background: var(--purple);
  background-image:
    radial-gradient(circle at 97% 0, rgba(255, 226, 210, 0.3), transparent 25%),
    radial-gradient(
      circle at 0 100%,
      rgba(215, 243, 231, 0.22),
      transparent 30%
    );
}
.download-card .eyebrow {
  color: #ded8fb;
}
.download-card .eyebrow span {
  background: #ffc9b5;
}
.download-card h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}
.light-button {
  flex-shrink: 0;
  color: var(--purple-deep);
  background: #fff;
  box-shadow: none;
}
.light-button:hover,
.light-button:focus-visible {
  color: var(--purple-deep);
  background: #fff8f4;
}
.site-footer {
  padding: 29px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}
.footer-brand img {
  width: 105px;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--purple-deep);
  text-decoration: underline;
}
.legal-page {
  min-height: calc(100vh - 190px);
  padding: 68px 0 78px;
}
.legal-card {
  max-width: 820px;
  margin: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(61, 51, 106, 0.07);
}
.legal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}
.legal-card .updated {
  margin: 0 0 36px;
  color: var(--muted);
}
.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.15rem;
}
.legal-card p,
.legal-card li {
  color: #5e5c70;
  line-height: 1.75;
}
.legal-card ul {
  padding-left: 22px;
}
@media (max-width: 800px) {
  .hero {
    padding: 58px 0 70px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 53px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow,
  .hero-note {
    justify-content: center;
  }
  .hero-text {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    width: min(100%, 610px);
    margin: auto;
  }
  .benefit-grid {
    gap: 13px;
  }
  .benefit-card {
    padding: 24px;
    min-height: 220px;
  }
  .download-card {
    padding: 45px;
  }
  .nav {
    gap: 16px;
  }
  .nav .nav-link {
    font-size: 0.84rem;
  }
}
@media (max-width: 600px) {
  .header-inner {
    min-height: 68px;
  }
  .brand img {
    width: 122px;
  }
  .nav {
    gap: 10px;
  }
  .nav .nav-link {
    display: none;
  }
  .nav .nav-cta {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
  .hero {
    padding-top: 47px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.65rem);
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-actions {
    gap: 18px;
  }
  .play-button {
    min-height: 50px;
    padding: 0 19px;
  }
  .feature-wrap {
    padding: 8px;
    border-radius: 22px;
  }
  .feature-wrap img {
    border-radius: 15px;
  }
  .decoration-one {
    width: 41px;
    height: 41px;
    top: -15px;
    right: 16px;
  }
  .decoration-two {
    left: -8px;
    width: 34px;
    height: 34px;
  }
  .games-section {
    padding: 70px 0;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    min-height: 0;
    padding: 26px;
  }
  .benefit-card h3 {
    margin-top: 20px;
  }
  .download-card {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 28px;
  }
  .download-card h2 {
    font-size: 2.35rem;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .footer-links {
    gap: 16px;
  }
  .legal-page {
    padding: 42px 0 55px;
  }
}

/* Landing page: banner and authentic game previews */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header-inner {
  min-height: 70px;
}
.brand img {
  width: 50px;
}

.store-banner {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(112, 101, 170, 0.13);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 25px 55px rgba(61, 51, 106, 0.12);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.store-banner:hover,
.store-banner:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 62px rgba(61, 51, 106, 0.18);
}
.store-banner img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}
.games-section {
  overflow: hidden;
  padding: 40px 0;
}
.game-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 53px;
  padding: 6px 24px 12px;
}
.game-screen {
  width: clamp(138px, 16vw, 208px);
  border: 6px solid #fff;
  border-radius: 29px;
  box-shadow: 0 18px 31px rgba(61, 51, 106, 0.16);
  transform-origin: bottom center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}
.screen-one {
  transform: rotate(-5deg) translateY(22px);
}
.screen-two {
  transform: rotate(-2.5deg) translateY(8px);
}
.screen-three {
  width: clamp(154px, 18vw, 235px);
  z-index: 1;
  transform: translateY(-13px);
}
.screen-four {
  transform: rotate(2.5deg) translateY(8px);
}
.screen-five {
  transform: rotate(5deg) translateY(22px);
}
.game-screen:hover {
  z-index: 3;
  transform: translateY(-19px) scale(1.035);
  box-shadow: 0 26px 38px rgba(61, 51, 106, 0.21);
}
.footer-brand img {
  width: 70px;
}

@media (max-width: 800px) {
  .game-showcase {
    gap: 10px;
    padding-inline: 6px;
  }
  .game-screen {
    border-width: 4px;
    border-radius: 21px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 62px;
  }
  .brand img {
    width: 40px;
  }
  .nav .nav-cta {
    padding: 8px 11px;
  }
  .store-banner {
    border-radius: 23px;
  }
  .section-heading {
    max-width: 390px;
  }
  .game-showcase {
    justify-content: flex-start;
    gap: 17px;
    width: calc(100% + 32px);
    margin-top: 38px;
    margin-left: -16px;
    padding: 7px 20px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .game-showcase::-webkit-scrollbar {
    display: none;
  }
  .game-screen,
  .screen-one,
  .screen-two,
  .screen-three,
  .screen-four,
  .screen-five {
    width: 202px;
    flex: 0 0 202px;
    border-width: 5px;
    border-radius: 25px;
    transform: none;
    scroll-snap-align: center;
  }
  .game-screen:first-child {
    margin-left: calc((100vw - 202px) / 2 - 20px);
  }
  .game-screen:last-child {
    margin-right: calc((100vw - 202px) / 2 - 20px);
  }
  .game-screen:hover {
    transform: none;
  }
  .footer-brand img {
    width: 58px;
  }
}

/* Final layout refinements */

.banner-section .container {
  width: 100%;
  margin-top: 30px;
}
.store-banner {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 200ms ease;
}
.store-banner:hover,
.store-banner:focus-visible {
  opacity: 0.94;
  transform: none;
  box-shadow: none;
}
.game-screen {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.game-screen:hover {
  box-shadow: none;
}
.footer-inner {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.footer-links {
  justify-content: center;
}

@media (max-width: 600px) {
  .banner-section .container {
    width: 100%;
    margin-top: 16px;
  }
  .game-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: normal;
    gap: 21px 14px;
    width: 100%;
    margin-top: 38px;
    margin-left: 0;
    padding: 0;
    overflow: visible;
  }
  .game-screen,
  .screen-one,
  .screen-two,
  .screen-three,
  .screen-four,
  .screen-five {
    width: 100%;
    flex: none;
    border: 0;
    border-radius: 0;
    transform: none;
  }
  .game-screen:first-child {
    margin-left: 0;
  }
  .game-screen:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
    margin-right: 0;
  }
  .game-screen:hover {
    transform: none;
  }
}
