/* GameClip landing page. Mobile first. No build step. */

/* Manrope (variable, OFL) served from our own domain, no requests to Google. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #08141f;
  --navy-2: #0d1f2e;
  --navy-3: #132c40;
  --lime: #c8f26a;
  --lime-dim: rgba(200, 242, 106, 0.14);
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --gutter: 16px;
  --max: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.9rem, 6.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 36em;
}

.lead + .cta-row,
.lead + .checks,
.lead + .btn {
  margin-top: 28px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:focus-visible,
.header-link:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--lime);
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d6f782;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
  color: var(--lime);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 20, 31, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.wordmark {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 6px;
}

.wm-game {
  color: var(--white);
}

.wm-clip {
  color: var(--lime);
}

.header-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 4px;
}

.header-link:hover {
  color: var(--lime);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 36px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200, 242, 106, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(19, 44, 64, 0.9), transparent 60%),
    var(--navy);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 9vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero .lead {
  margin-top: 20px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.hero-video {
  margin: 0;
}

.phone-frame {
  position: relative;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(160deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200, 242, 106, 0.08);
}

.phone-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: var(--navy);
}

.hero-video figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Generic sections ---------- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--navy-2);
  border: 1px solid var(--line);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--lime-dim);
  color: var(--lime);
  margin-bottom: 18px;
}

.step-icon svg {
  width: 36px;
  height: 36px;
}

.step p {
  color: var(--text-muted);
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 16px;
}

.card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--navy);
  border: 1px solid var(--line);
}

.card p {
  color: var(--text-muted);
}

.card-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--lime);
}

.card-tag-soon {
  background: transparent;
  color: var(--lime);
  border: 1px solid var(--lime);
}

.card-soon {
  border-style: dashed;
}

.note {
  margin-top: 32px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 40em;
}

/* ---------- Sponsor ---------- */

.sponsor-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.checks {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.checks li {
  position: relative;
  padding-left: 36px;
  font-size: 1.1rem;
  font-weight: 600;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 6px var(--navy);
}

.sponsor-visual {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line);
  text-align: center;
}

.sponsor-visual p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sponsor-frame {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid rgba(200, 242, 106, 0.5);
}

/* ---------- Klipy na żywo ---------- */

.section-match {
  position: relative;
  padding: 96px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 20, 31, 0.92) 0%, rgba(8, 20, 31, 0.78) 50%, rgba(8, 20, 31, 0.96) 100%),
    url("img/pitch.jpg") center / cover no-repeat;
}

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

.match-inner .eyebrow {
  margin-bottom: 22px;
}

.scoreboard {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(8, 20, 31, 0.7);
  border: 1px solid rgba(200, 242, 106, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 100%;
}

.match-meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.match-score {
  margin-top: 8px;
  font-size: clamp(1.4rem, 5.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
}

.match-score span {
  color: var(--lime);
  padding: 0 0.15em;
}

.match-text {
  margin-top: 28px;
  max-width: 30em;
}

/* ---------- Kontakt ---------- */

.contact {
  text-align: left;
}

.contact-buttons {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.contact-buttons .btn {
  flex-direction: column;
  gap: 2px;
  min-height: 72px;
  padding: 14px 20px;
}

.btn-label {
  font-size: 1.1rem;
}

.btn-sub {
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.85;
  word-break: break-all;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-legal {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: inherit;
}

/* ---------- Motion (subtle, off for reduced motion) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 560px) {
  .cta-row {
    flex-direction: row;
  }

  .cta-row .btn {
    min-width: 180px;
  }

  .steps,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .cta-row {
    margin-top: 40px;
  }

  .section {
    padding: 112px 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .sponsor-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }

  .section-match {
    padding: 140px 0;
  }

  .contact-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
