* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  background: #070e17;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #f4f6f9;
  color: #1a1a2e;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

:root {
  --navy: #0d1b2e;
  --blue: #1a6bbf;
  --blue-mid: #2d7dd2;
  --silver: #c8d4e0;
  --silver-light: #eef2f6;
  --text: #1a1a2e;
  --text-muted: #5a6a7e;
  --border: #dde3ea;
  --bg-sec: #f4f6f9
}

#header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 65px;
  background: #070e17;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
  background: #070e17;
  /* Darker navy-black to contrast with the navy hero */
  border-bottom: 1px solid rgba(26, 107, 191, 0.35);
  /* Subtle brand blue line */
  user-select: none;
  /* Prevents text cursor/caret from showing when clicking around menu links */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px
}

.nav-logo img {
  height: 46px;
  width: 46px;
  object-fit: contain
}

.nav-wm-top {
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--silver);
  text-transform: uppercase;
  line-height: 1
}

.nav-wm-mid {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1
}

.nav-wm-bot {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--silver);
  text-transform: uppercase;
  line-height: 1.4
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 48px;
}

.nav-links {
  display: flex;
  gap: 28px
}

.nav-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none
}

.nav-links a:hover {
  color: #fff
}

.nav-links a.active {
  color: #fff;
  font-weight: 600;
}

.nav-cta {
  font-size: 12px;
  padding: 9px 18px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none
}

.hero {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 280px
}

.hero-left {
  padding: 60px 48px 52px
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 16px
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--blue-mid);
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 24px
}

.hero-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(26, 107, 191, 0.2);
  border: 1px solid rgba(26, 107, 191, 0.45);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 28px;
  max-width: 460px
}

.alert-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: var(--blue-mid);
  margin-top: 5px
}

.alert-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6
}

.alert-text strong {
  color: #fff
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 44px
}

.btn-blue {
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block
}

.btn-blue:hover {
  background: var(--blue-mid)
}

.btn-ghost {
  padding: 12px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  display: inline-block
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1)
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--silver)
}

.stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
  letter-spacing: .5px
}

.hero-right {
  background: #0a1520;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 40px 24px
}

.hero-right img {
  width: 165px;
  height: 165px;
  object-fit: contain
}

.hero-right-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 14px
}

.hero-right-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center
}

.hero-achiev {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center
}

.achiev-pill {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(26, 107, 191, 0.25);
  color: var(--silver);
  border: 1px solid rgba(26, 107, 191, 0.4);
  text-align: center;
  line-height: 1.4
}

section {
  padding: 60px 48px;
  border-bottom: 1px solid var(--border);
  background: #fff
}

section:nth-child(even) {
  background: var(--bg-sec)
}

.sec-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px
}

h1,
h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.sec-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px
}

.og-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 20px
}

.og-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden
}

.og-header {
  background: var(--navy);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.og-header-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff
}

.og-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(26, 107, 191, 0.3);
  color: var(--silver);
  border: 1px solid rgba(26, 107, 191, 0.4)
}

.og-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  padding: 11px 22px;
  border-bottom: 1px solid var(--border);
  gap: 12px
}

.og-row:last-child {
  border-bottom: none
}

.og-day {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1
}

.og-mon {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px
}

.og-venue {
  font-size: 13px;
  color: var(--text);
  font-weight: 500
}

.og-time {
  font-size: 12px;
  color: var(--text-muted)
}

.og-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 8px
}

.og-note a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 500
}

.about-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start
}

.about-story {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px
}

.about-story strong {
  color: var(--text)
}

.about-story em {
  font-style: italic
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.val-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid var(--border)
}

section:nth-child(even) .val-card {
  background: var(--bg-sec)
}

.val-icon {
  font-size: 22px;
  margin-bottom: 10px
}

.val-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px
}

.val-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6
}

.affil {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  background: #fff
}

.affil-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

.affil a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.affil a:hover {
  color: var(--blue);
  text-decoration: underline;
}

section:nth-child(even) .affil {
  background: var(--bg-sec)
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden
}

.team-hdr {
  background: var(--navy);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff
}

.team-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(200, 212, 224, 0.15);
  color: var(--silver);
  border: 1px solid rgba(200, 212, 224, 0.25)
}

.team-body {
  padding: 16px 24px
}

.team-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border)
}

.team-row:last-child {
  border-bottom: none
}

.team-lbl {
  color: var(--text-muted)
}

.team-val {
  color: var(--text);
  font-weight: 600
}

.coaches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px
}

.coach-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff
}

section:nth-child(even) .coach-card {
  background: var(--bg-sec)
}

