/* ===== DESIGN TOKENS ===== */
:root {
  --bg-deep: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: #ffffff;
  --bg-section: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-light: #ffffff;
  --text-muted: #6e6e73;
  --border: #d2d2d7;
  --shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
  --accent: #0071e3;

  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
    'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-card);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 500;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--text-light);
  color: #000;
  border: none;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ===== SEKCJA: NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.navbar.scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  letter-spacing: -0.01em;
}

.logo-light {
  font-weight: 300;
  color: var(--text-light);
}

.logo-bold {
  font-weight: 700;
  color: var(--text-light);
}

.pf-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.pf-nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pf-nav-link:hover {
  color: var(--text-light);
}

.pf-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.pf-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-light);
}

.pf-mobile-menu {
  display: none;
}

/* ===== SEKCJA: HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--bg-deep);
  display: flex;
  /* stretch, nie center: .hero-right ma align-self:stretch żeby panel newsów
     wypełniał całą wysokość kafla, ale to wymaga żeby .hero-inner (jego rodzic
     w łańcuchu) faktycznie MIAŁ pełną wysokość do rozciągnięcia się — z
     center .hero-inner był wysoki tylko tyle, ile potrzebował .hero-left */
  align-items: stretch;
  padding-top: 72px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-left {
  flex: 0 0 50%;
}

.hero-right {
  flex: 0 0 50%;
  /* .hero-inner ma align-items:center (dopasowanie do wysokości contentu) —
     bez stretch tutaj .hero-news-panel's height:100% nie miałby do czego się
     odnieść i skolapsowałby do wysokości własnej zawartości. */
  align-self: stretch;
  /* Domyślny automatyczny min-width flex itema opiera się na min-content jego
     zawartości — rząd niezawijających się kart w środku mógłby (jak wcześniej)
     wypchnąć tę kolumnę szerzej niż jej własny flex-basis. min-width:0 to
     standardowe zabezpieczenie przed tą klasą buga. */
  min-width: 0;
}

.hero-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light);
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-headline span {
  display: block;
}

/* ===== HERO REVEAL: "TRAIN BEYOND LIMITS." → "HVY DTY" ===== */
/* Overlay nakłada się na oryginalny nagłówek (position:absolute), więc
   .hero-headline-wrap musi zostać w normalnym flow, żeby to on nadawał
   wysokość — headline też zostaje w flow (znika tylko przez opacity, nie
   display:none), więc layout się nie zapada w trakcie animacji. */
.hero-headline-wrap {
  position: relative;
}

.hero-headline {
  animation: heroHeadlineFadeOut 0.5s ease-in 2s forwards;
}

.hero-hvy-dty {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  pointer-events: none;
}

.hero-hvy-dty span {
  display: block;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #FFD60A;
  opacity: 0;
}

.hero-hvy-dty .hvy {
  animation: heroHeadlineFadeIn 0.5s ease-out 2.5s forwards;
}

.hero-hvy-dty .dty {
  animation: heroHeadlineFadeIn 0.5s ease-out 3s forwards;
}

@keyframes heroHeadlineFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes heroHeadlineFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Bez animacji dla osób preferujących ograniczony ruch — od razu końcowy stan */
@media (prefers-reduced-motion: reduce) {
  .hero-headline {
    animation: none;
    opacity: 0;
  }

  .hero-hvy-dty .hvy,
  .hero-hvy-dty .dty {
    animation: none;
    opacity: 1;
  }
}

.hero-desc {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 460px;
  margin-bottom: 40px;
}

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

.hero-image-placeholder {
  aspect-ratio: 3 / 4;
  background: #111111;
  border-radius: 18px;
  width: 100%;
}

/* ===== SEKCJA: MARQUEE ===== */
.marquee-section {
  height: 80px;
  background: var(--bg-section);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: marquee 24s linear infinite;
  padding-left: 100%;
}

