/* Vault Balls Frenzy — product site styles
   Rebuilt from www.vaultbounceballdrop.top (React SPA) as a static site;
   tokens extracted from the live bundle CSS + design reference. */

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

:root {
  --page-deep: #3d0046;
  --header-bg: #030f24b3;
  --ink-light: #ffffffc7;
  --accent-yellow: #fff200;
  --gold: #fed400;
  --card-pink: #e45794;
  --card-blue: #6251df;
  --card-magenta: #c63fb2;
  --card-purple: #6533aa;
  --form-purple: #652d89f5;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "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(--page-deep) url("../assets/page-bg.webp") top center / 100% auto no-repeat;
  overflow-x: hidden;
}

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

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

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

a { color: inherit; }

.header-inner,
.section-inner,
.hero-stage,
.footer-inner {
  width: min(calc(100% - 64px), 1280px);
  margin: 0 auto;
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 96px;
  background: var(--header-bg);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

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

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

.nav-link {
  display: block;
  padding: 10px 16px;
  border-radius: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

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

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

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

/* ---------- hero ---------- */

.hero { padding: 48px 0 140px; }

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 328px) minmax(0, 1fr) minmax(0, 230px);
  grid-template-rows: auto auto;
  column-gap: 48px;
  align-items: center;
}

.hero-board {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: end;
  justify-self: center;
  width: min(100%, 328px);
  margin-bottom: 44px;
}

.hero-copy {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.hero-copy h1 {
  margin: 0;
  color: #6ff7ff;
  font-size: 74px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 0 #153464,
    2px -2px 0 #153464,
    -2px 2px 0 #153464,
    2px 2px 0 #153464,
    0 5px 10px rgba(8, 16, 48, 0.42);
}

.hero-copy p {
  margin-top: 28px;
  max-width: 420px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.34;
}

.hero-person {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: end;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 18px rgba(25, 2, 52, 0.28));
}

/* ---------- section heading ---------- */

.section-heading { text-align: center; }

.section-heading h2,
.contact-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 4px 0 rgba(42, 7, 62, 0.72);
}

.section-heading p {
  max-width: 850px;
  margin: 20px auto 0;
  color: var(--ink-light);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

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

.features { padding: 96px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1020px;
  margin: 64px auto 0;
}

.feature-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  min-height: 250px;
  padding: 32px 36px;
  border-radius: 28px;
  color: #fff;
  transition: transform 0.22s ease;
}

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

.card-pink { background: var(--card-pink); }
.card-blue { background: var(--card-blue); }
.card-magenta { background: var(--card-magenta); }
.card-purple { background: var(--card-purple); }

.feature-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.feature-card h3 { font-size: 28px; font-weight: 900; line-height: 1.15; }

.feature-card p {
  grid-column: 1 / -1;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

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

.download { padding: 96px 0 120px; }

.download-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
  margin-top: 72px;
  padding: 28px 48px 28px 0;
}

.download-banner { width: 100%; }

.download-details {
  display: grid;
  grid-template-rows: auto 150px;
  row-gap: 24px;
  align-self: end;
  justify-items: center;
  margin-bottom: -28px;
  text-align: center;
  color: #fff;
}

.gp-badge {
  display: block;
  width: min(400px, 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
}

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

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

.download-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 150px;
  border-radius: 24px;
  background: #2e0840;
}

