/* =====================================================================
   SPORTOWETYPY — strona główna
   ===================================================================== */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.section-title { font-size: clamp(34px, 6.2vw, 68px); }
.section-head  { text-align: center; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.04rem; }

/* Wjazd sekcji przy przewijaniu (tylko gdy JS działa) */
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   PASEK OGŁOSZENIA + NAWIGACJA
   ===================================================================== */
.announce {
  background: var(--green-500);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  padding: 9px 20px;
}
.announce b {
  display: inline-block;
  background: var(--yellow-500);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 3px 9px;
  margin-right: 9px;
  vertical-align: middle;
}
.announce a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(11,26,18,.07);
  box-shadow: var(--shadow);
  border-radius: var(--r-pill);
  padding: 11px 13px 11px 24px;
}
.nav-pill .wordmark { font-size: 24px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 36px 0 110px;
  background: var(--green-900) url('/assets/img/hero-stadion.webp') center 30% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(5,38,26,.72) 0%, rgba(5,38,26,.34) 48%, rgba(5,38,26,.66) 100%);
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero > * { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  min-height: 460px;
}
.hero-title {
  font-size: clamp(42px, 7vw, 86px);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-title em { font-style: normal; color: var(--yellow-500); }
.hero-copy {
  max-width: 400px;
  margin-top: 20px;
  color: rgba(255,255,255,.80);
  font-size: 1.02rem;
}
.hero-cta-row { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }

.hero-phone { display: flex; justify-content: center; align-items: flex-end; }
.hero-phone .phone-screen { min-height: 440px; }

/* ---- Karta oceny pod hero ---- */
.trust-card {
  position: relative;
  z-index: 3;
  margin: -70px auto 0;
  max-width: 1180px;
}
.trust-inner {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--green-500), var(--green-400));
  border-radius: var(--r-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-lg);
}
.trust-score { display: flex; align-items: baseline; gap: 10px; }
.trust-score-num {
  font-family: var(--font);
  font-size: 50px; font-weight: 900; line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.trust-label {
  font-family: var(--font);
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: block; margin-bottom: 6px;
}
.trust-stars { color: #fff; font-size: 17px; letter-spacing: 2px; }
.trust-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); }
.trust-people { display: flex; align-items: center; gap: 14px; }
.trust-people p { color: #fff; font-size: 14.5px; line-height: 1.4; font-weight: 600; }

/* =====================================================================
   PASEK LIG
   ===================================================================== */
.leagues { padding: 42px 0 10px; }
.leagues-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.league-chip {
  font-family: var(--font);
  font-size: 13px; font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 18px;
}

/* =====================================================================
   KROKI 01 / 02 / 03
   ===================================================================== */
.steps { padding: 56px 0 20px; }
.step-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.step-panel:nth-child(even) {
  background: linear-gradient(265deg, rgba(18,168,96,.10) 0%, rgba(43,200,124,.18) 100%), #fff;
}
.step-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; }
.step-panel:nth-child(even) .step-grid { direction: rtl; }
.step-panel:nth-child(even) .step-grid > * { direction: ltr; }

.step-number {
  font-family: var(--font);
  font-size: clamp(56px, 8vw, 94px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--green-200);
  margin: 10px 0 4px;
}
.step-panel h3 {
  font-family: var(--font);
  font-size: clamp(25px, 3.4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.step-text { color: var(--ink-soft); max-width: 420px; }
.step-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-family: var(--font);
  font-weight: 800;
  border-bottom: 2px solid var(--yellow-500);
  padding-bottom: 2px;
}
.step-link svg { transition: transform .25s var(--ease); }
.step-link:hover svg { transform: translateX(4px); }

.phone-stage { display: flex; justify-content: center; }

/* =====================================================================
   MOCKUP TELEFONU
   ===================================================================== */
.phone {
  width: 282px;
  flex-shrink: 0;
  background: #0B1A12;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(5,38,26,.30), inset 0 0 0 1.5px rgba(255,255,255,.10);
}
.phone-screen {
  position: relative;
  background: var(--bg);
  border-radius: 31px;
  overflow: hidden;
  min-height: 505px;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 20px;
  background: #0B1A12;
  border-radius: 12px;
  z-index: 5;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 18px 4px;
  font-family: var(--font);
  font-size: 11.5px; font-weight: 700;
  color: var(--ink);
}
.phone-status .dots { letter-spacing: 1px; opacity: .55; font-size: 10px; }

.app-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.app-top .wordmark { font-size: 15px; }
.app-badge {
  font-family: var(--font);
  font-size: 9.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--green-100); color: var(--green-700);
  border-radius: var(--r-pill);
  padding: 3px 8px;
}

.app-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.app-heading {
  font-family: var(--font);
  font-size: 13.5px; font-weight: 800;
  color: var(--ink);
  padding: 2px 2px 4px;
}

