/* ==========================================================================
   LKS NAPRZÓD ŚWIBIE - OFFICIAL CLUB & ACADEMY INTERACTIVE PLATFORM
   Barwy: Biało-Czarne (Est. 13.04.1952) + Electric Turf Accent (#10b981 / #a3e635)
   ========================================================================== */

:root {
  --bg-dark: #090a0f;
  --bg-panel: #11131c;
  --bg-card: #161925;
  --bg-card-hover: #1e2233;
  --text-main: #ffffff;
  --text-muted: #d1d9e6;
  --text-dim: #94a3b8;

  /* Club Colors (Biało-Czarne) + Sporty Energy Accents */
  --club-white: #ffffff;
  --club-black: #0a0a0c;
  --club-silver: #cbd5e1;
  --club-accent: #e2e8f0;
  --club-gold: #f59e0b;

  /* Academy / Pitch Accents */
  --turf-neon: #84cc16;
  --turf-bright: #a3e635;
  --turf-emerald: #10b981;
  --turf-glow: rgba(163, 230, 53, 0.35);

  /* Active Theme Dynamic Variables (switched between Club & Academy) */
  --theme-primary: #ffffff;
  --theme-secondary: #10b981;
  --theme-glow: rgba(255, 255, 255, 0.2);
  --theme-badge-bg: rgba(255, 255, 255, 0.1);

  --font-display: 'Teko', 'Oswald', Impact, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

body.mode-academy {
  --theme-primary: #a3e635;
  --theme-secondary: #10b981;
  --theme-glow: rgba(163, 230, 53, 0.28);
  --theme-badge-bg: rgba(163, 230, 53, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  selection-background-color: var(--turf-bright);
  selection-color: #000;
}

::selection {
  background: var(--turf-bright);
  color: #090a0f;
}

/* ==========================================================================
   TOP SCROLL PITCH PROGRESS BAR
   ========================================================================== */
.scroll-pitch-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 9999;
  pointer-events: none;
}

.scroll-pitch-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff 0%, var(--turf-bright) 60%, var(--turf-emerald) 100%);
  box-shadow: 0 0 14px var(--turf-glow);
  position: relative;
  transition: width 0.08s linear;
}

.scroll-pitch-ball {
  position: absolute;
  right: -10px;
  top: -7px;
  font-size: 16px;
  filter: drop-shadow(0 0 6px rgba(163, 230, 53, 0.9));
  transform: rotate(0deg);
}

/* ==========================================================================
   GLOBAL SCROLL-DRIVEN STADIUM & ROLLING FOOTBALL BACKGROUND
   ========================================================================== */
.global-sport-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(163, 230, 53, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 84% 74%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.55) 0%, rgba(11, 15, 24, 0.92) 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 44px
    );
}

.bg-floodlight {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.85;
  pointer-events: none;
}

.bg-floodlight--left {
  top: -140px;
  left: -140px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.28), transparent 70%);
}

.bg-floodlight--right {
  bottom: -140px;
  right: -140px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.26), transparent 70%);
}

.bg-floodlight--center {
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08), transparent 70%);
}

.bg-pitch-blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  will-change: transform;
}

.bg-watermark-text {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(7rem, 15vw, 17rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.025);
  -webkit-text-stroke: 2px rgba(163, 230, 53, 0.16);
  white-space: nowrap;
  user-select: none;
  will-change: transform;
}

.bg-rolling-ball {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: none;
}

.bg-rolling-ball--main {
  width: 270px;
  height: 270px;
  opacity: 0.72;
  filter: drop-shadow(0 12px 38px rgba(163, 230, 53, 0.45));
}

.bg-ball-glow {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.38) 0%, rgba(255, 255, 255, 0.12) 45%, transparent 72%);
  filter: blur(14px);
}

.bg-rolling-ball--secondary {
  width: 165px;
  height: 165px;
  opacity: 0.46;
  filter: drop-shadow(0 8px 24px rgba(163, 230, 53, 0.28));
}

.bg-ball-svg {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}

/* Nieruchoma powłoka światła stadionowego 3D i cienia sferycznego na kuli */
.bg-ball-3d-shade {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.16) 24%, transparent 52%),
    radial-gradient(circle at 34% 30%, transparent 48%, rgba(6, 9, 16, 0.52) 79%, rgba(3, 5, 10, 0.84) 100%);
  box-shadow:
    inset 4px 6px 16px rgba(255, 255, 255, 0.35),
    inset -6px -8px 18px rgba(5, 7, 12, 0.7),
    inset 0 0 12px rgba(163, 230, 53, 0.22);
}

/* ==========================================================================
   SPLIT-SCREEN PORTAL GATEWAY ("WYBIERZ ŚWIAT: KLUB ALBO SZKÓŁKA")
   ========================================================================== */
.portal-gateway {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  display: flex;
  overflow: hidden;
  background: #050608;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
}

