:root {
  --green: #1f8a4c;
  --dark-green: #0f5b33;
  --silver: #cfcfcf;
  --bg: #f7f8f9;
  --accent: #ffffff;
  --muted: #6b7280;
  --glass: rgba(255,255,255,0.6);
  --card-shadow: 0 8px 28px rgba(6,10,15,0.06);
  --radius: 14px;
  font-synthesis: none;
}

/* Reset + Base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg), #fff);
  color: #0b1220;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header / Nav */
.header {
  background: linear-gradient(90deg, var(--green), var(--silver));
  color: white;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; gap: 12px; align-items: center; }
.club-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--card-shadow);
}
.brand h1 { margin: 0; font-size: 1rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-items: center; }
.nav a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}
.nav a:hover { background: rgba(255,255,255,0.12); }

/* Hero */
.hero {
  padding: 56px 20px;
  text-align: center;
  background: linear-gradient(160deg, var(--green), var(--dark-green));
  color: white;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 12px 40px rgba(16,88,44,0.08);
}
.hero h2 { margin: 0; font-size: 36px; letter-spacing: -0.5px; }
.hero p { margin: 10px auto 0; color: rgba(255,255,255,0.9); max-width: 860px; }

/* Layout */
.container { max-width: 1180px; margin: 0 auto; padding: 18px; }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .hero h2 { font-size: 26px; }
}

/* Cards */
.card {
  background: var(--accent);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--card-shadow);
}
.container {
  width: 95%;
  max-width: 900px;
  margin: auto;
}

/* Tables */
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: transparent; }
th, td { padding: 12px 10px; border-bottom: 1px solid #f1f1f1; text-align: left; }
th {
  background: linear-gradient(90deg, var(--green), var(--dark-green));
  color: white;
  font-weight: 700;
  position: sticky;
  top: 0;
}
tbody tr:hover { background: #fbfffb; }

/* Standings Table */
#standingsTable { margin-top: 20px; }
#standingsTable th, #standingsTable td { text-align: center; }
#standingsTable tr:nth-child(even) { background: #f9f9f9; }
#standingsTable tr:hover { background: #eafbea; }

/* Players */
.players {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.player {
  background: linear-gradient(180deg, #fff, #fbfcfb);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.player img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}
.player h4 { margin: 10px 0 4px; font-size: 16px; }
.player p { margin: 0; font-size: 13px; color: var(--muted); }

/* Utilities */
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 700;
}
.button {
  background: var(--green);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.button:hover { background: var(--dark-green); }
.button.secondary { background: var(--silver); color: #183b22; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }

/* Store */
.product { border-radius: 12px; padding: 12px; text-align: center; }

/* Footer */
.footer {
  padding: 28px 20px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--dark-green), var(--silver));
  color: white;
  text-align: center;
  border-radius: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,6,0.45);
  z-index: 60;
}
.modal .modal-panel {
  width: min(880px, 96%);
  background: white;
  border-radius: 12px;
  padding: 18px;
}

/* Small */
.small { font-size: 13px; color: var(--muted); }

/* Responsive utilities */
@media (max-width: 520px) {
  .hero { padding: 28px 14px; }
  .player img { height: 150px; }
}

/* Watermark */
body::after {
  content: "";
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 180px;
  height: 180px;
  background: url("images/logo.jpg") no-repeat center center;
  background-size: contain;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}
#standingsBody tr td:nth-child(3):contains("0") {
  opacity: 0.6;
}
/* Logo mini-use (like in trend bars) */
.mini-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Global image styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* ✨ Enhanced image styling */
img {
  max-width: 100%;
  height: auto;
  border-radius: 14px; /* soft rounded corners */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* elegant shadow */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 💫 Add hover zoom effect */
img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* 📸 Optional: subtle grayscale and color reveal */
.image-fade {
  filter: grayscale(60%);
  transition: filter 0.4s ease;
}
.image-fade:hover {
  filter: grayscale(0%);
}
.player img, .gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.social-links img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1); /* makes icons white */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
  filter: brightness(1) invert(0); /* revert to original color on hover */
}

/* Footer */
.footer {
  padding: 28px 20px;
  background: linear-gradient(90deg, var(--dark-green), var(--silver));
  color: white;
  text-align: center;
  border-radius: 10px;
  margin: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
 /* ✅ Visible social icons everywhere */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 10px 0;
}

.social-links a img {
  width: 34px;
  height: 34px;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 💫 Hover effect */
.social-links a:hover img {
  transform: scale(1.2);
  opacity: 1;
}

.social-links a img {
  width: 34px;
  height: 34px;
  filter: brightness(1.3);
}
.player img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.player img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.header-inner, .nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    text-align: center;
  }
  .nav ul li {
    margin-bottom: 10px;
  }
}
/* Resize and center club logo */
.club-logo,
.logo img {
    width: 90px;
    /* Adjust size here */
    height: auto;
    display: block;
    margin: 0 auto;
    /* Centers the image */
    border-radius: 6px;
    /* Optional: smooth edges */
}
.header .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    /* spacing between logo and text */
    justify-content: center;
    /* centers everything */
}