/* Fairytale Match landing — mystical night brand */

:root {
  --pink: #f2476b;
  --pink-soft: #ff6b8a;
  --violet: #381f47;
  --navy: #1a294d;
  --bg: #120f1c;
  --bg-elevated: #1a1528;
  --bg-tint: #16122a;
  --ink: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --radius: 1.25rem;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--pink-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(720px, 92vw);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(18, 15, 28, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(242, 71, 107, 0.35);
}

.logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-radius: 980px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 980px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  transform: scale(1.02);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), #ff8a4c);
  color: #fff;
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.store-badge:hover {
  transform: scale(1.03);
  opacity: 0.92;
  text-decoration: none;
}

.store-badge img {
  width: 200px;
  max-width: min(200px, 70vw);
  height: auto;
}

.hero {
  position: relative;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 70% 25%, rgba(242, 71, 107, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 20% 70%, rgba(56, 31, 71, 0.55), transparent 50%),
    linear-gradient(165deg, #1a1528 0%, #12182e 55%, #0e0c16 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-lead {
  margin: 1.2rem 0 0;
  max-width: 30rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.75rem;
}

.hero-note {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.45);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.poster {
  margin: 0;
  width: min(320px, 78vw);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-soft);
}

.section-title {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.shots figure {
  margin: 0;
}

.shots img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: #0a0812;
}

.shots figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.features article {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.features h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.features p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.worlds {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.worlds article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.worlds span {
  font-family: var(--display);
  font-weight: 700;
  color: var(--pink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.worlds h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}

.worlds p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.faq {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.cta {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(242, 71, 107, 0.22), transparent 55%),
    #0a0812;
  padding: clamp(4rem, 8vw, 5.5rem) 0;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: var(--muted);
}

.cta .store-badge {
  margin-top: 1.75rem;
}

.site-footer {
  background: #0a0812;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--display);
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

.footer-brand a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .shots,
  .features {
    grid-template-columns: 1fr;
  }

  .shots {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(18, 15, 28, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 0.55rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .store-badge:hover {
    transform: none;
  }
}
