/* ─── UTILITY (index-specific) ──────────────────────────────────── */
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
}

.section-title span { color: var(--orange); }

.btn {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ─── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,.5);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.nav-cta:hover { background: var(--orange2); }
.nav-cta::after { display: none !important; }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,107,0,.15) 0%, transparent 60%),
    linear-gradient(to right, rgba(13,13,13,.88) 25%, rgba(13,13,13,.45) 100%),
    url('../grafika/ekipa/baner.png') center/cover no-repeat;
  background-color: var(--dark2);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(255,107,0,.12) 0%, transparent 60%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: var(--orange);
  opacity: .06;
}

.shape-1 {
  width: 500px; height: 500px;
  right: -100px; top: -100px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 25s linear infinite;
}

.shape-2 {
  width: 200px; height: 200px;
  right: 200px; bottom: 100px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 18s linear infinite reverse;
  opacity: .1;
}

.shape-3 {
  width: 80px; height: 80px;
  right: 450px; top: 200px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 12s linear infinite;
  opacity: .15;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 28px;
}

.hero-title .line-orange { color: var(--orange); display: block; }

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

.stat-item { text-align: left; }

.stat-number {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ─── DIAGONAL DIVIDER ──────────────────────────────────────────── */
.divider-top {
  height: 80px;
  background: var(--dark2);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
  margin-top: -1px;
}

.divider-bottom {
  height: 80px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  margin-bottom: -1px;
}

/* ─── AKTUALNOŚCI ───────────────────────────────────────────────── */
.news {
  background: var(--black);
  padding: 100px 0;
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--dark2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition);
  border: 1px solid rgba(255,255,255,.05);
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover { transform: translateY(-6px); }

.news-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--dark3);
  position: relative;
  overflow: hidden;
}

.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.05); }

.news-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark3), var(--dark2));
  font-size: 48px;
}

.news-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--orange);
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

.news-card-body { padding: 24px; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 1px;
}

.news-meta span { display: flex; align-items: center; gap: 5px; }

.news-card-title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.news-card:hover .news-card-title { color: var(--orange); }

.news-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
}

.news-side { display: flex; flex-direction: column; gap: 12px; }

.news-mini {
  background: var(--dark2);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform var(--transition);
  text-decoration: none;
  color: inherit;
  flex: 1;
}


.news-mini:hover { transform: translateX(6px); }

.news-mini-image {
  width: 100px;
  flex-shrink: 0;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

.news-mini-body { padding: 14px 16px; }

.news-mini-badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-family: var(--font-h);
  margin-bottom: 6px;
}

.news-mini-title {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 6px;
}

.news-mini-date { font-size: 11px; color: var(--gray); }

/* ─── SPONSOR SLIDER ────────────────────────────────────────────── */
.sponsors {
  background: var(--dark2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.sponsors::before, .sponsors::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}

.sponsors::before { left: 0; background: linear-gradient(to right, var(--dark2), transparent); }
.sponsors::after  { right: 0; background: linear-gradient(to left, var(--dark2), transparent); }

.sponsors-header { text-align: center; margin-bottom: 56px; }

.slider-wrapper { overflow: hidden; position: relative; }

.slider-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(13,13,13,.65);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.slider-arrow--left  { left: 12px; }
.slider-arrow--right { right: 12px; }

.sponsor-slide {
  flex-shrink: 0;
  width: 260px;
  margin: 0 20px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
  padding: 24px 20px 20px;
  text-decoration: none;
  color: inherit;
}

.sponsor-slide:hover {
  border-color: var(--orange);
  transform: scale(1.04);
}

.sponsor-slide img {
  max-width: 100%; max-height: 150px;
  object-fit: contain;
  filter: none;
}

.sponsor-slide-name {
  font-family: var(--font-h);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  transition: color var(--transition);
}

.sponsor-slide:hover .sponsor-slide-name { color: var(--orange); }

.sponsor-placeholder {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
}

/* ─── ZAWODNICY ─────────────────────────────────────────────────── */
.players {
  background: var(--black);
  padding: 100px 0;
}

.players-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.players-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.player-card {
  background: var(--dark2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform var(--transition), border-color var(--transition);
  cursor: pointer;
}

.player-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
}

.player-image {
  aspect-ratio: 3/4;
  background: var(--dark3);
  position: relative;
  overflow: hidden;
}

.player-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.player-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(160deg, var(--dark3) 0%, rgba(255,107,0,.1) 100%);
  padding-bottom: 16px;
  font-size: 64px;
}