.coach-photo {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--bg-sec);
  display: block
}

.coach-body {
  padding: 22px 24px
}

.coach-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px
}

.coach-role {
  font-size: 12px;
  color: var(--blue-mid);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px
}

.coach-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px
}

.cred-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-sec);
  border: 1px solid var(--border);
  color: var(--text-muted)
}

.coach-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px
}

.coach-highlight {
  background: rgba(26, 107, 191, 0.06);
  border-left: 3px solid var(--blue-mid);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65
}

.sponsor-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 36px;
  background: #fff
}

section:nth-child(even) .sponsor-bar {
  background: var(--bg-sec)
}

.sponsor-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap
}

.sponsor-div {
  width: 1px;
  height: 40px;
  background: var(--border)
}

.sponsor-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text)
}

.sponsor-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px
}

.tryouts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.tryout-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px
}

.step-num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--silver);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 107, 191, 0.4)
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px
}

.step-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65
}

.dates-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border)
}

section:nth-child(even) .dates-card {
  background: var(--bg-sec)
}

.dates-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px
}

.date-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px
}

.date-row:last-child {
  border-bottom: none
}

.date-lbl {
  color: var(--text-muted)
}

.date-val {
  color: var(--text);
  font-weight: 700
}

.date-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.65
}

.date-note a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 500
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
  gap: 10px
}

.gal-item {
  border-radius: 10px;
  background: var(--bg-sec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 1px solid var(--border)
}

section:nth-child(even) .gal-item {
  background: #fff
}

.gal-item.tall {
  grid-row: span 2
}

.gal-item.dark {
  background: var(--navy)
}

.gallery-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted)
}

.gallery-cta a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 500
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px
}

.c-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px
}

.c-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--bg-sec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid var(--border)
}

.c-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

section:nth-child(even) .c-icon {
  background: #fff
}

.c-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px
}

.c-val {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5
}

.c-val a {
  color: var(--blue-mid);
  text-decoration: none
}

.safe-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 4px
}

.safe-note a {
  color: var(--blue-mid)
}

.form-row {
  margin-bottom: 14px
}

.form-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: block
}

input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(26, 107, 191, 0.1)
}

textarea {
  resize: none;
  height: 100px
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background .15s
}

.form-submit:hover {
  background: var(--blue-mid)
}

footer {
  background: var(--navy);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px
}

.footer-logo img {
  height: 44px;
  object-fit: contain
}

.footer-name {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8)
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px
}

.footer-socials {
  display: flex;
  gap: 12px
}

.soc-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all .15s
}

.soc-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.8)
}

@media(max-width:768px) {
  nav {
    padding: 12px 24px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 40px 20px;
  }

  section {
    padding: 40px 20px;
  }

  .og-grid,
  .teams-grid,
  .coaches-grid,
  .tryouts-layout,
  .contact-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

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

  /* Mobile Navigation Menu */

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
  }

  .nav-toggle .hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    gap: 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    margin-left: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu.open {
    max-height: 450px;
    padding: 24px 0;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* FAQ Section */
.faq-category-filters {
  max-width: 800px;
  margin: 0 auto 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.faq-cat-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.faq-cat-btn:hover {
  background: var(--silver-light);
  color: var(--navy);
  border-color: var(--blue-mid);
}

.faq-cat-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(13, 27, 46, 0.2);
}

.faq-controls {
  max-width: 800px;
  margin: 0 auto 24px auto;
  display: flex;
  justify-content: flex-end;
}

#faq-toggle-all {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

#faq-toggle-all:hover {
  background: var(--bg-sec);
  color: var(--text);
  border-color: var(--text-muted);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-category-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.faq-category-group:last-child {
  margin-bottom: 0;
}

.faq-category-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--silver-light);
}

.faq-category-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--blue-mid);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.faq-question-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.faq-category-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(26, 107, 191, 0.1);
  color: var(--blue);
  border: 1px solid rgba(26, 107, 191, 0.25);
  white-space: nowrap;
}

.faq-question:hover {
  background-color: var(--bg-sec);
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.faq-answer-content {
  padding: 16px 24px 20px 24px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Teams & Rosters Styling */
.teams-section-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  min-width: 0;
}

.team-card h2 {
  position: sticky;
  top: var(--site-header-height, 65px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 28px;
  color: var(--navy);
  margin-top: -32px;
  margin-left: -32px;
  margin-right: -32px;
  margin-bottom: 24px;
  padding: 16px 32px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  word-break: break-word;
  transition: top 0.15s ease;
}

.team-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 0;
}

.team-roster-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  width: 100%;
  min-width: 0;
}