.availability {
  color: #ffffffb8;
  font-size: 22px;
  font-weight: 800;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  color: #ffffffc2;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.contact-email img { width: 28px; }

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

.contact { padding: 96px 0; }

.contact-title {
  text-align: center;
  color: #fff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
  width: 100%;
  margin: 64px auto 0;
  padding: 56px 64px;
  border-radius: 40px;
  background: var(--form-purple);
  box-shadow: inset 0 1px #ffffff1a;
}

.form-field span {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 12px;
  outline: 0;
  padding: 16px 20px;
  background: #ffffff30;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.form-field input { height: 62px; }

.form-field textarea { min-height: 150px; resize: vertical; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.6); }

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

.message-field { grid-column: 1 / -1; }

.consent-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #ffffffa8;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.consent-field input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.consent-field a { color: #fff200; font-weight: 700; }

.form-error {
  grid-column: 1 / -1;
  color: #ffd7d7;
  font-size: 15px;
  font-weight: 600;
}

.submit-button {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 44px;
  border: 0;
  border-radius: 24px;
  background: var(--gold);
  color: #1a1030;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(254, 212, 0, 0.35);
}

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

.site-footer { padding: 0 0 24px; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 136px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffffd1;
  font-size: 15px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 40px;
  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(1280px, 100%);
  margin: 24px auto 0;
  padding: 48px 64px 56px;
  border-radius: 40px;
  background: var(--form-purple);
  color: #fff;
  text-align: left;
}

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

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

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

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

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

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

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

/* ---------- 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; }
  .feature-card, .gp-badge, .submit-button { transition: none; }
}

/* ---------- tablet ≤1295px: tighten container + scale hero ---------- */

@media (max-width: 1295px) {
  .header-inner,
  .section-inner,
  .hero-stage,
  .footer-inner { width: calc(100% - 40px); }

  .hero-copy h1 { font-size: min(74px, 5.8vw); }

  .hero-copy p { font-size: min(19px, 1.6vw); }

  .hero-board { width: min(100%, 26vw); }

  .hero-person { max-width: 18vw; }

  .features h2, .contact-title { font-size: min(54px, 4.2vw); }

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

  .feature-card { min-height: 0; padding: min(32px, 2.6vw) min(36px, 2.8vw); }

  .feature-card h3 { font-size: min(28px, 2.2vw); }

  .feature-card p { font-size: min(17px, 1.4vw); }

  .download-content { gap: 40px; }

  .download-banner { width: min(100%, 46vw); }

  .download-text { min-width: 0; }

  .brand-name { white-space: nowrap; }
}

/* ---------- ≤900px: hamburger + stacked layout ---------- */

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

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-radius: 24px;
    background: var(--header-bg);
    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: 12px 16px;
    border-radius: 16px;
    font-size: 17px;
  }

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

  .hero { padding: 24px 0 90px; }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    row-gap: 28px;
  }

  .hero-board,
  .hero-copy,
  .hero-person { grid-column: 1; grid-row: auto; }

  .hero-board { width: min(60%, 328px); margin-bottom: 0; }

  .hero-person { max-width: 40%; }

  .hero-copy { order: -1; }

  .hero-copy h1 { font-size: clamp(38px, 9vw, 64px); }

  .hero-copy p { margin: 18px auto 0; font-size: 17px; }

  .features, .download, .contact { padding: 72px 0 72px; }

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

  .section-sub { margin-top: 16px; font-size: 16px; padding: 0 6px; }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 36px;
  }

  .feature-card { padding: 24px; }

  .feature-card h3 { font-size: 22px; }

  .feature-card p { font-size: 15px; }

  .download { padding-bottom: 72px; }

  .download-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 0;
  }

  .download-banner { width: min(100%, 560px); margin: 0 auto; }

  .download-details { margin-bottom: 0; }

  .gp-badge { width: min(400px, 88%); }

  .download-meta { height: auto; padding: 20px; }

  .availability { font-size: 18px; }

  .contact-email { font-size: 15px; }

  .contact-email img { width: 22px; }

  .contact-form { margin-top: 36px; padding: 28px 22px 32px; }

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

  .contact-form { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .form-field span { margin-bottom: 10px; font-size: 15px; }

  .form-field input { height: 52px; padding: 0 16px; font-size: 15px; }

  .form-field textarea { min-height: 120px; padding: 14px 16px; font-size: 15px; }

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

  .submit-button { padding: 13px 36px; font-size: 15px; }

  .site-footer { padding-bottom: 20px; }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; gap: 10px 28px; justify-content: center; }

  .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: 15px; }
}