.portal-gateway.is-hidden {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

.portal-side {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 5vw 2.75rem;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.portal-gateway:hover .portal-side {
  filter: brightness(0.75);
}

.portal-gateway .portal-side:hover {
  flex: 1.45;
  filter: brightness(1.05);
}

.portal-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.portal-side:hover .portal-bg {
  transform: scale(1.08);
}

.portal-side--club .portal-bg {
  background-image:
    linear-gradient(125deg, rgba(6, 7, 11, 0.92) 15%, rgba(12, 15, 24, 0.62) 60%, rgba(6, 7, 11, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 40px, transparent 40px, transparent 80px),
    url('assets/hero-senior.png');
}

.portal-side--academy .portal-bg {
  background-image:
    linear-gradient(235deg, rgba(6, 22, 14, 0.88) 15%, rgba(10, 35, 22, 0.55) 60%, rgba(6, 15, 11, 0.92) 100%),
    radial-gradient(circle at 70% 30%, rgba(163, 230, 53, 0.22), transparent 60%),
    url('assets/hero-academy.png');
}

/* Diagonal stripes overlay */
.portal-stripes {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.portal-side--club {
  border-right: 2px solid rgba(255, 255, 255, 0.18);
  align-items: flex-start;
  text-align: left;
}

.portal-side--academy {
  border-left: 2px solid rgba(163, 230, 53, 0.3);
  align-items: flex-end;
  text-align: right;
}

.portal-content {
  position: relative;
  z-index: 5;
  max-width: 540px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-side:hover .portal-content {
  transform: translateY(-6px);
}

.portal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
}

.portal-side--club .portal-kicker {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.portal-side--academy .portal-kicker {
  background: rgba(163, 230, 53, 0.16);
  border: 1px solid rgba(163, 230, 53, 0.45);
  color: var(--turf-bright);
}

.portal-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.portal-side--club .portal-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
}

.portal-side--academy .portal-title span {
  display: block;
  color: var(--turf-bright);
}

.portal-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.portal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.portal-side--academy .portal-tags {
  justify-content: flex-end;
}

.portal-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.75rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.92rem 1.95rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.portal-side--club .portal-cta {
  background: #ffffff;
  color: #090a0f;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.portal-side--club:hover .portal-cta {
  background: var(--turf-bright);
  transform: translateX(6px);
}

.portal-side--academy .portal-cta {
  background: var(--turf-bright);
  color: #090a0f;
  box-shadow: 0 10px 30px rgba(163, 230, 53, 0.35);
}

.portal-side--academy:hover .portal-cta {
  background: #ffffff;
  transform: translateX(-6px);
}

.portal-side-logo {
  display: block;
  width: 82px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 0.65rem;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.96))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.5))
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.85));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-side-logo--academy {
  width: 92px;
  height: 92px;
  margin-left: auto;
  margin-bottom: 0.65rem;
}

.portal-side:hover .portal-side-logo {
  transform: scale(1.08) translateY(-4px);
}

/* Center Floating Crest Badge in Portal */
.portal-center-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: top 0.65s cubic-bezier(0.16, 1, 0.3, 1), left 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1025px) {
  .portal-gateway.active-club .portal-side--club {
    flex: 1.45;
    filter: brightness(1.05);
  }
  .portal-gateway.active-club .portal-side--academy {
    flex: 1;
    filter: brightness(0.75);
  }
  .portal-gateway.active-club .portal-center-badge,
  .portal-gateway:has(.portal-side--club:hover) .portal-center-badge {
    left: 59%;
  }

  .portal-gateway.active-academy .portal-side--academy {
    flex: 1.45;
    filter: brightness(1.05);
  }
  .portal-gateway.active-academy .portal-side--club {
    flex: 1;
    filter: brightness(0.75);
  }
  .portal-gateway.active-academy .portal-center-badge,
  .portal-gateway:has(.portal-side--academy:hover) .portal-center-badge {
    left: 41%;
  }
}

.crest-shield {
  width: 118px;
  height: 134px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 2.5px rgba(255, 255, 255, 0.98))
    drop-shadow(0 0 8px rgba(163, 230, 53, 0.65))
    drop-shadow(0 16px 36px rgba(0, 0, 0, 0.9));
  animation: floatCrest 4s ease-in-out infinite;
}

@keyframes floatCrest {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes tapHintPulse {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@keyframes ctaPulseGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(163, 230, 53, 0.25);
  }
  50% {
    box-shadow: 0 12px 32px rgba(163, 230, 53, 0.55);
  }
}

@keyframes ctaPulseWhite {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.55);
  }
}