.team-staff,
.team-players {
  min-width: 0;
  width: 100%;
}

.roster-view-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
}

@media(max-width: 768px) {
  .teams-section-container {
    gap: 36px;
  }

  .team-roster-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-card {
    padding: 16px;
    border-radius: 8px;
  }

  .team-card h2 {
    font-size: 22px;
    padding: 12px 16px;
    margin-top: -16px;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
}

.team-staff h3,
.team-players h3 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 700;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.staff-member {
  background: var(--bg-sec);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--blue);
  font-size: 14px;
}

.coach-link {
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.coach-link:hover {
  color: var(--blue-mid);
}

.coach-link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.coach-link:hover svg {
  transform: translateX(3px);
  opacity: 1;
}

.staff-role {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.roster-table th {
  background: var(--bg-sec);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}

.roster-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.roster-table tbody tr:hover {
  background: var(--bg-sec);
}

.roster-table tbody tr:last-child td {
  border-bottom: none;
}

/* Season Filter Styling */
.season-filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 20px auto;
  max-width: 600px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  background: var(--bg-sec);
  color: var(--text);
  border-color: var(--text-muted);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 2px;
}

.filter-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(26, 107, 191, 0.25);
}



/* Homepage Sponsor Logo Marquee */
.home-sponsors-section {
  padding: 60px 48px;
  background: #fff;
  text-align: center;
  border-top: 1px solid var(--border);
}

.sponsors-scroller-container {
  width: 100%;
  margin-top: 24px;
  position: relative;
  display: flex;
  align-items: center;
  user-select: none;
}

.sponsors-scroller-viewport {
  overflow-x: auto;
  width: 100%;
  padding: 32px 0;
  display: flex;
  align-items: center;
  scrollbar-width: none;
  /* Hide scrollbar in Firefox */
  -webkit-overflow-scrolling: touch;
  /* Momentum scrolling for iOS */
  scroll-behavior: auto;
}

.sponsors-scroller-viewport::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar in Chrome/Safari/Webkit */
}

