.roster-hero {
  padding: 150px 0 80px;
  background: linear-gradient(180deg, rgba(17, 29, 48, 0.98), rgba(27, 44, 74, 0.94));
  color: var(--color-white);
}

.roster-hero-content {
  max-width: 760px;
}

.roster-hero h1 {
  margin-bottom: 16px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.roster-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.roster-section {
  padding: 70px 0 100px;
  background: var(--color-primary-dark);
}

.roster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.roster-meta-box,
.player-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-card-soft);
  border: 1px solid rgba(44, 108, 155, 0.24);
  border-left: 4px solid var(--color-yellow);
}

.roster-meta-box span {
  display: block;
  margin-bottom: 5px;
  color: var(--color-gray);
}

.roster-meta-box strong {
  color: var(--color-white);
}

.roster-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: rgba(30, 51, 88, 0.72);
  box-shadow: var(--shadow-soft);
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.roster-table thead {
  background: rgba(17, 29, 48, 0.9);
}

.roster-table th,
.roster-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.roster-table th {
  color: var(--color-gray);
  font-family: "Barlow Condensed", Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.roster-table td {
  color: rgba(255, 255, 255, 0.78);
}

.roster-table td img,
.player-card img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.roster-cards {
  display: none;
}

.category-hero {
  padding: 138px 0 74px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 240, 71, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(17, 29, 48, 0.98), rgba(27, 44, 74, 0.96));
  color: var(--color-white);
  overflow: hidden;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: end;
}

.category-hero-content {
  max-width: 720px;
}

.category-hero h1 {
  margin-bottom: 18px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.category-hero-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 240, 71, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-yellow);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.category-hero-card strong {
  display: block;
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.category-hero-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
}

.category-overview {
  padding: 34px 0;
  background: var(--color-primary-dark);
}

.category-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-info-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(30, 51, 88, 0.78);
  border: 1px solid rgba(44, 108, 155, 0.24);
  border-left: 4px solid var(--color-yellow);
  box-shadow: var(--shadow-soft);
}

.category-info-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-gray);
  font-size: 0.84rem;
}

.category-info-card strong {
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.category-table-section {
  padding: 68px 0 78px;
  background:
    linear-gradient(180deg, var(--color-primary-dark) 0%, #0d1728 100%);
}

.category-section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.category-section-head h2 {
  margin: 0;
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.category-section-head h2 em {
  display: block;
  color: var(--color-yellow);
  font-style: normal;
}

.category-section-head p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.category-table-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(30, 51, 88, 0.8);
  border: 1px solid rgba(44, 108, 155, 0.28);
  box-shadow: var(--shadow);
}

.category-table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 29, 48, 0.48);
}

.table-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--color-yellow);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.category-table-top h3 {
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.table-status-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.table-status-box small {
  color: var(--color-gray);
}

.category-table-card .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.category-about-section {
  padding: 0 0 90px;
  background: #0d1728;
}

.category-about-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 240, 71, 0.12), rgba(44, 108, 155, 0.16));
  border: 1px solid rgba(255, 240, 71, 0.16);
  box-shadow: var(--shadow-soft);
}

.category-about-card h2 {
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.category-about-card h2 em {
  color: var(--color-yellow);
  font-style: normal;
}

.category-about-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.category-hero {
  padding: 138px 0 74px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 240, 71, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(17, 29, 48, 0.98), rgba(27, 44, 74, 0.96));
  color: var(--color-white);
  overflow: hidden;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: end;
}

.category-hero-content {
  max-width: 720px;
}

.category-hero h1 {
  margin-bottom: 18px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.category-hero-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 240, 71, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-yellow);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.category-hero-card strong {
  display: block;
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.category-hero-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
}

.category-match-strip {
  padding: 36px 0 0;
  background: var(--color-primary-dark);
}

.next-match-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 240, 71, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(30, 51, 88, 0.96), rgba(17, 29, 48, 0.98));
  border: 1px solid rgba(255, 240, 71, 0.2);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.next-match-panel::before {
  content: "VS";
  position: absolute;
  right: 150px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.035);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.next-match-info {
  position: relative;
  z-index: 1;
}