.marquee-dot {
  color: var(--text-muted);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ===== SEKCJA: PRODUKTY ===== */
.products {
  background: var(--bg-card);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.product-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-section);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-placeholder {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}

.product-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.btn-add-to-cart {
  background: #FFD60A;
  color: #000000;
  font-weight: 600;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.btn-add-to-cart:hover {
  opacity: 0.85;
}

.btn-add-to-cart.is-added {
  background: #1d1d1f;
}

/* ===== SEKCJA: BRAND / MANIFEST ===== */
.brand {
  background: var(--bg-deep);
  padding: 120px 24px;
  text-align: center;
}

.brand-inner {
  max-width: 700px;
  margin: 0 auto;
}

.brand-title {
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light);
  margin-bottom: 32px;
}

.brand-desc {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ===== SEKCJA: FOOTER ===== */
.footer {
  background: #1d1d1f;
  color: #a1a1a6;
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 13px;
}

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

.footer-logo {
  color: var(--text-light);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.footer-heading {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-col a {
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-light);
}

/* ===== RESPONSYWNOŚĆ: TABLET ===== */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ===== RESPONSYWNOŚĆ: MOBILE ===== */
@media (max-width: 768px) {
  .pf-nav-links {
    display: none;
  }

  .pf-hamburger {
    display: flex;
  }

  .pf-mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
  }

  .pf-mobile-menu.open {
    max-height: 600px;
    padding: 8px 24px 16px;
  }

  .pf-mobile-link {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    flex: 1 1 auto;
  }

  .hero-right {
    display: none;
  }

  .hero-headline {
    font-size: 42px;
  }

  .hero-hvy-dty span {
    font-size: 42px;
  }

  .section-title {
    font-size: 34px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 56px;
  }

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

/* ===== SEKCJA ZAWODY + KLUBY (mapa) ===== */

.section-map {
  background: #000000;
  padding: 100px 0 80px;
  color: #ffffff;
}

.section-map .section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.section-map .section-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-map .section-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

/* Filtry regionów */
.region-filters {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.region-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.region-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.region-btn.active {
  background: #FFD60A;
  color: #000000;
  border-color: #FFD60A;
  font-weight: 600;
}

/* Kontener mapy */
.map-wrapper {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.map-frame {
  width: 100%;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Kontener mapy tworzy własny stacking context — panele Leafleta (do z-index:700) nie mogą wychodzić nad navbar */
#clubs-map,
#hyrox-map {
  z-index: 0;
}

/* Leaflet overrides — ciemny styl */
.leaflet-popup-content-wrapper {
  background: #1c1c1e !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  padding: 16px 20px !important;
}

.leaflet-popup-tip {
  background: #1c1c1e !important;
}

.leaflet-popup-close-button {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 18px !important;
  top: 8px !important;
  right: 8px !important;
}

.popup-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.popup-dates {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

#hyrox-map .popup-link {
  display: inline-block;
  background: #FFD60A;
  color: #000000 !important;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 980px;
  text-decoration: none;
  transition: opacity 0.2s;
}

#hyrox-map .popup-link:hover {
  opacity: 0.85;
}

/* Przycisk w popup klubu — żółty na hover */
.popup-link.popup-link-club {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.popup-link-club:hover {
  background: #FFD60A;
  color: #000000;
  border-color: #FFD60A;
}

/* Brak strony www */
.popup-link-disabled {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}

/* Pin marker */
.hyrox-pin {
  width: 14px;
  height: 14px;
  background: #FFD60A;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.hyrox-pin:hover {
  transform: scale(1.4);
}

/* Pin Polska — wyróżniony */
.hyrox-pin.pin-polska {
  background: #FFD60A;
  box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.5), 0 0 20px rgba(255, 214, 10, 0.5);
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
}

/* Lista zawodów */
.events-list-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.event-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  transition: background 0.35s ease, transform 0.25s ease,
              box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.event-card:hover {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Tekst wewnątrz karty zawodów na hover */
.event-card:hover .event-card-country,
.event-card:hover .event-card-name,
.event-card:hover .event-card-dates,
.event-card:hover .event-card-link {
  color: #ffffff !important;
}

/* Link rejestracji na hover — żółty */
.event-card:hover .event-card-link {
  color: #FFD60A !important;
}

.event-card.highlighted {
  border-color: rgba(255, 214, 10, 0.5);
  background: rgba(255, 214, 10, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.15);
}

/* Karta Poznań (highlighted) na hover */
.event-card.highlighted:hover {
  background: #000000 !important;
  border-color: rgba(255, 214, 10, 0.4) !important;
}

.event-card-country {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Polska badge */
.event-card-country.badge-polska {
  color: #FFD60A;
  font-weight: 700;
}

.event-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.event-card-dates {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.event-card-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.event-card-link:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .section-map .section-title {
    font-size: 34px;
  }

  .map-frame {
    height: 360px;
    border-radius: 12px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SEKCJA KLUBY ===== */

.section-kluby {
  background: #000000;
  padding: 100px 0 80px;
  color: #ffffff;
}

.section-kluby .section-header {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.section-kluby .section-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-kluby .section-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.5);
}

/* Licznik */
.clubs-counter {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

#clubs-count {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.counter-dot {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.2);
}

/* Mapa — identyczna technologia jak #zawody */
#clubs-map {
  width: 100%;
  height: 480px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.clubs-list-wrapper {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

/* Karta klubu */
.club-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.25s ease,
              box-shadow 0.25s ease, border-color 0.25s ease;
}

.club-card:hover {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Tekst wewnątrz karty klubu na hover */
.club-card:hover .club-card-city,
.club-card:hover .club-card-name,
.club-card:hover .club-card-type,
.club-card:hover .club-card-action {
  color: #ffffff !important;
}

/* Link/akcja na hover — żółty */
.club-card:hover .club-card-action {
  color: #FFD60A !important;
}

.club-card-city {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.club-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.club-card-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}

.club-card-action {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Badge niezweryfikowany */
.club-card-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 200, 0, 0.7);
  border: 1px solid rgba(255, 200, 0, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  margin-top: 8px;
}

/* CTA dla klubów */
.clubs-cta {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.clubs-cta-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 980px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== MODAL PROFIL KLUBU ===== */

.club-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.club-modal {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.club-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.club-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.club-modal-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.club-modal-logo {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

.club-modal-type {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 59, 48, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.club-modal-name {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.club-modal-address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

.club-modal-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.club-modal-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.club-modal-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.modal-section-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.trainer-card {
  text-align: center;
}

.trainer-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.trainer-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.trainer-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.club-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary-small {
  background: #ffffff;
  color: #000000;
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-primary-small:hover {
  opacity: 0.85;
}

.btn-outline-small {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-small:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Formularz zgłoszenia */
.club-form-modal {
  max-width: 480px;
}

.club-form-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  line-height: 1.5;
}

.club-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-field input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.btn-primary-full {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  margin-bottom: 12px;
}

.btn-primary-full:hover {
  opacity: 0.88;
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .section-kluby .section-title {
    font-size: 34px;
  }

  #clubs-map {
    height: 340px;
    border-radius: 12px;
  }

  .clubs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .club-modal {
    padding: 24px;
    border-radius: 16px;
  }

  .clubs-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .clubs-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PRZYCISK REJESTRACJI W NAVBARZE ===== */

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-register-nav {
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-register-nav:hover {
  opacity: 0.85;
}

/* ===== MODAL REJESTRACJI ===== */

.reg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(12px);
}

.reg-modal {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 36px 36px;
}

/* Pasek postępu */
.reg-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.reg-progress-bar {
  height: 100%;
  background: #FFD60A;
  transition: width 0.4s ease;
  border-radius: 24px;
}

/* Przyciski nawigacji */
.reg-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.5);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-close:hover {
  background: rgba(255,255,255,0.13);
  color: #ffffff;
}

.reg-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.2s;
  display: block;
}

.reg-back:hover { color: rgba(255,255,255,0.8); }

/* Header */
.reg-logo {
  font-size: 13px;
  font-weight: 700;
  color: #FFD60A;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.reg-header {
  margin-bottom: 28px;
}

.reg-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.reg-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
}

.reg-role-badge {
  display: inline-block;
  background: rgba(255,214,10,0.12);
  color: #FFD60A;
  border: 1px solid rgba(255,214,10,0.25);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Karty ról */
.role-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.role-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,214,10,0.3);
  transform: translateX(4px);
}

.role-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.role-info { flex: 1; }

.role-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.role-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.role-arrow {
  color: rgba(255,255,255,0.25);
  font-size: 16px;
  transition: color 0.2s;
}

.role-card:hover .role-arrow {
  color: #FFD60A;
}

/* Pola formularza */
.reg-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 7px;
}

.reg-field input,
.reg-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.reg-field input:focus,
.reg-field textarea:focus {
  border-color: rgba(255,214,10,0.4);
  background: rgba(255,255,255,0.07);
}

.reg-field input::placeholder,
.reg-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.reg-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Płeć */
.gender-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.gender-btn {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.gender-btn.selected {
  background: rgba(255,214,10,0.12);
  border-color: #FFD60A;
  color: #FFD60A;
  font-weight: 600;
}

/* Poziom */
.level-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.level-btn {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.level-btn.selected {
  background: rgba(255,214,10,0.1);
  border-color: #FFD60A;
}

.level-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.level-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.level-btn.selected .level-name { color: #FFD60A; }

/* Multi-select specjalizacje */
.multi-select-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.multi-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 980px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.multi-btn.selected {
  background: rgba(255,214,10,0.12);
  border-color: #FFD60A;
  color: #FFD60A;
  font-weight: 500;
}

/* Wyszukiwarka klubów */
.club-search-results {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
}

.club-search-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.club-search-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,214,10,0.3);
}

.club-search-item.selected {
  background: rgba(255,214,10,0.08);
  border-color: rgba(255,214,10,0.4);
}

.club-search-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.club-search-item-city {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.club-search-add {
  background: rgba(255,214,10,0.06);
  border: 1px dashed rgba(255,214,10,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #FFD60A;
  transition: all 0.15s;
}

.club-search-add:hover {
  background: rgba(255,214,10,0.1);
}

/* Nowy klub notice */
.new-club-notice {
  background: rgba(255,214,10,0.06);
  border: 1px solid rgba(255,214,10,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
}

.new-club-notice p {
  font-size: 13px;
  color: rgba(255,214,10,0.8);
  margin-bottom: 8px;
}

/* Blok danych klubu managera */
.m-klub-data-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

/* Potwierdzenie PROVOCFIT */
.provocfit-confirm-block {
  background: rgba(255,214,10,0.05);
  border: 1px solid rgba(255,214,10,0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.confirm-icon {
  width: 32px;
  height: 32px;
  background: #FFD60A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  flex-shrink: 0;
}

.confirm-text { flex: 1; }

.confirm-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
}

.confirm-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.confirm-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #FFD60A;
  cursor: pointer;
}

/* Checkbox regulamin */
.reg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.reg-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #FFD60A;
  cursor: pointer;
  flex-shrink: 0;
}

.reg-checkbox label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.reg-checkbox label a {
  color: rgba(255,214,10,0.8);
  text-decoration: none;
}

.reg-checkbox label a:hover { color: #FFD60A; }

/* Przycisk główny */
.reg-btn-primary {
  width: 100%;
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.1s;
  letter-spacing: -0.01em;
}

.reg-btn-primary:hover {
  opacity: 0.88;
  transform: scale(0.99);
}

/* Link logowania */
.reg-login-link {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

.reg-login-link a {
  color: rgba(255,214,10,0.7);
  text-decoration: none;
}

.reg-login-link a:hover { color: #FFD60A; }

/* Sukces */
.reg-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #FFD60A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin: 0 auto 24px;
}

.success-email {
  font-size: 15px;
  color: #FFD60A;
  margin: 8px 0 24px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 560px) {
  .reg-modal {
    padding: 32px 20px 24px;
    border-radius: 20px;
    max-height: 95vh;
  }

  .reg-title { font-size: 24px; }
  .reg-row { grid-template-columns: 1fr; }
  .level-row { flex-direction: column; }
}

/* ===== MANAGER CONSENT BLOCK ===== */

.manager-consent-block {
  background: rgba(255, 200, 0, 0.06);
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.consent-content {
  flex: 1;
}

.consent-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 200, 0, 0.9);
  margin-bottom: 6px;
}

.consent-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 12px;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.consent-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #FFD60A;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-checkbox label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  cursor: pointer;
}

/* ===== NAVBAR DROPDOWN — wspólne ===== */

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color 0.2s;
}

.nav-dropdown-trigger:hover {
  color: #ffffff;
}

.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-dropdown-wrap:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(18, 18, 18, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-dropdown-item-icon {
  font-size: 18px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-dropdown-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.nav-dropdown-item-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.3;
}

/* Wkrótce */
.nav-dropdown-item-badge {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 214, 10, 0.8);
  border: 1px solid rgba(255, 214, 10, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-dropdown-item-soon {
  pointer-events: none;
  opacity: 0.6;
}

.nav-dropdown-item-soon .nav-dropdown-item-name {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== DROPDOWN LUDZIE Z HYROX ===== */

.nav-dropdown-ludzie {
  min-width: 280px;
  left: auto;
  right: 0;
  transform: translateY(-8px);
}

.nav-dropdown-wrap:hover .nav-dropdown-ludzie {
  transform: translateY(0);
}

.nav-dropdown-item-ludzie:hover .nav-dropdown-item-name {
  color: #FFD60A;
}

.nav-dropdown-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 6px 8px;
}

.nav-dropdown-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 6px;
}

.nav-dropdown-cta-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.nav-dropdown-cta-btn {
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.nav-dropdown-cta-btn:hover { opacity: 0.85; }

/* ===== IKONA KOSZYKA ===== */

.pf-cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.2s ease;
  color: rgba(255, 255, 255, 0.75);
}

.pf-cart-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pf-cart-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pf-cart-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #FFD60A;
  border-radius: 50%;
  border: 1.5px solid #000000;
  box-shadow: 0 0 0 2px rgba(255, 214, 10, 0.3);
  animation: dot-pop 0.25s ease;
}

@keyframes dot-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== MOBILE MENU ROZSZERZENIA ===== */

.pf-mobile-sklep,
.pf-mobile-ludzie {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-mobile-sklep-toggle,
.pf-mobile-ludzie-toggle {
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pf-mobile-sklep-items,
.pf-mobile-ludzie-items {
  display: none;
  padding: 0 0 8px 16px;
  flex-direction: column;
  gap: 2px;
}

.pf-mobile-sklep-items.open,
.pf-mobile-ludzie-items.open {
  display: flex;
}

.pf-mobile-sklep-item,
.pf-mobile-ludzie-item {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.pf-mobile-sklep-item.active,
.pf-mobile-ludzie-item:hover { color: #ffffff; }

.pf-mobile-badge {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 214, 10, 0.7);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: auto;
}

/* ===== SEKCJA TRENERZY ===== */

.section-trenerzy {
  background: #000000;
  padding: 100px 0 80px;
  color: #ffffff;
}

.section-trenerzy .section-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.section-trenerzy .section-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-trenerzy .section-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.5);
}

/* Filtry */
.trenerzy-filters {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trainer-filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.trainer-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.trainer-filter-btn.active {
  background: #FFD60A;
  border-color: #FFD60A;
  color: #000000;
  font-weight: 600;
}

/* Lista trenerów — UFC row style */
.trenerzy-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Karta trenera — UFC style */
.trainer-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  min-height: 140px;
}

.trainer-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Zdjęcie trenera — lewa strona */
.trainer-card-photo {
  width: 200px;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #111111;
}

.trainer-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Placeholder gdy brak zdjęcia */
.trainer-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  gap: 8px;
}

.trainer-photo-initials {
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: -0.02em;
}

.trainer-photo-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 0 12px;
}

/* Info środkowe */
.trainer-card-info {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trainer-card-pseudo {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trainer-card-name {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.trainer-card-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trainer-card-meta-dot {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.trainer-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.trainer-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 8px;
}

.trainer-tag-pro {
  color: #FFD60A;
  border-color: rgba(255, 214, 10, 0.3);
}

/* Prawa strona — cena i CTA */
.trainer-card-cta {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.trainer-card-price {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.trainer-card-price-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: right;
}

.trainer-card-btn {
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.trainer-card-btn:hover { opacity: 0.85; }

/* ===== MODAL PROFILU TRENERA ===== */

.trainer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.trainer-modal-inner {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.trainer-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* Lewa kolumna — zdjęcie */
.trainer-modal-photo-col {
  position: relative;
  background: #0a0a0a;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.trainer-modal-photo {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.trainer-modal-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}

.trainer-modal-initials {
  font-size: 72px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.03em;
}

.trainer-modal-photo-cta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 0 24px;
  line-height: 1.5;
}

/* Prawa kolumna — info */
.trainer-modal-info-col {
  padding: 36px 32px;
  overflow-y: auto;
}

.trainer-modal-pseudo {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.trainer-modal-name {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.trainer-modal-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.trainer-modal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.trainer-modal-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== FOLLOW BAR — rozszerza się w prawo ===== */

.trainer-follow-wrap {
  margin-bottom: 20px;
  display: inline-block;
}

.trainer-follow-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  overflow: hidden;
  width: auto;
  max-width: 120px;
  transition: max-width 0.35s ease, border-color 0.3s ease, padding 0.3s ease;
  white-space: nowrap;
}

.trainer-follow-bar.expanded {
  max-width: 300px;
  border-color: rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
}

/* Tekst FOLLOW */
.follow-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  flex-shrink: 0;
  transition: margin-right 0.3s ease;
}

.trainer-follow-bar.expanded .follow-label {
  margin-right: 14px;
}

/* Ikony sociali */
.follow-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s ease 0.1s, transform 0.25s ease 0.1s;
  pointer-events: none;
}

.trainer-follow-bar.expanded .follow-socials {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.follow-social-icon {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.follow-social-icon:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Żółta linia na dole — narasta od lewej */
.follow-yellow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #FFD60A;
  transition: width 0.35s ease;
  border-radius: 0 0 4px 4px;
}

.trainer-follow-bar.expanded .follow-yellow-line {
  width: 33%;
}

.trainer-modal-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0 20px;
}

/* Widok niezalogowany */
.trainer-modal-unauth {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.trainer-unauth-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  line-height: 1.5;
}

.trainer-unauth-btn {
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.trainer-unauth-btn:hover { opacity: 0.85; }

/* Usługi i ceny */
.trainer-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.trainer-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 14px;
}

.trainer-service-name { color: rgba(255, 255, 255, 0.7); }
.trainer-service-price { color: #ffffff; font-weight: 600; }

/* Formularz rezerwacji */
.trainer-booking-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.booking-field {
  margin-bottom: 16px;
}

.booking-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.booking-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.booking-option-btn.selected {
  background: rgba(255, 214, 10, 0.1);
  border-color: #FFD60A;
  color: #FFD60A;
  font-weight: 600;
}

.booking-pakiety {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-pakiet-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  text-align: center;
  min-width: 80px;
}

.booking-pakiet-btn.selected {
  background: rgba(255, 214, 10, 0.08);
  border-color: #FFD60A;
}

.pakiet-ilosc {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.pakiet-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  display: block;
}

.pakiet-rabat {
  font-size: 11px;
  color: #FFD60A;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.booking-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.booking-textarea:focus { border-color: rgba(255, 214, 10, 0.4); }
.booking-textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.booking-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  margin-bottom: 14px;
}

.booking-summary-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
}

.booking-summary-price {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.booking-summary-rabat {
  font-size: 12px;
  color: #FFD60A;
  font-weight: 600;
}

.booking-submit-btn {
  width: 100%;
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  margin-bottom: 8px;
}

.booking-submit-btn:hover { opacity: 0.88; }

.booking-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  line-height: 1.4;
}

/* ===== MODAL ZAPROŚ KLUB ===== */

.invite-club-inner {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
}

.invite-club-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.invite-club-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  line-height: 1.5;
}

.invite-club-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .section-trenerzy .section-title { font-size: 32px; }

  .trainer-card {
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .trainer-card-photo {
    width: 120px;
    height: 120px;
    grid-row: 1 / 3;
  }

  .trainer-card-cta {
    grid-column: 2;
    align-items: flex-start;
    padding: 0 16px 16px;
  }

  .trainer-modal-inner {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }

  .trainer-modal-photo-col {
    border-radius: 20px 20px 0 0;
    min-height: 240px;
  }

  .trainer-modal-info-col { padding: 24px 20px; }
  .trainer-modal-name { font-size: 26px; }
}

/* ===== SEKCJA ZAWODNICY ===== */

.section-zawodnicy {
  background: #0a0a0a;
  padding: 100px 0 80px;
  color: #ffffff;
}

.section-zawodnicy .section-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.section-zawodnicy .section-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-zawodnicy .section-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.5);
}

/* Filtry */
.zawodnicy-filters {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.athlete-filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.athlete-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.athlete-filter-btn.active {
  background: #FFD60A;
  border-color: #FFD60A;
  color: #000000;
  font-weight: 600;
}

/* Siatka zawodników */
.zawodnicy-grid {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Karta zawodnika */
.athlete-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.athlete-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* Zdjęcie zawodnika — prostokątne, NIE kółko */
.athlete-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111111;
  position: relative;
}

.athlete-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.athlete-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}

.athlete-photo-initials {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: -0.02em;
}

/* Badge poziom na zdjęciu */
.athlete-level-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.athlete-level-pro {
  background: #FFD60A;
  color: #000000;
}

.athlete-level-amator {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

/* Info pod zdjęciem */
.athlete-card-body {
  padding: 16px 18px 20px;
}

.athlete-card-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.athlete-card-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.athlete-card-club {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.athlete-card-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 980px;
  padding: 9px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.athlete-card-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* ===== STATYSTYKI ZAWODNIKA ===== */
.athlete-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.athlete-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.athlete-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 3px;
}

.athlete-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== MODAL ZAWODNIKA ===== */
.athlete-modal-inner {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.athlete-modal-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.athlete-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.athlete-modal-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
}

.athlete-modal-level {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.athlete-modal-club {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Formularz zaproszenia */
.invite-form { margin-top: 4px; }

.invite-actions { margin-top: 4px; }

/* ===== MODAL ZAPROSZENIE OTRZYMANE ===== */
.invite-received-inner {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  max-width: 400px;
  width: 100%;
  position: relative;
  text-align: center;
}

.invite-received-from {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.invite-received-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.invite-received-msg {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  line-height: 1.5;
}

.invite-received-actions {
  display: flex;
  gap: 12px;
}

.invite-accept-btn {
  flex: 1;
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.invite-accept-btn:hover { opacity: 0.88; }

.invite-reject-btn {
  flex: 1;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 980px;
  padding: 13px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.invite-reject-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* ===== COMING SOON — HYROX MATCH ===== */
.zawodnicy-coming-soon {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

.coming-soon-inner {
  background: rgba(255, 214, 10, 0.04);
  border: 1px solid rgba(255, 214, 10, 0.15);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.coming-soon-icon { font-size: 36px; }

.coming-soon-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.coming-soon-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 480px;
  line-height: 1.5;
}

.coming-soon-badge {
  background: rgba(255, 214, 10, 0.12);
  color: #FFD60A;
  border: 1px solid rgba(255, 214, 10, 0.25);
  border-radius: 980px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-zawodnicy .section-title { font-size: 32px; }
  .zawodnicy-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .athlete-modal-inner {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .athlete-modal-photo { min-height: 260px; }
  .coming-soon-inner { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .zawodnicy-grid { grid-template-columns: 1fr; }
}

/* ===== CITY PICKER — iOS DRUM ROLLER ===== */

.city-picker-wrap {
  position: relative;
}

/* Trigger button */
.city-picker-trigger {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.city-picker-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.city-picker-trigger.active {
  background: rgba(255, 214, 10, 0.12);
  border-color: rgba(255, 214, 10, 0.4);
  color: #FFD60A;
}

.city-trigger-arrow {
  font-size: 10px;
  transition: transform 0.2s;
}

.city-picker-trigger.open .city-trigger-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.city-picker-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 240px;
  z-index: 300;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* Wyszukiwarka */
.city-search-wrap {
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.city-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.city-search-input:focus {
  border-color: rgba(255, 214, 10, 0.4);
}

.city-search-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Bęben — drum wrapper */
.city-drum-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* Gradient fade góra i dół — efekt iOS */
.city-drum-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
}

.city-drum-fade-top {
  top: 0;
  background: linear-gradient(to bottom,
    #1c1c1e 0%,
    rgba(28, 28, 30, 0.8) 40%,
    rgba(28, 28, 30, 0) 100%
  );
}

.city-drum-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top,
    #1c1c1e 0%,
    rgba(28, 28, 30, 0.8) 40%,
    rgba(28, 28, 30, 0) 100%
  );
}

/* Highlight aktywnej pozycji */
.city-drum-highlight {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  transform: translateY(-50%);
  height: 40px;
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

/* Bęben — scrollowalny */
.city-drum {
  height: 200px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 80px 0;
  position: relative;
  z-index: 0;
}

.city-drum::-webkit-scrollbar {
  display: none;
}

/* Pozycja w bębnie */
.city-drum-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  scroll-snap-align: center;
  transition: color 0.15s, font-weight 0.15s;
  user-select: none;
  padding: 0 16px;
  text-align: center;
}

.city-drum-item:hover {
  color: rgba(255, 255, 255, 0.6);
}

.city-drum-item.active {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

/* Footer z przyciskami */
.city-picker-footer {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.city-clear-btn {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.city-clear-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.city-confirm-btn {
  flex: 2;
  background: #FFD60A;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.city-confirm-btn:hover { opacity: 0.85; }

/* Mobile — dropdown pełna szerokość */
@media (max-width: 480px) {
  .city-picker-dropdown {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    top: auto;
  }
}

/* ===== FILTRY ZAWODNIKÓW DWUPOZIOMOWE — REBUILD ===== */

.zawodnicy-filters-wrap {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zawodnicy-row-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zawodnicy-row-secondary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.2s ease;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.athlete-level-btns {
  display: flex;
  gap: 8px;
}

/* Przyciski PRO / AMATORZY */
.athlete-lvl-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.athlete-lvl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.athlete-lvl-btn.active {
  background: #FFD60A;
  border-color: #FFD60A;
  color: #000000;
}

/* Przyciski Wszyscy / Kobiety / Mężczyźni */
.athlete-gender-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 980px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.athlete-gender-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.athlete-gender-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .zawodnicy-filters-wrap { padding: 0 16px; }
}

/* ===== LOGOWANIE ===== */

.login-modal-inner {
  max-width: 440px;
}

/* Pole telefonu */
.phone-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: rgba(255, 214, 10, 0.4);
}

.phone-prefix {
  padding: 12px 12px 12px 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  user-select: none;
}

.phone-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 14px;
  font-size: 15px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
}

.phone-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.phone-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 6px;
  line-height: 1.4;
}

/* Pole hasła z toggle */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  flex: 1;
  padding-right: 44px !important;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Zapomniałem hasła */
.login-forgot {
  text-align: right;
  margin-bottom: 16px;
  margin-top: -8px;
}

.login-forgot a {
  font-size: 13px;
  color: rgba(255, 214, 10, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.login-forgot a:hover { color: #FFD60A; }

/* Alert błędu */
.login-error {
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: rgba(255, 100, 90, 0.9);
  margin-bottom: 14px;
  text-align: center;
}

/* Separator OR */
.login-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.login-separator::before,
.login-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.login-separator span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== MODAL DUPLIKATU ===== */

.duplicate-modal-inner {
  max-width: 460px;
  text-align: center;
}

.duplicate-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.duplicate-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 214, 10, 0.05);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0 16px;
  text-align: left;
}

.duplicate-option-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 214, 10, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFD60A;
  font-weight: 700;
}

.duplicate-option-content { flex: 1; }

.duplicate-option-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
}

.duplicate-option-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

.duplicate-option-btn {
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.duplicate-option-btn:hover { opacity: 0.85; }

.duplicate-secondary-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.duplicate-secondary-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ===== TRIGGER ZAPROŚ KLUB ===== */

.invite-club-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.2s, border-color 0.2s;
}

.invite-club-trigger:hover {
  background: rgba(255,214,10,0.06);
  border-color: rgba(255,214,10,0.3);
}

.invite-club-trigger-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.invite-club-trigger-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex: 1;
  line-height: 1.3;
}

.invite-club-trigger-text strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.invite-club-trigger-arrow {
  font-size: 13px;
  color: rgba(255,214,10,0.6);
  flex-shrink: 0;
}

.invite-club-trigger:hover .invite-club-trigger-arrow {
  color: #FFD60A;
}

.invite-club-trigger:hover .invite-club-trigger-text {
  color: rgba(255,255,255,0.7);
}

/* ===== RANKING TRENERÓW ===== */

/* Badge rankingowy na karcie */
.trainer-rank-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 6px;
}

.rank-1 {
  background: rgba(255,214,10,0.15);
  color: #FFD60A;
  border: 1px solid rgba(255,214,10,0.3);
}

.rank-2 {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
}

.rank-3 {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Pasek ratingu na karcie trenera */
.trainer-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.rating-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #FFD60A;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.rating-percent {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.rating-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* Sekcja rankingu w modalu */
.modal-trainer-ranking {
  margin-bottom: 20px;
}

.modal-ranking-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.modal-ranking-bar-fill {
  height: 100%;
  background: #FFD60A;
  border-radius: 3px;
  transition: width 0.8s ease;
}

.modal-ranking-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.modal-ranking-percent {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.modal-ranking-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  flex: 1;
  line-height: 1.3;
}

.modal-ranking-votes {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.modal-ranking-pos {
  font-size: 12px;
  font-weight: 600;
  color: #FFD60A;
  background: rgba(255,214,10,0.1);
  border: 1px solid rgba(255,214,10,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  flex-shrink: 0;
}

/* Przycisk Polecam */
.modal-vote-btn {
  width: 100%;
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
  margin-bottom: 16px;
}

.modal-vote-btn:hover:not(:disabled) {
  opacity: 0.88;
}

.modal-vote-btn.voted {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  cursor: default;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===== KATEGORIE — NOWY LAYOUT ===== */

.categories-section {
  background: #ffffff;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Siatka 2-kolumnowa */
.categories-grid-new {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  height: 520px;
}

/* Lewa kolumna */
.categories-col-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

/* ===== KAFELEK — BASE ===== */
.cat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-card:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.cat-card.is-disabled {
  cursor: not-allowed;
}

.cat-card.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Mały kafelek — lewa kolumna */
.cat-card-small {
  flex: 1;
  min-height: 0;
}

/* Duży kafelek — prawa kolumna */
.cat-card-large {
  height: 100%;
}

/* Jasny kafelek (Odzież, Suplementy) */
.cat-card-light {
  background: #f5f5f7;
}

.cat-card-light:hover {
  background: #ebebed;
}

/* Ciemny kafelek (Sprzęt HYROX) */
.cat-card-dark {
  background: #1d1d1f;
}

/* Obraz kafelka */
.cat-card-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.cat-card:hover .cat-card-img-wrap img {
  transform: scale(1.04);
}

/* Placeholder gdy brak zdjęcia */
.cat-card-placeholder {
  width: 100%;
  height: 100%;
  background: #e8e8ed;
}

.cat-placeholder-dark {
  background: #2d2d2f;
}

/* Body kafelka */
.cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* Body dużego kafelka */
.cat-body-large {
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px;
  background: linear-gradient(to top,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0) 100%
  );
}

/* Tytuły */
.cat-card-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

.cat-title-dark {
  color: #1d1d1f;
}

.cat-title-light {
  color: #ffffff;
  font-size: 28px;
}

/* Label "Dostępne teraz" */
.cat-card-label {
  font-size: 12px;
  font-weight: 500;
  color: #FFD60A;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Opis */
.cat-card-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin: 6px 0 12px;
  line-height: 1.4;
}

/* Link "Zobacz →" */
.cat-card-link {
  font-size: 15px;
  font-weight: 600;
  color: #FFD60A;
  transition: gap 0.2s;
}

/* Badge "Wkrótce" */
.cat-card-soon {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,214,10,0.8);
  border: 1px solid rgba(255,214,10,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .categories-section {
    padding: 40px 16px;
  }

  .categories-grid-new {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }

  .categories-col-left {
    flex-direction: row;
    height: 200px;
  }

  .cat-card-large {
    height: 280px;
  }

  .cat-card-title { font-size: 18px; }
  .cat-title-light { font-size: 22px; }
  .cat-body-large { padding: 20px; }
}

@media (max-width: 480px) {
  .categories-col-left {
    flex-direction: column;
    height: auto;
  }

  .cat-card-small {
    flex: none;
    height: 160px;
  }
}

/* ===== CITY PICKER BAR NAD MAPAMI ===== */

.map-city-picker-bar {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.map-city-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ===== POZIOMY ROLLER ZAWODNIKÓW ===== */

.athlete-stack-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  overflow: hidden; /* ukryj karty wychodzące poza ekran */
}

.athlete-stack {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: visible;
}

/* Każda karta — absolutna, pozycjonowana przez JS klasy */
.stack-card {
  position: absolute;
  width: 62%;
  max-width: 380px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #1c1c1e;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  user-select: none;
  isolation: isolate; /* zapobiega przeświecaniu tekstu */
  /* Płynna animacja przy zmianie pozycji */
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.42s ease,
              box-shadow 0.42s ease;
  will-change: transform, opacity;
}

/* ===== POZYCJE KART ===== */

/* Aktywna — pośrodku */
.stack-card.pos-active {
  left: 50%;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: grab;
  pointer-events: all;
}

.stack-card.pos-active:active { cursor: grabbing; }

/* Następna — po prawej, widoczna w ~45% */
.stack-card.pos-next {
  left: 50%;
  transform: translateX(32%) scale(0.88);
  opacity: 0.55;
  z-index: 5;
  pointer-events: none;
  box-shadow: none;
}

/* Poprzednia — po lewej, widoczna w ~45% */
.stack-card.pos-prev {
  left: 50%;
  transform: translateX(-132%) scale(0.88);
  opacity: 0.55;
  z-index: 5;
  pointer-events: none;
  box-shadow: none;
}

/* Dalej po prawej — częściowo widoczna */
.stack-card.pos-next2 {
  left: 50%;
  transform: translateX(70%) scale(0.76);
  opacity: 0.2;
  z-index: 2;
  pointer-events: none;
  box-shadow: none;
}

/* Dalej po lewej — częściowo widoczna */
.stack-card.pos-prev2 {
  left: 50%;
  transform: translateX(-170%) scale(0.76);
  opacity: 0.2;
  z-index: 2;
  pointer-events: none;
  box-shadow: none;
}

/* Ukryta */
.stack-card.pos-hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-50%) scale(0.7);
}

/* Karty nieaktywne — chowamy tekst, zostaje tylko zdjęcie/placeholder i badge */
.stack-card.pos-prev .stack-card-body,
.stack-card.pos-next .stack-card-body,
.stack-card.pos-prev2 .stack-card-body,
.stack-card.pos-next2 .stack-card-body {
  visibility: hidden;
}

/* ===== WNĘTRZE KARTY ===== */

/* Zdjęcie */
.stack-card-photo {
  width: 100%;
  height: 60%;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
  isolation: isolate;
}

.stack-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.stack-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.02em;
}

.stack-level-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

/* Body */
.stack-card-body {
  padding: 18px 20px;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: #1c1c1e; /* upewnij się że tło jest nieprzezroczyste */
  position: relative;
  z-index: 1;
}

.stack-card-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stack-card-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.stack-card-club {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin-top: 2px;
}

.stack-tap-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  margin-top: 5px;
}

/* Licznik */
.stack-counter {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Przyciski */
.stack-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stack-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.stack-nav-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
  transform: scale(1.06);
}

.stack-nav-btn:active { transform: scale(0.96); }

.stack-nav-btn-main {
  width: 62px;
  height: 62px;
  background: #FFD60A;
  color: #000000;
  border-color: #FFD60A;
}

.stack-nav-btn-main:hover {
  background: #FFD60A;
  color: #000000;
  box-shadow: 0 6px 24px rgba(255,214,10,0.35);
  border-color: #FFD60A;
}

/* Ekran końca */
.stack-empty {
  text-align: center;
  padding: 40px 0;
  width: 100%;
  display: none;
}

.stack-empty-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.stack-empty-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}

.stack-empty-btn {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 980px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.stack-empty-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
}

/* Mobile */
@media (max-width: 600px) {
  .stack-card {
    width: 72%;
    max-width: none;
  }

  .stack-card.pos-next  { transform: translateX(28%) scale(0.86); }
  .stack-card.pos-prev  { transform: translateX(-128%) scale(0.86); }
  .stack-card.pos-next2 { transform: translateX(62%) scale(0.72); }
  .stack-card.pos-prev2 { transform: translateX(-162%) scale(0.72); }

  .athlete-stack { height: 460px; }
  .stack-card-name { font-size: 19px; }
}

/* ===== SEKCJA WYNIKÓW W REJESTRACJI ===== */

.reg-results-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}

.result-add-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.result-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.result-input:focus {
  border-color: rgba(255,214,10,0.4);
}

.result-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.result-input-time {
  flex: 0 0 90px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.result-add-btn {
  width: 38px;
  height: 38px;
  background: #FFD60A;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.result-add-btn:hover { opacity: 0.85; }

.results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.result-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  gap: 8px;
}

.result-entry-time {
  font-weight: 700;
  color: #FFD60A;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.result-entry-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.result-entry-remove:hover { color: rgba(255,100,100,0.7); }

/* ===== PASEK WYNIKÓW (ticker) ===== */

.results-ticker-wrap {
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
}

.results-ticker-label {
  flex-shrink: 0;
  background: #FFD60A;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  white-space: nowrap;
}

.results-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  gap: 0;
}

.results-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  padding: 0 32px 0 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.ticker-item-event {
  color: rgba(255,255,255,0.35);
  margin-right: 6px;
}

.ticker-item-name {
  color: #ffffff;
  font-weight: 600;
  margin-right: 4px;
}

.ticker-item-time {
  color: #FFD60A;
  font-weight: 700;
}

.ticker-separator {
  color: rgba(255,255,255,0.15);
  padding: 0 16px 0 0;
  flex-shrink: 0;
}

.ticker-world-record {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
}

/* ===== SEKCJA NEWSÓW ===== */

.news-section {
  background: #000000;
  padding: 60px 0 48px;
  overflow: hidden;
}

.news-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-title {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.news-controls {
  display: flex;
  gap: 8px;
}

.news-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.news-nav-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* Wrap z overflow hidden */
.news-carousel-wrap {
  overflow: hidden;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  cursor: grab;
}

.news-carousel-wrap:active { cursor: grabbing; }

/* Track — flex, przesuwa się przez transform */
.news-carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Karta newsa */
.news-card {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 260px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

/* Zdjęcie newsa */
.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1c1c1e;
  position: relative;
  flex-shrink: 0;
}

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

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

/* Placeholder gdy brak zdjęcia */
.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  font-size: 32px;
  color: rgba(255,255,255,0.08);
}

/* Badge kategorii */
.news-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFD60A;
  color: #000000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Body newsa */
.news-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card-source {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-link {
  font-size: 12px;
  color: #FFD60A;
  font-weight: 500;
  margin-top: 4px;
}

/* Loading */
.news-loading {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  padding: 40px 0;
}

/* Dots */
.news-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0 24px;
}

.news-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  padding: 0;
}

.news-dot.active {
  background: #FFD60A;
  width: 20px;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .news-card {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 560px) {
  .news-card {
    flex: 0 0 85%;
  }
  .news-title { font-size: 24px; }
}

/* ===== HERO NEWS PANEL ===== */

/* Panel = viewport. overflow:hidden bezpośrednio tu (nie na osobnym dziecku) —
   track w środku dostaje transform, panel się nie rusza, więc przycinanie działa. */
.hero-news-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #0a0a0a;
  border-left: 1px solid rgba(255,255,255,0.06);
}

/* Track — pozioma taśma kart, dostaje translateX z JS */
.hero-news-track {
  display: flex;
  flex-direction: row;
  gap: 0;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Każda karta — 85% szerokości panelu, zdjęcie jako tło karty samej */
.hero-news-card {
  flex: 0 0 85%;
  height: 100%;
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
  background-color: #1c1c1e;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  /* Warstwa 1: ciemniejący gradient od dołu (zawsze 100% x 100%).
     Warstwa 2: zdjęcie artykułu, dociągane przez JS (cover) — patrz
     renderHeroNews(); brak zdjęcia = ten sam gradient na drugiej warstwie
     zastępczej, ustawiany też z JS, więc karta zawsze ma spójne tło. */
  background-size: 100% 100%, cover;
}

/* Eyebrow "NEWS" — górny lewy róg karty */
.hero-news-eyebrow {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  z-index: 2;
}

/* Nakładka z tytułem — dół karty, nad gradientem */
.hero-news-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 44px;
  z-index: 2;
}

.hero-news-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.hero-news-read {
  font-size: 12px;
  font-weight: 600;
  color: #FFD60A;
}

/* Dots — jedna nakładka na cały panel, nie duplikowana per karta (dwie karty
   bywają widoczne naraz podczas peeku; osobny rządek kropek w każdej wyglądałby
   jak dwa niezsynchronizowane wskaźniki zamiast jednego stanu nawigacji) */
.hero-news-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.hero-news-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.2s;
  pointer-events: auto;
}

.hero-news-dot.active {
  background: #FFD60A;
  width: 16px;
  border-radius: 3px;
}

/* Loading */
.hero-news-loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

.trainer-card-price,
.trainer-card-price-label {
  display: none;
}

/* ===== PRZEŁĄCZNIK DYSCYPLIN ===== */

.discipline-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.discipline-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
}

.discipline-label-hyrox {
  color: #FFD60A;
}

.discipline-label-crossfit {
  color: rgba(255,255,255,0.3);
}

/* Gdy CrossFit aktywny */
body.mode-crossfit .discipline-label-hyrox {
  color: rgba(255,255,255,0.3);
}

body.mode-crossfit .discipline-label-crossfit {
  color: #E31E24;
}

/* Switch button */
.discipline-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.discipline-switch:hover {
  border-color: rgba(255,255,255,0.4);
}

/* Thumb */
.discipline-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFD60A;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease;
}

/* CrossFit mode — thumb przesuwa się w prawo i zmienia kolor */
body.mode-crossfit .discipline-switch-thumb {
  transform: translateX(20px);
  background: #E31E24;
}

body.mode-crossfit .discipline-switch {
  background: rgba(227,30,36,0.15);
  border-color: rgba(227,30,36,0.3);
}

/* ===== ACCENT COLOR SYSTEM ===== */

/* HYROX — żółty (domyślny) */
:root {
  --accent: #FFD60A;
  --accent-rgb: 255, 214, 10;
  --accent-dark: #000000;
  --accent-hover-bg: rgba(255, 214, 10, 0.1);
  --accent-border: rgba(255, 214, 10, 0.3);
}

/* CrossFit — czerwony */
body.mode-crossfit {
  --accent: #E31E24;
  --accent-rgb: 227, 30, 36;
  --accent-dark: #ffffff;
  --accent-hover-bg: rgba(227, 30, 36, 0.1);
  --accent-border: rgba(227, 30, 36, 0.3);
}

/* Wszystkie elementy które używają accent color */
/* Przyciski CTA */
.reg-btn-primary,
.btn-register-nav,
.stack-nav-btn-main,
.news-dot.active,
.trainer-filter-btn.active,
.athlete-lvl-btn.active,
.athlete-filter-btn.active,
.region-btn.active,
.city-confirm-btn,
.booking-submit-btn,
.stack-empty-btn,
.invite-accept-btn,
.modal-vote-btn:not(.voted),
.coming-soon-badge,
.nav-dropdown-cta-btn,
.trainer-unauth-btn,
.result-add-btn {
  background: var(--accent) !important;
  color: var(--accent-dark) !important;
  border-color: var(--accent) !important;
}

/* Teksty akcentowe */
.hero-news-read,
.cat-card-label,
.cat-card-link,
.nav-dropdown-item-ludzie:hover .nav-dropdown-item-name,
.ticker-item-time,
.result-entry-time,
.modal-ranking-percent + * ,
.trainer-rank-badge.rank-1,
.hero-news-badge,
.news-card-badge,
.news-card-link,
.stack-level-badge.athlete-level-pro,
.athlete-level-pro,
.invite-club-trigger-arrow,
.reg-role-badge,
.login-forgot a,
.reg-login-link a,
.hero-news-dot.active,
.hero-news-read,
.follow-yellow-line,
.pakiet-rabat,
.booking-summary-rabat,
.modal-ranking-pos,
.modal-vote-btn.voted,
.pf-cart-dot,
.hyrox-pin,
.city-picker-trigger.active {
  color: var(--accent) !important;
}

/* Obramowania akcentowe */
.trainer-rank-badge.rank-1,
.reg-role-badge,
.hero-news-dot.active,
.coming-soon-inner,
.provocfit-confirm-block,
.manager-consent-block,
.invite-club-trigger:hover,
.city-picker-trigger.active,
.duplicate-option {
  border-color: var(--accent-border) !important;
}

/* Tła akcentowe */
.trainer-rank-badge.rank-1,
.reg-role-badge {
  background: var(--accent-hover-bg) !important;
}

/* Piny na mapach */
.hyrox-pin {
  background: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25) !important;
}

/* Pasek procentowy trenerów */
.rating-bar-fill,
.modal-ranking-bar-fill {
  background: var(--accent) !important;
}

/* Follow bar żółta linia */
.follow-yellow-line {
  background: var(--accent) !important;
}

/* Koszyk dot */
.pf-cart-dot {
  background: var(--accent) !important;
}

/* CrossFit — dodatkowe style */
body.mode-crossfit .hero-label {
  color: #E31E24;
}

/* Mobile — sam navbar-actions rząd (koszyk + Dołącz + hamburger) już jest
   ciasny na wąskich ekranach; pełny przełącznik z etykietami tekstowymi
   ("HYROX"/"CrossFit") go przepychał poza widoczny obszar. Zostaw tylko
   kompaktowy switch. */
@media (max-width: 768px) {
  .discipline-label {
    display: none;
  }

  .discipline-toggle {
    gap: 0;
  }
}
