:root {
  --navy: #0a0f1e;
  --navy-mid: #0d1630;
  --navy-light: #132050;
  --blue: #1a3a8c;
  --blue-bright: #2055c5;

  /* True gold palette */
  --gold: #C9A24A;
  --gold-hi: #D4AF37;
  --gold-lo: #B8962E;
  --gold-light: #e0c46a;

  /* Gradient shorthands */
  --grad-gold: linear-gradient(135deg, #D4AF37 0%, #C9A24A 50%, #B8962E 100%);
  --grad-gold-h: linear-gradient(90deg, #D4AF37 0%, #C9A24A 60%, #B8962E 100%);
  --gold-dim: rgba(201, 162, 74, 0.14);

  --white: #ffffff;
  --off-white: #e8ecf5;
  --grey: #8a94b0;
  --section-pad: clamp(5rem, 10vw, 8rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img {
  max-width: 100%;
}

body {
  font-family: 'Oswald', sans-serif;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-hi);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--grad-gold-h);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-title span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gold separator line */
.gold-line {
  width: 4rem;
  height: 2px;
  background: var(--grad-gold-h);
  border: none;
  margin: 1.5rem 0;
}

.wm-bg {
  position: relative;
  overflow: hidden;
}

.wm-bg::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.032;
  background: var(--gold-hi);
  /* Eagle‑like heraldic crown shape via radial gradients layered */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 C44 4 36 9 33 16 C25 11 15 16 13 25 C6 23 2 31 4 38 C-1 42 -1 51 4 55 C2 61 5 68 12 67 C11 76 18 81 26 78 C28 86 37 89 43 84 L50 96 L57 84 C63 89 72 86 74 78 C82 81 89 76 88 67 C95 68 98 61 96 55 C101 51 101 42 96 38 C98 31 94 23 87 25 C85 16 75 11 67 16 C64 9 56 4 50 4Z M50 17 L52 27 L50 29 L48 27Z M37 21 L45 29 L42 34 L33 27Z M63 21 L67 27 L58 34 L55 29Z M26 36 L35 41 L32 47 L22 43Z M74 36 L78 43 L68 47 L65 41Z M50 46 L58 54 L50 67 L42 54Z M36 60 L43 63 L40 72 L32 69Z M64 60 L68 69 L60 72 L57 63Z M45 74 L50 79 L55 74 L50 96Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 C44 4 36 9 33 16 C25 11 15 16 13 25 C6 23 2 31 4 38 C-1 42 -1 51 4 55 C2 61 5 68 12 67 C11 76 18 81 26 78 C28 86 37 89 43 84 L50 96 L57 84 C63 89 72 86 74 78 C82 81 89 76 88 67 C95 68 98 61 96 55 C101 51 101 42 96 38 C98 31 94 23 87 25 C85 16 75 11 67 16 C64 9 56 4 50 4Z M50 17 L52 27 L50 29 L48 27Z M37 21 L45 29 L42 34 L33 27Z M63 21 L67 27 L58 34 L55 29Z M26 36 L35 41 L32 47 L22 43Z M74 36 L78 43 L68 47 L65 41Z M50 46 L58 54 L50 67 L42 54Z M36 60 L43 63 L40 72 L32 69Z M64 60 L68 69 L60 72 L57 63Z M45 74 L50 79 L55 74 L50 96Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 2px 16px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e0c84a 0%, #d4af37 50%, #c9a24a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-hi);
  border: 1.5px solid var(--gold);
}

.btn-ghost:hover {
  background: var(--grad-gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}

/* Na mobile navbar jest zawsze widoczny z tłem */
@media (max-width: 900px) {
  #navbar {
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  }
}

#navbar.scrolled {
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 85px;
  width: auto;
  display: block;
}

.nav-logo-icon {
  width: 40px;
  height: 46px;
  background: var(--grad-gold);
  clip-path: polygon(50% 0%, 100% 15%, 100% 65%, 50% 100%, 0% 65%, 0% 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
}


.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

.nav-logo-text span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.62rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-hi);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  font-family: 'Oswald', sans-serif;
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--grad-gold-h);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--off-white);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}

#hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.85) 0%, rgba(5, 8, 18, 0.6) 50%, rgba(5, 8, 18, 0.95) 100%),
    url('images/tlo3.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-bg {
  transform: scale(1.05);
  filter: blur(2px);
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 55px;
  }
}

