:root {
  --blue: #0275d8;
  --navy: #07104b;
  --text: #1c2a3a;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: transparent;
}

a {
  color: var(--blue)
}

.hero-section {
  /* Set the path to your image */
  background-image: url('../img/over40gameSunset_20260923.png');

  /* Prevent the image from repeating like a grid */
  background-repeat: no-repeat;

  /* Scale the image to completely fill the container */
  background-size: cover;

  /* Center the image horizontally and vertically */
  background-position: center;

  /* Recommended fallback color in case the image fails to load */
  background-color: #0275d8;
}

header {
  background: #fff;
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 2px 10px #0004;
  border-bottom: 1px solid #e5e5e5
}

.nav {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 18px
}

.logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%
}

.brand {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 1.60rem;
  white-space: nowrap;
  color: var(--navy)
}

.links {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto
}

.links a,
.dropbtn {
  color: var(--blue);
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 7px;
  font-weight: 700;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  margin: 0
}

.links a:hover,
.drop:hover .dropbtn {
  background: #eaf4fd
}

.drop {
  position: relative
}

.dropdown {
  display: none;
  position: absolute;
  right: 0;
  min-width: 190px;
  background: #fff;
  box-shadow: 0 8px 24px #0003;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5
}

.dropdown a {
  display: block;
  color: var(--blue);
  border-radius: 0
}

.dropdown a:hover {
  background: #eef7ff
}

.drop:hover .dropdown {
  display: block
}

.hero,
.container {
  max-width: 1100px;
  margin: 34px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 24px #0005
}

.hero {
  padding: 52px 42px;
  color: var(--text)
}

.hero .inner {
  max-width: 900px
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 12px
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px
}

.btn {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 11px 17px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  margin: 6px 8px 0 0
}

.btn:hover {
  background: #eef7ff
}

.container {
  padding: 36px 34px
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 3px 14px #163a5f16;
  border: 1px solid #e4edf5;
  border-top: 4px solid var(--blue)
}

h1,
h2,
h3 {
  color: var(--navy)
}

.team-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue)
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 12px 0 28px;
  box-shadow: 0 2px 10px #0000000d
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #dbe8f3;
  text-align: left
}

th {
  background: #f0f6fb;
  color: var(--navy)
}

.date {
  background: #f0f6fb;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 8px 8px 0 0;
  margin-top: 26px;
  font-weight: 800;
  border-left: 4px solid var(--blue)
}

.notice {
  background: #f6fbff;
  border-left: 5px solid var(--blue);
  padding: 16px;
  border-radius: 6px
}

form {
  max-width: 700px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 3px 14px #163a5f16;
  border: 1px solid #e4edf5
}

label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px
}

input,
textarea,
select {
  width: 100%;
  padding: 11px;
  border: 1px solid #b9c9d8;
  border-radius: 7px;
  font: inherit
}

button {
  margin-top: 18px;
  padding: 12px 18px;
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-weight: 800
}

.pdf-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0
}

.pdf-frame {
  width: 100%;
  height: 75vh;
  min-height: 600px;
  border: 1px solid #dbe8f3;
  border-radius: 8px
}

footer {
  max-width: 1100px;
  margin: 34px auto 0;
  background: #fff;
  color: var(--text);
  text-align: center;
  padding: 24px 16px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -2px 14px #0003
}

.mobile {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 8px 11px
}

@media(max-width:1160px) {

  .hero,
  .container,
  footer {
    margin-left: 24px;
    margin-right: 24px
  }
}

@media(max-width:820px) {
  html {
    background-attachment: scroll
  }

  .brand {
    font-size: .95rem
  }

  .mobile {
    display: block
  }

  .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 98px;
    background: #fff;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 8px 15px #0003
  }

  .links.open {
    display: flex
  }

  .drop {
    width: 100%
  }

  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    background: #f7fbff;
    margin-left: 12px;
    border: 0
  }

  .dropdown a {
    color: var(--blue)
  }

  .logo {
    width: 68px;
    height: 68px
  }

  .hero,
  .container {
    margin: 18px 12px;
    padding: 26px 20px
  }

  footer {
    margin: 18px 12px 0
  }

  table {
    font-size: .9rem
  }

  th,
  td {
    padding: 9px
  }

  .tablewrap {
    overflow-x: auto
  }

  .pdf-frame {
    height: 65vh;
    min-height: 450px
  }
}