/* Kitty's Gold Catch — product site styles
   Design canvas: 1920×4713, colors sampled from 029_gp_cut.psd */

@font-face {
  font-family: "Baloo 2";
  src: url("../assets/fonts/Baloo2.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy-pill: rgba(61, 27, 86, 0.72);
  --ink: #2b3a71;
  --form-navy: #2b3a71;
  --yellow: #fee644;
  --yellow-active: #ffec1c;
  --consent-yellow: #ffc000;
  --consent-text: #c9d2e4;
  --cyan: #54c8f0;
  --green: #42d31d;
  --pink: #ea52cf;
  --red: #f04a3a;
  --deep: #16319e;
  --font: "Baloo 2", "Arial Rounded MT Bold", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: #fff;
  background: var(--deep);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

section { scroll-margin-top: 140px; }

h1, h2, h3 { font-weight: 800; line-height: 1.1; }

a { color: inherit; }

.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 / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 21px 30px 0;
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 106px;
  padding: 0 44px 0 38px;
  border-radius: 53px;
  background: var(--navy-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.brand-icon { width: 82px; height: 82px; border-radius: 18px; }

.brand-name {
  color: #fff;
  font-size: 27px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 46px;
  list-style: none;
}

.nav-link {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--yellow-active); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
}

/* ---------- hero (art baked in hero-bg.jpg; sr-only h1) ---------- */

.hero {
  height: 1140px;
  margin-top: -127px;
  background: #b58cc6 url("../assets/hero-bg.jpg") top center / cover no-repeat;
}

/* ---------- shared lower page background ---------- */

.page-lower {
  background: var(--deep) url("../assets/page-bg.jpg") top center / cover no-repeat;
}

.hero-desc {
  margin: 0 auto;
  max-width: 1560px;
  padding: 0 40px;
  text-align: center;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 12px rgba(9, 20, 80, 0.45);
}

/* ---------- features ---------- */

.features {
  padding: 160px 40px 0;
  text-align: center;
}

.features h2 { font-size: 92px; }

.section-sub {
  margin: 34px auto 0;
  max-width: 1460px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, min(591px, 43vw));
  gap: 48px 46px;
  justify-content: center;
  margin-top: 42px;
}

.card {
  aspect-ratio: 591 / 337;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: left;
  transition: transform 0.25s;
}

.card:hover { transform: translateY(-6px); }

.card-1 { background-image: url("../assets/card-1.png"); }
.card-2 { background-image: url("../assets/card-2.png"); }
.card-3 { background-image: url("../assets/card-3.png"); }
.card-4 { background-image: url("../assets/card-4.png"); }

.card h3 {
  padding: 28px 0 0 36px;
  font-size: 56px;
  line-height: 1.08;
}

.t-cyan { color: var(--cyan); }
.t-green { color: var(--green); }
.t-pink { color: var(--pink); }
.t-red { color: var(--red); }

.card p {
  margin: 10px 46px 0 36px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 6px rgba(9, 20, 80, 0.35);
}

/* ---------- download ---------- */

.download { padding: 195px 40px 0; }

.download-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 73px;
  max-width: 1663px;
  margin: 0 auto;
}

.dl-art {
  flex: none;
  width: 650px;
}

.gameplay { display: block; width: 650px; }

.download-text {
  min-width: 0;
  width: 640px;
  padding-top: 135px;
  text-align: center;
}

.download-text h2 { font-size: 97px; }

.dl-desc {
  margin: 50px auto 0;
  max-width: 545px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
}

.gp-badge {
  display: block;
  width: 623px;
  max-width: 100%;
  margin: 56px auto 0;
  border-radius: 36px;
  overflow: hidden;
  transition: transform 0.2s;
}

.gp-badge:hover { transform: scale(1.03); }

.gp-badge img { display: block; width: 100%; }

.dl-available {
  margin-top: 42px;
  font-size: 34px;
  font-weight: 700;
}

.dl-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--consent-text);
}

.dl-contact img { width: 44px; }

/* ---------- contact ---------- */

.contact {
  padding: 210px 40px 0;
  text-align: center;
}

.contact h2 { font-size: 92px; }

.contact-card {
  width: min(1403px, 100%);
  margin: 75px auto 0;
  padding: 55px 69px 53px;
  border-radius: 40px;
  background: var(--form-navy);
  text-align: left;
}