.hero-title em {
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.04;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.9) 0%, transparent 60%, rgba(10, 15, 30, 0.6) 100%);
}

.hero-royal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.7);
  margin-top: 1rem;
}

.hero-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 55vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  z-index: 1;
}

.hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-corner {
  position: absolute;
  bottom: 3rem;
  left: 56%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}

.hero-corner span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-corner svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-top: 6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.hero-flag-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  min-width: 20px;
}

.hero-flag span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .hero-flag-line {
    display: none;
  }

  .hero-flag span {
    white-space: normal;
    text-align: center;
    letter-spacing: 0.15em;
    font-size: 0.65rem;
  }
}

.hero-main {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 11vw, 9rem);
  letter-spacing: 0.05em;
  color: white;
  display: block;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 0.1em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.rozgrywki-cta {
  margin-top: 3rem;
  text-align: center;
}


.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 11vw, 9rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
  width: 100%;
}

.hero-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: clamp(0.9rem, 3vw, 1.7rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  animation: fadeUp 0.9s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
  margin-top: 5%;
  padding: 0 1rem;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.9s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
  margin-top: 5%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeUp 0.9s ease 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

#o-klubie {
  padding: var(--section-pad) 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

#o-klubie::before {
  content: 'TKS';
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 35vw;
  color: rgba(255, 255, 255, 0.018);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.o-klubie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.o-klubie-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.2rem;
  line-height: 1.8;
  font-weight: 300;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.value-item {
  padding: 1.25rem;
  border: 1px solid rgba(201, 162, 74, 0.15);
  border-top: 2px solid transparent;
  background: rgba(255, 255, 255, 0.02) linear-gradient(var(--navy-mid), var(--navy-mid)) padding-box, var(--grad-gold-h) border-box;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  transition: background 0.25s;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold-h);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.value-item strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.35rem;
}

.value-item span {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.5;
}

.o-klubie-img {
  position: relative;
}

.o-klubie-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.o-klubie-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.8);
  transition: transform 0.6s ease;
  min-width: unset;
}

.o-klubie-img-wrap:hover img {
  transform: scale(1.04);
}

.img-frame {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  pointer-events: none;
  opacity: 0.3;
  border-radius: 2px;
}

.year-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  background: var(--grad-gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.25rem;
  line-height: 1;
  z-index: 2;
}

@media (max-width: 768px) {
  .o-klubie-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values-row {
    grid-template-columns: 1fr 1fr;
  }
}


#rozgrywki {
  padding: var(--section-pad) 0;
  background: var(--navy-mid);
  position: relative;
}

.rozgrywki-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

/* Featured next-match card */
.next-match-card {
  background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.next-match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold-h);
}

.next-match-card::after {
  content: 'TKS';
  position: absolute;
  bottom: -0.75rem;
  right: -0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 6rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.04);
  pointer-events: none;
  user-select: none;
}

.next-match-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.next-match-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-hi);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold-hi);
  animation: pulsedot 2s ease-in-out infinite;
}

@keyframes pulsedot {

  0%,
  100% {
    box-shadow: 0 0 4px var(--gold-hi);
  }

  50% {
    box-shadow: 0 0 14px var(--gold-hi);
  }
}

.next-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0.5rem 0 1.75rem;
}

.next-match-team {
  flex: 1;
  text-align: center;
}

.next-match-team-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.next-match-team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.next-match-vs {
  text-align: center;
  flex-shrink: 0;
}

.vs-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.06em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.vs-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 0.35rem;
  display: block;
}

.next-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--white);
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
}

.next-match-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.upcoming-header {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0.25em;
  color: var(--gold-hi);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.upcoming-header::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--grad-gold-h);
  flex-shrink: 0;
}

.upcoming-row {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: background 0.2s;
}

.upcoming-row:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.upcoming-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.upcoming-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--grad-gold);
  transition: width 0.3s ease;
}

.upcoming-row:hover::before {
  width: 2px;
}

.upcoming-date {
  text-align: center;
}