/* Fading gradient masks on left/right edges */
.sponsors-scroller-container::before,
.sponsors-scroller-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.sponsors-scroller-container::before {
  left: 0;
  background: linear-gradient(to right, #fff 20%, transparent);
}

.sponsors-scroller-container::after {
  right: 0;
  background: linear-gradient(to left, #fff 20%, transparent);
}

/* Scroller Overlay Arrow Buttons */
.scroller-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  border: none;
  border-radius: 0;
  color: #333;
  font-size: 32px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, opacity 0.25s ease, color 0.2s ease;
  opacity: 0;
  /* Hidden by default, fades in on hover */
  pointer-events: auto;
  padding: 0;
  line-height: 1;
}

.scroller-arrow.left {
  left: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.scroller-arrow.right {
  right: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

/* Show arrows on container hover */
.sponsors-scroller-container:hover .scroller-arrow {
  opacity: 1;
}

.scroller-arrow:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #000;
}

.scroller-arrow:active {
  background: rgba(255, 255, 255, 0.95);
}

/* Hide arrow buttons on devices that do not support hover (touch devices like mobile/tablets) */
@media (hover: none) {
  .scroller-arrow {
    display: none !important;
  }
}

.sponsors-scroller {
  display: flex;
  gap: 80px;
  width: max-content;
  align-items: center;
}

.scroller-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  opacity: 0.6;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.scroller-item:hover {
  opacity: 1;
  transform: scale(1.20);
}

.scroller-item img {
  height: 100%;
  max-width: 180px;
  object-fit: contain;
}

/* Sponsors Page Grouped Grid Layout */
.sponsors-section-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.tier-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tier-title {
  position: sticky;
  top: var(--site-header-height, 65px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--border);
  padding: 14px 20px;
  margin-top: 0;
  margin-bottom: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: top 0.15s ease;
}

.tier-grid {
  display: grid;
  gap: 24px;
}

/* Diamond Tier */
.tier-title.diamond {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.tier-grid.diamond {
  grid-template-columns: 1fr;
}

.sponsor-card.diamond {
  background: linear-gradient(135deg, var(--navy) 0%, #172c47 100%);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(13, 27, 46, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sponsor-card.diamond .sponsor-logo-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

.sponsor-card.diamond .sponsor-name {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.sponsor-card.diamond .sponsor-about {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

.sponsor-card.diamond .soc-btn {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.sponsor-card.diamond .soc-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* Platinum Tier */
.tier-title.platinum {
  color: #5a6e85;
  border-bottom-color: #d5d9e0;
}

.tier-grid.platinum {
  grid-template-columns: 1fr;
}

.sponsor-card.platinum {
  background: #fff;
  border-left: 6px solid #d5d9e0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sponsor-card.platinum .sponsor-logo-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.sponsor-card.platinum .sponsor-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

/* Gold Tier */
.tier-title.gold {
  color: #b58000;
  border-bottom-color: #f0a500;
}

.tier-grid.gold {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.sponsor-card.gold {
  background: #fff;
  border-left: 5px solid #f0a500;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.sponsor-card.gold .sponsor-header-info {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
}

.sponsor-card.gold .sponsor-logo-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.sponsor-card.gold .sponsor-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* Silver Tier */
.tier-title.silver {
  color: #7a8a9e;
  border-bottom-color: #a8b2c1;
}

.tier-grid.silver {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.sponsor-card.silver {
  background: #fff;
  border-left: 5px solid #a8b2c1;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.sponsor-card.silver .sponsor-header-info {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
}

.sponsor-card.silver .sponsor-logo-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.sponsor-card.silver .sponsor-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* Bronze Tier */
.tier-title.bronze {
  color: #9c5c24;
  border-bottom-color: #b87333;
}

.tier-grid.bronze {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sponsor-card.bronze {
  background: #fff;
  border-left: 4px solid #b87333;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sponsor-card.bronze .sponsor-logo-box {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

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

.sponsor-card.bronze .sponsor-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* Contributor Tier */
.tier-title.contributor {
  color: var(--text-muted);
  border-bottom-color: var(--border);
}

.tier-grid.contributor {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sponsor-card.contributor {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sponsor-card.contributor .sponsor-logo-box {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

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

.sponsor-card.contributor .sponsor-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* Social icons layout for sponsors */
.sponsor-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.sponsor-socials .soc-btn {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  border-color: var(--border);
}

.sponsor-socials .soc-btn:hover {
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}

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

.sponsor-about {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Deep link scroll highlight pulse animation */
.sponsor-pulse {
  animation: sponsorHighlight 2.5s ease-out 1;
}

@keyframes sponsorHighlight {
  0% {
    box-shadow: 0 0 0 0px rgba(26, 107, 191, 0);
    border-color: var(--border);
  }

  15% {
    box-shadow: 0 0 0 8px rgba(26, 107, 191, 0.4);
    border-color: var(--blue);
    transform: scale(1.02);
  }

  30% {
    box-shadow: 0 0 0 12px rgba(26, 107, 191, 0);
    border-color: var(--blue-mid);
    transform: scale(1);
  }

  45% {
    box-shadow: 0 0 0 6px rgba(26, 107, 191, 0.2);
    border-color: var(--blue-mid);
  }

  100% {
    box-shadow: 0 0 0 0px rgba(26, 107, 191, 0);
    border-color: var(--border);
  }
}

/* Responsiveness adjustments for sponsors layouts */
@media (max-width: 768px) {
  .sponsor-card.diamond {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .sponsor-card.diamond .sponsor-logo-box {
    height: 120px;
  }

  .sponsor-card.platinum {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .sponsor-card.platinum .sponsor-logo-box {
    height: 100px;
  }

  .tier-grid.gold,
  .tier-grid.silver {
    grid-template-columns: 1fr;
  }

  .home-sponsors-section {
    padding: 40px 20px;
  }

  .sponsors-scroller {
    gap: 40px;
  }
}

/* ==========================================
   Announcement Banner Component
   ========================================== */
.announcement-banner {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  z-index: 101;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  user-select: none;
}

/* Color Themes */
/* Urgent (Red) */
.announcement-banner.type-urgent {
  background: linear-gradient(90deg, #3f0707 0%, #7f1d1d 50%, #3f0707 100%);
  border-bottom: 2px solid #ef4444;
  color: #fef2f2;
}

/* Warning (Amber / Gold) */
.announcement-banner.type-warning {
  background: linear-gradient(90deg, #3d1704 0%, #78350f 50%, #3d1704 100%);
  border-bottom: 2px solid #f59e0b;
  color: #fffbeb;
}

/* Info (Mavericks Blue) */
.announcement-banner.type-info {
  background: linear-gradient(90deg, #07192f 0%, #0c325e 50%, #07192f 100%);
  border-bottom: 2px solid #1a6bbf;
  color: #f0f7ff;
}

/* Success / Event (Green) */
.announcement-banner.type-success {
  background: linear-gradient(90deg, #022c22 0%, #065f46 50%, #022c22 100%);
  border-bottom: 2px solid #10b981;
  color: #ecfdf5;
}

/* Expanded State Layout */
.announcement-banner.is-expanded .announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  max-height: 150px;
  opacity: 1;
  transition: padding 0.3s ease, max-height 0.3s ease, opacity 0.2s ease;
}

.announcement-slides-container {
  flex: 1;
  position: relative;
}

.announcement-slide {
  display: none;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.announcement-slide.active {
  display: flex;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.announcement-banner.type-urgent .announcement-icon-badge {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  animation: badgePulse 2s infinite ease-in-out;
}

.announcement-banner.type-warning .announcement-icon-badge {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.announcement-banner.type-info .announcement-icon-badge {
  background: #1a6bbf;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(26, 107, 191, 0.6);
}

.announcement-banner.type-success .announcement-icon-badge {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.9);
    transform: scale(1.05);
  }
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}

.announcement-title {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.announcement-desc {
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.4;
}

.announcement-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.announcement-link:hover {
  opacity: 0.8;
}

/* Countdown Ticker Badge */
.announcement-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: monospace, sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.announcement-countdown-label {
  font-family: inherit;
  font-weight: 500;
  opacity: 0.85;
}

.announcement-countdown-timer {
  color: #38bdf8;
  font-weight: 700;
}

.announcement-banner.type-urgent .announcement-countdown-timer {
  color: #fca5a5;
}

.announcement-banner.type-warning .announcement-countdown-timer {
  color: #fde047;
}

.announcement-banner.type-success .announcement-countdown-timer {
  color: #6ee7b7;
}

/* Carousel Controls & Actions */
.announcement-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.announcement-carousel-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.announcement-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.announcement-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.announcement-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px;
}

.announcement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.announcement-dot.active {
  background: #ffffff;
  width: 14px;
  border-radius: 3px;
}

.announcement-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.announcement-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

/* Collapsed (Closed / Narrow) State */
.announcement-banner.is-collapsed {
  cursor: pointer;
}

.announcement-banner.is-collapsed .announcement-content {
  display: none;
}

.announcement-banner .announcement-bar-collapsed {
  display: none;
}

.announcement-banner.is-collapsed .announcement-bar-collapsed {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 16px;
  transition: height 0.2s ease, background 0.2s ease;
}

.announcement-banner.is-collapsed:hover .announcement-bar-collapsed {
  height: 24px;
}

.announcement-mini-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
  line-height: 1;
}

.announcement-mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: miniIconPulse 2s infinite ease-in-out;
}

@keyframes miniIconPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.announcement-expand-hint {
  font-size: 10px;
  opacity: 0.75;
  font-weight: 400;
  margin-left: 4px;
  text-transform: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .announcement-banner.is-expanded .announcement-content {
    padding: 10px 16px;
  }

  .announcement-text {
    font-size: 13px;
    gap: 6px;
  }

  .announcement-title {
    font-size: 11px;
    padding: 2px 6px;
  }

  .announcement-countdown {
    font-size: 11px;
    padding: 2px 8px;
  }
}

/* Deep Link Spotlight & Modal Backdrop Effect */
.spotlight-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 14, 23, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, background 0.6s ease-in-out, backdrop-filter 0.6s ease-in-out, -webkit-backdrop-filter 0.6s ease-in-out;
  pointer-events: auto;
  cursor: pointer;
}

.spotlight-backdrop.active {
  opacity: 1;
  background: rgba(7, 14, 23, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.spotlight-target {
  position: relative !important;
  z-index: 9001 !important;
  border-radius: 12px;
  transition: box-shadow 0.4s ease, transform 0.4s ease !important;
}

/* Ensure deep-linked elements sit comfortably below sticky site header with top padding */
.coach-card,
.sponsor-card,
.team-card,
.faq-item,
.event-card,
.spotlight-target {
  scroll-margin-top: calc(var(--site-header-height, 65px) + 24px);
}

@keyframes spotlightPulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px #1a6bbf, 0 12px 35px rgba(26, 107, 191, 0.65);
  }

  50% {
    box-shadow: 0 0 0 5px #2d7dd2, 0 18px 50px rgba(45, 125, 210, 0.95);
  }
}

.spotlight-target.highlight-pulse {
  animation: spotlightPulse 1.4s ease-in-out infinite;
}

/* Roster View Mode Switcher Header */
.roster-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.roster-view-toggle {
  display: inline-flex;
  background: var(--silver-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.roster-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roster-toggle-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.roster-toggle-btn.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Roster Table Sorting Styles */
.roster-table th.sortable {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  padding-right: 28px;
  transition: background 0.2s ease, color 0.2s ease;
}

.roster-table th.sortable:hover {
  background: var(--silver-light, #eef2f6);
  color: var(--navy);
}

.roster-table th.sortable::after {
  content: ' \2195';
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.35;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.15s ease, color 0.15s ease;
}

.roster-table th.sortable:hover::after {
  opacity: 0.75;
}

.roster-table th.sortable.sort-asc::after {
  content: ' \25B2';
  opacity: 1;
  color: var(--blue, #1a6bbf);
}

.roster-table th.sortable.sort-desc::after {
  content: ' \25BC';
  opacity: 1;
  color: var(--blue, #1a6bbf);
}

/* Roster Placeholder Notice Box */
.roster-placeholder-notice {
  text-align: center;
  padding: 32px 20px;
  background: var(--silver-light, #f8fafc);
  border: 2px dashed var(--border, #cbd5e1);
  border-radius: 12px;
  margin-top: 14px;
}

.roster-placeholder-notice p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted, #64748b);
  margin: 0;
}

/* Roster Cards Grid View */
.roster-cards-grid,
.player-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
  width: 100%;
  min-width: 0;
}

@media (max-width: 991px) {
  .roster-cards-grid,
  .player-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .roster-cards-grid,
  .player-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.player-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 27, 46, 0.12);
  border-color: var(--blue-mid);
}

.player-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #0d1b2e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.player-photo-wrapper img.player-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.player-photo-wrapper:hover img.player-photo {
  transform: scale(1.06);
}

.player-photo-wrapper::after {
  content: '🔍 Zoom';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(7, 14, 23, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.player-photo-wrapper:hover::after {
  opacity: 1;
}

/* Fallback Badge for Players without headshots */
.player-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #070e17 0%, #1a6bbf 100%);
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.player-placeholder-jersey {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.player-placeholder-icon {
  font-size: 22px;
  margin-top: 4px;
  opacity: 0.8;
}

.player-photo-unavailable {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.team-card {
  scroll-margin-top: calc(var(--site-header-height, 65px) + 24px);
}

.player-photo-wrapper.no-photo::after {
  display: none;
}

.player-jersey-number {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 14, 23, 0.85);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.player-card-info {
  padding: 14px 16px;
  text-align: left;
  background: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

.player-card-name .player-first-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.player-card-name .player-last-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
}

.staff-member-full-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.staff-member-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.staff-member-name-row svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue, #1a6bbf);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.staff-member-full-link:hover .staff-member-name-row svg {
  transform: translateX(3px);
}

.coach-card .coach-first-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1d3c63;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.coach-card .coach-last-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: #abb6c4;
}

/* Admin Drag-and-Drop Handle & Row Highlight */
.drag-handle {
  cursor: grab;
  font-size: 1.25rem;
  color: #64748b;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.drag-handle:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.drag-handle:active {
  cursor: grabbing;
  color: #0284c7;
}

.player-row.dragging {
  opacity: 0.45;
  background: rgba(56, 189, 248, 0.08);
  outline: 2px dashed #38bdf8;
}

.player-row.drag-over-above {
  border-top: 3px solid #38bdf8 !important;
}

.player-row.drag-over-below {
  border-bottom: 3px solid #38bdf8 !important;
}

.player-card-position {
  font-size: 12px;
  color: var(--blue-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Make team photos zoomable as well */
.team-photo {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.team-photo:hover {
  opacity: 0.95;
}

/* Fullscreen Photo Zoom Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
  user-select: none;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-viewport {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
  touch-action: none;
}

.lightbox-viewport[data-zoomed="true"] {
  cursor: grab;
}

.lightbox-viewport[data-zoomed="true"]:active {
  cursor: grabbing;
}

.lightbox-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Lightbox Interactive Toolbar */
.lightbox-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 4px 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.lightbox-tool-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.lightbox-tool-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox-tool-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.lightbox-caption {
  margin-top: 10px;
  color: #ffffff;
  text-align: center;
}

.lightbox-caption-name {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.lightbox-caption-details {
  font-size: 13.5px;
  color: var(--silver);
  margin-top: 3px;
}

.lightbox-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #070e17;
  border: none;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 10;
}

.lightbox-close-btn:hover {
  transform: scale(1.1);
  background: var(--blue-mid);
  color: #ffffff;
}

/* Space between Coach Bio and Coach Highlight */
.coach-highlight {
  margin-top: 14px;
}

/* Interactive Tag/Pill Credentials Input in Coach Editor */
.credentials-input-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-top: 6px;
}

.credentials-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  align-items: center;
}

.credentials-pills-list:empty::before {
  content: 'No credentials added yet. Type below to add credentials.';
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
}

.cred-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(2, 132, 199, 0.45));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #f0f9ff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: grab;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cred-pill-item:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(2, 132, 199, 0.6));
  border-color: rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}

.cred-pill-item.dragging {
  opacity: 0.4;
  cursor: grabbing;
  border-style: dashed;
}

.cred-pill-item.drag-over {
  border-color: #38bdf8;
  transform: scale(1.04);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.cred-drag-handle {
  cursor: grab;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: -1px;
}

.cred-pill-text {
  max-width: 340px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cred-pill-remove {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cred-pill-remove:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.15);
}

.credentials-add-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-input-field {
  flex: 1;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13.5px;
}

.cred-input-field:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25) !important;
}

.btn-add-cred {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-add-cred:hover {
  background: #0369a1;
}

/* 404 Error Page Styling */
.error-404-section {
  background: linear-gradient(180deg, #070e17 0%, #0d1b2e 100%);
  color: #ffffff;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(80vh - 65px);
  position: relative;
  overflow: hidden;
}

.error-404-card {
  background: rgba(13, 27, 46, 0.7);
  border: 1px solid rgba(45, 125, 210, 0.25);
  border-radius: 16px;
  padding: 56px 40px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.error-404-number {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, var(--silver, #c8d4e0) 50%, var(--blue-mid, #2d7dd2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 12px 0 16px;
  letter-spacing: -2px;
}

.error-404-card h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.error-404-card p {
  font-size: 1.05rem;
  color: var(--silver, #c8d4e0);
  line-height: 1.6;
  margin-bottom: 36px;
}

.error-404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-404-actions .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.error-404-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .error-404-section {
    padding: 48px 16px;
  }

  .error-404-card {
    padding: 36px 20px;
  }

  .error-404-number {
    font-size: 4rem;
  }

  .error-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-404-actions a {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
 Events Page & Calendar View Styling
 ========================================================================== */
.events-main-section {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
  box-sizing: border-box;
}

.events-container {
  width: 100%;
  box-sizing: border-box;
  min-height: 360px;
}

.events-empty-state {
  width: 100%;
  box-sizing: border-box;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.events-toolbar-wrapper {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 20px 0 36px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.events-view-switcher {
  display: inline-flex;
  background: var(--bg-sec);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
}

.view-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-switch-btn.active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(7, 14, 23, 0.25);
}

.events-status-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-tab-btn.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(26, 107, 191, 0.3);
}

.events-secondary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.events-category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-pill {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-pill.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.events-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  min-width: 240px;
  color: var(--text-muted);
}

.events-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  width: 100%;
  color: var(--text);
}

/* Event List Cards */
.events-list-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@keyframes eventSpotlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 107, 191, 0.6), 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(26, 107, 191, 0), 0 12px 32px rgba(26, 107, 191, 0.3);
    transform: scale(1.03);
  }

  100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transform: scale(1);
  }
}

.event-card.spotlight-highlight {
  animation: eventSpotlightPulse 2s ease-out;
  border-color: var(--blue) !important;
}

.event-card-media {
  position: relative;
  background: var(--navy);
  min-height: 200px;
  overflow: hidden;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-date-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  line-height: 1.1;
}

.event-date-day {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-light);
}

.event-date-month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-card-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.event-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.event-badge-category {
  display: inline-block;
  background: rgba(26, 107, 191, 0.1);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-detail-item svg {
  color: var(--blue);
  flex-shrink: 0;
}

.event-detail-item a {
  color: var(--blue);
  text-decoration: none;
}

.event-detail-item a:hover {
  text-decoration: underline;
}

.event-card-description {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.btn-add-calendar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-sec);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-add-calendar:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.btn-share-event {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-share-event:hover {
  background: var(--bg-sec);
  color: var(--text);
}

/* Calendar Grid View */
.calendar-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.calendar-header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-month-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.calendar-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-nav-btn {
  background: var(--bg-sec);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
  background: var(--navy);
  color: #ffffff;
}

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.calendar-grid-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(110px, auto);
  gap: 6px;
}

.calendar-cell {
  background: var(--bg-sec);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100px;
  transition: background 0.2s ease;
}

.calendar-cell.other-month {
  opacity: 0.4;
  background: #f8fafc;
}

.calendar-cell.today {
  background: rgba(26, 107, 191, 0.06);
  border-color: var(--blue);
}

.calendar-day-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.calendar-cell.today .calendar-day-num {
  color: var(--blue);
}

.calendar-event-chip {
  background: var(--navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}

.calendar-event-chip:hover {
  background: var(--blue);
  transform: scale(1.02);
}

/* Event Detail Modal */
.event-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 14, 23, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.event-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.event-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  background: var(--bg-sec);
  border: none;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.event-modal-close:hover {
  background: var(--navy);
  color: #ffffff;
}

.event-modal-card .event-card {
  border: none;
  box-shadow: none;
  transform: none !important;
  background: transparent;
}

.event-modal-card .event-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

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

  .event-card-media {
    min-height: 160px;
  }

  .calendar-grid-cells {
    grid-auto-rows: minmax(80px, auto);
  }

  .calendar-event-chip {
    font-size: 10px;
    padding: 2px 4px;
  }
}

/* Public Team Photo Hotspot Overlay & Tooltips */
.team-photo-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: visible;
  margin-bottom: 28px;
  line-height: 0;
  font-size: 0;
}

.team-photo-container .team-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0;
}

.team-photo-hotspots-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.team-photo-container.hotspots-hidden .team-photo-hotspots-overlay,
.team-photo-container.hotspots-hidden .public-hotspot-pin {
  opacity: 0;
  pointer-events: none !important;
}

.btn-toggle-hotspots-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13, 27, 46, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  user-select: none;
}

.btn-toggle-hotspots-overlay .btn-toggle-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.25s ease;
  margin-right: 0;
}

.btn-toggle-hotspots-overlay:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .btn-toggle-hotspots-overlay:hover {
    padding: 6px 12px;
  }

  .btn-toggle-hotspots-overlay:hover .btn-toggle-label {
    max-width: 140px;
    opacity: 1;
    margin-right: 8px;
  }
}

@media (max-width: 768px) {
  .btn-toggle-hotspots-overlay .btn-toggle-label {
    display: none !important;
  }

  .btn-toggle-hotspots-overlay {
    padding: 6px 8px !important;
  }
}

.toggle-pill-switch {
  display: inline-block;
  width: 32px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  position: relative;
  transition: background 0.25s ease;
}

.toggle-pill-switch.active {
  background: #38bdf8;
}

.toggle-pill-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.toggle-pill-switch.active .toggle-pill-knob {
  transform: translateX(14px);
}

.public-hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--hs-rot, 0deg));
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.public-hotspot-pin .hotspot-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  animation: hotspotPulse 3.5s infinite ease-out;
  pointer-events: none;
  opacity: 0.35;
}

@keyframes hotspotPulse {
  0% { transform: scale(0.95); opacity: 0.4; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.public-hotspot-pin:hover,
.public-hotspot-pin.pin-hover,
.public-hotspot-pin.pin-active {
  background: rgba(56, 189, 248, 0.45);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.9);
  z-index: 20;
  transform: translate(-50%, -50%) rotate(var(--hs-rot, 0deg)) scale(1.12);
}

/* Floating Tooltip */
.public-hotspot-pin .hotspot-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(13, 27, 46, 0.95);
  border: 1px solid var(--blue-mid);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 100;
}

.public-hotspot-pin .hotspot-tooltip.tooltip-bottom {
  bottom: auto;
  top: 100%;
  transform: translateX(-50%) translateY(8px);
}

.public-hotspot-pin:hover .hotspot-tooltip,
.public-hotspot-pin.pin-hover .hotspot-tooltip,
.public-hotspot-pin.pin-active .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

.public-hotspot-pin:hover .hotspot-tooltip.tooltip-bottom,
.public-hotspot-pin.pin-hover .hotspot-tooltip.tooltip-bottom,
.public-hotspot-pin.pin-active .hotspot-tooltip.tooltip-bottom {
  transform: translateX(-50%) translateY(12px);
}

.hotspot-tooltip .tooltip-num {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  margin-top: -6px;
  margin-bottom: -6px;
  margin-left: -4px;
  box-shadow: 0 3px 10px rgba(56, 189, 248, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hotspot-tooltip .tooltip-pos {
  color: #94a3b8;
  font-weight: 400;
  font-size: 11px;
}

/* Roster Item Spotlight Highlight */
.player-card.spotlight-active,
.roster-table tr.spotlight-active {
  outline: 3px solid var(--blue) !important;
  border-color: var(--blue) !important;
  background: rgba(26, 107, 191, 0.12) !important;
  box-shadow: 0 0 20px rgba(26, 107, 191, 0.3) !important;
  transition: all 0.3s ease;
}