.portal-vs-pill {
  margin-top: 0.65rem;
  background: rgba(9, 10, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f8fafc;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.portal-skip-bottom {
  position: absolute;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(9, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ==========================================================================
   STICKY NAVIGATION & WORLD SWITCHER
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 10, 15, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: var(--transition-fast);
}

.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-crest {
  width: 42px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 1.8px rgba(255, 255, 255, 0.96))
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.brand-crest--academy {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: flex;
  align-items: center;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

/* Mode Switcher Pill in Navbar */
.world-switcher {
  display: inline-flex;
  align-items: center;
  background: #131622;
  padding: 0.24rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 0.2rem;
  flex-shrink: 0;
}

.world-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.world-btn:hover {
  color: #ffffff;
}

.world-btn.active-club {
  background: #ffffff;
  color: #090a0f;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.world-btn.active-academy {
  background: var(--turf-bright);
  color: #090a0f;
  box-shadow: 0 4px 14px rgba(163, 230, 53, 0.35);
}

.world-btn--portal {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 999px 999px 0;
  padding-left: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--turf-bright);
}

.nav-social-Icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.social-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(24, 119, 242, 0.16);
  color: #60a5fa;
  border: 1px solid rgba(24, 119, 242, 0.35);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.social-pill-link:hover {
  background: #1877f2;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING SOCIAL & QUICK-ACTION BAR
   ========================================================================== */
.floating-social-dock {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(17, 19, 28, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.dock-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  position: relative;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.dock-item:hover {
  background: var(--turf-bright);
  color: #090a0f;
  transform: scale(1.12);
}

.dock-tooltip {
  position: absolute;
  right: 54px;
  background: #090a0f;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   HERO SECTION (DYNAMIC PER MODE: KLUB VS SZKÓŁKA)
   ========================================================================== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 1.75rem 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: background-image 0.6s ease, transform 0.2s ease-out;
}

body.mode-club .hero-bg-layer {
  background-image:
    linear-gradient(95deg, rgba(9, 10, 15, 0.96) 28%, rgba(9, 10, 15, 0.72) 65%, rgba(9, 10, 15, 0.92) 100%),
    url('assets/hero-senior.png');
}

body.mode-academy .hero-bg-layer {
  background-image:
    linear-gradient(95deg, rgba(7, 17, 12, 0.95) 28%, rgba(9, 25, 16, 0.68) 65%, rgba(7, 17, 12, 0.92) 100%),
    url('assets/hero-academy.png');
}

/* Biało-czarne pasy dekoracyjne */
.hero-stripes-accent {
  position: absolute;
  right: -120px;
  top: -20%;
  width: 460px;
  height: 140%;
  transform: rotate(16deg);
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 36px,
    transparent 36px,
    transparent 72px
  );
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--theme-badge-bg);
  color: var(--theme-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turf-bright);
  box-shadow: 0 0 10px var(--turf-bright);
  animation: pulseGlow 1.6s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.hero-headline .outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
}

.hero-headline .accent-text {
  color: var(--turf-bright);
}

.hero-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--turf-bright);
  color: #090a0f;
  box-shadow: 0 10px 28px rgba(163, 230, 53, 0.3);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Quick Stats Strip in Hero */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  color: #ffffff;
  font-weight: 700;
}

.stat-value span {
  color: var(--turf-bright);
}

.stat-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Hero Right Interactive Widget Card (Next Match OR Kids Cup / Nabór) */
.hero-spotlight-card {
  background: rgba(22, 25, 37, 0.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.4rem 1.65rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.hero-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, var(--turf-bright), var(--turf-emerald));
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.match-teams-versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1.25rem 0;
  border-y: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.team-badge-circle {
  width: 68px;
  height: 68px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: #0d0f17;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.team-badge-circle.swibie-stripes {
  background: repeating-linear-gradient(90deg, #ffffff 0px, #ffffff 10px, #090a0f 10px, #090a0f 20px);
  color: var(--turf-bright);
  text-shadow: 0 2px 6px #000;
  border-color: var(--turf-bright);
}

.team-badge-circle.team-badge-logo {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(9, 10, 15, 0.92));
  border-color: var(--turf-bright);
  padding: 5px;
}

.team-badge-circle.team-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95));
}

.spotlight-academy-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.96))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.75));
}

.inline-team-crest {
  width: 22px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.95));
}

.coach-avatar-badge.coach-avatar-logo {
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.coach-avatar-badge.coach-avatar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95));
}

.kidscup-banner-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.96))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.85));
}

.footer-logos-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-brand-logo {
  width: 52px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1.8px rgba(255, 255, 255, 0.95))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.footer-brand-logo--academy {
  width: 58px;
  height: 58px;
}

.vs-score-box {
  font-family: var(--font-display);
  font-size: 2.2rem;
  padding: 0.3rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--turf-bright);
  letter-spacing: 0.06em;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.cd-cell {
  background: rgba(9, 10, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.4rem;
  text-align: center;
}

.cd-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: #ffffff;
}

.cd-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   KINETIC DIAGONAL MARQUEE TICKER (SCROLLING EFFECT)
   ========================================================================== */
.kinetic-ticker-wrap {
  position: relative;
  background: var(--turf-bright);
  color: #090a0f;
  padding: 0.75rem 0;
  overflow: hidden;
  border-y: 2px solid #ffffff;
  transform: skewY(-1deg);
  margin: -0.5rem 0 2rem;
  z-index: 20;
  box-shadow: 0 12px 35px rgba(163, 230, 53, 0.2);
}

.kinetic-ticker {
  display: flex;
  width: max-content;
  animation: tickerSlide 28s linear infinite;
}

.kinetic-ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS & LAYOUT CONTAINERS
   ========================================================================== */
.section {
  padding: 5.5rem 1.5rem;
  position: relative;
  z-index: 1;
  background: rgba(9, 12, 18, 0.14);
}

.section--alt {
  background: rgba(15, 22, 34, 0.36);
  border-top: 1px solid rgba(163, 230, 53, 0.14);
  border-bottom: 1px solid rgba(163, 230, 53, 0.14);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--turf-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.55rem;
  background: rgba(9, 10, 15, 0.82);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(163, 230, 53, 0.35);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95);
}

.section-subtitle {
  color: #ffffff;
  font-weight: 600;
  max-width: 600px;
  font-size: 0.98rem;
  line-height: 1.55;
  background: rgba(9, 10, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--turf-bright);
  padding: 0.8rem 1.15rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mode Visibility Filtering: Strict separation between Seniorzy (mode-club) and Szkółka (mode-academy) */
body.mode-academy .club-only {
  display: none !important;
}

body.mode-club .academy-only {
  display: none !important;
}

/* ==========================================================================
   MATCH CENTER: RESULTS & KLASA B ZABRZE TABLE
   ========================================================================== */
.match-center-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.75rem;
  transition: var(--transition-fast);
}

