/* RM1 Blue Theme - Deep Royal Blue + Gold */
:root {
  --blue-dark: #003087;
  --blue-mid: #0057A8;
  --blue-light: #1A78C2;
  --blue-pale: #E8F1FB;
  --gold: #C8A020;
  --gold-light: #E8C94A;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-text: #555;
  --shadow: 0 4px 20px rgba(0, 48, 135, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background: var(--white);
}

/* ── NAVBAR ── */
nav.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 48, 135, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: background 0.35s, box-shadow 0.35s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-text span:last-child {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── SECTIONS COMMON ── */
section {
  padding: 100px 24px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── HOME ── */
#home {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

/* ── HERO SLIDESHOW ── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,20,80,0.72) 0%, rgba(0,48,135,0.55) 100%);
}
/* Slide placeholder styling — hidden once a real background-image is set */
.slide-ph {
  position: relative;
  z-index: 1;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.slide-ph-icon {
  font-size: 72px;
  opacity: 0.18;
  display: block;
  margin-bottom: 12px;
}
.slide-ph-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
/* Slide arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}
/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.hero-dot.active {
  width: 26px;
  background: var(--gold);
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 160, 32, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-title {
  font-size: clamp(36px, 8vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--gold-light);
}

.hero-tagline {
  font-size: clamp(15px, 2.5vw, 20px);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue-dark);
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(200,160,32,0.4);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,160,32,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── ABOUT ── */
#about {
  background: var(--white);
  min-height: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.about-visual {
  position: relative;
}

.about-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.about-card-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.about-card p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 16px;
  opacity: 0.15;
  z-index: -1;
}

.about-content .section-subtitle {
  margin-bottom: 28px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mission-item {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-mid);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
}

.mission-item h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.mission-item p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ── MEMBERS ── */
#members {
  background: var(--gray-light);
  min-height: auto;
}

.members-header {
  text-align: center;
  margin-bottom: 52px;
}

.members-header .section-subtitle {
  margin: 0 auto;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.member-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 48, 135, 0.2);
}

.member-avatar {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: linear-gradient(135deg, var(--blue-pale), #d0e4f7);
}

.member-info {
  padding: 20px;
}

.member-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.member-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.member-bio {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

.member-number {
  display: inline-block;
  background: var(--blue-dark);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

/* ── GALLERY ── */
#gallery {
  background: var(--white);
  min-height: auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--blue-pale), #c5ddf5);
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.gallery-item.tall .gallery-thumb {
  min-height: 416px;
}

.gallery-item.wide .gallery-thumb {
  min-height: 220px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,48,135,0.85), rgba(0,87,168,0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  flex-direction: column;
  gap: 8px;
}

.gallery-overlay span {
  font-size: 28px;
}

/* ── EVENTS ── */
#events {
  background: var(--gray-light);
  min-height: auto;
}
.events-header {
  text-align: center;
  margin-bottom: 48px;
}
.events-header .section-subtitle { margin: 0 auto; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,48,135,0.18);
}
.event-card.hidden { display: none; }

.event-top-strip { height: 5px; background: var(--blue-mid); }
.event-card[data-sport="football"]  .event-top-strip { background: linear-gradient(90deg,#003087,#0057A8); }
.event-card[data-sport="futsal"]    .event-top-strip { background: linear-gradient(90deg,#0057A8,#1A78C2); }
.event-card[data-sport="frisbee"]   .event-top-strip { background: linear-gradient(90deg,#1A78C2,#003087); }
.event-card[data-sport="netball"]   .event-top-strip { background: linear-gradient(90deg,#C8A020,#E8C94A); }
.event-card[data-sport="volleyball"].event-top-strip { background: linear-gradient(90deg,#E8C94A,#C8A020); }
.event-card[data-sport="dodgeball"] .event-top-strip { background: linear-gradient(90deg,#0057A8,#C8A020); }
.event-card[data-sport="club"]      .event-top-strip { background: linear-gradient(90deg,#003087,#C8A020); }

.event-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.event-icon { font-size: 20px; }
.event-date-badge {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.event-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.event-status.upcoming { background: #e6f4ea; color: #2e7d32; border: 1px solid #a5d6a7; }
.event-status.past     { background: var(--blue-pale); color: var(--blue-dark); border: 1px solid #b3cff0; }

.event-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.event-location {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 10px;
}
.event-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.event-sport-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-btn {
  font-size: 12px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  letter-spacing: 0.5px;
}
.event-btn.register { background: var(--blue-dark); color: var(--white); }
.event-btn.register:hover { background: var(--blue-mid); transform: translateY(-1px); }
.event-btn.recap { background: var(--blue-pale); color: var(--blue-dark); }
.event-btn.recap:hover { background: #d0e4f7; }

/* ── CONTACT ── */
#contact {
  background: linear-gradient(180deg, var(--gray-light) 0%, var(--blue-pale) 100%);
  min-height: auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 52px;
}

.contact-header .section-subtitle {
  margin: 0 auto;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e8f4;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  transition: border-color 0.2s;
  outline: none;
  background: #fafcff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s;
}

.submit-btn:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,87,168,0.35);
}

.form-success {
  display: none;
  background: #e6f4ea;
  border: 2px solid #4caf50;
  border-radius: 8px;
  padding: 14px 20px;
  color: #2e7d32;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 32px 24px;
}

footer .footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 10px;
}

footer p {
  font-size: 13px;
  opacity: 0.7;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--gold-light);
}

/* Social icons in footer */
.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 12px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid rgba(255,255,255,0.15);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--gold);
  color: var(--blue-dark);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Social pills in contact section */
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.contact-social-btn {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  transition: all 0.2s;
  opacity: 0.92;
}

.contact-social-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.contact-social-btn.fb { background: #1877F2; }
.contact-social-btn.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-social-btn.tt { background: #010101; }
.contact-social-btn.yt { background: #FF0000; }
.contact-social-btn.tw { background: #000000; }
.contact-social-btn.wa { background: #25D366; }

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 2000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── NAV SCROLLED STATE ── */
nav.main-nav.scrolled {
  background: rgba(0, 20, 70, 0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

/* ── SCROLL REVEAL ── */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-enabled .reveal.visible {
  opacity: 1;
  transform: none;
}
.js-enabled .reveal.delay-1 { transition-delay: 0.1s; }
.js-enabled .reveal.delay-2 { transition-delay: 0.2s; }
.js-enabled .reveal.delay-3 { transition-delay: 0.3s; }
.js-enabled .reveal.delay-4 { transition-delay: 0.4s; }
.js-enabled .reveal.delay-5 { transition-delay: 0.5s; }
.js-enabled .reveal.delay-6 { transition-delay: 0.6s; }

/* ── FLOATING HERO ICONS ── */
.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-float {
  position: absolute;
  font-size: 36px;
  opacity: 0.1;
  animation: floatAround 9s infinite ease-in-out;
  user-select: none;
}
.hero-float:nth-child(1) { top: 12%; left: 6%; animation-duration: 7s; }
.hero-float:nth-child(2) { top: 20%; right: 8%; animation-duration: 10s; animation-delay: -2s; }
.hero-float:nth-child(3) { bottom: 28%; left: 12%; animation-duration: 12s; animation-delay: -5s; }
.hero-float:nth-child(4) { bottom: 18%; right: 10%; animation-duration: 8s; animation-delay: -1.5s; }
.hero-float:nth-child(5) { top: 52%; left: 4%; animation-duration: 11s; animation-delay: -3.5s; }
.hero-float:nth-child(6) { top: 8%; left: 48%; animation-duration: 9s; animation-delay: -6s; }

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(14px, -20px) rotate(10deg); }
  50% { transform: translate(-10px, 16px) rotate(-6deg); }
  75% { transform: translate(18px, 8px) rotate(4deg); }
}

/* ── SPORTS SHOWCASE ── */
#sports {
  background: var(--blue-dark);
  min-height: auto;
  padding: 80px 24px;
}
.sports-header {
  text-align: center;
  margin-bottom: 52px;
}
.sports-header .section-label { color: var(--gold-light); }
.sports-header .section-title { color: var(--white); }
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.sport-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 36px 20px 28px;
  text-align: center;
  cursor: default;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.sport-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.sport-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,160,32,0.6);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.sport-card:hover::after { transform: scaleX(1); }
.sport-card.main {
  border-color: rgba(200,160,32,0.5);
  background: rgba(200,160,32,0.07);
}
.sport-card.main::after { background: var(--gold-light); }
.sport-icon {
  font-size: 52px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}
.sport-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.sport-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.75;
}
.sport-card.main .sport-tag { opacity: 1; }

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--blue-mid);
  background: transparent;
  color: var(--blue-mid);
  transition: all 0.2s;
  letter-spacing: 0.3px;
  font-family: inherit;
}
.filter-tab:hover { background: var(--blue-pale); }
.filter-tab.active {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

/* ── MEMBER SPORT STRIP + BADGES ── */
.member-sport-strip {
  height: 4px;
  background: var(--blue-mid);
  flex-shrink: 0;
}
.member-card[data-sport~="football"] .member-sport-strip { background: linear-gradient(90deg, #003087, #0057A8); }
.member-card[data-sport~="futsal"] .member-sport-strip { background: linear-gradient(90deg, #0057A8, #1A78C2); }
.member-card[data-sport~="netball"] .member-sport-strip { background: linear-gradient(90deg, #C8A020, #E8C94A); }
.member-card[data-sport~="volleyball"] .member-sport-strip { background: linear-gradient(90deg, #E8C94A, #C8A020); }
.member-card[data-sport~="frisbee"] .member-sport-strip { background: linear-gradient(90deg, #1A78C2, #003087); }
.member-card[data-sport="staff"] .member-sport-strip { background: linear-gradient(90deg, #888, #555); }

.member-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
.badge-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  border: 1px solid rgba(0,48,135,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-pill.main-sport {
  background: var(--blue-dark);
  color: var(--gold-light);
  border-color: transparent;
}

/* ── FILTER HIDDEN ── */
.member-card.hidden,
.gallery-item.hidden {
  display: none;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,48,135,0.38);
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--blue-mid);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,87,168,0.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.tall {
    grid-row: span 1;
  }

  .gallery-item.tall .gallery-thumb {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.wide {
    grid-column: span 1;
  }

  .hero-stats {
    gap: 28px;
  }

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