* {
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #0a0f1c;
  color: white;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #111827;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e5ff;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav a:hover {
  color: #00e5ff;
}

.hero {
  background-image: url("../img/guante.jpg");
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 600px;
  text-align: center;
}

.hero button {
  padding: 10px 20px;
  border: none;
  background: #00e5ff;
  color: black;
  font-weight: bold;
  cursor: pointer;
  box-shadow: white 2px 2px 10px 1px;
  border-radius: 5px;
}

.hero button a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.search-box {
  margin: 20px auto;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}

.search-box input {
  padding: 10px;
  flex: 1;
  border: none;
  border-radius: 5px;
  outline: none;
}

.search-box button {
  padding: 10px 15px;
  border: none;
  background: #00e5ff;
  color: black;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

.players {
  padding: 40px 20px;
  text-align: center;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  transition: transform 0.3s;
  backdrop-filter: blur(10px);
}


.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background: #111827;
  padding: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover .card {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.img-1 {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
    text-decoration: none;
  color: inherit;
  display: block;
}

.img-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-link:hover .img-1 img {
  transform: scale(1.08);
}

.card h3 {
  color: #a855f7;
  margin-top: 10px;
  transition: color 0.3s;
}

.card-link:hover h3 {
  color: #00e5ff;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #111827;
  margin-top: 30px;
}

.player-detail {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.player-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.stats {
  margin: 20px 0;
}

.bio {
  width: 100%;
  max-width: 700px;
  margin: auto;
}

@media (max-width: 1024px) {
  .player-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {

  .nav {
    display: grid;
    gap: 5px;
  }

  .hero {
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .player-grid {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box button {
    width: 100%;
  }

  .player-img {
    max-width: 180px;
  }

  .bio p {
    font-size: 14px;
  }
}