:root {
  --navy-950: #03101f;
  --navy-900: #071a33;
  --navy-800: #0d2a4f;
  --navy-700: #16477b;
  --blue-600: #1f66a7;
  --blue-500: #2587d8;
  --cyan-400: #39d6e7;
  --green-400: #7ae082;
  --white: #ffffff;
  --snow: #f5f8fc;
  --gray-100: #ecf1f7;
  --gray-200: #d9e2ec;
  --gray-400: #91a0b4;
  --gray-600: #526073;
  --gray-800: #202a38;
  --black: #07090d;
  --danger: #d84b4b;
  --shadow-sm: 0 6px 18px rgba(1, 15, 32, 0.08);
  --shadow-md: 0 18px 50px rgba(1, 15, 32, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-800);
  background: var(--snow);
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.top-strip {
  background: var(--navy-950);
  color: #c9d6e5;
  font-size: 0.82rem;
}
.top-strip-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-links { display: flex; gap: 18px; align-items: center; }
.text-button { border: 0; color: inherit; background: transparent; padding: 0; }
.top-links a:hover, .text-button:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7,26,51,.08);
  transition: .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; box-shadow: 0 5px 18px rgba(7,26,51,.18); }
.brand strong, .brand span { display: block; font-family: "Barlow Condensed", sans-serif; line-height: .9; letter-spacing: .05em; }
.brand strong { font-size: 1.7rem; color: var(--navy-900); font-weight: 900; }
.brand span { font-size: 1.05rem; color: var(--blue-600); font-weight: 700; margin-top: 6px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 12px 11px; border-radius: 9px; color: var(--gray-600); font-weight: 700; font-size: .9rem; }
.main-nav a:hover, .main-nav a.active { color: var(--navy-900); background: var(--gray-100); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--navy-900); display: block; margin: 5px 0; transition: .2s; }

.hero {
  min-height: 670px;
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-950);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,16,31,.96) 0%, rgba(3,16,31,.88) 38%, rgba(3,16,31,.3) 68%, rgba(3,16,31,.35) 100%),
    url("assets/herb-zryw-bratkow.jpg") center 46%/cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, var(--snow));
}
.hero-content { position: relative; z-index: 2; max-width: 690px; padding: 90px 0 150px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan-400); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 3px; }
.hero h1 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(4rem, 8vw, 7.8rem); line-height: .82; letter-spacing: -.025em; margin: 24px 0 28px; text-transform: uppercase; font-weight: 900; }
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero p { font-size: 1.12rem; color: #d4e2f1; max-width: 610px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; transition: .2s ease; }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 12px 30px rgba(37,135,216,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,135,216,.38); }
.btn-light { color: var(--navy-900); background: var(--white); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.38); color: var(--white); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .84rem; border-radius: 9px; }

