/* Sweet Pop Match — marketing landing */
:root {
  --pink: #ff6b9d;
  --pink-dark: #e84a7f;
  --candy: #ffb3c6;
  --cream: #fff8f0;
  --lilac: #c9b6ff;
  --sky: #a8e6ff;
  --mint: #98f0c0;
  --lemon: #ffe566;
  --ink: #3a2a45;
  --muted: #6b5a72;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(255, 107, 157, 0.28);
  --radius: 24px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, #ffe0ec 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, #d9f0ff 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, #e8fff0 0%, transparent 45%),
    var(--cream);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--pink-dark); text-underline-offset: 3px; }
a:hover { color: var(--pink); }

.wrap {
  width: min(960px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.nav-play {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(232, 74, 127, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 74, 127, 0.45);
  color: var(--white) !important;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
    padding-top: 1.25rem;
  }
  .hero-copy { order: 1; }
  .hero-card { order: 2; justify-self: center; }
  .features { grid-template-columns: 1fr !important; }
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--lilac), var(--sky));
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 32ch;
}

@media (max-width: 760px) {
  .tagline { margin-inline: auto; }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 760px) {
  .cta-row { justify-content: center; }
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, #ff7aad 0%, #e84a7f 100%);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 0.95rem 1.85rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 3px solid #fff;
}
.btn-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 44px rgba(255, 107, 157, 0.4);
  color: var(--white) !important;
}
.btn-play .sparkle { font-size: 1.25rem; }

.hint {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Clickable hero image card */
.hero-card {
  display: block;
  text-decoration: none;
  position: relative;
  width: min(300px, 78vw);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 8px rgba(255, 107, 157, 0.35),
    0 24px 50px rgba(58, 42, 69, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(160deg, var(--candy), var(--lilac));
}
.hero-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 8px rgba(255, 107, 157, 0.5),
    0 30px 60px rgba(58, 42, 69, 0.28);
}
.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(to top, rgba(58, 42, 69, 0.55) 0%, transparent 45%);
  pointer-events: none;
}
.play-pill {
  background: rgba(255, 255, 255, 0.95);
  color: var(--pink-dark);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 2.5rem;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(58, 42, 69, 0.06);
  border: 1px solid rgba(255, 179, 198, 0.45);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
}
.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 179, 198, 0.5);
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { color: var(--pink-dark); }

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}
.legal h1 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}
.legal .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.legal h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
.legal p, .legal li {
  color: var(--ink);
  font-size: 0.98rem;
}
.legal ul { padding-left: 1.25rem; }
.back {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
  text-decoration: none;
}