.player-number {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,.08);
  line-height: 1;
  user-select: none;
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.95) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.player-card:hover .player-overlay { opacity: 1; }

.player-stats {
  display: flex;
  gap: 16px;
}

.player-stat {
  text-align: center;
}

.player-stat-val {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}

.player-stat-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.player-info { padding: 16px; }

.player-position {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.player-name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ─── HARMONOGRAM WYDARZEŃ (KALENDARZ) ──────────────────────────── */
.schedule {
  background: var(--dark2);
  padding: 100px 0;
  position: relative;
}

.schedule::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--orange), transparent);
}

.schedule-header { margin-bottom: 48px; }

/* Nawigacja miesiąca */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cal-nav-btn {
  width: 40px; height: 40px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.cal-nav-btn:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); }
.cal-nav-btn:disabled { opacity: .3; cursor: default; }

.cal-nav-title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex; align-items: baseline; gap: 12px;
}

.cal-year-lbl { font-size: .9rem; color: var(--orange); font-weight: 400; }

/* Nagłówek dni tygodnia */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.cal-wday {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  padding: 8px 0;
}

/* Siatka kalendarza */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  overflow: visible;
}

/* Kafelek dnia */
.cal-day {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 4px;
  min-height: 88px;
  padding: 10px 10px 8px;
  position: relative;
  transition: border-color var(--transition);
  overflow: visible;
}

.cal-day--other {
  background: transparent;
  border-color: transparent;
  opacity: .25;
}

.cal-day--today {
  border-color: var(--orange);
}

.cal-day--today .cal-day-num {
  color: var(--orange);
  font-weight: 700;
}

.cal-day--event { cursor: default; }