.next-match-info h2 {
  margin: 0 0 12px;
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.next-match-info h2 em {
  color: var(--color-yellow);
  font-style: normal;
}

.next-match-info p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.next-match-datebox {
  position: relative;
  z-index: 1;
  min-width: 190px;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: 0 16px 36px rgba(255, 240, 71, 0.18);
}

.next-match-datebox span {
  display: block;
  margin-bottom: 8px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.next-match-datebox strong {
  display: block;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.category-action-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.category-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: rgba(30, 51, 88, 0.78);
  border: 1px solid rgba(44, 108, 155, 0.26);
  border-left: 5px solid var(--color-yellow);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.category-action-btn:hover {
  transform: translateY(-4px);
  background: rgba(30, 51, 88, 0.96);
  border-color: rgba(255, 240, 71, 0.42);
  box-shadow: var(--shadow);
}

.category-action-btn span {
  color: var(--color-gray);
  font-size: 0.9rem;
}

.category-action-btn strong {
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.category-action-btn::after {
  content: "→";
  color: var(--color-yellow);
  font-size: 1.6rem;
  font-weight: 900;
  transition: transform var(--transition);
}

.category-action-btn:hover::after {
  transform: translateX(6px);
}

.category-table-section {
  padding: 68px 0 78px;
  background:
    linear-gradient(180deg, var(--color-primary-dark) 0%, #0d1728 100%);
}

.category-section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.category-section-head h2 {
  margin: 0;
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.category-section-head h2 em {
  display: block;
  color: var(--color-yellow);
  font-style: normal;
}

.category-section-head p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.category-table-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(30, 51, 88, 0.8);
  border: 1px solid rgba(44, 108, 155, 0.28);
  box-shadow: var(--shadow);
}

.category-table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 29, 48, 0.48);
}

.table-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--color-yellow);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.category-table-top h3 {
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.table-status-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.table-status-box small {
  color: var(--color-gray);
}

.category-table-card .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.category-roster-section {
  padding: 0 0 78px;
  background: #0d1728;
}

.category-empty-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(30, 51, 88, 0.72);
  border: 1px solid rgba(44, 108, 155, 0.24);
  box-shadow: var(--shadow-soft);
}

.category-empty-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-yellow);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.category-empty-card p {
  color: rgba(255, 255, 255, 0.7);
}

.category-about-section {
  padding: 0 0 90px;
  background: #0d1728;
}

.category-about-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 240, 71, 0.12), rgba(44, 108, 155, 0.16));
  border: 1px solid rgba(255, 240, 71, 0.16);
  box-shadow: var(--shadow-soft);
}

.category-about-card h2 {
  color: var(--color-white);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.category-about-card h2 em {
  color: var(--color-yellow);
  font-style: normal;
}

.category-about-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.roster-sheet-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(245, 250, 255, 0.92);
  border: 1px solid rgba(44, 108, 155, 0.24);
  box-shadow: var(--shadow);
}

.roster-sheet-top {
  padding: 28px 30px 12px;
}

.roster-sheet-top h3 {
  color: var(--color-navy);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.roster-sheet-top p {
  margin-top: 8px;
  color: rgba(27, 44, 74, 0.72);
}

.roster-sheet-table-wrap {
  overflow-x: auto;
}

.roster-sheet-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.roster-sheet-table th {
  padding: 12px 14px;
  color: #111d30;
  font-weight: 800;
  text-align: left;
  border-top: 1px solid rgba(27, 44, 74, 0.12);
  border-bottom: 1px solid rgba(27, 44, 74, 0.18);
}

.roster-sheet-table td {
  padding: 10px 14px;
  color: #111d30;
  vertical-align: middle;
  border-bottom: 1px solid rgba(27, 44, 74, 0.14);
}

.roster-sheet-photo {
  width: 56px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  background: rgba(27, 44, 74, 0.08);
}

.roster-more-btn {
  min-width: 150px;
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid rgba(27, 44, 74, 0.22);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.74);
  color: #111d30;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.roster-more-btn:hover {
  transform: translateY(-2px);
  background: var(--color-yellow);
  border-color: var(--color-yellow);
}

.player-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(17, 29, 48, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.player-detail-modal.active {
  opacity: 1;
  visibility: visible;
}

.player-detail-box {
  position: relative;
  width: min(780px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
  border-top: 6px solid var(--color-yellow);
  box-shadow: var(--shadow);
}

.player-detail-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 1.55rem;
  cursor: pointer;
}

.player-detail-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 26px;
  align-items: start;
}

.player-detail-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #dfe8f3;
}

.player-detail-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.player-detail-position {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 240, 71, 0.25);
  color: #806f00;
  font-weight: 800;
}

.player-detail-content h3 {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.player-detail-content p {
  color: #4f5d6b;
  line-height: 1.75;
}

.next-match-place {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 240, 71, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.page-muzi .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/muzi.jpg") center/cover no-repeat;
}

.page-juniori .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/juniori.jpg") center/cover no-repeat;
}

.page-starsi-kadeti .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/starsi-kadeti.jpg") center/cover no-repeat;
}

.page-mladsi-kadeti .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/mladsi-kadeti.jpg") center/cover no-repeat;
}

.page-starsi-ziaci .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/starsi-ziaci.jpg") center/cover no-repeat;
}

.page-mladsi-ziaci .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/mladsi-ziaci.jpg") center/cover no-repeat;
}

.page-zraloci .roster-sheet-card {
  background:
    linear-gradient(rgba(245, 250, 255, 0.9), rgba(245, 250, 255, 0.9)),
    url("../images/categories/zraloci.jpg") center/cover no-repeat;
}