/* ---------- Global resets ---------- */
html, body {
  height: 100%;
  margin: 0;
  font-family: var(--font-ui, Arial, sans-serif);
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Make all headings white */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

p {
  color: #ffffff;
}

/* Ensure sections have black background */
section {
  background-color: #000000;
  max-width: 100%;
  overflow-x: hidden;
}

#container {
  background-color: #000000;
  max-width: 100%;
  overflow-x: hidden;
}


/* ---------- Header ---------- */
header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Remove fixed height */
  height: auto;

  /* Use padding instead for spacing */
  padding: 3rem 1rem;

  background-image: url('/../images/FieldLights.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
  font-family: sportsFont;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

header h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 8vw, 6rem);
  margin: 0;
  line-height: 1.1;
}

@media (max-width: 600px) {
  header {
    height: 150px;
  }
  header h1 {
    font-size: 3rem;
  }
}


/* ---------- Lists ---------- */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #ffffff;
  font-family: sportsFont;
}

li:hover {
  background-color: #f0f0f0;
}

/* ---------- Utility ---------- */
.hidden {
  display: none;
}

/* ----- Topbar ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;

  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(0,0,0,0.85) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.site-tag {
  font-family: sportsFont;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 1px;
}

/* ----- Menu Button (glass effect) ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;

  background: linear-gradient(90deg, rgba(10,10,10,.95), rgba(0,0,0,.85));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* left button */
.glass-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .15s ease, background .15s ease;
}
.glass-btn:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }

/* right text */
.site-tag {
  margin-left: auto;         /* pushes text to the right */
  font-family: sportsFont;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: .5px;
}

.topbar {
  background: linear-gradient(180deg, rgba(44, 20, 72, 0.95) 0%, rgba(15, 10, 29, 0.85) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

header {
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--brand-left), var(--brand-right)) 1;
}

