body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
}

.navbar {
  background-color: #004D98;
}

.navbar-brand, .nav-link {
  color: #EDBB00 !important;
  font-weight: bold;
}

.nav-link:hover {
  color: #A50044 !important;
}

.footer {
  background-color: #004D98;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}

.card {
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.table th {
  background-color: #A50044;
  color: white;
}

.player-section {
  margin-bottom: 60px;
    }

.player-section h3 {
  color: #A50044;
  margin-bottom: 30px;
  font-weight: bold;
  text-align: center;
}

.player-card {
  position: relative;
  border: 3px solid transparent;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}

.player-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.player-card:hover {
  transform: translateY(-5px);
}

.player-info {
  background: white;
  padding: 15px;
  }

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-card:hover .stats-overlay {
  opacity: 1;
}

.goalkeeper { border-color: #004D98; }
.defender { border-color: #0C8F2D; }
.midfielder { border-color: #EDBB00; }
.forward { border-color: #A50044; }

.player-number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #EDBB00;
  color: #000;
  font-weight: bold;
  font-size: 3rem;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.honours-card {
  width: 16rem;
  border: 3px solid #004D98;
  border-radius: 15px;
  text-align: center;
  background: white;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.honours-card:hover {
  transform: translateY(-5px);
}

.honours-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.honours-info {
  position: relative;
  height: 50px;
}

.trophy-count, .trophy-years {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  transition: opacity 0.3s ease;
}

.trophy-count {
  font-size: 2rem;
  font-weight: bold;
  color: #EDBB00;
}

.trophy-years {
  opacity: 0;
  color: #000;
  font-size: 0.9rem;
}

.honours-card:hover .trophy-count {
  opacity: 0;
}

.honours-card:hover .trophy-years {
  opacity: 1;
}

.social-link {
  font-size: 3rem;
  color: #004D98;
  transition: transform 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: #EDBB00;
  transform: scale(1.2);
}
