/* ============================================
   Footy Champs — Stadium / On-pitch theme
   Pitch green base, white field lines, LED scoreboard accents
   ============================================ */

:root {
  --pitch-dark: #0a1f12;
  --pitch: #0e3c20;
  --pitch-stripe: #114a28;
  --pitch-stripe-2: #0e3c20;
  --pitch-line: #ffffff;
  --night: #050d09;
  --night-2: #0a1812;
  --led-amber: #fbbf24;
  --led-amber-glow: rgba(251, 191, 36, 0.45);
  --led-green: #34d399;
  --led-green-glow: rgba(52, 211, 153, 0.5);
  --turf-green: #2bb673;
  --crowd: #6b7280;
  --text: #e8efe9;
  --text-dim: #a4b3a9;
  --line: rgba(255, 255, 255, 0.14);
}

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

body {
  background-color: var(--night-2);
  background-image:
    radial-gradient(ellipse at top, rgba(43, 182, 115, 0.08), transparent 60%),
    repeating-linear-gradient(
      90deg,
      var(--pitch) 0,
      var(--pitch) 120px,
      var(--pitch-stripe) 120px,
      var(--pitch-stripe) 240px
    );
  background-attachment: fixed;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.75rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
h2 { font-size: 1.7rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }

p { margin-bottom: 14px; color: var(--text-dim); }

a {
  color: var(--led-amber);
  text-decoration: none;
  transition: color .2s, text-shadow .2s;
}
a:hover { color: #fff; text-shadow: 0 0 12px var(--led-amber-glow); }

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

/* ---------- Cookie banner (LED bar) ---------- */
.cookie-banner {
  background: linear-gradient(90deg, #000 0%, var(--night) 50%, #000 100%);
  border-bottom: 2px solid var(--led-amber);
  box-shadow: 0 0 24px var(--led-amber-glow);
  padding: 12px 0;
  font-family: 'Nunito', sans-serif;
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 14px; color: var(--text); }
.cookie-inner button {
  background: var(--led-amber);
  color: #1a1a1a;
  border: none;
  border-radius: 0;
  padding: 8px 22px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 0 18px var(--led-amber-glow);
  transition: background .2s, transform .15s;
}
.cookie-inner button:hover { background: #fff; transform: translateY(-1px); }
.hidden { display: none; }

/* ---------- Navbar ---------- */
.navbar {
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-logo a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-logo a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 12px var(--led-green-glow);
  animation: pulse 2s infinite;
}
.site-logo a:hover { text-decoration: none; text-shadow: 0 0 10px rgba(255,255,255,0.4); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
  margin-left: auto;
}
.nav-links a {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover {
  color: var(--led-amber);
  border-bottom-color: var(--led-amber);
  text-shadow: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  width: 42px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--led-amber); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--led-amber);
  border-radius: 1px;
  transition: transform .25s, opacity .2s;
  box-shadow: 0 0 8px var(--led-amber-glow);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Sections base ---------- */
section { padding: 64px 0; position: relative; }
section + section { border-top: 1px solid var(--line); }

/* ---------- Hero / scoreboard ---------- */
.hero {
  text-align: center;
  padding: 96px 0 88px;
  background:
    linear-gradient(180deg, rgba(5,13,9,0.78) 0%, rgba(5,13,9,0.55) 60%, rgba(5,13,9,0.95) 100%),
    url("./img/theme/stadium-hero.jpg") center/cover no-repeat;
  border-bottom: 2px solid var(--led-amber);
  box-shadow: 0 0 60px var(--led-amber-glow) inset;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--pitch-line);
  opacity: 0.45;
}
.hero::before { top: 28px; }
.hero::after { bottom: 28px; }
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.hero h1 {
  font-size: 3rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.hero p {
  color: #d8e6db;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* LED scoreboard above title */
.scoreboard {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  padding: 10px 22px;
  margin-bottom: 24px;
  font-family: 'Bricolage Grotesque', monospace;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 0 24px rgba(251, 191, 36, 0.18),
    inset 0 0 30px rgba(0,0,0,0.6);
}
.scoreboard .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--led-amber);
  box-shadow: 0 0 10px var(--led-amber-glow);
  animation: pulse 1.5s infinite;
}
.scoreboard .label {
  color: var(--led-amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Section header with field-line accent ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }
.section-head .tag {
  color: var(--led-green);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--led-green);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--led-green-glow);
}

/* ---------- Cards (tactics board look) ---------- */
.card {
  background: rgba(10, 24, 18, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  position: relative;
}
.card:hover {
  border-color: var(--led-amber);
  box-shadow: 0 0 28px var(--led-amber-glow);
}

/* ---------- Catalog (the pitch) ---------- */
#games {
  background:
    linear-gradient(180deg, rgba(5,13,9,0.7), rgba(5,13,9,0.85)),
    url("./img/theme/grass-texture.jpg") center/420px repeat;
}
#games::before, #games::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--pitch-line);
  opacity: 0.35;
}
#games::before { top: 0; }
#games::after { bottom: 0; }
#games > .container { position: relative; }
/* Center line */
#games > .container::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--pitch-line);
  opacity: 0.15;
  pointer-events: none;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  position: relative;
}
.game-card {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--led-green);
}
.game-card:hover { border-left-color: var(--led-amber); }
.game-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.game-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--pitch-line);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}
.game-title-wrap h3 {
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0;
  text-transform: none;
}
.developer {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.badge {
  display: inline-block;
  background: transparent;
  color: var(--led-amber);
  padding: 3px 12px;
  border: 1px solid var(--led-amber);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.2);
}
.game-desc { font-size: 15px; color: var(--text-dim); }
.game-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 18px;
}
.game-shots img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.game-card .btn { margin-top: auto; }

