body {
  font-family: 'Inter', sans-serif;
  background-color: #0d0d0d;
  color: #f0f0f0;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1e1e1e;
  padding: 30px;
  text-align: center;
  border-bottom: 2px solid #00ff80;
  box-shadow: 0 2px 10px rgba(0, 255, 204, 0.2);
  position: relative;
}

header h1 {
  font-size: 32px;
  color: white;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 42px;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.selector-section {
  text-align: center;
  margin: 50px 0 30px;
}

.selector-section label {
  font-size: 22px;
  color: #00ff80;
  display: block;
  margin-bottom: 10px;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 340px;
  background-color: #121212;
  border: 2px solid #00ff80;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffc344;
}

.custom-select:hover {
  border-color: #00ff80;
}

.custom-select .selected {
  padding: 16px 18px;
  font-size: 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  border: 2px solid #00ff80;
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 10;
  padding-left: 0;
  margin-left: 0;
}

.custom-select.active .options {
  display: block;
}

.custom-select .options li {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0f0f0;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}


.custom-select .options li:hover {
  background-color: #00ff80;
  color: #000;
}

.custom-select img {
  width: 22px;
  border-radius: 3px;
  box-shadow: 0 0 3px #0006;
}

.stats-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.placeholder {
  text-align: center;
  color: #aaa;
  font-size: 18px;
}

.player-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.1);
  transition: background-color 0.3s ease;
}

.player-card:hover {
  background-color: #222;
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.player-name {
  font-size: 20px;
  font-weight: 700;
  color: #00ff80;
}

.player-team {
  font-size: 14px;
  color: #aaa;
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat-box {
  background-color: #111;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #333;
}

.stat-box span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.stat-box label {
  font-size: 13px;
  color: #aaa;
}

footer {
  text-align: center;
  padding: 25px;
  background-color: #111;
  color: #aaa;
  margin-top: 50px;
  border-top: 1px solid #222;
  font-size: 14px;
}