/* Shared Gradient Pattern */
:root {
  --grad-1: radial-gradient(circle at 10% 20%, #001f3f, transparent 50%);
  --grad-2: radial-gradient(circle at 90% 80%, #ffcc00, transparent 50%);
  --grad-3: radial-gradient(circle at 50% 50%, #003366, #001a33);
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: var(--grad-1), var(--grad-2), var(--grad-3);
  background-color: #001a33;
  color: #ffffff;
  text-align: center;
}

/* Header with Gradient */
header {
  padding: 2rem 1rem;
  background: radial-gradient(circle at center, #ffcc00 30%, #ffd700 70%);
  color: #061739;
}

/* Nav with Dark Gradient */
nav {
  background: linear-gradient(to right, #000f2c, #001b44);
  padding: 0.75rem 0;
}

.logo {
  width: 30%;
  max-width: 150px;
  height: auto;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* Section Panels (About, Content, Contact) */
.about, .content {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Headings */
.about h2, .content h2, .sponsor h2 {
  color: #ffcc00;
}

/* Paragraphs */
.about p, .content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Sponsor Section with Gradient */
.sponsor {
  background: radial-gradient(circle at 60% 20%, #ffcc00 20%, #e6b800 100%);
  color: #061739;
  padding: 2rem 1rem;
  border-radius: 0 0 20px 20px;
}

/* Footer Gradient */
footer {
  background: linear-gradient(to right, #000814, #001020);
  padding: 1rem;
  font-size: 0.9rem;
  color: #cccccc;
}

/* Sponsor Box */
.sponsor-logo {
  max-width: 300px;
  width: 50%;
  height: auto;
  margin: 1rem auto;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: bold;
}

/* Social Icons */
.social-icons img {
  width: 32px;
  height: 32px;
  margin: 0 8px;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

input, textarea {
  width: 80%;
  max-width: 400px;
  padding: 0.5rem;
  border-radius: 6px;
  border: none;
}

button {
  padding: 0.6rem 1.2rem;
  background-color: #ffcc00;
  border: none;
  border-radius: 6px;
  color: #061739;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #e6b800;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #ffcc00;
}
.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.player-card {
  width: 180px;
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  background: white;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.button {
  display: inline-block;
  padding: 8px 15px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.button:hover {
  background: #1e7e34;
}

.player-form input, 
.player-form button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 8px;
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(30,60,110,0.08);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.schedule-table th, .schedule-table td {
  border: 1px solid #dbe2ef;
  padding: 12px 8px;
  text-align: center;
  font-size: 16px;
}

.schedule-table th {
  background: #25477a;   /* dark blue */
  color: #fff;           /* white text */
  font-weight: 600;
  letter-spacing: 1px;
}

.schedule-table td {
  color: #222a35;        /* dark gray text */
  background: #f7f7fa;
}

.schedule-table tr:nth-child(even) td {
  background: #eaf0fb;   /* light blue for alternate rows */
}

.schedule-table td a {
  color: #25477a;
  text-decoration: underline;
  font-weight: 500;
}

.schedule-table td a:hover {
  color: #1a3c6e;
}

.tournament-logo {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 6px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background: rgba(30,60,110,0.3);
}

.modal-content {
  background: #25477a;      /* dark blue background */
  color: #fff;              /* white font color */
  margin: 8% auto;
  padding: 24px 32px;
  border-radius: 8px;
  width: 350px;
  box-shadow: 0 2px 12px rgba(30,60,110,0.15);
  position: relative;
}

.modal-content h2 {
  color: #ffd700;           /* gold for heading */
}

.close {
  color: #25477a;
  position: absolute;
  top: 12px; right: 18px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.team-btn {
  background: #25477a;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
}

.team-btn:hover {
  background: #1a3c6e;
}

#teamList li {
  color: #fff;              /* white for player names */
  font-size: 17px;
  margin-bottom: 6px;
}
