@font-face {
  font-family: "Bounce Dash";
  src: url("assets/BounceDash.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --purple: #8f00ff;
  --purple-deep: #6500c7;
  --purple-soft: #b44cff;
  --ink: #19082b;
  --white: #fff;
  --mint: #6fe89b;
  --glass: rgba(220, 174, 255, 0.23);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 24px 80px rgba(42, 0, 76, 0.28);
  --radius-lg: 32px;
  --radius-md: 22px;
  --content: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--purple);
  color: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 76% 2%, rgba(255, 255, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 0 76%, rgba(109, 0, 196, 0.8), transparent 35rem),
    linear-gradient(150deg, #9b12ff 0%, #8500ed 52%, #6800c9 100%);
}

a { color: inherit; }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(111, 0, 203, 0.72);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 36px), var(--content));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Bounce Dash", "Avenir Next", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 0 rgba(42, 0, 76, 0.22);
}

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

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  outline: none;
}

main { isolation: isolate; }

.hero {
  position: relative;
  width: min(calc(100% - 36px), var(--content));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  padding: 72px 0 86px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(111, 232, 155, 0.18);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Bounce Dash", "Avenir Next", sans-serif;
  font-size: clamp(4.3rem, 10vw, 8.8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-shadow:
    -3px -3px 0 var(--ink), 3px -3px 0 var(--ink),
    -3px 3px 0 var(--ink), 3px 3px 0 var(--ink),
    6px 8px 0 rgba(25, 8, 43, 0.32);
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border: 2px solid var(--white);
  border-radius: 17px;
  background: var(--ink);
  box-shadow: 0 8px 0 rgba(25, 8, 43, 0.22);
  color: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 rgba(25, 8, 43, 0.22);
  outline: none;
}

.store-badge svg { width: 29px; height: 29px; flex: 0 0 auto; }
.store-badge small { display: block; font-size: 0.65rem; line-height: 1.1; }
.store-badge strong { display: block; font-size: 1.04rem; line-height: 1.2; }

.hero-visual { position: relative; min-height: 510px; }

.phone {
  position: absolute;
  top: 3%;
  left: 50%;
  width: min(78%, 345px);
  aspect-ratio: 0.53;
  transform: translateX(-50%) rotate(3deg);
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 48px;
  background: #21063b;
  box-shadow: 0 38px 90px rgba(35, 0, 63, 0.48), 12px 16px 0 rgba(255, 255, 255, 0.12);
}

.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  width: 32%;
  height: 24px;
  border-radius: 999px;
  background: #21063b;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: linear-gradient(160deg, #a01cff, #7c00e9 62%, #5c00bc);
}

.phone-screen::before,
.phone-screen::after,
.page-decor {
  content: "";
  position: absolute;
  border: 13px solid #fff;
  border-bottom-width: 38px;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  opacity: 0.18;
  filter: blur(1px);
}

.phone-screen::before {
  top: 70px;
  right: -55px;
  width: 170px;
  height: 185px;
  background-image: url("assets/polaroid-2.jpeg");
  transform: rotate(16deg);
}

.phone-screen::after {
  bottom: 90px;
  left: -48px;
  width: 180px;
  height: 195px;
  background-image: url("assets/polaroid-3.jpeg");
  transform: rotate(-13deg);
}

.screen-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 22px 28px;
  text-align: center;
}

.screen-title {
  margin: 0 0 26px;
  font-family: "Bounce Dash", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.3rem);
  line-height: 0.9;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink);
}

.game-card {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 25px;
  background: rgba(220, 174, 255, 0.28);
  box-shadow: 0 12px 24px rgba(42, 0, 76, 0.2);
  backdrop-filter: blur(12px);
}

.game-image {
  width: 100%;
  aspect-ratio: 1.2;
  border-radius: 18px;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.06);
}

.guess-pills { display: flex; justify-content: center; gap: 7px; margin: 14px 0 5px; }
.guess-pills span { width: 24px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.4); }
.guess-pills span:first-child { background: var(--mint); }

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  font-weight: 800;
}

.float-card img { width: 50px; height: 50px; object-fit: contain; }
.float-one { left: -3%; bottom: 16%; transform: rotate(-6deg); }
.float-two { right: -4%; top: 15%; transform: rotate(7deg); }

.section {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { margin-bottom: 30px; }

.section h2,
.support-hero h1 {
  margin-bottom: 14px;
  font-family: "Bounce Dash", "Avenir Next", sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink);
}

.section-heading p { margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 1.12rem; }

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

