:root {
	--primary: #ff6a00;
      --secondary: #ee0979;
      --dark: #111;
      --light: #fff;
      --gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--gray); color: var(--dark); overflow-x: hidden; }

/* HEADER */
header {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0,0,0,0.4)), url('../images/team.jpg') center/cover no-repeat;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: var(--light); text-align: center; animation: fadeIn 2s ease-in-out;
}
header h1 { font-size: 3.5rem; text-transform: uppercase; }
header p { font-size: 1.3rem; opacity: 0.9; }

nav {
 position: fixed; top: 0; width: 100%;
 background: rgba(0,0,0,0.8); color: white;
 display: flex; justify-content: center; padding: 1rem;
 z-index: 1000; backdrop-filter: blur(6px);
}
nav a {
 color: white; text-decoration: none; margin: 0 1.5rem;
 font-weight: 600; transition: 0.3s;
}
nav a:hover { color: var(--primary); transform: scale(1.1); }

section { max-width: 1200px; margin: auto; padding: 4rem 2rem; }
h2 {
 text-align: center; font-size: 2.2rem; margin-bottom: 2rem;
 position: relative; color: var(--dark);
}
h2::after {
 content: ""; width: 80px; height: 4px;
 background: linear-gradient(90deg, var(--primary), var(--secondary));
 position: absolute; bottom: -10px; left: 50%;
 transform: translateX(-50%); border-radius: 2px;
}

    /* ABOUT */
    .about p { font-size: 1.1rem; line-height: 1.8; max-width: 800px; margin: auto; text-align: center; }

    /* TEAM PHOTO */
    .team-photo {
      text-align: center;
      margin-bottom: 3rem;
    }
    .team-photo img {
      width: 80%;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    /* PLAYER CAROUSEL */
    .swiper {
      width: 100%;
      padding-top: 20px;
      padding-bottom: 50px;
    }
    .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  background: #fff; /* white card */
  border-radius: 25px;
  padding: 20px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 420px; /* consistent width for cards */
}

.swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.player-photo {
  width: 168px;
  height: 173px;
  object-fit: cover;
  border-radius: 20px; /* matches the white card style */
}

.player-info {
  color: #222;
  text-align: left;
}

.player-info h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.player-info p {
  font-size: 0.95rem;
  color: #666;
  margin: 3px 0;
}

/* Optional: make cards stack on mobile */
@media (max-width: 600px) {
  .swiper-slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 250px;
  }
}
    /* SCHEDULE */
    .schedule { text-align: center; }
    .schedule ul { list-style: none; text-align: center; margin-top: 1rem; }
    .schedule li {
      background: white; margin: 0.5rem auto; padding: 1rem 2rem;
      border-radius: 8px; width: fit-content;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: 0.3s;
    }
    .schedule li:hover {
      transform: scale(1.05);
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      color: white;
    }

    /* CONTACT */
    .contact { text-align: center; }
    .contact a { color: var(--primary); font-weight: bold; text-decoration: none; }

    footer {
      background: var(--dark); color: white;
      text-align: center; padding: 1.5rem; margin-top: 3rem;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* --- MOBILE NAVBAR RESIZE --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
  }

  header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav a {
    font-size: 0.95rem;
    padding: 6px 10px;
  }
}

/* --- EXTRA SMALL SCREENS --- */
@media (max-width: 480px) {
  header h1 {
    font-size: 3.0rem;
  }

  nav a {
    font-size: 0.85rem;
    padding: 5px 8px;
  }
}

#see-more, #see-less {
  margin-top: 15px;
  background: none;
  background-image: linear-gradient(90deg, #ff6600, #ff2e63);
  background-clip: text;
  color: transparent;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

#see-more:hover, #see-less:hover {
  opacity: 0.8;
}
.livescores {
  text-align: center;
  padding: 60px 20px;
  background: #f5f7fa;
}

.livescores h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 40px;
}

.scores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.score-card {
  background: #fff;
  border-radius: 25px;
  padding: 25px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* team logos */
.team-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 10px;
}

.team-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* team names and score */
.teams {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.team-name {
  margin: 0 10px;
}

.vs {
  color: #ff2e63;
  font-weight: 700;
}

.score {
  font-size: 2rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 10px;
}

.match-status {
  font-size: 0.9rem;
  color: #777;
}

/* responsive tweaks */
@media (max-width: 600px) {
  .scores-container {
    flex-direction: column;
    align-items: center;
  }

  .team-logos {
    gap: 20px;
  }

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