.tip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 12px;
  box-shadow: var(--shadow-sm);
}
.tip-meta {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.tip-match {
  font-family: var(--font);
  font-size: 13px; font-weight: 800;
  color: var(--ink);
  margin: 2px 0 6px;
}
.tip-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tip-pick {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.tip-odds {
  font-family: var(--font);
  font-size: 11.5px; font-weight: 800;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
}

.app-tabs {
  display: flex;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 0 11px;
}
.app-tabs div {
  flex: 1;
  text-align: center;
  font-family: var(--font);
  font-size: 9.5px; font-weight: 700;
  color: var(--ink-faint);
}
.app-tabs div.on { color: var(--green-600); }
.app-tabs i { display: block; font-size: 15px; font-style: normal; margin-bottom: 2px; }

/* ---- Wariant: wybór lig ---- */
.pick-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
}
.pick-row.on { border-color: var(--green-500); background: var(--green-50); }
.pick-row b { font-family: var(--font); font-size: 12.5px; font-weight: 700; flex: 1; }
.pick-row small { font-family: var(--font-body); font-size: 10px; color: var(--ink-faint); display: block; font-weight: 400; }
.pick-check {
  width: 19px; height: 19px; border-radius: 50%;
  border: 2px solid #D4DDD8; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pick-row.on .pick-check { background: var(--green-500); border-color: var(--green-500); }

/* ---- Wariant: Telegram ---- */
.tg-msg {
  background: #fff;
  border-radius: 14px 14px 14px 4px;
  padding: 11px 13px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.tg-msg b { font-family: var(--font); color: var(--ink); font-size: 12.5px; display: block; margin-bottom: 3px; }
.tg-time { font-size: 9.5px; color: var(--ink-faint); text-align: right; margin-top: 4px; }

/* =====================================================================
   SEKCJA KUPONU
   ===================================================================== */
.slip {
  padding: 60px 0;
  background: var(--green-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.slip::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/img/murawa.webp') center / cover no-repeat;
  opacity: .14;
}
.slip > * { position: relative; z-index: 2; }
.slip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.slip h2 { font-size: clamp(30px, 4.6vw, 56px); margin-bottom: 16px; }
.slip h2 em { font-style: normal; color: var(--yellow-500); }
.slip p { color: rgba(255,255,255,.76); max-width: 440px; }
.slip .eyebrow { background: rgba(255,255,255,.12); color: var(--green-200); }
.slip-card { display: flex; justify-content: center; }

/* ---- Zrzut wygranego kuponu ---- */
.shot {
  margin: 0;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
  width: 230px;
  flex-shrink: 0;
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  padding: 9px 12px 11px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.shot--duzy { width: 100%; max-width: 310px; }
.shot--duzy figcaption { font-size: 12.5px; padding: 11px 14px 13px; }

/* Pas ze zrzutami pod sekcją */
.slip-strip { margin-top: 44px; }
.slip-strip .shot { transition: transform .35s var(--ease); }
.slip-strip .shot:hover { transform: translateY(-6px); }

/* =====================================================================
   OPINIE
   ===================================================================== */
.reviews { padding: 64px 0 10px; overflow: hidden; }
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; }
.marquee-left  .marquee-track { animation: slideLeft 52s linear infinite; }
.marquee-right .marquee-track { animation: slideRight 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slideLeft  { to { transform: translateX(-50%); } }
@keyframes slideRight { from { transform: translateX(-50%); } to { transform: none; } }

/* ---- Zrzut w przewijanym pasie: miniaturka o stałej wysokości ---- */
.marquee .r-shot { height: 118px; }
.marquee .r-shot img { height: 100%; object-fit: cover; object-position: center 22%; }
.r-shot:hover { transform: scale(1.015); }

.r-foot { align-items: center; }


/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding: 64px 0; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px; font-weight: 400; color: var(--green-600); flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; }

/* =====================================================================
   FINAŁOWE CTA
   ===================================================================== */
.final {
  padding: 70px 0 80px;
  background: var(--green-900) url('/assets/img/trybuny.webp') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(5,38,26,.88) 0%, rgba(5,38,26,.58) 100%);
}
.final > * { position: relative; z-index: 2; }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.final h2 { font-size: clamp(34px, 5.4vw, 66px); color: #fff; }
.final h2 em { font-style: normal; color: var(--yellow-500); }
.final p { color: rgba(255,255,255,.78); margin: 18px 0 28px; max-width: 420px; }

/* =====================================================================
   TELEFON / TABLET
   ===================================================================== */
@media (max-width: 980px) {
  .hero-grid, .step-grid, .slip-grid, .faq-grid, .final-grid { grid-template-columns: 1fr; }
  .step-panel:nth-child(even) .step-grid { direction: ltr; }
  .step-grid .phone-stage { order: 2; margin-top: 26px; }
  .hero-grid { min-height: 0; gap: 10px; }
  .hero { padding-top: 26px; }
  .hero-phone { margin-top: 24px; }
  .slip-grid { gap: 30px; }
  .final-grid .phone-stage { margin-top: 8px; }
}

@media (max-width: 640px) {
  .hero-copy { display: none; }
  .hero-cta-row { gap: 14px; }
  .hero { padding-bottom: 86px; }
  .hero-phone { margin-top: 20px; }
  .hero-phone .phone { width: 236px; }
  .hero-phone .phone-screen { min-height: 360px; }
  .trust-card { margin-top: -56px; padding: 0 16px; }
  .trust-inner { padding: 20px; gap: 18px; }
  .trust-divider { display: none; }
  .trust-score-num { font-size: 42px; }
  .step-panel { padding: 26px 20px; }
  .steps { padding: 36px 0 10px; }
  .slip { padding: 46px 0; }
  .reviews { padding: 46px 0 6px; }
  .faq { padding: 46px 0; }
  .final { padding: 52px 0 60px; }
  .phone { width: 262px; }
  .nav-pill { padding: 9px 9px 9px 18px; }
  .nav-pill .wordmark { font-size: 20px; }
  .announce { font-size: 12.5px; padding: 8px 14px; }
  .announce a { display: block; margin: 4px 0 0; }
}
