body {
  font-family: 'Courier New', monospace;
  background: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}
/* Restore gradient background to header */
header {
  background: linear-gradient(135deg,  #344862, #004b73);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

/* Ensure no overlay color overrides it */
.header-overlay {
  background: transparent;
  padding: 0;
}

/* Layout for logo + title */
.site-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo-icon {
  height: 100px; /* Adjust if needed */
  width: auto;
}

.site-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.media-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.media-entry img {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.media-entry span {
  font-size: 1rem;
  font-weight: 500;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem;
  color: #888;
  margin-top: 2rem;
}

/* Football Ground Tracker Styling */

.ground-tracker .ground-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.big-number {
  font-size: 3rem;
  font-weight: 800;
  color: #ffdb58;
  text-align: center;
  background: #344862;
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.big-number .total {
  font-size: 1.5rem;
  font-weight: 500;
  color: #aaa;
}

.ground-details {
  text-align: center;
}

.ground-thumbnail img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: inherit;
}

.ground-thumbnail {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ground-thumbnail img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: inherit;
}


/* Progress bar */
.progress-container {
  width: 100%;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-bar {
  height: 100%;
  background-color: #ffdb58; /* Mustard yellow accent */
  transition: width 0.5s ease;
}

.social-links {
  text-align: center;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  margin: 0 0.5rem;
  transition: transform 0.2s;
}

.social-links a:hover {
  transform: scale(1.2);
}

.social-links img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}
.footer-pride {
  text-align: center;
  margin-bottom: 0.5rem;
}

.footer-pride img {
  height: 30px;
  border-radius: 50%;
}

@media (max-width: 600px) {
  .site-branding {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-title {
    text-align: center;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #ffdb58;
}


.progress-link {
  text-decoration: none;
  display: inline-block;
}

.progress-link:hover .big-number {
  box-shadow: 0 0 0 3px #ffdb58;
  transform: scale(1.03);
  transition: 0.2s ease;
}

.styled-thumbnail {
  width: 100%;
  height: 120px; /* Same as .big-number if using fixed height */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #ccc;
}

.styled-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rating {
  display: inline-block;
  font-size: 1.2rem;
  color: #ccc; /* empty star color */
  margin-left: auto; /* pushes stars to right if using flex layout */
}

.rating .star {
  color: gold; /* filled star color */
}

.media-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.media-entry span {
  flex-grow: 1;
}