.upcoming-date .day {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.upcoming-date .month {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.upcoming-matchup {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.upcoming-competition {
  font-size: 0.7rem;
  color: var(--grey);
  margin-top: 0.15rem;
  letter-spacing: 0.06em;
}

.upcoming-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}


.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-hero {
  font-size: 30px;
  line-height: 1.2;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.contact-option span {
  display: block;
  font-size: 13px;
  opacity: 0.65;
}

.contact-option:hover {
  border-color: #d4af37;
  transform: translateX(6px);
}

.arrow {
  font-size: 20px;
  opacity: 0.6;
}



.contact-option:hover {
  border-color: #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  transform: translateX(6px);
}

.arrow {
  color: #d4af37;
  font-weight: 600;
}

.contact-option strong {
  position: relative;
}

.contact-option:hover strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 30px;
  height: 2px;
  background: #d4af37;
}

.contact-info i {
  color: #d4af37;
}



.footer-logo img {
  height: 140px;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}


.footer-lead {
  font-weight: 700;
  margin-top: 1rem;
  color: white;
}

.footer-sub {
  opacity: 0.7;
  font-size: 0.9rem;
}


.footer-brand {
  position: relative;
}

.footer-brand::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -40px;
  width: 260px;
  height: 260px;
  background: url('/images/1.png') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
}


.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: 0.3s;
}

.social-icon:hover {
  background: var(--gold);
  color: black;
  transform: translateY(-2px);
}

.footer-nav h4,
.footer-social h4 {
  color: var(--gold);
  letter-spacing: 1px;
}



.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(5, 10, 25, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(160deg, #0a0f1e, #111a3a);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* zamknij */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  opacity: 0.7;
}

.modal-close:hover {
  opacity: 1;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 równe karty */
  gap: 1.6rem;
}

@media (max-width: 1000px) {
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .players-grid {
    grid-template-columns: 1fr;
  }
}

.player-card {
  position: relative;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: #000235;
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: 0.35s ease;
  cursor: pointer;
  width: 100%;

}

.player-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(212, 175, 55, 0.5);
}

/* subtelna poświata */
.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.15), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.player-card:hover::before {
  opacity: 1;
}

.player-card img {
  filter:
    contrast(1.05) brightness(0.95) saturate(0.9);
}

.player-card {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 25px rgba(0, 0, 0, 0.6);
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(circle at 50% 20%,
      rgba(255, 255, 255, 0.08),
      transparent 60%);

  z-index: 1;
}

.player-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-card:hover {
  border-color: var(--gold);
}


.card-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.player-rating {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.player-position {
  font-size: 0.7rem;
  opacity: 0.7;
  letter-spacing: 1px;
}

.player-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

.card-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  text-align: center;
}

.card-bottom h4 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .players-grid {
    grid-template-columns: 1fr;
  }
}






.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}


.partner-box {
  position: relative;
  height: auto;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  transition: 0.25s ease;
}

.partner-box:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.partner-box img {
  max-width: 100%;
  max-height: 100px;
  filter: none;
  opacity: 1;
  transition: 0.2s;
}

.partner-box:hover img {
  transform: scale(1.05);
}

.partner-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: 0.25s;
}

.partner-box:hover::before {
  border-color: rgba(212, 175, 55, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.video-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-thumb img {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 12px 22px;
  border-radius: 50%;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-weight: 500;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal-box {
  position: relative;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  background: #111;
  padding: 1rem;
  border-radius: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-box img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
  color: white;
}




































/* BACKGROUND */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}

.modal.active {
  display: block;
}

/* DARK OVERLAY */
.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* BOX */
.modal-box {
  position: relative;
  max-width: 900px;
  margin: 5% auto;
  background: #0b1220;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  overflow: hidden;
  animation: modalIn 0.3s ease;
  z-index: 2;
}

@media (max-width: 768px) {
  .modal-box {
    margin: 0;
    max-width: 100%;
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal-content {
    max-height: calc(100dvh - 60px);
  }
}

/* HEADER */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h2 {
  font-size: 1.3rem;
}

.modal-close {
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.7;
  color: var(--white);
  position: relative;
  z-index: 3;
}

.modal-close:hover {
  opacity: 1;
  color: var(--gold);
}

/* CONTENT */
.modal-content {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  border-left: 2px solid rgba(212, 175, 55, 0.3);
  padding-left: 1rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-year {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--grey);
}

/* ANIMACJA */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.history-image {
  margin: 1.5rem 0 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.history-image img:hover {
  transform: scale(1.03);
}


.gallery-fb {
  text-align: center;
  opacity: 0.7;
  margin-top: 1.5rem;
  font-size: 14px;
}

.gallery-fb a {
  color: #c9a14a;
  /* złoty */
  text-decoration: none;
  margin-left: 5px;
  font-weight: 500;
  transition: 0.3s;
}

.gallery-fb a:hover {
  color: #ffffff;
}




































.news-images a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.news-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* HOVER – zoom + lekki obrót */
.news-images a:hover img {
  transform: scale(1.08);
}

/* overlay gradient (robi klimat) */
.news-images a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0.6;
  transition: 0.3s;
}

.news-images a:hover::after {
  opacity: 0.9;
}

/* efekt podniesienia */
.news-images a:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.news-images a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.news-images a:hover::before {
  left: 100%;
}



.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
}






.team-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0f1e;
  z-index: 9999;
  overflow-y: auto;
}

.team-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-modal-content {
  padding: 2rem;
}

/* grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}

/* zamknij */
.close {
  font-size: 2rem;
  cursor: pointer;
}


#galeria .container {
  max-width: 1400px;
  padding-left: 1rem;
  padding-right: 1rem;
}