/* ---------- Buttons (LED) ---------- */
.btn {
  display: inline-block;
  background: var(--led-amber);
  color: #1a1a1a;
  border-radius: 2px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.32);
}
.btn:hover {
  background: #fff;
  color: #0a1a0f;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}
.btn-full { width: 100%; }

/* ---------- Tips section ---------- */
#tips {
  background:
    linear-gradient(180deg, rgba(5,13,9,0.96), rgba(5,13,9,0.88)),
    repeating-linear-gradient(135deg, transparent 0, transparent 80px, rgba(52, 211, 153, 0.035) 80px, rgba(52, 211, 153, 0.035) 81px);
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.tip-card {
  border-top: 2px solid var(--led-amber);
}
.tip-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.tip-num {
  font-family: 'Bricolage Grotesque', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--led-amber);
  text-shadow: 0 0 18px var(--led-amber-glow);
  line-height: 1;
  letter-spacing: -0.04em;
}
.tip-card h3 {
  color: #fff;
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: 0;
}
.tip-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tip-card p { font-size: 14.5px; margin-bottom: 10px; }
.tip-card p:last-child { margin-bottom: 0; }

/* ---------- Why football — features ---------- */
#why-football { background: linear-gradient(180deg, rgba(5,13,9,0.92), rgba(5,13,9,0.85)); }
.section-lead {
  max-width: 760px;
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 28px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 2px solid var(--led-green);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid var(--led-green);
  color: var(--led-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 18px var(--led-green-glow);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { margin-bottom: 8px; color: #fff; }
.feature-card p { margin-bottom: 0; font-size: 15px; }

/* ---------- How we choose — criteria ---------- */
#how-we-choose {
  background:
    linear-gradient(90deg, rgba(5,13,9,0.95), rgba(5,13,9,0.85) 50%, rgba(5,13,9,0.95)),
    repeating-linear-gradient(0deg, transparent 0, transparent 60px, rgba(255,255,255,0.025) 60px, rgba(255,255,255,0.025) 61px);
}
.criteria-list {
  list-style: none;
  counter-reset: criteria;
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.criteria-list li {
  counter-increment: criteria;
  background: rgba(10, 24, 18, 0.78);
  border: 1px solid var(--line);
  border-left: 3px solid var(--led-amber);
  border-radius: 4px;
  padding: 20px 22px 20px 78px;
  position: relative;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
}
.criteria-list li::before {
  content: "0" counter(criteria);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Bricolage Grotesque', monospace;
  color: var(--led-amber);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 14px var(--led-amber-glow);
}
.criteria-list strong { color: #fff; font-weight: 700; }

/* ---------- FAQ ---------- */
#faq { background: linear-gradient(180deg, rgba(5,13,9,0.92), rgba(5,13,9,0.96)); }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--led-amber);
  transition: transform .2s, color .2s;
  line-height: 1;
  text-shadow: 0 0 10px var(--led-amber-glow);
}
.faq-item[open] summary::after { content: "−"; color: var(--led-green); text-shadow: 0 0 10px var(--led-green-glow); }
.faq-item[open] { border-color: var(--led-amber); }
.faq-item p {
  padding: 0 22px 20px;
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-dim);
}

/* ---------- About ---------- */
#about { background: linear-gradient(180deg, rgba(5,13,9,0.95), rgba(5,13,9,0.98)); }
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-inner p { color: var(--text-dim); }

/* ---------- Subscribe ---------- */
#subscribe {
  background:
    linear-gradient(180deg, rgba(5,13,9,0.92), rgba(5,13,9,0.95)),
    url("./img/theme/crowd.jpg") center/cover no-repeat fixed;
  padding: 80px 0;
}
.subscribe-inner {
  max-width: 580px;
  margin: 0 auto;
}
.form-card {
  padding: 36px;
  background: rgba(5, 13, 9, 0.88);
  border: 1px solid var(--led-amber);
  box-shadow: 0 0 50px rgba(251, 191, 36, 0.18);
}
.subscribe-inner h2 { text-align: center; }
.subtitle {
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.form-group { margin-bottom: 14px; }
label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--led-amber);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: rgba(0,0,0,0.5);
  color: #fff;
}
input::placeholder { color: rgba(255,255,255,0.35); }
input:focus {
  border-color: var(--led-amber);
  box-shadow: 0 0 14px var(--led-amber-glow);
}

