:root {
  --lions-text: #000000;
  --lions-blue: #0e51a2;
  --lions-blue-dark: #0a3873;
  --lions-blue-light: #3e74b5;
  --lions-cream: #fff9e1;
  --lions-white: #ffffff;
  --lions-gray: #4a4a4a;
  --lions-bg: #000000;
  --lions-footer: #00192f;
  --max-width: 1100px;
  --font-heading-bold: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-heading: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--lions-bg);
  color: var(--lions-white);
  line-height: 1.5;
  font-size: 18px;
}

h1, h2 {
  font-family: var(--font-heading-bold);
  font-weight: 600;
}

h1 {
  font-size: 3.4rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
}

h3 {
  text-transform: uppercase;
}

h2 {
  display: inline-block;
  border-bottom: solid var(--lions-white);
  border-bottom-width: 6px;
  padding-bottom: 10px;
}

h3, h4, .brand, .nav-links a, .btn, .roster-section-title, .roster-number, .roster-name, .tag-line {
  font-family: var(--font-heading);
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--lions-blue);
  color: var(--lions-white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  position: relative;
  width: 170px;
  align-self: stretch;
}

.brand .crest {
  position: absolute;
  top: -2px;
  left: 0;
  height: 104px;
  width: auto;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--lions-cream);
  color: var(--lions-cream);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lions-white);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  color: var(--lions-white);
  text-align: center;
  overflow: hidden;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-title-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: var(--lions-blue);
}

.hero-title-box .container {
  padding-top: 60px;
  padding-bottom: 24px;
}

.hero-title-box h1 {
  text-align: left;
  text-transform: uppercase;
  color: var(--lions-white);
  margin: 0;
  font-size: 4.42rem;
  letter-spacing: -0.032em;
  padding-bottom: 24px;
  border-bottom: 12px solid var(--lions-white);
}

.hero-title-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 78px;
}

.hero-title-box .tag-line {
  text-align: left;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--lions-cream);
  letter-spacing: 0.1em;
  margin: 0;
  font-size: 1.54rem;
}

.hero-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--lions-cream);
}

/* Intro row below the hero: text + buttons */
.hero-intro-row {
  display: flex;
  align-items: center;
}

.hero-intro-text {
  width: 50%;
  margin: 0;
  text-align: left;
  font-size: 24px;
}

.hero-intro-buttons {
  width: 20%;
  margin-left: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-intro-buttons .btn {
  width: 100%;
  text-align: center;
}

.hero-intro-buttons .btn-outline {
  margin-left: 0;
}

.btn {
  display: inline-block;
  background: var(--lions-blue);
  color: var(--lions-white);
  padding: 12px 28px;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--lions-blue-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--lions-cream);
  color: var(--lions-cream);
  margin-left: 12px;
  padding: 10px 26px;
}

.btn-outline:hover {
  background: var(--lions-cream);
  color: var(--lions-text);
}

/* Sections */
section {
  padding: 60px 0;
}

.page-header {
  padding-top: 120px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  margin: 0 0 8px;
  color: var(--lions-white);
}

.section-title .accent {
  display: none;
}

.section-title--left {
  text-align: left;
}

.section-title--left .accent {
  margin: 0;
}

.section-title--upper h2 {
  text-transform: uppercase;
}

/* Alternate light-surface sections (cream instead of the default black page background) */
.section-alt {
  background: var(--lions-cream);
}

.section-alt .section-title h2 {
  color: var(--lions-text);
}

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

.card {
  background: var(--lions-cream);
  color: var(--lions-text);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--lions-blue);
}

.card--plain {
  box-shadow: none;
  border-top: none;
}

.card--sponsor {
  background: #000000;
  color: var(--lions-white);
  box-shadow: none;
  border-top: none;
}

.card--outline {
  background: transparent;
  color: var(--lions-white);
  box-shadow: none;
  border: none;
  border-top: none;
}

.card h3 {
  margin-top: 0;
  color: var(--lions-text);
}

.card--sponsor h3,
.card--outline h3 {
  color: var(--lions-white);
}

/* Avatars / placeholders */
.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lions-blue);
  color: var(--lions-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.placeholder-box {
  background: #eee;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lions-gray);
  font-weight: 600;
  text-align: center;
  padding: 50px 20px;
  min-height: 160px;
}

.result-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.result-win {
  background: #e7f4e8;
  color: #237a2f;
}

.result-loss {
  background: #fbe6e6;
  color: #b3261e;
}

.result-pending {
  background: #f1eee6;
  color: var(--lions-gray);
}

.sponsor-logo-box {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border-radius: 6px;
  margin-bottom: 16px;
  padding: 16px;
  color: var(--lions-gray);
  font-weight: 700;
  font-size: 0.85rem;
}

.sponsor-logo-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.sponsor-logo-box.pending {
  background: #f1eee6;
}

.tag-line {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lions-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.note-box {
  background: #eaf3fb;
  border-left: 4px solid var(--lions-blue);
  padding: 16px 20px;
  border-radius: 4px;
  color: var(--lions-gray);
  font-size: 0.9rem;
  margin-top: 24px;
}

/* Gallery */
.gallery-feature {
  margin-bottom: 40px;
}

.gallery-feature-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-item {
  cursor: pointer;
}

.gallery-thumb-wrap {
  position: relative;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-thumb {
  opacity: 0.85;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  pointer-events: none;
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--lions-white);
  margin-left: 5px;
}

.gallery-caption {
  color: var(--lions-white);
  margin-top: 14px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    background-size: auto 100%;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-image,
.lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--lions-white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--lions-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--lions-white);
  font-size: 0.9rem;
}

/* Roster cards */
.roster-section {
  margin-bottom: 48px;
}

.roster-section-title {
  margin: 0 0 20px;
  font-size: 1.75rem;
  border-bottom-width: 4.2px;
  padding-bottom: 7px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
    border-bottom-width: 5px;
    padding-bottom: 8px;
  }

  .roster-section-title {
    font-size: 1.4rem;
    border-bottom-width: 3.5px;
    padding-bottom: 6px;
  }

  .hero-intro-text {
    font-size: 22px;
  }

  .hero-title-box .container {
    padding-top: 53px;
    padding-bottom: 21px;
  }

  .hero-title-box h1 {
    font-size: 3.9rem;
    padding-bottom: 21px;
    border-bottom-width: 10.5px;
  }

  .hero-title-bottom-row {
    margin-top: 69px;
  }

  .hero-title-box .tag-line {
    font-size: 1.33rem;
  }
}