.partner-section {
  margin-top: 3rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-title {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

.partner-content {
  display: inline-block;
  transition: 0.3s;
}

.partner-content img {
  height: 100px;
  width: auto;
}

/* lekki efekt hover */
.partner-content:hover {
  transform: scale(1.05);
  opacity: 1;
}



















@media (max-width: 900px) {
  .rozgrywki-layout {
    grid-template-columns: 1fr;
  }

  .next-match-team-name {
    font-size: 1.1rem;
  }

  .next-match-teams {
    gap: 0.5rem;
  }

  .vs-big {
    font-size: 1.6rem;
  }
}

/* Fix inline news images grid */
.news-images-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 768px) {
  .news-images-inline {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-images-inline img {
    height: 160px !important;
  }
}

/* ============================================================
   AKTUALNOŚCI — news cards
   ============================================================ */
#aktualnosci {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.2);
}

.news-card:first-child {
  grid-column: span 2;
}

.news-card-img {
  position: relative;
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
}

.news-card:first-child .news-card-img {
  height: 240px;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.7);
  transition: transform 0.55s ease, filter 0.4s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.07);
  filter: brightness(0.65) saturate(0.9);
}

.news-cat {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--grad-gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
}

.news-body {
  padding: 1.4rem 1.4rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin-bottom: 0.6rem;
}

.news-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.65rem;
  flex: 1;
}

.news-card:first-child .news-title {
  font-size: 1.35rem;
}

.news-excerpt {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  font-weight: 300;
}

.news-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  transition: gap 0.2s;
}

.news-link::after {
  content: '→';
}

.news-link:hover {
  gap: 0.7rem;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card:first-child {
    grid-column: span 1;
  }
}

/* ============================================================
   DOŁĄCZ — Football & Basketball split
   ============================================================ */
#dolacz {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#dolacz::before {
  content: 'TKS';
  position: absolute;
  top: 50%;
  right: -3%;
  transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 30vw;
  color: rgba(255, 255, 255, 0.015);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.dolacz-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.dolacz-header .section-label {
  justify-content: center;
}

.dolacz-header .section-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--grad-gold-h);
}

.dolacz-header .section-label::after {
  display: none;
}

.dolacz-header p {
  font-size: 0.95rem;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.8;
  margin-top: 1rem;
}

.sport-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sport-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s;
}

.sport-card:hover {
  border-color: rgba(212, 175, 55, 0.22);
}

.sport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold-h);
}

.sport-card-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.sport-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.6);
  transition: transform 0.6s ease, filter 0.4s;
}

.sport-card:hover .sport-card-img img {
  transform: scale(1.05);
  filter: brightness(0.5) saturate(0.8);
}

.sport-icon-big {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sport-card:hover .sport-icon-big {
  opacity: 0.75;
}

.sport-card-body {
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sport-card-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.73rem;
  font-style: italic;
  letter-spacing: 0.25em;
  color: var(--gold-hi);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.sport-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;
}

.sport-card-desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.age-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.age-pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--gold-mid, var(--gold));
  background: rgba(212, 175, 55, 0.05);
  transition: background 0.2s;
}

.age-pill:hover {
  background: rgba(212, 175, 55, 0.12);
}

@media (max-width: 768px) {
  .sport-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AKADEMIA
   ============================================================ */
#akademia {
  padding: var(--section-pad) 0;
  background: linear-gradient(160deg, #060c1a 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

/* Background pitch lines watermark */
#akademia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 120px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 120px);
  pointer-events: none;
}

.akademia-inner {
  position: relative;
  z-index: 2;
}

.akademia-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.akademia-header .section-label {
  justify-content: center;
}

.akademia-header .section-label::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--grad-gold-h);
}

