/* Sportas credit bundles. Styles follow sportas.co.uk (apps/web): Poppins, #fb5e18,
   white page, photo-led sections, soft-shadow cards, light grey footer. */

:root {
  --orange: #fb5e18;
  --orange-dark: #ec400a;
  --ink: #0a0a0a;
  --muted: #737373;
  --grey-50: #f9fafb;
  --footer: #f5f5f5;
  --nav: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); }
body {
  margin: 0;
  padding-top: var(--nav);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.hl { color: var(--orange); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Nav (same as the site header: fixed, white, logo left) */
.nav { position: fixed; top: 0; left: 0; z-index: 50; width: 100%; height: var(--nav); background: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 16px; max-width: 1920px; margin: 0 auto; }
.nav-logo { width: 96px; }
.nav-link { font-size: 14px; }
.nav-link:hover { color: var(--orange); }

/* Buttons (site: solid orange, white semibold text) */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
}
.btn:hover { background: var(--orange-dark); }
.btn-lg { font-size: 16px; }
.btn[disabled] { background: #e5e5e5; color: #525252; cursor: default; }

/* Banner photo, then centred headline (home page pattern) */
.banner img { width: 100%; }
.intro { text-align: center; padding: 40px 20px 0; max-width: 760px; margin: 0 auto; }
.intro h1 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.sub { margin-top: 16px; font-size: 14px; }
.dates { margin-top: 16px; font-size: 14px; font-weight: 600; }
.dates .left { color: var(--orange); }
.intro .btn { margin-top: 20px; }

/* Bundle cards (game card pattern: photo top, soft shadow, orange icon rows) */
.bundles { padding: 40px 20px 0; }
.cards { display: grid; gap: 32px; max-width: 1180px; margin: 0 auto; }
.card { border-radius: 12px; }
.card-img { width: 100%; height: 215px; object-fit: cover; border-radius: 12px 12px 0 0; }
.card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px 8px;
  padding: 14px 14px 16px;
  font-size: 14px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.card-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.card-title { font-size: 16px; font-weight: 600; }
.card-title .amt { font-size: 28px; font-weight: 700; }
.card-tag { border-radius: 6px; background: #000; color: #fff; font-size: 12px; font-weight: 600; padding: 2px 12px; white-space: nowrap; }
.ico { width: 20px; height: 20px; color: var(--orange); }
.card-save { font-weight: 600; }
.card-action { grid-column: 1 / -1; margin-top: 10px; }
.card-action .btn { display: block; width: 100%; }
.card-ended { text-align: center; color: var(--muted); font-weight: 600; padding: 12px 0; }
.draft-note { margin-top: 20px; text-align: center; font-size: 12px; color: var(--muted); }

/* How it works (organisers page "Why Sportas?" pattern) */
.how { display: grid; gap: 32px; max-width: 1180px; margin: 0 auto; padding: 64px 24px; }
.how h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.how-intro p { margin-top: 16px; max-width: 24rem; font-size: 14px; line-height: 1.7; }
.steps { display: grid; gap: 24px; }
.steps li { background: var(--grey-50); border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 16px;
  border-radius: 50%; background: #fff;
  color: var(--orange); font-size: 28px; font-weight: 700;
}
.steps p { font-size: 14px; line-height: 1.7; }

/* Photo with tilted orange labels (home page pattern) */
.photo-band { position: relative; margin: 32px 0 72px; }
.photo-band img { width: 100%; min-height: 220px; object-fit: cover; }
.stamp { position: absolute; left: 50%; color: #fff; text-align: center; }
.stamp-top { top: 0; transform: translate(-50%, -50%); }
.stamp-bottom { bottom: 0; transform: translate(-50%, 75%); }
.stamp-over { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 1; font-size: 18px; font-weight: 700; white-space: nowrap; text-shadow: 0 1px 6px rgb(0 0 0 / 0.55); }
.stamp-block { background: var(--orange); padding: 16px 36px; font-size: 32px; font-weight: 700; white-space: nowrap; }
.tilt-r { transform: rotate(1.55deg); }
.tilt-l { transform: rotate(-1.2deg); }

/* FAQs on the skewed orange band (organisers page pattern) */
.faq { position: relative; padding: 56px 0 64px; margin-top: 56px; }
.faq-bg { position: absolute; inset: 0; background: var(--orange); transform-origin: top left; transform: skewY(-3deg); }
.faq-inner { position: relative; z-index: 1; max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.faq h2 { text-align: center; font-size: 24px; font-weight: 600; margin-bottom: 32px; }
.faq-list { display: grid; gap: 20px; }
.faq details { background: #fff; border-radius: 8px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 28px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 24px 24px; font-size: 14px; color: var(--muted); }
.faq details a, .terms a, .thanks-small a { color: var(--orange); font-weight: 600; text-decoration: underline; }

/* Terms */
.terms { max-width: 1024px; margin: 0 auto; padding: 24px 24px 56px; }
.terms h2 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.terms ul { list-style: disc; padding-left: 18px; display: grid; gap: 6px; font-size: 12px; color: var(--muted); }

/* Thanks page */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; padding: 72px 20px 96px; }
.thanks h1 { font-size: 32px; font-weight: 700; }
.thanks .btn { margin-top: 24px; }
.thanks-small { margin-top: 24px; font-size: 12px; color: var(--muted); }

/* Footer (same as the site: light grey, link columns, centred logo) */
.footer { background: var(--footer); padding: 32px 16px 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; max-width: 1920px; margin: 0 auto; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.footer-h { font-size: 18px; font-weight: 600; }
.footer-col a:hover { color: var(--orange); }
.footer-logo { grid-column: 1 / -1; display: flex; justify-content: center; }
.footer-logo img { width: 96px; }

@media (min-width: 768px) {
  .intro { padding-top: 64px; }
  .intro h1 { font-size: 36px; }
  .sub { font-size: 18px; }
  .dates { font-size: 16px; }
  .btn-lg { font-size: 20px; }
  .bundles { padding-top: 64px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .how { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); align-items: center; padding: 96px 24px; }
  .how h2 { font-size: 30px; }
  .how-intro p { font-size: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step-num { width: 80px; height: 80px; }
  .photo-band { margin: 72px 0 120px; }
  .stamp-over { font-size: 36px; }
  .stamp-block { font-size: 40px; padding: 24px 80px; }
  .faq { padding: 96px 0 144px; }
  .faq h2 { font-size: 30px; }
  .thanks h1 { font-size: 44px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-logo img { width: 128px; }
}