@media (max-width: 600px) {
  .roster-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.roster-card {
  background: var(--lions-footer);
  border-radius: 8px;
  overflow: hidden;
}

.roster-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #e5e2da;
  overflow: hidden;
}

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

.roster-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lions-cream);
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--lions-footer);
}

.roster-info {
  background: var(--lions-blue);
  color: var(--lions-white);
  text-align: center;
  padding: 10px 8px;
}

.roster-number {
  color: var(--lions-white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.roster-name {
  font-weight: 700;
  margin-top: 2px;
  font-size: 0.95rem;
}

/* Fixtures list */
.fixtures-list {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.fixture-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fixture-row:last-child {
  border-bottom: none;
}

.fixture-team {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fixture-team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.fixture-logo,
.fixture-logo-placeholder {
  width: 67px;
  height: 67px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--lions-white);
  padding: 4px;
}

.fixture-logo-placeholder {
  background: var(--lions-footer);
  color: var(--lions-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0;
}

.fixture-team-name {
  font-weight: 600;
  color: var(--lions-white);
}

.fixture-center {
  text-align: center;
  min-width: 150px;
}

.fixture-line1,
.fixture-line2 {
  display: contents;
}

.fixture-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.fixture-score {
  font-family: var(--font-heading-bold);
  font-size: 1.7rem;
  color: var(--lions-white);
  margin-bottom: 6px;
}

.fixture-venue {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

/* Sponsors */
.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 30px;
  row-gap: 50px;
  align-items: center;
}

.sponsor-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}

.sponsor-cta {
  padding-top: 40px;
}

.sponsor-cta a {
  color: var(--lions-blue);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .sponsor-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .sponsor-logos {
    grid-template-columns: 1fr;
  }

  .sponsor-logos img[src*="george-regal"] {
    max-width: 60%;
  }
}

.sponsor-logos img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Contact form */
.contact-form {
  background: transparent;
  color: var(--lions-white);
  padding: 32px 0;
}

.form-row {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lions-white);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--lions-white);
  background: transparent;
}

select {
  padding-right: 36px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--lions-blue);
}

/* Footer */
.site-footer {
  background: #a0a0a8;
  color: var(--lions-text);
  padding: 40px 0 20px;
  margin-top: 40px;
  font-size: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand {
  padding-right: 31px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-crest {
  height: 104px;
  width: auto;
  margin-top: 16px;
  align-self: flex-end;
}

.footer-grid h4 {
  color: var(--lions-text);
  margin-top: 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .page-header {
    padding-top: 60px;
  }

  .brand {
    width: 110px;
  }

  .brand .crest {
    height: 72px;
    top: -2px;
  }

  .footer-crest {
    height: 108px;
    align-self: center;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--lions-blue);
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding-top: 50px;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-links a {
    display: block;
    padding: 20px 20px;
    border-bottom: none;
    font-size: 1.3rem;
    text-transform: uppercase;
  }

  .nav-cta {
    display: block;
    padding: 16px 20px;
  }

  .nav-cta a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-bottom: none;
    background: var(--lions-cream);
    color: var(--lions-text);
  }

  .hero-intro-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-intro-text,
  .hero-intro-buttons {
    width: 100%;
    margin-left: 0;
  }

  .hero-intro-buttons {
    flex-direction: row;
    align-items: center;
  }

  .hero-intro-buttons .btn {
    width: auto;
  }

  .btn-outline {
    margin-left: 0;
  }

  .fixture-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
    padding: 20px;
  }

  .fixture-team,
  .fixture-team--away {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
  }

  .fixture-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 3px;
    text-align: center;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .fixture-line1 {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    min-width: 0;
    max-width: 100%;
    margin-top: 16px;
  }

  .fixture-line2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
    min-width: 0;
  }

  .fixture-date {
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .fixture-venue {
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
  }

  .fixture-venue::before {
    content: "|";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.3);
  }

  .fixture-score {
    margin-bottom: 0;
  }
}

/* Phone-specific: rebalance the hero text box against the photo behind it */
@media (max-width: 480px) {
  .hero-title-box .container {
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .hero-title-box h1 {
    font-size: 2.6rem;
    padding-bottom: 14px;
    border-bottom-width: 7px;
  }

  .hero-title-bottom-row {
    margin-top: 32px;
  }

  .hero-title-box .tag-line {
    font-size: 1.1rem;
  }
}