.akademia-header .section-label::after {
  display: none;
}

.akademia-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.age-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.age-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, background 0.25s;
  cursor: default;
}

.age-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.age-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}

.age-card:hover::before {
  transform: scaleX(1);
}

.age-card-age {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.age-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.5rem;
  display: block;
}

.akademia-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--gold-hi);
  transition: background 0.25s;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}

.akademia-cta-block {
  text-align: center;
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(184, 150, 46, 0.03) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
}

.akademia-cta-block ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.akademia-cta-block h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.akademia-cta-block p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

.akademia-cta-block {
  position: relative;
}

.cta-logo-corner {
  position: absolute;
  right: 5px;
  bottom: 5px;
  opacity: 0.85;
}

.cta-logo-corner img {
  height: 105px;
  width: auto;
  border-radius: 18px;
  opacity: 0.8;
  z-index: 999;
  position: relative;
  float: right;
}


@media (max-width: 768px) {
  .akademia-features {
    grid-template-columns: 1fr;
  }

  .age-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   GALERIA
   ============================================================ */
#galeria {
  padding: var(--section-pad) 0;
  background: var(--navy-mid);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(5) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.7);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.6) saturate(1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;

  font-size: 14px;
  font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 2;
  }
}

/* ============================================================
   PARTNERZY
   ============================================================ */
#partnerzy {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.3s, background 0.3s, transform 0.25s;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 90px;
}

.partner-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0) brightness(1);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
  color: var(--white);
}

.partner-logo:hover::before {
  opacity: 1;
}

/* ============================================================
   SOCIOS
   ============================================================ */
#socios {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, #06090f 0%, #0d1630 50%, #06090f 100%);
  position: relative;
  overflow: hidden;
}

/* Dramatic radial glow */
#socios::before {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Diagonal stripes */
#socios::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 80px,
      rgba(212, 175, 55, 0.015) 80px,
      rgba(212, 175, 55, 0.015) 81px);
  pointer-events: none;
}

.socios-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.socios-text .section-label {
  color: var(--gold);
}

.socios-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.2rem;
  line-height: 1.8;
  font-weight: 300;
}

.socios-text .section-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.socios-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.socios-perk {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.socios-perk::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.socios-visual {
  position: relative;
  padding: 3rem;
}

.socios-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 150, 46, 0.03) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 2px;
  padding: 3rem;
  text-align: center;
  position: relative;
}

.socios-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.socios-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.socios-card p {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Corner ornaments */
.corner-ornament {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(212, 175, 55, 0.35);
  border-style: solid;
}

.corner-ornament.tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.corner-ornament.tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.corner-ornament.bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.corner-ornament.br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

@media (max-width: 768px) {
  .socios-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   KONTAKT
   ============================================================ */
#kontakt {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  margin-top: 3rem;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.kontakt-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.kontakt-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.kontakt-item-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.9rem 1.1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

@media (max-width: 768px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: 280px;
}

.footer-nav h4,
.footer-social h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav ul a {
  font-size: 0.9rem;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav ul a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  color: var(--grey);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.social-icon:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

.fb-wrapper {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.fb-wrapper iframe {
  width: 100%;
  max-width: 500px;
  height: 800px;
  display: block;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}



.matches-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.last-match-card .vs-big {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.score-win {
  color: #4CAF50;
}

.score-loss {
  color: #f44336;
}

.score-draw {
  color: #ccc;
}





.help-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 10, 25, 0.88);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}
.help-modal.active { display: flex; }

.help-box {
  position: relative;
  background: linear-gradient(145deg, #0d1630, #0a0f1e);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  animation: helpIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
  box-shadow: 0 0 60px rgba(212,175,55,0.15);
}
@keyframes helpIn {
  from { opacity: 0; transform: scale(0.8) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.help-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.help-close:hover { color: var(--gold); }

.help-trophy {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: helpBounce 1s ease infinite alternate;
}
@keyframes helpBounce {
  from { transform: translateY(0) rotate(-5deg); }
  to   { transform: translateY(-8px) rotate(5deg); }
}

.help-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.help-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.help-text strong { color: var(--gold-hi); }

.help-sub {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 1rem;
}