.quick-panel { position: relative; z-index: 4; margin-top: -74px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.quick-card { padding: 27px 28px; display: flex; gap: 18px; align-items: center; border-right: 1px solid var(--gray-100); }
.quick-card:last-child { border-right: 0; }
.quick-icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #e7f4ff, #edf9fb); color: var(--navy-700); font-size: 1.45rem; }
.quick-card small { display: block; color: var(--gray-400); text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.quick-card strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; color: var(--navy-900); line-height: 1.1; margin-top: 4px; }
.quick-card span { font-size: .88rem; color: var(--gray-600); }

.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-blue { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); }
.section-header { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section-header h2, .page-hero h1 { font-family: "Barlow Condensed", sans-serif; color: var(--navy-900); text-transform: uppercase; line-height: .95; font-size: clamp(2.5rem, 5vw, 4.6rem); margin: 10px 0 0; letter-spacing: -.02em; }
.section-dark .section-header h2, .section-blue .section-header h2 { color: var(--white); }
.section-header p { max-width: 540px; color: var(--gray-600); margin: 0; }
.section-dark .section-header p, .section-blue .section-header p { color: #b9cadc; }
.section-link { font-weight: 800; color: var(--blue-600); white-space: nowrap; }

.page-hero { padding: 86px 0 72px; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: var(--white); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -130px; top: -210px; box-shadow: 0 0 0 55px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.025); }
.page-hero h1 { color: var(--white); position: relative; z-index: 2; }
.page-hero p { color: #c7d6e6; max-width: 650px; position: relative; z-index: 2; }
.breadcrumb { color: var(--cyan-400); text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; font-weight: 800; position: relative; z-index: 2; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s ease; border: 1px solid rgba(7,26,51,.06); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-image { height: 168px; overflow: hidden; position: relative; background: var(--gray-100); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.news-card:hover .news-image img { transform: scale(1.045); }
.news-tag { position: absolute; left: 16px; top: 16px; color: var(--white); background: var(--blue-600); padding: 6px 10px; border-radius: 7px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.news-body { padding: 24px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--gray-400); font-size: .78rem; font-weight: 700; }
.news-body h3 { font-family: "Barlow Condensed", sans-serif; color: var(--navy-900); font-size: 1.72rem; line-height: 1.02; margin: 14px 0 12px; }
.news-body p { color: var(--gray-600); font-size: .93rem; }
.news-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.read-more { color: var(--blue-600); font-weight: 800; }
.comment-count { color: var(--gray-400); font-size: .83rem; }

.scoreboard { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.next-match { background: linear-gradient(145deg, #0c2e55, #061527); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden; }
.next-match::after { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; background: rgba(57,214,231,.09); right: -90px; bottom: -120px; }
.match-label { color: var(--cyan-400); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.match-date { font-family: "Barlow Condensed", sans-serif; font-size: 2rem; font-weight: 800; margin: 10px 0 30px; }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.team-block { text-align: center; }
.team-badge { width: 100px; height: 100px; border-radius: 24px; background: var(--white); padding: 8px; margin: 0 auto 14px; object-fit: cover; }
.team-placeholder { width: 100px; height: 100px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 14px; background: rgba(255,255,255,.1); font-size: 2.2rem; font-family: "Barlow Condensed"; font-weight: 900; }
.team-block strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; line-height: 1; }
.match-vs { font-family: "Barlow Condensed", sans-serif; font-size: 2.6rem; font-weight: 900; color: var(--cyan-400); }
.match-place { text-align: center; margin-top: 28px; color: #aebfd2; }
.table-card { background: var(--white); color: var(--gray-800); border-radius: var(--radius-lg); padding: 26px; }
.table-card h3 { font-family: "Barlow Condensed"; font-size: 2rem; color: var(--navy-900); margin: 0 0 18px; }
.league-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.league-table th, .league-table td { padding: 12px 8px; border-bottom: 1px solid var(--gray-100); text-align: left; }
.league-table th { color: var(--gray-400); font-size: .72rem; text-transform: uppercase; }
.league-table tr.highlight { color: var(--blue-600); font-weight: 800; background: #edf7ff; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: var(--white); border: 1px solid rgba(7,26,51,.07); box-shadow: var(--shadow-sm); border-radius: var(--radius-md); padding: 26px; transition: .2s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: #e9f5ff; color: var(--blue-600); font-size: 1.4rem; }
.feature-card h3 { font-family: "Barlow Condensed"; font-size: 1.55rem; color: var(--navy-900); margin: 18px 0 8px; }
.feature-card p { color: var(--gray-600); font-size: .9rem; margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery-item { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--navy-900); color: var(--white); text-align: left; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3,16,31,.88)); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; font-weight: 800; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-btn { border: 1px solid var(--gray-200); background: var(--white); color: var(--gray-600); border-radius: 999px; padding: 9px 15px; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-950); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-info { padding: 20px; }
.video-info h3 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: 1.55rem; margin: 0 0 8px; }
.video-info p { margin: 0; color: var(--gray-600); font-size: .88rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(7,26,51,.06); }
.product-image { height: 260px; background: linear-gradient(145deg, #eaf2fa, #d5e5f4); position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-stock { position: absolute; top: 14px; left: 14px; padding: 5px 9px; border-radius: 7px; background: var(--navy-900); color: var(--white); font-size: .72rem; font-weight: 800; }
.product-body { padding: 20px; }
.product-body h3 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: 1.55rem; margin: 0 0 6px; }
.product-price { font-size: 1.35rem; color: var(--blue-600); font-weight: 900; margin: 12px 0 16px; }
.product-body p { color: var(--gray-600); font-size: .88rem; min-height: 44px; }

.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.training-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.training-card .video-frame { border-bottom: 4px solid var(--blue-500); }
.training-body { padding: 22px; }
.training-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.badge { padding: 5px 9px; border-radius: 7px; background: #eaf5ff; color: var(--blue-600); font-size: .72rem; font-weight: 800; }
.training-body h3 { font-family: "Barlow Condensed"; font-size: 1.65rem; color: var(--navy-900); margin: 0 0 8px; }
.training-body p { color: var(--gray-600); font-size: .9rem; }

.roster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.player-card { background: var(--white); border-radius: var(--radius-md); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.player-card::before { content: attr(data-number); position: absolute; right: 10px; top: -22px; color: rgba(22,71,123,.07); font-family: "Barlow Condensed"; font-size: 7rem; font-weight: 900; line-height: 1; }
.player-avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(145deg, var(--navy-700), var(--blue-500)); color: var(--white); display: grid; place-items: center; font-family: "Barlow Condensed"; font-size: 2rem; font-weight: 900; border: 5px solid #e9f4ff; position: relative; }
.player-photo { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; object-position: center top; border: 5px solid #e9f4ff; position: relative; box-shadow: 0 10px 24px rgba(7,26,51,.15); }
.player-card h3 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: 1.55rem; margin: 0; position: relative; }
.player-card .player-position { color: var(--blue-600); font-size: .8rem; font-weight: 800; text-transform: uppercase; margin: 4px 0 0; position: relative; }
.player-details { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 13px; position: relative; }
.player-details span { background: var(--gray-100); color: var(--gray-600); border-radius: 999px; padding: 5px 9px; font-size: .72rem; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; }
.contact-card, .form-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-list { display: grid; gap: 16px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { width: 44px; height: 44px; display: grid; place-items: center; background: #eaf5ff; border-radius: 12px; color: var(--blue-600); flex: 0 0 44px; }
.contact-item strong { display: block; color: var(--navy-900); }
.contact-item span { color: var(--gray-600); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 800; color: var(--navy-900); }
input, textarea, select { width: 100%; border: 1px solid var(--gray-200); background: var(--white); border-radius: 10px; padding: 13px 14px; outline: none; color: var(--gray-800); }
input:focus, textarea:focus, select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37,135,216,.12); }
textarea { min-height: 120px; resize: vertical; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; }
.article { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; }
.article-content { padding: 36px; }
.article-content h1 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .95; margin: 16px 0 18px; }
.article-content p { white-space: pre-line; }
.sidebar-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.sidebar-card h3 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: 1.7rem; margin: 0 0 15px; }
.comments { margin-top: 38px; border-top: 1px solid var(--gray-100); padding-top: 30px; }
.comment { display: flex; gap: 13px; margin: 20px 0; }
.comment-avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--navy-900); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.comment-body { flex: 1; background: var(--snow); border-radius: 12px; padding: 13px 15px; }
.comment-body strong { color: var(--navy-900); }
.comment-body time { color: var(--gray-400); font-size: .75rem; margin-left: 8px; }
.comment-body p { margin: 6px 0 0; font-size: .9rem; }

.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--navy-900)); color: var(--white); border-radius: var(--radius-lg); padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow-md); }
.cta-band h2 { font-family: "Barlow Condensed"; font-size: 2.8rem; line-height: 1; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #d6e5f4; }

.empty-state { padding: 48px 24px; text-align: center; background: var(--white); border-radius: var(--radius-md); border: 1px dashed var(--gray-200); color: var(--gray-600); }
.empty-state .icon { font-size: 2.5rem; margin-bottom: 10px; }

.footer { background: #020b15; color: #9fb0c3; padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
.footer h4 { color: var(--white); margin-top: 0; }
.footer a { display: block; margin: 9px 0; }
.footer a:hover { color: var(--white); }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 74px; height: 74px; object-fit: cover; border-radius: 16px; }
.footer-brand h3 { font-family: "Barlow Condensed"; color: var(--white); font-size: 2rem; margin: 0; }
.footer-brand p { margin: 3px 0 0; }
.social-row { display: flex; gap: 8px; }
.social-row a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--white); font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding: 20px 0; font-size: .82rem; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,11,21,.8); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; z-index: 2; width: min(100%, 1100px); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); border-radius: 22px; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-close { position: sticky; float: right; top: 12px; right: 12px; z-index: 4; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--navy-900); color: var(--white); font-size: 1.5rem; line-height: 1; }
.lightbox-dialog { width: min(100%, 980px); background: var(--black); color: var(--white); }
.lightbox-dialog img { width: 100%; max-height: 78vh; object-fit: contain; }
#lightboxCaption { padding: 16px 22px; }
.admin-dialog { min-height: 540px; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 650px; }
.admin-sidebar { background: var(--navy-950); color: var(--white); padding: 28px 16px; }
.admin-logo { font-family: "Barlow Condensed"; font-size: 1.8rem; font-weight: 900; margin-bottom: 26px; padding-inline: 8px; }
.admin-user { margin: -12px 8px 22px; padding: 12px; border-radius: 11px; background: rgba(255,255,255,.08); }
.admin-user strong, .admin-user span { display: block; }
.admin-user span { color: #9fb4ca; font-size: .75rem; margin-top: 2px; }
.admin-welcome { margin: -12px 0 20px; color: var(--gray-600); }
.account-heading { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.account-heading h3 { margin: 0; color: var(--navy-900); font-family: "Barlow Condensed"; font-size: 1.6rem; }
.account-heading small { color: var(--gray-600); }
.admin-nav { display: grid; gap: 6px; }
.admin-nav button { border: 0; color: #b9c9da; background: transparent; padding: 11px 12px; text-align: left; border-radius: 9px; font-weight: 700; }
.admin-nav button.active, .admin-nav button:hover { background: rgba(255,255,255,.1); color: var(--white); }
.admin-main { padding: 30px; min-width: 0; }
.admin-main h2 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: 2.3rem; margin: 0 0 22px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.admin-list { display: grid; gap: 12px; }
.admin-item { border: 1px solid var(--gray-200); border-radius: 12px; padding: 14px; display: flex; gap: 14px; align-items: center; }
.admin-item img { width: 72px; height: 58px; border-radius: 8px; object-fit: cover; background: var(--gray-100); }
.admin-item-info { flex: 1; min-width: 0; }
.admin-item-info strong { display: block; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-item-info small { color: var(--gray-400); }
.admin-actions { display: flex; gap: 6px; }
.admin-login { padding: 48px; max-width: 480px; margin: auto; }
.admin-login h2 { font-family: "Barlow Condensed"; color: var(--navy-900); font-size: 2.8rem; margin: 0 0 10px; }
.admin-login p { color: var(--gray-600); }
.admin-form { display: grid; gap: 14px; margin-top: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { padding: 20px; border-radius: 14px; background: var(--snow); }
.stat-card strong { display: block; font-family: "Barlow Condensed"; font-size: 2.4rem; color: var(--navy-900); }
.stat-card span { color: var(--gray-600); font-size: .82rem; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--navy-950); color: var(--white); border-radius: 11px; padding: 13px 18px; box-shadow: var(--shadow-md); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .main-nav { position: fixed; top: 122px; left: 20px; right: 20px; display: none; background: var(--white); padding: 14px; border-radius: 16px; box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .news-grid, .video-grid, .training-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .roster-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scoreboard { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid, .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 26px, var(--container)); }
  .top-strip-inner > span { display: none; }
  .top-strip-inner { justify-content: flex-end; }
  .header-inner { min-height: 74px; }
  .brand img { width: 50px; height: 50px; }
  .brand strong { font-size: 1.5rem; }
  .main-nav { top: 112px; }
  .hero { min-height: 600px; }
  .hero-content { padding: 78px 0 130px; }
  .hero h1 { font-size: 4.25rem; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { border-right: 0; border-bottom: 1px solid var(--gray-100); }
  .quick-card:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .section-header { align-items: flex-start; flex-direction: column; }
  .news-grid, .video-grid, .training-grid, .product-grid, .roster-grid, .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .teams { gap: 9px; }
  .team-badge, .team-placeholder { width: 74px; height: 74px; border-radius: 18px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 18px; }
  .admin-nav { display: flex; overflow-x: auto; }
  .admin-nav button { white-space: nowrap; }
  .admin-main { padding: 22px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 3.55rem; }
  .hero-actions .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .article-content, .contact-card, .form-card { padding: 24px 18px; }
  .admin-login { padding: 42px 22px; }
  .admin-item { align-items: flex-start; flex-wrap: wrap; }
  .admin-actions { width: 100%; }
}

/* WERSJA V3 — kompaktowe aktualności z czytelnym opisem */
.news-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
.news-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 170px;
  align-items: stretch;
}
.news-image {
  width: 180px;
  height: 100%;
  min-height: 170px;
}
.news-tag {
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  font-size: .64rem;
}
.news-body {
  min-width: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-body h3 {
  font-size: 1.65rem;
  margin: 10px 0 8px;
}
.news-body p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.55;
  margin: 0;
}
.news-actions {
  margin-top: 13px;
}

@media (max-width: 760px) {
  .news-card {
    grid-template-columns: 125px minmax(0, 1fr);
    min-height: 150px;
  }
  .news-image {
    width: 125px;
    min-height: 150px;
  }
  .news-body {
    padding: 16px 18px;
  }
  .news-body h3 {
    font-size: 1.4rem;
    margin: 8px 0 7px;
  }
  .news-body p {
    -webkit-line-clamp: 4;
    font-size: .88rem;
  }
}

@media (max-width: 480px) {
  .news-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 142px;
    border-radius: 14px;
  }
  .news-image {
    width: 96px;
    min-height: 142px;
  }
  .news-tag {
    left: 6px;
    top: 6px;
    max-width: calc(100% - 12px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .news-body {
    padding: 13px 14px;
  }
  .news-meta {
    gap: 7px;
    font-size: .68rem;
  }
  .news-meta span:nth-child(2) {
    display: none;
  }
  .news-body h3 {
    font-size: 1.22rem;
    margin: 6px 0;
  }
  .news-body p {
    -webkit-line-clamp: 3;
    font-size: .8rem;
    line-height: 1.42;
  }
  .news-actions {
    margin-top: 8px;
    font-size: .78rem;
  }
}

/* WERSJA V4 — terminarz, wyniki i edytowalna tabela ligowa */
.section-soft { background: #edf3f9; }
.match-context { margin: -22px 0 28px; color: #9fb4ca; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.match-all-link { position: relative; z-index: 2; margin: 24px auto 0; width: fit-content; display: flex; }
.table-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 12px; }
.table-card-head h3 { margin: 0; }
.table-card-head a { color: var(--blue-600); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-card .league-table { min-width: 590px; }
.full-table-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(7,26,51,.06); }
.league-table-full { min-width: 760px; }
.league-table-full th, .league-table-full td { text-align: center; }
.league-table-full th:nth-child(2), .league-table-full td:nth-child(2) { text-align: left; min-width: 180px; }

.fixtures-list { display: grid; gap: 16px; }
.fixture-card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid rgba(7,26,51,.07); overflow: hidden; }
.fixture-card.upcoming { border-left: 5px solid var(--blue-500); }
.fixture-card.played { border-left: 5px solid var(--green-400); }
.fixture-card.cancelled { border-left: 5px solid var(--danger); opacity: .88; }
.fixture-top, .fixture-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 15px 20px; background: var(--snow); }
.fixture-top small { display: block; color: var(--gray-500, var(--gray-600)); margin-top: 2px; }
.fixture-date { display: block; color: var(--navy-900); font-weight: 800; text-transform: capitalize; }
.match-status { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.match-status.upcoming { background: #e8f4ff; color: var(--blue-600); }
.match-status.played { background: #e9f8eb; color: #287a36; }
.match-status.cancelled { background: #ffeaea; color: var(--danger); }
.fixture-teams { display: grid; grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); align-items: center; gap: 18px; padding: 24px 28px; }
.fixture-team strong { display: block; color: var(--navy-900); font-family: "Barlow Condensed", sans-serif; font-size: 1.65rem; line-height: 1.05; }
.fixture-team span { display: block; margin-top: 5px; color: var(--gray-400); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.fixture-team.away { text-align: right; }
.fixture-score { min-width: 82px; text-align: center; padding: 10px 12px; border-radius: 12px; background: var(--navy-900); color: var(--white); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.fixture-bottom { color: var(--gray-600); font-size: .82rem; flex-wrap: wrap; }

.admin-toolbar > div { min-width: 0; }
.admin-toolbar-note { margin: -16px 0 0; color: var(--gray-600); font-size: .85rem; }
.admin-single-form { max-width: 820px; background: var(--snow); border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--gray-200); }
.admin-item-wide { min-height: 82px; }
.admin-match-icon, .table-position-badge { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: grid; place-items: center; background: #eaf5ff; color: var(--blue-600); font-weight: 900; }
.table-position-badge { background: var(--navy-900); color: var(--white); font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; }

@media (max-width: 760px) {
  .fixture-top { align-items: flex-start; }
  .fixture-teams { grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); padding: 20px 16px; gap: 10px; }
  .fixture-team strong { font-size: 1.35rem; }
  .fixture-score { min-width: 62px; font-size: 1.55rem; padding: 9px 7px; }
  .fixture-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
  .full-table-card, .table-card { padding: 18px; }
  .admin-toolbar { align-items: flex-start; }
  .admin-toolbar-note { margin-top: -14px; }
}

@media (max-width: 480px) {
  .fixture-top { flex-direction: column; }
  .fixture-teams { grid-template-columns: 1fr; text-align: center; }
  .fixture-team.away { text-align: center; }
  .fixture-score { margin: 0 auto; }
  .admin-single-form { padding: 16px; }
  .admin-item-wide .admin-match-icon, .admin-item-wide .table-position-badge { width: 44px; height: 44px; flex-basis: 44px; }
}
