/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #060a17;
  color: #ffffff;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #0a0f1c;
  color: #00cfff;
  padding: 1rem 0;
  text-align: center;
  animation: fadeInDown 1s ease-out;
  text-shadow: 0 0 10px #00cfff;
}

header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  color: #00cfff;
  text-shadow: 0 0 10px #00cfff;
}

/* Navigation Menu */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  background-color: #101828;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, text-shadow 0.3s;
}

nav ul li a:hover {
  background-color: #00cfff;
  color: #fff;
  text-shadow: 0 0 8px #00cfff;
}

/* Main Content */
main {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
  background-color: #0b101d;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 230, 230, 0.15);
  animation: fadeInUp 0.8s ease-out;
}

main h2, main h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #00cfff;
  text-shadow: 0 0 6px #00cfff;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* Player Cards */
.player-card {
  background-color: #141c2b;
  border: 1px solid #00cfff;
  border-radius: 12px;
  text-align: center;
  padding: 1rem;
  transition: transform 0.4s, box-shadow 0.4s;
  animation: fadeInUp 1s ease-out;
}

.player-card:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 0 15px #ff3b3f;
}

.player-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #ff3b3f;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.player-card img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px #ff3b3f;
}

.player-card h3 {
  font-size: 1.2rem;
  color: #00cfff;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 5px #00cfff;
}

.player-card p {
  font-size: 1rem;
  color: #ccc;
}

/* Footer */
footer {
  background-color: #0b101d;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  position: relative;
}

footer a {
  color: #00cfff;
  text-decoration: underline;
}

footer a:hover {
  color: #ff3b3f;
}

/* Buttons */
button, .btn {
  background-color: #00cfff;
  color: black;
  border: none;
  padding: 10px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 10px #00cfff;
  transition: background 0.3s ease, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

button:hover, .btn:hover {
  background-color: #ff3b3f;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 0 12px #ff3b3f;
}

/* Tabs / Filters */
.tab-button, .filter-button {
  background-color: #0b101d;
  border: 2px solid #00cfff;
  color: #00cfff;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-button:hover, .filter-button:hover {
  background-color: #ff3b3f;
  color: white;
  border-color: #ff3b3f;
  transform: translateY(-2px);
  box-shadow: 0 0 10px #ff3b3f;
}

/* Form Inputs */
input, select, textarea {
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #00cfff;
  background-color: #1a1a2e;
  color: #fff;
  width: 100%;
  transition: border 0.3s, box-shadow 0.3s, transform 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: #ff3b3f;
  outline: none;
  box-shadow: 0 0 8px #ff3b3f;
  transform: scale(1.01);
}

/* Tables */
.match-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.match-table th, .match-table td {
  padding: 12px 15px;
  border: 1px solid #00cfff;
  text-align: center;
  background-color: #111;
}

.match-table th {
  background-color: #1c263c;
  color: white;
}

.match-table tr:nth-child(even) {
  background-color: #1e1e1e;
}

/* Contact & Social Links */
.contact-details ul {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-details a {
  color: #00cfff;
  text-decoration: none;
}

.contact-details a:hover {
  color: #ff3b3f;
  text-decoration: underline;
}

.social-links {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.social-links li {
  margin: 8px 0;
}

.social-links a {
  color: #00cfff;
  font-size: 1.1rem;
  text-decoration: none;
}

.social-links a:hover {
  color: #ff3b3f;
}

/* Team Selection Links */
.team-selection {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.team-link {
  padding: 1rem 2rem;
  background: #00cfff;
  color: black;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.2rem;
  transition: background 0.3s ease, color 0.3s, transform 0.3s;
  box-shadow: 0 0 8px #00cfff;
}

.team-link:hover {
  background: #ff3b3f;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 0 10px #ff3b3f;
}

/* Login Page */
.login-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 230, 230, 0.3);
  color: white;
  animation: fadeInUp 1s ease-out;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #00cfff;
  text-shadow: 0 0 6px #00cfff;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Design */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .team-selection {
    flex-direction: column;
    align-items: center;
  }
}

