/* ============================================
   GoalQuest 2026 — Football mobile games portal
   Design: turf greens, chalk lines, jersey accent
   ============================================ */

:root {
  --pitch-deep: #0b3d2a;
  --pitch: #14532d;
  --pitch-bright: #16a34a;
  --pitch-light: #d9f4e3;
  --chalk: #f8fafc;
  --chalk-soft: #ecfdf5;
  --jersey: #f97316;        /* away kit accent */
  --jersey-soft: #ffedd5;
  --ink: #0b1f12;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: rgba(11, 31, 18, 0.12);
  --shadow-sm: 0 1px 2px rgba(11, 31, 18, 0.04), 0 1px 3px rgba(11, 31, 18, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 18, 0.08), 0 2px 6px rgba(11, 31, 18, 0.06);
  --shadow-lg: 0 18px 40px rgba(11, 31, 18, 0.14), 0 6px 14px rgba(11, 31, 18, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: radial-gradient(1200px 600px at 0% -10%, #e8f8ee 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 10%, #fef3e8 0%, transparent 55%),
              linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
  background-attachment: fixed;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-soft);
  line-height: 1.65;
  min-height: 100vh;
  font-size: 16px;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Decorative pitch stripes that wash across the top of the page */
.pitch-stripes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 90px,
    rgba(22, 163, 74, 0.025) 90px,
    rgba(22, 163, 74, 0.025) 180px
  );
}

body > *:not(.pitch-stripes) { position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 18px; }
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--pitch-bright) 0%, var(--pitch) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; letter-spacing: 0.04em; }
h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

p { margin-bottom: 12px; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--pitch); text-decoration: none; transition: color 0.15s; }
a:hover { text-decoration: underline; color: var(--pitch-deep); }

.muted { color: var(--muted); font-size: 14px; }

/* ===== Cookie banner ===== */
.cookie-banner {
  background: rgba(11, 31, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-banner a { color: #86efac; }
.cookie-banner a:hover { color: #fff; }
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; }
.cookie-banner button {
  background: var(--jersey);
  color: #fff;
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.cookie-banner button:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* ===== Navbar ===== */
.navbar {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 31, 18, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}
.site-logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(11, 31, 18, 0.2);
}
.logo-mark svg { display: block; width: 100%; height: 100%; }
.logo-text em {
  font-style: normal;
  color: var(--pitch-bright);
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--pitch-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--pitch); text-decoration: none; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ===== Sections ===== */
section { padding: 80px 0; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Halfway-line / centre-circle motif */
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  border: 2px solid rgba(22, 163, 74, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  width: 2px;
  height: 220px;
  background: rgba(22, 163, 74, 0.18);
  pointer-events: none;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.hero-kicker {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--pitch);
  letter-spacing: 0.04em;
}
.stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Section head ===== */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pitch-bright);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  padding: 0 32px;
}
.section-tag::before,
.section-tag::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--pitch-bright);
  opacity: 0.5;
}
.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.about-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about-inner p { font-size: 1.02rem; color: var(--ink-soft); }

/* ===== Catalog grid — 2 columns on desktop ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.card::before {
  /* Top jersey accent stripe */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pitch-bright) 0%, var(--pitch) 50%, var(--jersey) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 163, 74, 0.25);
}
.card:hover::before { opacity: 1; }

.card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(20, 83, 45, 0.06);
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

.game-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(11, 31, 18, 0.12);
  border: 2px solid #fff;
}
.game-meta { min-width: 0; flex: 1; }
.game-meta h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
  color: var(--ink);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.badge {
  display: inline-block;
  background: var(--chalk-soft);
  color: var(--pitch);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(22, 163, 74, 0.15);
}
.badge-alt {
  background: var(--jersey-soft);
  color: #c2410c;
  border-color: rgba(249, 115, 22, 0.18);
}
.dev {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 22px;
}
.shots img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(11, 31, 18, 0.08);
  transition: transform 0.3s ease;
}
.shots img:hover { transform: scale(1.02); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pitch-bright) 0%, var(--pitch) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
}
.btn:hover::before { opacity: 1; }
.btn-block { display: flex; width: 100%; }
.btn-icon { font-size: 0.85em; }

/* ===== Subscribe form ===== */
.subscribe-wrap { max-width: 580px; margin: 0 auto; }
.subscribe-card {
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  text-align: center;
}
.subscribe-card .card-number {
  position: static;
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 2.6rem;
  color: var(--pitch-bright);
  opacity: 1;
  margin: 0 auto 8px;
  text-align: center;
}
.subscribe-card h2 { text-align: center; margin-bottom: 6px; }
.subscribe-card .subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink);
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: var(--ink);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
  border-color: var(--pitch-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

/* ===== Consent checkbox ===== */
.form-consent { margin-bottom: 20px; }
.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
  user-select: none;
}
.consent-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.consent-box {
  flex-shrink: 0;
  display: inline-flex;
  width: 22px;
  height: 22px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  transition: all 0.15s ease;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  position: relative;
}
.consent-box::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.consent-label input[type="checkbox"]:checked ~ .consent-box {
  background: var(--pitch-bright);
  border-color: var(--pitch-bright);
}
.consent-label input[type="checkbox"]:checked ~ .consent-box::after { opacity: 1; }
.consent-label input[type="checkbox"]:focus-visible ~ .consent-box {
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.consent-text { flex: 1; }
.consent-text a {
  color: var(--pitch);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.form-consent.has-error .consent-box {
  border-color: #dc2626;
  background: #fef2f2;
}
.error-msg {
  display: none;
  margin-top: 8px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
}
.form-consent.has-error .error-msg { display: block; }

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.submit-btn:hover {
  background: var(--pitch);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
}
.success-msg {
  margin-top: 16px;
  padding: 14px;
  background: var(--chalk-soft);
  color: var(--pitch);
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  display: none;
  border: 1px solid rgba(22, 163, 74, 0.2);
  font-weight: 500;
}
.success-msg.show { display: block; }

/* ===== Footer ===== */
footer {
  text-align: center;
  color: var(--muted);
  padding: 48px 0 32px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.5);
}
footer a {
  margin: 0 8px;
  color: var(--ink-soft);
  font-weight: 500;
}
footer a:hover { color: var(--pitch); }

/* ===== Legal content ===== */
.page-content { max-width: 800px; margin: 40px auto; padding: 0 24px; }
.page-content h2 { margin-top: 32px; }
.page-content ul { padding-left: 22px; margin-bottom: 14px; }
.page-content li { margin-bottom: 6px; }

.faq-item { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero::before, .hero::after { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .navbar { padding: 14px 0; }
  .navbar .container { flex-wrap: wrap; gap: 14px; }
  .nav-links { gap: 18px; flex-wrap: wrap; margin-left: 0; width: 100%; }
  .nav-links a { font-size: 12px; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 2rem; }
  .card { padding: 22px; }
  .card-number { font-size: 2.4rem; top: 14px; right: 18px; }
  .subscribe-card { padding: 28px; }
  .shots img { height: 130px; }
  .game-icon { width: 60px; height: 60px; border-radius: 14px; }
  .game-head { gap: 12px; }
  .game-meta h3 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-kicker { font-size: 10px; padding: 5px 12px; }
  h1 { font-size: 2rem; }
  .badges { gap: 4px; }
  .badge { font-size: 10px; padding: 2px 8px; }
}