.field-row {
  display: flex;
  gap: 45px;
}

.field { flex: 1; min-width: 0; }

.field label {
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #80c8ef;
  color: var(--ink);
  font-family: var(--font);
  font-size: 30px;
  font-weight: 600;
}

.field input { height: 87px; padding: 0 30px; }

.field textarea { height: 281px; padding: 24px 30px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.75); }

.field input:focus,
.field textarea:focus { border-color: #fff; outline: none; }

.field-row + .field { margin-top: 26px; }

.consent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  cursor: pointer;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent-dot {
  position: relative;
  flex: none;
  width: 29px;
  height: 29px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: var(--consent-yellow);
}

.consent input:checked + .consent-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

.consent input:focus-visible + .consent-dot {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.consent-text {
  color: var(--consent-text);
  font-size: 22px;
  font-weight: 600;
}

.consent-text a {
  color: #fff000;
  font-weight: 700;
  text-decoration: underline;
}

.form-error {
  margin-top: 18px;
  color: #ffd7d7;
  font-size: 20px;
  font-weight: 600;
}

.submit-row {
  margin-top: 24px;
  text-align: center;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 405px;
  height: 103px;
  border: 0;
  border-radius: 52px;
  background: linear-gradient(90deg, #ffe500, #ffc000);
  color: #000;
  font-family: var(--font);
  font-size: 38px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 200, 0, 0.4);
}

.btn-arrow { width: 35px; }

/* ---------- footer ---------- */

.site-footer { padding: 126px 40px 0; }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1403px;
  margin: 0 auto;
  padding: 30px 4px 62px;
  border-top: 3px solid rgba(255, 255, 255, 0.55);
  font-size: 25px;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 70px;
  list-style: none;
}

.footer-links a { text-decoration: none; }

.footer-links a:hover { text-decoration: underline; }

/* ---------- privacy page ---------- */

.privacy {
  padding: 60px 40px 90px;
}

.privacy-card {
  width: min(1403px, 100%);
  margin: 40px auto 0;
  padding: 48px 69px 56px;
  border-radius: 40px;
  background: var(--form-navy);
  color: #fff;
  text-align: left;
}

.privacy-card h1 { font-size: 46px; }

.privacy-card h2 {
  margin-top: 36px;
  color: var(--yellow-active);
  font-size: 28px;
}

.privacy-card h3 {
  margin-top: 22px;
  font-size: 22px;
}

.privacy-card p {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  color: #e8eef8;
}

.privacy-card ul {
  margin: 14px 0 0 24px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  color: #e8eef8;
}

.privacy-email { margin-top: 20px; }

.privacy-email a { color: var(--yellow-active); }

/* ---------- reveal animation (visible by default: works without JS) ---------- */

.reveal.in { animation: reveal-in 0.6s ease both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.in { animation: none; }
  .card, .gp-badge, .btn-send { transition: none; }
}

/* ---------- tablet ≤1295px: scale hero/cards/download typography ---------- */

@media (max-width: 1295px) {
  .hero { height: clamp(420px, 59.4vw, 1140px); }

  .hero-desc { font-size: min(40px, 3.1vw); }

  .features h2, .contact h2 { font-size: min(92px, 7vw); }

  .section-sub { font-size: min(32px, 2.5vw); }

  .cards {
    grid-template-columns: repeat(2, min(591px, 43vw));
    gap: min(48px, 3.7vw) min(46px, 3.6vw);
  }

  .card h3 { padding: min(28px, 2.2vw) 0 0 min(36px, 2.8vw); font-size: min(56px, 4.4vw); }

  .card p { margin: min(10px, 0.8vw) min(46px, 3.6vw) 0 min(36px, 2.8vw); font-size: min(30px, 2.4vw); }

  .download { padding-top: min(195px, 15vw); }

  .download-inner { gap: 40px; }

  .dl-art { width: min(650px, 46vw); }

  .gameplay { width: 100%; }

  .download-text { flex: 1; width: auto; padding-top: min(135px, 10vw); }

  .download-text h2 { font-size: min(97px, 7.2vw); }

  .dl-desc { margin-top: min(50px, 3.8vw); font-size: min(30px, 2.4vw); }

  .gp-badge { width: min(623px, 100%); }

  .dl-available { margin-top: min(42px, 3.2vw); font-size: min(34px, 2.7vw); }

  .dl-contact { font-size: min(28px, 2.2vw); }

  .contact { padding-top: min(210px, 16vw); }

  .contact-card { padding: min(55px, 4.2vw) min(69px, 5.2vw) min(53px, 4vw); }

  .field label { font-size: min(28px, 2.2vw); }

  .field input { height: min(87px, 6.8vw); font-size: min(30px, 2.3vw); }

  .field textarea { height: min(281px, 22vw); font-size: min(30px, 2.3vw); }

  .btn-send { width: min(405px, 100%); height: min(103px, 8vw); font-size: min(38px, 3vw); }

  .brand-name { white-space: nowrap; font-size: min(27px, 1.8vw); }

  .footer-bar { flex-wrap: wrap; justify-content: center; }

  .footer-links { flex-wrap: wrap; gap: 8px 40px; justify-content: center; }

  .footer-links a { white-space: nowrap; }
}

/* ---------- ≤1000px: hamburger + stacked download ---------- */

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border-radius: 32px;
    background: var(--navy-pill);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

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

  .nav-menu li { width: 100%; }

  .nav-link {
    display: block;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 22px;
  }

  .nav-link:hover, .nav-link.active { background: rgba(255, 255, 255, 0.08); }

  .download-inner {
    flex-direction: column;
    align-items: center;
  }

  .dl-art { width: min(650px, 92vw); }

  .download-text { width: 100%; max-width: 660px; padding-top: 44px; }
}