.cal-day-num {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.cal-day--event .cal-day-num { color: var(--white); }

/* Lista wydarzeń w kafelku */
.cal-events-list { display: flex; flex-direction: column; gap: 4px; }

.cal-event-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.cal-event-label { overflow: hidden; text-overflow: ellipsis; }

.cal-event-name {
  font-size: 11px;
  letter-spacing: .5px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
  padding-left: 12px;
}

/* Kolorowe kropki według typu */
.cal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.cal-event--mecz    .cal-dot, .cal-dot.cal-event--mecz    { background: var(--orange); }
.cal-event--sparing .cal-dot, .cal-dot.cal-event--sparing { background: #4DB6AC; }
.cal-event--turniej .cal-dot, .cal-dot.cal-event--turniej { background: #FFD54F; }
.cal-event--trening .cal-dot, .cal-dot.cal-event--trening { background: #81C784; }
.cal-event--inne    .cal-dot, .cal-dot.cal-event--inne    { background: var(--gray); }

.cal-event--mecz    .cal-event-label { color: var(--orange); }
.cal-event--sparing .cal-event-label { color: #4DB6AC; }
.cal-event--turniej .cal-event-label { color: #FFD54F; }
.cal-event--trening .cal-event-label { color: #81C784; }
.cal-event--inne    .cal-event-label { color: var(--gray); }

/* Tooltip */
.cal-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 260px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.cal-tip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--dark);
}

.cal-day--event:hover .cal-tip { opacity: 1; }

/* Flip — tooltip po lewej stronie */
.cal-day--flip-l .cal-tip {
  left: auto; right: 0;
  transform: none;
}
.cal-day--flip-l .cal-tip::after { left: auto; right: 16px; transform: none; }

/* Flip — tooltip po prawej stronie */
.cal-day--flip-r .cal-tip {
  left: 0;
  transform: none;
}
.cal-day--flip-r .cal-tip::after { left: 16px; transform: none; }

.cal-tip-event { }

.cal-tip-badge {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.cal-event--mecz.cal-tip-badge    { background: rgba(255,107,0,.15); color: var(--orange); }
.cal-event--sparing.cal-tip-badge { background: rgba(77,182,172,.15); color: #4DB6AC; }
.cal-event--turniej.cal-tip-badge { background: rgba(255,213,79,.15); color: #FFD54F; }
.cal-event--trening.cal-tip-badge { background: rgba(129,199,132,.15); color: #81C784; }
.cal-event--inne.cal-tip-badge    { background: rgba(136,136,136,.15); color: var(--gray); }

.cal-tip-name {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.cal-tip-title {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cal-tip-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}

.cal-tip-row span { flex-shrink: 0; }

.cal-tip-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 10px 0;
}

/* Legenda */
.cal-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.cal-leg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─── PRZEŁĄCZNIK DESKTOP / MOBILE ─────────────────────────────── */
.cal-mobile-only { display: none !important; }
.cal-desktop-only { display: grid; }

/* ─── WIDOK LISTY (AGENDA) — MOBILE ────────────────────────────── */
.cal-agenda { display: flex; flex-direction: column; gap: 12px; }

.cal-agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--dark3);
  border-radius: 4px;
  padding: 16px;
  border-left: 3px solid transparent;
}

.cal-agenda-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 8px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.05);
}

.cal-event--mecz    .cal-agenda-day { color: var(--orange); }
.cal-event--sparing .cal-agenda-day { color: #4DB6AC; }
.cal-event--turniej .cal-agenda-day { color: #FFD54F; }
.cal-event--trening .cal-agenda-day { color: #81C784; }
.cal-event--inne    .cal-agenda-day { color: var(--gray); }

.cal-agenda-day {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.cal-agenda-mon {
  font-family: var(--font-h);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-top: 3px;
}

.cal-agenda-info { flex: 1; }

.cal-agenda-name {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--orange);
  text-transform: uppercase;
  font-family: var(--font-h);
  margin-bottom: 4px;
}

.cal-agenda-title-ev {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin: 6px 0 6px;
}

.cal-agenda-row {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
}

.cal-agenda-empty {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  padding: 32px 0;
}

@media (max-width: 640px) {
  .cal-mobile-only  { display: flex !important; }
  .cal-desktop-only { display: none !important; }
}

/* ─── FORMULARZE ─────────────────────────────────────────────────── */
.forms-section {
  background: var(--black);
  padding: 100px 0;
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-card {
  background: var(--dark2);
  border-radius: 4px;
  padding: 48px 40px;
  border-top: 3px solid var(--orange);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--orange);
  opacity: .03;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.form-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.form-title {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
  margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-b);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--orange); }

.form-select option { background: var(--dark3); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FF6B00' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 100px; }

/* Honeypot — pole-pułapka na boty, niewidoczne dla ludzi */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit { margin-top: 8px; width: 100%; text-align: center; }

.success-msg {
  display: none;
  background: rgba(255,107,0,.1);
  border: 1px solid var(--orange);
  border-radius: 3px;
  padding: 14px 20px;
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 16px;
  text-align: center;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 72px; height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px; height: 38px;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.social-link--facebook {
  width: 46px; height: 46px;
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
  box-shadow: 0 0 18px rgba(24,119,242,.55);
}

.social-link--facebook:hover {
  background: #0d5fcf;
  border-color: #0d5fcf;
  box-shadow: 0 0 26px rgba(24,119,242,.8);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

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

.footer-col ul a {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul a::before {
  content: '›';
  color: var(--orange);
  font-weight: bold;
  font-size: 16px;
}

.footer-col ul a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray);
}

.footer-bottom span { color: var(--orange); }

/* ─── SCROLL TO TOP ──────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--orange);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover { background: var(--orange2); }

/* ─── SECTION DIVIDERS ───────────────────────────────────────────── */
.angled-top {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: 140px !important;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-side { flex-direction: row; }
  .news-mini { flex: 1; }
  .forms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 32px; }
  .stat-number { font-size: 2.2rem; }
  .match-item { grid-template-columns: 80px 1fr; gap: 12px; }
  .match-team.home { display: none; }
  .match-score-box { display: none; }
  .match-type-badge { display: none; }
  .news-side { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .forms-section .form-card { padding: 32px 24px; }
}