/* Consent checkbox */
.form-consent { margin: 20px 0 8px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--text-dim);
  cursor: pointer;
  margin-bottom: 0;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--led-amber);
  flex-shrink: 0;
  cursor: pointer;
}
.consent-label a { color: var(--led-amber); }
.consent-label a:hover { color: #fff; }

.success-msg {
  margin-top: 16px;
  padding: 14px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid var(--led-green);
  color: #fff;
  border-radius: 2px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 0 18px var(--led-green-glow);
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  color: var(--text-dim);
  padding: 36px 0;
  font-size: 13px;
  background: #000;
  border-top: 2px solid var(--led-amber);
  box-shadow: 0 -8px 30px var(--led-amber-glow);
}
footer .footer-links {
  list-style: none;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
footer a { color: var(--text); font-weight: 600; }
footer a:hover { color: var(--led-amber); }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0;
}
.legal-content h2 { margin-top: 32px; }
.legal-content ul { margin: 10px 0 14px 22px; }
.legal-content li { margin-bottom: 6px; color: var(--text-dim); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: 2.1rem; }
  section { padding: 44px 0; }
  .nav-inner { gap: 14px; flex-wrap: wrap; }
  .form-card { padding: 24px; }
  .game-shots img { height: 120px; }
  .games-grid { grid-template-columns: 1fr; }
  #games > .container::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .criteria-list li { padding: 16px 18px 16px 60px; }

  /* Hamburger menu */
  .nav-toggle { display: flex; }
  .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin: 12px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    width: 100%;
    border-bottom: 1px solid transparent;
    font-size: 14px;
  }
  .nav-links li + li a {
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}
