:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

#root {
  width: 1426px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #00ACE1;
  min-height: 100vh;
}

.glass {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.53);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
  }
}

.app {
  width:100%;
  margin: 0 auto;
  background-color: #00ACE1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Loader Screen */
.loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100svw;
  height: 100vh;
  height: 100svh;
  background: linear-gradient(135deg, #00ACE1 0%, #0088b3 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.loader-logo-svg {
  width: 200px;
  height: auto;
  overflow: visible;
  transform-origin: center center;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
    padding-top: 36px;
    padding-bottom: 9px;
  
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Filter Bar */
.filter-bar {
  padding: 10px 16px;
  position: sticky;
  top: 60px;
  z-index: 101;
  display: flex;
  justify-content: center;
}

.filter-static {
  position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 3px 16px;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
    border: 1px solid rgba(255, 255, 255, 0.53);
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: 'InterTight', sans-serif;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.custom-select {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.custom-select-trigger {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  border: 1px solid rgba(255, 255, 255, 0.53);
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: 'InterTight', sans-serif;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.custom-select-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.custom-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.custom-select-arrow.open {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 200;
  border-radius: 16px;
  padding: 8px 0;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  border: 1px solid rgba(255, 255, 255, 0.53);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  animation: dropdownFade 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.4) transparent;
}

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

.custom-select-option {
  padding: 12px 20px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
}

.custom-select-option:hover {
  background: rgba(255, 255, 255, 0.2);
}

.custom-select-option.selected {
  background: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.header-icon {
  width: 33px;
  height: 33px;
  padding: 6px;
  color: white;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  border: 1px solid rgba(255, 255, 255, 0.53);
}

.logo {
 width: 56px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.menu-icon {
  width: 33px;
  height: 33px;
  padding: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  border: 1px solid rgba(255, 255, 255, 0.53);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Content */
.content {
  flex: 1;
  padding: 39px 16px 100px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.pages-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-slide {
  width: 100%;
}

.page-slide.page-leaving {
  position: absolute;
  top: 0;
  left: 0;
}

.page-slide.page-entering {
  position: relative;
}

/* Matchday */
.matchday {
  margin-bottom: 24px;
}

.matchday-title {
  padding-left: 12px;
    padding-right: 12px;
  color: white;
  font-size: 14px;
  font-weight: 700;

background: rgba(255, 255, 255, 0.13);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(9.8px);
-webkit-backdrop-filter: blur(9.8px);
border: 1px solid rgba(255, 255, 255, 0.53);
}

/* Match Card */
.match {
  background-color: transparent;

  border-bottom: 1px solid white;
  padding: 0px;
  padding-bottom: 12px;
  
}

.match-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
}

.match-date {
  font-size: 11px;
  font-weight: 500;
  color: white;
}

.match-status {
  font-size: 11px;
  font-weight: 600;
  color: white;
  background-color: transparent;
  padding: 0px;
  border-radius: 12px;
}

.match-penalty-label {
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border: transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.penalty-score {
  font-size: 0.5em;
  vertical-align: super;
  line-height: 1;
  margin: 0 1px;
}

.score {
  position: relative;
  white-space: nowrap;
}

.match-teams {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* .team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
} */


.team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: space-around;
}

/* .team:first-child {
  justify-content: flex-end;
 
}

.team:last-child {
  justify-content: flex-start;
  
} */


.team:first-child {
 margin-left:12%;
 
}


.team:last-child {
  margin-right:12%;

}


.team-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
}




.team-name.clickable-team {
  cursor: pointer;
  color: white;
 
 
}

.mvp-label {
    display: flex;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 22px;
    
}

p.caldendar-man {
    width: 100%;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
    border: 1px solid rgba(255, 255, 255, 0.53);
}



.score {
  font-size: 20px;
  font-weight: 800;
  color: white;
  padding: 0 16px;
}

/* Match Expandable Detail */
.match-expand-detail {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
}

.match-detail-inner {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-detail-columns {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.detail-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.home-column {
  text-align: left;
  align-items: flex-start;
}

.away-column {
  text-align: right;
  align-items: flex-end;
}

.detail-scorer-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
}

.fusb {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.detail-scorer-minute {
  font-size: 11px;
  opacity: 0.8;
}

.detail-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: white;
}

.away-column .detail-card-row {
  flex-direction: row-reverse;
}

.card-dot {
  width: 8px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.card-dot.yellow {
  background-color: #FEB019;
}

.card-dot.red {
  background-color: #FF4560;
}

.card-dot.second_yellow {
  background-color: #FF4560;
}

.match-detail-mvp {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* .mvp-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 4px;
} */

.mvp-name {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 430px;
    display: flex;
    justify-content: space-between;
    padding: 9px;
    padding-left: 1px;
    padding-right: 1px;
    border-radius: 49px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
    border: 1px solid rgba(255, 255, 255, 0.53);
    align-items: center;
    z-index: 100;
}

.nav-pill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 54px;
    border-radius: 33px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
    border: 1px solid rgba(255, 255, 255, 0.53);
    pointer-events: none;
    z-index: 0;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}

.nav-item.active {
  color: white;
}

.nav-icon {
  width: 20px;
  height: 20px;
}

.nav-item span {
    display: flex;
    font-size: 9px;
    font-weight: 600;
    height: 16px;
    color: white;
    align-items: center;
}

/* Standings Table */
.standings-container {
  background-color: transparent;
  border-radius: 16px;
  padding: 0px;
}

.standings-header {
  display: grid;
  grid-template-columns: 32px 1fr 60px 36px 36px 52px;
  gap: 8px;
  padding: 10px 0;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header-pos {
  text-align: center;
}

.header-team {
  text-align: left;
}

.header-wdl,
.header-gf,
.header-gs,
.header-pts {
  text-align: center;
}

.standings-row {
  display: grid;
  grid-template-columns: 32px 1fr 60px 36px 36px 52px;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: white;
}

.standings-row:last-child {
  border-bottom: none;
}

.row-pos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.pos-bar {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}

.row-pos.pos-green .pos-bar {
  background-color: #00E396;
}

.row-pos.pos-yellow .pos-bar {
  background-color: #FEB019;
}

.row-team {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-logo-small {
  width: 20px;
  height: 20px;
  
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-name-small {
  font-weight: 700;
  color: white;
  font-size: 16px;
}

.row-wdl,
.row-gf,
.row-gs {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.row-pts {
  text-align: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.team-penalty {
    position: relative;
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-left: 6px;
    bottom: 6px;
}

.pts-difference {
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 600;
  text-decoration: line-through;
  opacity: 0.9;
}

/* Mobile responsive for standings */
@media (max-width: 380px) {
  .standings-header {
    grid-template-columns: 28px 1fr 48px 32px 32px 46px;
    gap: 6px;
    padding: 8px 0;
    font-size: 9px;
  }

  .standings-row {
    grid-template-columns: 28px 1fr 48px 32px 32px 46px;
    gap: 6px;
    padding: 5px 0;
    font-size: 12px;
  }

  .row-pos {
    gap: 4px;
    font-size: 16px;
  }

  .pos-bar {
    width: 2px;
    height: 14px;
  }

  .team-logo-small {
    width: 33px;
    height: 33px;
  }

  .team-name-small {
    font-size: 16px;
  }

  .row-pts {
    font-size: 16px;
  }
}

/* Stats Table */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.stats-table {
  background-color: transparent;
  border-radius: 16px;
  padding: 0;
}

.stats-table-header {
  display: grid;
  grid-template-columns: 32px 1fr 80px;
  gap: 8px;
  padding: 10px 4px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-table-header.cards-mode {
  grid-template-columns: 32px 1fr 50px 50px;
}

.stats-table-header span:first-child {
  text-align: center;
}

.stats-table-header span:last-child {
  text-align: right;
}

.stats-table-row {
  display: grid;
  grid-template-columns: 32px 1fr 80px;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: white;
}

.stats-table-row.cards-mode {
  grid-template-columns: 32px 1fr 50px 50px;
}

.stats-table-row:last-child {
  border-bottom: none;
}

.stats-value {
  text-align: right;
  font-weight: 800;
  font-size: 16px;
  padding-right: 4px;
}

/* Mobile responsive for stats table */
@media (max-width: 380px) {
  .stats-table-header {
    grid-template-columns: 28px 1fr 70px;
    gap: 6px;
    padding: 8px 0;
    font-size: 9px;
  }

  .stats-table-row {
    grid-template-columns: 28px 1fr 70px;
    gap: 6px;
    padding: 5px 0;
    font-size: 12px;
  }

  .stats-value {
    font-size: 16px;
  }
}

/* Teams List */
.teams-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teams-list-header {
  display: flex;
  padding: 10px 0;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.teams-list {
  display: flex;
  flex-direction: column;
}

.team-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.team-list-item:last-child {
  border-bottom: none;
}

.team-list-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-list-acronym {
  color: white;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
}

.team-list-name {
  font-size: 16px;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Teams Page */
.teams-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.team-logo-large {
  display: flex;
  justify-content: center;
 padding-bottom:6px;
}

.team-logo-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.team-logo-text {
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  padding: 10px;
  line-height: 1.2;
}

.team-section {
  width: 100%;
  background-color: transparent;
  border-radius: 16px;
  padding: 16px 0;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.section-title {
  width:45%;
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
    border: 1px solid rgba(255, 255, 255, 0.53);
    border-radius:12px;
}

.player-count {
  font-size: 12px;
  font-weight: 600;
  color: white;
  
  padding: 4px 10px;
  border-radius: 12px;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.staff-item {
    border-bottom: 1px solid white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    /* border-radius: 12px; */
}

.staff-role {
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.staff-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.players-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 4px;
}

.players-header-label,
.players-header-count {
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.players-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-item {
  border-bottom:1px solid white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  background-color: transparent;
 
  cursor: pointer;
}

.player-role {
  font-size: 14px;
  font-weight: 700;
  color: white;
  width: 30px;
}

.player-full-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-align: right;
}

.player-team-acronym {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

/* Player Detail */
.player-detail-name {
  font-size: 24px;
  font-weight: 800;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.player-stats-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top:18px;
  gap: 0;
}

.player-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.player-stat-row:last-child {
  border-bottom: none;
}

.player-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.player-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.player-back-button {
    left: 0;
    top: 142px;
    position: absolute;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.53);
    color: white;
    padding: 10px 24px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    backdrop-filter: blur(9.8px);
    -webkit-backdrop-filter: blur(9.8px);
}

/* Match Detail View */
.match-detail {
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.match-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #0066FF;
}

.back-button {
  background-color: #0066FF;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'InterTight', sans-serif;
}

.match-detail-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex: 1;
}

.match-detail-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
  border-radius: 12px;
  margin-bottom: 20px;
}

.detail-team {
  flex: 1;
  text-align: center;
}

.detail-team-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.detail-score {
  font-size: 36px;
  font-weight: 800;
  color: white;
  padding: 0 20px;
}

.detail-section {
  margin-bottom: 20px;
}

.detail-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #0066FF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.scorer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 8px;
}

.scorer-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.scorer-team {
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.scorer-minute {
  font-size: 14px;
  font-weight: 700;
  color: #0066FF;
}

.card-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 8px;
}

.card-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.card-team {
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.card-type {
  font-size: 18px;
}

.card-minute {
  font-size: 14px;
  font-weight: 700;
  color: #0066FF;
}

.mvp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
  border-radius: 12px;
}

.mvp-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.mvp-team {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.match.clickable {
    border-bottom: 1px solid white;
    cursor: pointer;
    padding-bottom:12px;
    border-radius: 0px;
    transition: transform 0.2s, box-shadow 0.2s;
}



/* Info Page */
.info-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portatitolo {
  display: flex;
  width: 100%;
  justify-content: center;
  padding-bottom: 12px;
}

.info-contacts {
  display: flex;
  flex-direction: column;
}

.info-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-contact-row:last-child {
  border-bottom: none;
}

.info-contact-name {
  font-size: 16px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-contact-value {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.info-sponsor-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: white;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
}

.info-sponsor-logo span {
  line-height: 1;
}

.sponsor-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.main-sponsor {
  font-size: 48px;
  font-weight: 200;
  font-style: italic;
  letter-spacing: 1px;
}

.partner-sponsor {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
}

.sponsor-marquee {
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
}

.sponsor-marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

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

.info-sponsor-logo.small {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logoinfo img{
  height:80px;
}

.info-sponsor-logo.small img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* ─── Desktop Optimizations ─── */
@media (min-width: 768px) {
  .app {
    max-width: 800px;
    margin: 0 auto;
  }

  .header {
    padding: 24px 32px;
    padding-top: 40px;
    padding-bottom: 12px;
  }

  .filter-bar {
    padding: 12px 32px;
    top: 72px;
  }

  .content {
    padding: 48px 32px 120px;
  }

  .bottom-nav {
    max-width: 740px;
    bottom: 28px;
    padding: 12px;
  }

  .nav-item span {
    font-size: 12px;
    height: 18px;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
  }

  .matchday-title {
    width: auto;
    max-width: 360px;
    font-size: 16px;
    
  }

  .team-logo {
    width: 56px;
    height: 56px;
  }

  .team-name {
    font-size: 20px;
  }

  .score {
    font-size: 24px;
    padding: 0 24px;
  }

  .mvp-name {
    font-size: 22px;
  }

  .standings-container {
    padding: 0;
  }

  .standings-header,
  .standings-row {
    grid-template-columns: 48px 1fr 80px 56px 56px 72px;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
  }

  .team-logo-small {
    width: 28px;
    height: 28px;
  }

  .team-name-small {
    font-size: 18px;
  }

  .stats-table-header,
  .stats-table-row {
    grid-template-columns: 48px 1fr 120px;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
  }

  .stats-value {
    font-size: 18px;
  }

  .team-list-item {
    padding: 10px 0;
  }

  .team-list-name {
    font-size: 18px;
  }

  .section-title {
    width: auto;
    max-width: 320px;
    font-size: 16px;
    padding: 10px 24px;
  }

  .player-full-name {
    font-size: 16px;
  }

  .player-role {
    font-size: 16px;
  }

  .player-stat-label,
  .player-stat-value {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .app {
    max-width: 1000px;
  }

  .bottom-nav {
    max-width: 940px;
  }

  .content {
    padding: 56px 48px 130px;
  }

  .header {
    padding: 28px 48px;
    padding-top: 44px;
    padding-bottom: 14px;
  }

  .filter-bar {
    padding: 14px 48px;
  }

  .standings-header,
  .standings-row {
    grid-template-columns: 56px 1fr 100px 64px 64px 80px;
    gap: 16px;
    font-size: 16px;
  }

  .stats-table-header,
  .stats-table-row {
    grid-template-columns: 56px 1fr 140px;
    gap: 16px;
    font-size: 16px;
  }

  .team-name {
    font-size: 22px;
  }

  .team-logo {
    width: 64px;
    height: 64px;
  }

  .matchday-title {
    max-width: 400px;
    font-size: 18px;
  }
}