.panel-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.panel-card-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.league-table th {
  text-align: left;
  padding: 0.75rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.league-table td {
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.league-table tr.highlight-swibie {
  background: rgba(163, 230, 53, 0.14);
  font-weight: 800;
  color: #ffffff;
}

.league-table tr.highlight-swibie td:first-child {
  border-left: 4px solid var(--turf-bright);
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.match-row-item {
  display: grid;
  grid-template-columns: 100px 1fr auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  background: rgba(9, 10, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.match-row-item:hover {
  border-color: var(--turf-bright);
  transform: translateX(4px);
}

.match-date-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.match-team-home-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.match-team-away-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.match-score-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* WIDOK DRUŻYNY W MECZACH: Herb + Nazwa (flex-row, items-center) */
.match-team-wrap {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
}

.match-team-wrap.is-home {
  justify-content: flex-end;
  text-align: right;
}

.match-team-wrap.is-away {
  justify-content: flex-start;
  text-align: left;
}

/* Herb i dwuwierszowy napis dla Naprzód Świbie */
.match-team-wrap.is-swibie {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.match-swibie-crest {
  width: 28px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 5px rgba(163, 230, 53, 0.45))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.match-swibie-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
  white-space: nowrap;
}

.match-swibie-line1 {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.match-swibie-line2 {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--turf-bright);
}

/* Drużyny przeciwne w meczach */
.match-opponent-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.match-team-wrap.is-home .match-opponent-text {
  text-align: right;
  align-items: flex-end;
}

.match-team-wrap.is-away .match-opponent-text {
  text-align: left;
  align-items: flex-start;
}

.match-opponent-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  word-break: break-word;
}

.match-team-note {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.match-score-pill {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  letter-spacing: 0.05em;
}

.match-score-pill.win {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   SQUAD & INTERACTIVE TACTICAL PITCH (KADRA SENIORÓW)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--turf-bright);
  color: #090a0f;
  border-color: var(--turf-bright);
}

.squad-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

/* Interactive Football Pitch */
.tactical-pitch {
  position: relative;
  background: linear-gradient(180deg, #0c3b24 0%, #0f4c2e 25%, #0c3b24 50%, #0f4c2e 75%, #0c3b24 100%);
  border: 3px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  max-height: 580px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.55), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.pitch-line-half {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.pitch-circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-box-top,
.pitch-box-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 16%;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.pitch-box-top { top: -2px; }
.pitch-box-bottom { bottom: -2px; }

.pitch-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.25s ease;
}

.pitch-node:hover,
.pitch-node.active {
  transform: translate(-50%, -50%) scale(1.18);
  z-index: 10;
}

.pitch-jersey {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, #ffffff 0px, #ffffff 7px, #090a0f 7px, #090a0f 14px);
  border: 2px solid var(--turf-bright);
  color: var(--turf-bright);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.75);
  text-shadow: 0 1px 4px #000;
}

.pitch-node.gk .pitch-jersey {
  background: #f59e0b;
  color: #090a0f;
  text-shadow: none;
  border-color: #ffffff;
}

.pitch-player-name {
  margin-top: 0.25rem;
  background: rgba(9, 10, 15, 0.88);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* SEKCJA ZAWODNIKÓW (KADRA) — AKORDEON POZYCJI */
.players-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.squad-accordion-item {
  background: rgba(17, 19, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.squad-accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.squad-accordion-item.is-open {
  border-color: rgba(163, 230, 53, 0.45);
  background: rgba(18, 22, 33, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.squad-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
  font-family: inherit;
  transition: background 0.2s ease;
  user-select: none;
}

.squad-accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.squad-accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.squad-cat-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.squad-cat-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.squad-cat-count {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}

.squad-accordion-item.is-open .squad-cat-count {
  background: rgba(163, 230, 53, 0.16);
  border-color: rgba(163, 230, 53, 0.45);
  color: var(--turf-bright);
}

.squad-cat-starter-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.52rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.squad-accordion-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.squad-accordion-item.is-open .squad-accordion-chevron {
  transform: rotate(180deg);
  background: rgba(163, 230, 53, 0.2);
  color: var(--turf-bright);
}

/* Płynna animacja zwijania i rozwijania CSS Grid 0fr -> 1fr */
.squad-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.squad-accordion-item.is-open .squad-accordion-body {
  grid-template-rows: 1fr;
}

.squad-accordion-content {
  overflow: hidden;
}

.players-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
  padding: 0.35rem 1.25rem 1.25rem;
}

.players-grid::-webkit-scrollbar {
  width: 6px;
}

.players-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.15rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  cursor: pointer;
}

.player-card:hover,
.player-card.highlighted {
  border-color: var(--turf-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(163, 230, 53, 0.16);
}

.player-num {
  position: absolute;
  right: 0.75rem;
  top: 0.35rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  font-weight: 700;
}

.player-pos-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: rgba(163, 230, 53, 0.14);
  color: var(--turf-bright);
  margin-bottom: 0.5rem;
}

.player-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.player-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   SZKÓŁKA PIŁKARSKA (AKADEMia NAPRZODU ŚWIBIE & KIDS CUP)
   ========================================================================== */
.academy-finder-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(22, 25, 37, 0.95) 100%);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 20px;
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.age-slider-wrap {
  margin: 1.5rem 0;
}

.age-range-input {
  width: 100%;
  accent-color: var(--turf-bright);
  height: 8px;
  border-radius: 999px;
  cursor: pointer;
}

.age-recommendation-result {
  background: rgba(9, 10, 15, 0.85);
  border: 1px solid rgba(163, 230, 53, 0.4);
  border-radius: 16px;
  padding: 1.75rem;
}

.academy-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.group-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.group-card:hover,
.group-card.active-group {
  border-color: var(--turf-bright);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(163, 230, 53, 0.15);
}

.group-age-pill {
  align-self: flex-start;
  background: rgba(163, 230, 53, 0.16);
  color: var(--turf-bright);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.group-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

/* Kids Cup Banner */
.kids-cup-banner {
  background:
    linear-gradient(110deg, rgba(9, 10, 15, 0.94) 15%, rgba(16, 40, 28, 0.85) 60%, rgba(9, 10, 15, 0.95) 100%),
    url('assets/hero-academy.png') center/cover;
  border: 2px solid var(--turf-bright);
  border-radius: 22px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   STADION "KĘP NOŁ", INWESTYCJE & 1,5% PODATKU (OPP KRS 0000294473)
   ========================================================================== */
.kep-nol-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.tax-calculator-card {
  background: linear-gradient(145deg, #161925 0%, #0f172a 100%);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2.25rem;
}

.krs-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090a0f;
  border: 1px dashed var(--turf-bright);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin: 1.25rem 0;
}

.krs-Digits {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  color: var(--turf-bright);
  line-height: 1;
}

/* ==========================================================================
   SOCIAL MEDIA HUB (POŁĄCZONE SOCIAL MEDIA KLUBU I SZKÓŁKI)
   ========================================================================== */
.social-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.social-post-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.social-post-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
}

.social-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.social-platform-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(24, 119, 242, 0.16);
  color: #60a5fa;
}

/* ==========================================================================
   PORTFOLIO / B2B SHOWCASE BANNER ("ZAMÓW STRONĘ DLA SWOJEGO KLUBU")
   ========================================================================== */
.agency-showcase-banner {
  background: linear-gradient(125deg, #0d1322 0%, #091e16 50%, #11131c 100%);
  border: 2px solid rgba(163, 230, 53, 0.45);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.agency-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.agency-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #131622;
  border: 1px solid rgba(163, 230, 53, 0.4);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--turf-bright);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: #06070b;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4rem 1.5rem 2.5rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--turf-bright);
}

/* Consolidated Responsive Breakpoints are defined at the bottom of styles.css */

/* ==========================================================================
   INTERACTIVE 4-4-2 TACTICAL SUBSTITUTION STYLES
   ========================================================================== */
.pitch-node.selected-slot .pitch-jersey {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.45), 0 8px 24px rgba(0, 0, 0, 0.85);
  animation: pulseSlot 1.1s infinite;
}

.pitch-node.selected-slot .pitch-player-name {
  background: #f59e0b;
  color: #090a0f;
  border-color: #ffffff;
  font-weight: 800;
}

.pitch-node.drag-over .pitch-jersey {
  transform: scale(1.25);
  border-color: var(--turf-bright) !important;
  box-shadow: 0 0 22px var(--turf-bright);
}

@keyframes pulseSlot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

.player-card.is-starter {
  border-color: rgba(163, 230, 53, 0.38);
  background: linear-gradient(145deg, rgba(163, 230, 53, 0.08) 0%, rgba(22, 25, 37, 0.95) 100%);
}

.player-card.is-coach {
  border-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.14) 0%, rgba(22, 25, 37, 0.95) 100%);
}

.starter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  margin-left: 0.35rem;
  text-transform: uppercase;
}

.sub-btn {
  margin-top: 0.65rem;
  width: 100%;
  padding: 0.42rem 0.65rem;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  transition: var(--transition-fast);
}

.sub-btn:hover {
  background: var(--turf-bright);
  color: #090a0f;
  border-color: var(--turf-bright);
}

.sub-btn.sub-btn--active-target {
  background: #f59e0b;
  color: #090a0f;
  border-color: #ffffff;
}

/* ==========================================================================
   MODULE 1: "GRAJĄ Z NAMI" - INFINITE SPONSOR LOGO CAROUSEL & KLUB 100
   ========================================================================== */
.sponsors-strip-section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(11, 13, 20, 0.72) 0%, rgba(17, 19, 28, 0.72) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.sponsors-header-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.sponsors-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.sponsors-title-tag span {
  color: var(--turf-bright);
}

.sponsors-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.sponsors-carousel-track {
  display: flex;
  gap: 1.35rem;
  width: max-content;
  animation: sponsorsScroll 34s linear infinite;
}

.sponsors-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes sponsorsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sponsor-logo-card {
  width: 235px;
  height: 108px;
  background: rgba(22, 25, 37, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.sponsor-logo-card:hover {
  border-color: var(--turf-bright);
  transform: translateY(-4px) scale(1.03);
  background: #1b2030;
  box-shadow: 0 12px 28px rgba(163, 230, 53, 0.16);
}

.sponsor-logo-card.sponsor-cta-slot {
  border: 1px dashed var(--turf-bright);
  background: rgba(163, 230, 53, 0.08);
}

.sponsor-logo-svg {
  height: 40px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-name-lbl {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.sponsor-role-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.klub100-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.klub100-card {
  background: rgba(15, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.klub100-card:hover,
.klub100-card.featured-tier {
  border-color: rgba(163, 230, 53, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   EXPANDED ACADEMY PORTAL MODULES (4 STEPS, BAG CHECKLIST, PATHWAY, COACHES, CALENDAR, TUITION)
   ========================================================================== */
.steps-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-card:hover {
  border-color: var(--turf-bright);
  transform: translateY(-4px);
}

.step-number-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(163, 230, 53, 0.16);
  border: 1px solid var(--turf-bright);
  color: var(--turf-bright);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.bag-checklist-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 18, 28, 0.95) 100%);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.bag-items-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.bag-item-btn {
  background: rgba(9, 10, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  color: #f8fafc;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bag-item-btn:hover {
  border-color: var(--turf-bright);
  transform: translateY(-2px);
}

.bag-item-btn.packed {
  background: rgba(16, 185, 129, 0.22);
  border-color: var(--turf-bright);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pathway-card {
  background: rgba(9, 10, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--turf-bright);
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--transition-fast);
}

.pathway-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.pillars-6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.35rem;
  transition: var(--transition-fast);
}

.pillar-box:hover {
  border-color: rgba(163, 230, 53, 0.45);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.coach-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.coach-card:hover {
  border-color: var(--turf-bright);
  transform: translateY(-5px);
}

.coach-avatar-badge {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.22), rgba(16, 185, 129, 0.12));
  border: 2px solid var(--turf-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--turf-bright);
}

.calendar-seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.season-card {
  background: rgba(9, 10, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.4rem;
  transition: var(--transition-fast);
}

.season-card:hover {
  border-color: var(--turf-bright);
}

.tuition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tuition-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.tuition-card.highlight-tuition {
  border-color: var(--turf-bright);
  background: linear-gradient(160deg, rgba(163, 230, 53, 0.1) 0%, rgba(22, 25, 37, 0.96) 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   MODULE 3: TRAINING SCHEDULE, PARENT FAQ ACCORDION & DOCUMENTS
   ========================================================================== */
.parent-zone-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.schedule-table th {
  text-align: left;
  padding: 0.75rem;
  background: rgba(9, 10, 15, 0.8);
  color: var(--turf-bright);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.schedule-table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-item {
  background: rgba(9, 10, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 1rem 1.15rem;
  text-align: left;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--turf-bright);
}

.faq-answer {
  display: none;
  padding: 0 1.15rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.docs-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.doc-pill-card {
  background: rgba(9, 10, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.doc-pill-card:hover {
  border-color: var(--turf-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   MODULE 4: BIAŁO-CZARNY FAN SHOP (GADŻETY KLUBOWE)
   ========================================================================== */
.fanshop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.shop-item-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
  position: relative;
}

.shop-item-card:hover {
  border-color: var(--turf-bright);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.shop-visual-box {
  height: 155px;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.09), rgba(9, 10, 15, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  position: relative;
  overflow: hidden;
}

.shop-price-tag {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--turf-bright);
  line-height: 1;
}

/* ==========================================================================
   MODULE 5: TIMELINE (1952-2026) & PHOTO GALLERY WITH LIGHTBOX
   ========================================================================== */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-step {
  background: rgba(9, 10, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--turf-bright);
  border-radius: 12px;
  padding: 1.15rem;
  transition: var(--transition-fast);
}

.timeline-step:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--turf-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090a0f;
}

.gallery-card img,
.gallery-card .gallery-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img,
.gallery-card:hover .gallery-art {
  transform: scale(1.08);
}

.gallery-caption-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 11, 0.92) 10%, transparent 65%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

/* ==========================================================================
   MODULE 6: MAP & DIRECTIONS TO "KĘP NOŁ" (UL. SPORTOWA 51, ŚWIBIE)
   ========================================================================== */
.map-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  margin-top: 2rem;
}

.map-frame-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(163, 230, 53, 0.35);
  min-height: 360px;
  background: #090a0f;
  position: relative;
}

/* ==========================================================================
   BASE UTILITY GRIDS & PREVENTING GRID BLOWOUT
   ========================================================================== */
.hero-container > *,
.match-center-grid > *,
.squad-layout > *,
.academy-finder-box > *,
.kids-cup-banner > *,
.kep-nol-grid > *,
.parent-zone-grid > *,
.map-contact-grid > *,
.agency-showcase-grid > *,
.footer-grid > * {
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  border-color: var(--turf-bright);
  color: var(--turf-bright);
}

.spotlight-academy-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.sync-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.table-scroll-wrap {
  overflow-x: auto;
  max-height: 620px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.kep-nol-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.agency-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
}

/* ==========================================================================
   COMPREHENSIVE TABLET & MOBILE RESPONSIVE ARCHITECTURE
   ========================================================================== */

/* 1. Large Tablets & Compact Laptops (<= 1180px): Switch to Mobile Drawer Menu */
@media (max-width: 1180px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(9, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--turf-bright);
    padding: 0.85rem 1.25rem 1.15rem;
    gap: 0.35rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
    z-index: 1050;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(163, 230, 53, 0.16);
    border-color: var(--turf-bright);
    color: var(--turf-bright);
  }
}

/* 2. Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .floating-social-dock {
    display: none;
  }

  /* Split-Screen Portal Gateway on Tablet & Mobile — Fits 100dvh with zero scroll */
  .portal-gateway {
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .portal-side {
    flex: 1 1 0%;
    height: auto;
    min-height: 0;
    padding: 0.85rem 1.5rem;
    align-items: center !important;
    text-align: center !important;
    justify-content: center;
    transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease, padding 0.5s ease;
  }

  .portal-side--club {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 1.5rem 2.2rem;
  }

  .portal-side--academy {
    border-left: none;
    border-top: 2px solid rgba(163, 230, 53, 0.35);
    padding: 2.2rem 1.5rem 0.85rem;
  }

  /* Dotykowe stany aktywne (Powiększenie sekcji i przesunięcie linii podziału) */
  .portal-gateway.active-club .portal-side--club {
    flex: 1.85 1 0%;
    filter: brightness(1.06);
    padding: 1.1rem 1.5rem 2.85rem;
  }

  .portal-gateway.active-club .portal-side--academy {
    flex: 0.85 1 0%;
    filter: brightness(0.65);
    padding: 2.4rem 1.5rem 0.85rem;
  }

  .portal-gateway.active-club .portal-center-badge {
    top: 67%;
  }

  .portal-gateway.active-academy .portal-side--academy {
    flex: 1.85 1 0%;
    filter: brightness(1.06);
    padding: 2.85rem 1.5rem 1.1rem;
  }

  .portal-gateway.active-academy .portal-side--club {
    flex: 0.85 1 0%;
    filter: brightness(0.65);
    padding: 0.85rem 1.5rem 2.4rem;
  }

  .portal-gateway.active-academy .portal-center-badge {
    top: 33%;
  }

  /* Zwinięcie zbędnych elementów w nieaktywnej sekcji */
  .portal-side.is-inactive .portal-desc,
  .portal-side.is-inactive .portal-tags {
    display: none;
  }

  .portal-side.is-inactive .portal-cta {
    display: none;
  }

  .portal-side.is-inactive .portal-tap-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.03em;
    animation: tapHintPulse 2s ease-in-out infinite;
  }

  .portal-side.is-active .portal-tap-hint {
    display: none;
  }

  .portal-tap-hint {
    display: none;
  }

  .portal-side.is-active .portal-cta {
    display: inline-flex;
    animation: ctaPulseGlow 2.5s ease-in-out infinite;
  }

  .portal-side--club.is-active .portal-cta {
    animation: ctaPulseWhite 2.5s ease-in-out infinite;
  }

  .portal-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .portal-side-logo,
  .portal-side-logo--academy {
    width: 58px;
    height: 62px;
    margin: 0 auto 0.45rem;
  }

  .portal-side--academy .portal-tags,
  .portal-tags {
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .portal-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 0.35rem;
  }

  .portal-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
  }

  .portal-center-badge {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .crest-shield {
    width: 72px;
    height: 84px;
  }

  .portal-vs-pill {
    margin-top: 0.3rem;
    padding: 0.22rem 0.7rem;
    font-size: 0.62rem;
  }

  .portal-skip-bottom {
    display: none;
  }

  /* Main Sections & Multi-column Grids on Tablet */
  .hero-container,
  .match-center-grid,
  .squad-layout,
  .academy-finder-box,
  .kids-cup-banner,
  .kep-nol-grid,
  .parent-zone-grid,
  .map-contact-grid,
  .agency-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .klub100-packages-grid,
  .coaches-grid,
  .tuition-grid {
    grid-template-columns: 1fr;
  }

  .pillars-6-grid,
  .academy-groups-grid,
  .fanshop-grid,
  .gallery-grid,
  .steps-4-grid,
  .pathway-grid,
  .calendar-seasons-grid,
  .bag-items-grid,
  .timeline-track {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tactical Pitch & Squad Cards on Tablet */
  .tactical-pitch {
    max-width: 460px;
    max-height: 540px;
  }

  .players-grid {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .players-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Scale 3D Rolling Background Balls on Tablet */
  .bg-rolling-ball--main {
    width: 185px;
    height: 185px;
    opacity: 0.56;
  }

  .bg-rolling-ball--secondary {
    width: 120px;
    height: 120px;
    opacity: 0.36;
  }
}

/* 3. Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .navbar-inner {
    flex-wrap: wrap;
    padding: 0.55rem 0.9rem;
    gap: 0.55rem;
  }

  .brand-crest {
    width: 34px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .world-switcher {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.2rem;
    padding: 0.2rem;
  }

  .world-btn {
    justify-content: center;
    padding: 0.42rem 0.5rem;
    font-size: 0.74rem;
  }

  .world-btn--portal {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .section {
    padding: 3.25rem 1rem;
  }

  .sponsors-strip-section {
    padding: 2.5rem 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .sync-header-actions {
    align-items: flex-start;
    width: 100%;
  }

  .section-subtitle {
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem 0.95rem;
  }
}

/* 4. Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  /* Compact Portal Gateway for Mobile Phones — 100% fits without scrolling */
  .portal-side {
    padding: 0.55rem 0.85rem;
  }

  .portal-side--club {
    padding: 0.55rem 0.85rem 1.65rem;
  }

  .portal-side--academy {
    padding: 1.65rem 0.85rem 0.55rem;
  }

  .portal-gateway.active-club .portal-side--club {
    padding: 0.75rem 0.85rem 2.6rem;
  }

  .portal-gateway.active-club .portal-side--academy {
    padding: 2.2rem 0.85rem 0.65rem;
  }

  .portal-gateway.active-academy .portal-side--academy {
    padding: 2.6rem 0.85rem 0.75rem;
  }

  .portal-gateway.active-academy .portal-side--club {
    padding: 0.65rem 0.85rem 2.2rem;
  }

  .portal-side-logo,
  .portal-side-logo--academy {
    width: 44px;
    height: 48px;
    margin: 0 auto 0.3rem;
  }

  .spotlight-academy-logo {
    width: 56px;
    height: 56px;
  }

  .kidscup-banner-logo {
    width: 68px;
    height: 68px;
  }

  .portal-kicker {
    font-size: 0.66rem;
    padding: 0.28rem 0.65rem;
    margin-bottom: 0.55rem;
  }

  .portal-title {
    font-size: clamp(1.95rem, 7.5vw, 2.5rem);
    margin-bottom: 0.4rem;
  }

  .portal-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .portal-tags {
    gap: 0.3rem;
    margin-bottom: 0.75rem;
  }

  .portal-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .portal-cta {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    font-size: 0.8rem;
  }

  .crest-shield {
    width: 56px;
    height: 65px;
  }

  .portal-vs-pill {
    font-size: 0.56rem;
    padding: 0.18rem 0.55rem;
    letter-spacing: 0.1em;
  }

  /* Navbar Mobile Refinements */
  .fb-text-lbl {
    display: none;
  }

  .social-pill-link {
    padding: 0.42rem 0.65rem;
  }

  /* Hero Mobile Refinements */
  .hero {
    padding: 1.15rem 1rem 1.85rem;
  }

  .hero-badge-row {
    gap: 0.4rem;
  }

  .status-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
    letter-spacing: 0.06em;
    white-space: normal;
    line-height: 1.3;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 9.5vw, 3rem);
    margin-bottom: 0.65rem;
  }

  .hero-lead {
    font-size: 0.92rem;
    margin-bottom: 1.1rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .stat-value {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .hero-spotlight-card {
    padding: 1.15rem 1rem;
    border-radius: 16px;
  }

  .spotlight-header {
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .countdown-grid {
    gap: 0.45rem;
  }

  .cd-cell {
    padding: 0.5rem 0.3rem;
  }

  .cd-num {
    font-size: 1.5rem;
  }

  .match-teams-versus {
    gap: 0.4rem;
    padding: 0.65rem 0 !important;
  }

  .team-badge-circle {
    width: 44px !important;
    height: 44px !important;
    font-size: 0.95rem !important;
  }

  .vs-score-box {
    font-size: 1.3rem !important;
    padding: 0.15rem 0.5rem !important;
  }

  .spotlight-academy-mini-grid {
    grid-template-columns: 1fr;
  }

  /* Ticker on Mobile */
  .ticker-item {
    font-size: 1.15rem;
    padding: 0 1.1rem;
  }

  /* Sponsors Carousel on Mobile */
  .sponsors-title-tag {
    font-size: 1.7rem;
  }

  .sponsor-logo-card {
    width: 185px;
    height: 94px;
    padding: 0.75rem 0.9rem;
  }

  /* Cards & Containers Padding on Mobile */
  .panel-card,
  .academy-finder-box,
  .kids-cup-banner,
  .tax-calculator-card,
  .agency-showcase-banner,
  .bag-checklist-box,
  .age-recommendation-result,
  .modal-box {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }

  .panel-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
  }

  /* League Table & Schedule Table on Mobile */
  .league-table,
  .schedule-table {
    font-size: 0.76rem;
  }

  .league-table th,
  .league-table td,
  .schedule-table th,
  .schedule-table td {
    padding: 0.55rem 0.35rem;
  }

  /* Match Row Items: Clean 2-Row Card Layout on Mobile */
  .match-row-item {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.45rem;
    padding: 0.75rem 0.65rem;
  }

  .match-date-tag {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.35rem;
    margin-bottom: 0.15rem;
    font-size: 0.72rem;
  }

  .match-swibie-crest {
    width: 24px;
    height: 28px;
  }

  .match-swibie-line1,
  .match-swibie-line2 {
    font-size: 0.78rem;
  }

  .match-opponent-name {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .match-team-wrap {
    gap: 0.45rem;
  }

  .match-score-pill {
    font-size: 1.1rem;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
  }

  .players-subgrid {
    grid-template-columns: 1fr;
    padding: 0.25rem 0.75rem 1rem;
    gap: 0.65rem;
  }

  .squad-accordion-header {
    padding: 0.85rem 0.95rem;
  }

  .squad-cat-title {
    font-size: 1.15rem;
  }

  .squad-cat-starter-pill {
    font-size: 0.64rem;
  }

  /* Tactical 1-4-4-2 Pitch on Mobile (Prevent 4-across label overlap!) */
  .tactical-pitch {
    aspect-ratio: 3 / 4.25;
    border-width: 2px;
  }

  .pitch-circle-center {
    width: 76px;
    height: 76px;
  }

  .pitch-jersey {
    width: 32px;
    height: 32px;
    font-size: 0.92rem;
    border-width: 1.5px;
  }

  .pitch-player-name {
    font-size: 0.55rem;
    padding: 0.1rem 0.25rem;
    max-width: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Single-Column Grids on Mobile */
  .academy-groups-grid,
  .fanshop-grid,
  .gallery-grid,
  .timeline-track,
  .docs-download-grid,
  .steps-4-grid,
  .pathway-grid,
  .pillars-6-grid,
  .calendar-seasons-grid,
  .bag-items-grid,
  .kep-nol-features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* KRS 1.5% Copy Box on Mobile */
  .krs-copy-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    text-align: center;
  }

  .krs-Digits {
    font-size: 1.85rem;
  }

  /* Filter Tabs Compact on Mobile */
  .filter-tab {
    padding: 0.42rem 0.8rem;
    font-size: 0.74rem;
  }

  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.84rem;
  }

  /* Scale 3D Rolling Balls on Mobile */
  .bg-rolling-ball--main {
    width: 130px;
    height: 130px;
    opacity: 0.46;
  }

  .bg-rolling-ball--secondary {
    width: 86px;
    height: 86px;
    opacity: 0.3;
  }

  .bg-watermark-text {
    font-size: clamp(3.4rem, 15vw, 6rem);
    -webkit-text-stroke: 1px rgba(163, 230, 53, 0.14);
  }
}

/* 5. Extra-Compact Phones (<= 390px) */
@media (max-width: 390px) {
  .world-btn {
    font-size: 0.68rem;
    padding: 0.38rem 0.35rem;
  }

  .pitch-jersey {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .pitch-player-name {
    font-size: 0.5rem;
    max-width: 58px;
  }
}