/* ---------- ≤768px: mobile ---------- */

@media (max-width: 768px) {
  section { scroll-margin-top: 120px; }

  .site-header { padding: 14px 14px 0; }

  .nav-pill { height: 84px; padding: 0 18px 0 14px; border-radius: 42px; }

  .brand { gap: 12px; }

  .brand-icon { width: 54px; height: 54px; border-radius: 12px; }

  .brand-name { font-size: 18px; white-space: normal; }

  .nav-link { font-size: 20px; }

  .hero { height: 59.4vw; margin-top: -98px; }

  .hero-desc { padding: 0 18px; font-size: 19px; }

  .features { padding: 70px 18px 0; }

  .features h2, .contact h2 { font-size: 40px; }

  .section-sub { margin-top: 18px; font-size: 18px; }

  .cards {
    grid-template-columns: min(591px, 100%);
    gap: 20px;
    margin-top: 30px;
  }

  .card h3 { padding: 16px 0 0 20px; font-size: 30px; }

  .card p { margin: 8px 24px 18px 20px; font-size: 17px; }

  .download { padding-top: 70px; }

  .dl-art { width: min(650px, 92vw); }

  .download-text { padding-top: 36px; }

  .download-text h2 { font-size: 44px; }

  .dl-desc { margin-top: 20px; font-size: 19px; }

  .dl-available { margin-top: 24px; font-size: 19px; }

  .dl-contact { font-size: 17px; }

  .dl-contact img { width: 26px; }

  .contact { padding: 80px 14px 0; }

  .contact-card { margin-top: 32px; padding: 28px 22px 36px; border-radius: 28px; }

  .field-row { flex-direction: column; gap: 0; }

  .field-row + .field { margin-top: 24px; }

  .field label { margin-bottom: 12px; font-size: 20px; }

  .field input { height: 64px; padding: 0 20px; font-size: 19px; }

  .field textarea { height: 190px; padding: 16px 20px; font-size: 19px; }

  .consent { align-items: flex-start; margin-top: 20px; gap: 12px; }

  .consent-dot { width: 24px; height: 24px; margin-top: 2px; }

  .consent-text { font-size: 15px; }

  .btn-send { width: min(405px, 100%); height: 80px; font-size: 27px; }

  .btn-arrow { width: 26px; }

  .download-text h2 { white-space: normal; }

  .site-footer { padding-top: 60px; }

  .footer-bar {
    flex-direction: column;
    gap: 14px;
    padding: 24px 0 36px;
    font-size: 17px;
    text-align: center;
  }

  .footer-links { gap: 28px; font-size: 17px; }

  .privacy { padding: 30px 16px 60px; }

  .privacy-card { padding: 28px 22px 36px; border-radius: 28px; }

  .privacy-card h1 { font-size: 32px; }

  .privacy-card h2 { font-size: 22px; }

  .privacy-card p, .privacy-card ul { font-size: 16px; }
}