.step-card,
.glass-card {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.step-card {
  position: relative;
  min-height: 340px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.step-card:nth-child(2) { transform: translateY(28px); }

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: "Bounce Dash", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(255,255,255,.25);
}

.step-icon {
  width: 118px;
  height: 118px;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(26, 0, 48, .25));
}

.step-card h3 { margin-bottom: 8px; font-size: 1.45rem; }
.step-card p { margin-bottom: 0; color: rgba(255,255,255,.76); }

.clue-preview {
  width: 124px;
  margin-bottom: 21px;
  padding: 7px 7px 9px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 21px;
  background: rgba(220, 174, 255, 0.28);
  box-shadow: 0 10px 22px rgba(42, 0, 76, 0.24);
}

.clue-image-crop {
  width: 100%;
  height: 94px;
  overflow: hidden;
  border-radius: 14px;
}

.clue-image-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(3.4);
}

.clue-bars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}

.clue-bars span {
  width: 15px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.38);
}

.clue-bars span:first-child { background: var(--mint); }

.step-card-reversed .step-number { left: 24px; right: auto; }

.step-card-reversed .step-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.typing-field {
  width: min(100%, 238px);
  min-height: 112px;
  margin: 18px 0 24px;
  padding: 15px 17px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 20px;
  background: rgba(25, 8, 43, .76);
  box-shadow: 0 10px 0 rgba(25, 8, 43, .22);
  text-align: left;
}

.typing-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.typing-line {
  min-height: 34px;
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.typing-cursor {
  width: 3px;
  height: 1.45em;
  margin-left: 3px;
  border-radius: 3px;
  background: var(--mint);
  animation: cursor-blink 850ms steps(1) infinite;
}

@keyframes cursor-blink { 50% { opacity: 0; } }

.callout {
  position: relative;
  margin-top: 64px;
  padding: clamp(34px, 6vw, 68px);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 12px 14px 0 rgba(31, 2, 54, 0.22);
}

.callout::after {
  content: "?";
  position: absolute;
  right: 4%;
  bottom: -44px;
  font-family: "Bounce Dash", sans-serif;
  font-size: 15rem;
  line-height: 1;
  color: rgba(143, 0, 255, 0.08);
}

.callout h2 { color: var(--purple); text-shadow: none; }
.callout p { max-width: 680px; font-size: 1.1rem; }

.button {
  position: relative;
  z-index: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: var(--purple);
  box-shadow: 0 6px 0 var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); outline: none; }

.site-footer {
  width: min(calc(100% - 36px), var(--content));
  margin: 0 auto;
  padding: 38px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.68);
  font-size: .9rem;
}

.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--white); }

.support-hero {
  width: min(calc(100% - 36px), 850px);
  margin: 0 auto;
  padding: 100px 0 44px;
  text-align: center;
}

.support-hero h1 { margin-bottom: 20px; }
.support-hero p { max-width: 650px; margin-inline: auto; color: rgba(255,255,255,.8); font-size: 1.16rem; }

.support-layout {
  width: min(calc(100% - 36px), 920px);
  margin: 0 auto;
  padding: 20px 0 100px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: start;
}

.contact-card,
.faq-card { padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); }
.contact-card { position: sticky; top: 102px; }
.contact-card h2, .faq-card h2 { font-family: "Bounce Dash", sans-serif; font-size: 2rem; line-height: 1; }
.contact-card p { color: rgba(255,255,255,.75); }
.contact-card .button { width: 100%; margin-top: 8px; background: var(--white); color: var(--purple-deep); }
.contact-note { margin: 16px 0 0 !important; font-size: .85rem; }

.faq-list { display: grid; gap: 12px; }

details {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

summary {
  position: relative;
  padding: 18px 50px 18px 18px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 12px; right: 18px; font-size: 1.6rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 18px 18px; color: rgba(255,255,255,.76); }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .store-row { justify-content: center; }
  .hero-visual { min-height: 570px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 250px; }
  .step-card:nth-child(2) { transform: none; }
  .support-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 66px; }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 37px; height: 37px; }
  .nav-links a { padding: 8px 10px; font-size: .9rem; }
  .hero { min-height: auto; padding: 58px 0 46px; }
  h1 { font-size: clamp(4rem, 23vw, 6rem); }
  .hero-visual { min-height: 510px; }
  .phone { width: min(78%, 300px); }
  .float-card { font-size: .82rem; padding: 9px 11px; }
  .float-card img { width: 38px; height: 38px; }
  .float-one { left: 0; }
  .float-two { right: 0; }
  .section { padding: 62px 0; }
  .support-hero { padding-top: 70px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
