/* =====================================================
   AFC BURSLEM — STYLE.CSS
   Community Football Club | Burslem, Stoke-on-Trent
   Est. 2026
   ===================================================== */

/* ─── CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  --sky:        #94CAF0;
  --sky-light:  #B8DFF8;
  --sky-dark:   #5AABDF;
  --navy:       #0A0F1E;
  --navy-mid:   #0D1529;
  --navy-card:  #111827;
  --navy-2:     #1E3A5F;
  --white:      #FFFFFF;
  --white-80:   rgba(255,255,255,0.8);
  --white-60:   rgba(255,255,255,0.6);
  --white-20:   rgba(255,255,255,0.12);
  --sky-glow:   rgba(148,202,240,0.18);

  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(148,202,240,0.3);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --nav-h: 72px;
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

ul { list-style: none; }

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

/* ─── CANVAS PARTICLES ───────────────────────────────── */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ─── CONTAINER ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  min-height: 52px;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before,
.btn:focus-visible::before { opacity: 1; }

.btn--primary {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--sky);
  box-shadow: 0 0 24px rgba(148,202,240,0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--sky-light);
  border-color: var(--sky-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(148,202,240,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--sky);
  color: var(--sky);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* ─── SECTION LABELS & TITLES ────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 2px;
  background: var(--sky);
}

.section-label--light { color: var(--sky-light); }
.section-label--light::before { background: var(--sky-light); }

.section-label--dark { color: var(--navy); }
.section-label--dark::before { background: var(--navy); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-title--light { color: var(--white); }

.highlight { color: var(--sky); }

.section-intro {
  font-size: 1.125rem;
  color: var(--white-60);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ─── SCROLL REVEAL ANIMATIONS ───────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll--right {
  transform: translateX(40px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Hero reveal animations */
.reveal-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: none;
}

.hero-loaded .reveal-hero {
  animation: heroReveal 0.8s ease forwards;
}

.hero-loaded .reveal-hero--delay-1 { animation-delay: 0.2s; }
.hero-loaded .reveal-hero--delay-2 { animation-delay: 0.4s; }
.hero-loaded .reveal-hero--delay-3 { animation-delay: 0.6s; }
.hero-loaded .reveal-hero--delay-4 { animation-delay: 0.8s; }

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

/* ─── NAVIGATION ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.nav--scrolled {
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: opacity var(--transition);
  flex-shrink: 0;
  min-height: 44px;
}

.nav__logo:hover { opacity: 0.85; }

.nav__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(148,202,240,0.4));
}

.nav__logo-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
}

.nav__logo-text strong {
  font-weight: 700;
  color: var(--sky);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-80);
  border-radius: 8px;
  transition: var(--transition);
  min-height: 44px;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.active {
  color: var(--sky);
  background: rgba(148,202,240,0.1);
}

.nav__link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.nav__link--cta {
  background: var(--sky);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background: var(--sky-light);
  color: var(--navy) !important;
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
  flex-shrink: 0;
}

.nav__burger:hover { background: rgba(255,255,255,0.08); }
.nav__burger:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10,15,30,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav__link--cta {
    margin: 1rem 2rem 0;
    border-radius: var(--radius);
    width: calc(100% - 4rem);
    justify-content: center;
    border-bottom: none;
  }
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-cover.jpg');
  background-size: cover;
  background-position: center 30%;
  transform-origin: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,15,30,0.3) 0%, rgba(10,15,30,0.55) 50%, rgba(10,15,30,0.85) 100%),
    linear-gradient(135deg, rgba(10,15,30,0.4) 0%, transparent 60%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--nav-h) 1.5rem 4rem;
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
}

.hero__badge-wrap {
  margin-bottom: 1.5rem;
}

.hero__badge {
  width: clamp(70px, 12vw, 110px);
  height: clamp(70px, 12vw, 110px);
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 0 24px rgba(148,202,240,0.5));
  animation: badgePulse 3s ease-in-out infinite 1.2s;
}

@keyframes badgePulse {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(148,202,240,0.5)); }
  50%       { filter: drop-shadow(0 0 48px rgba(148,202,240,0.8)); }
}

.hero__est {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-80);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-dot {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  position: relative;
}

.hero__scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--sky);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  60%       { top: 20px; opacity: 0.4; }
}

/* ─── WELCOME / MISSION ──────────────────────────────── */
.welcome {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--navy);
  z-index: 2;
}

.welcome::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

.welcome__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .welcome__grid {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

.welcome__copy p {
  color: var(--white-80);
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.welcome__copy p:first-child { font-size: 1.25rem; }

.welcome__lead {
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--white) !important;
  margin-bottom: 1.5rem !important;
}

.welcome__copy strong { color: var(--sky); font-weight: 700; }
.welcome__copy em { color: var(--sky-light); font-style: normal; font-weight: 600; }

.welcome__founded {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.welcome__founded-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.welcome__founded-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--sky);
  letter-spacing: 0.02em;
}

.welcome__founded-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-top: 0.25rem;
}

.welcome__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.welcome__badge-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  background: var(--navy-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148,202,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card), 0 0 60px rgba(148,202,240,0.08);
  overflow: hidden;
}

.welcome__badge-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 24px rgba(148,202,240,0.3));
}

.welcome__badge-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(148,202,240,0.08), transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.welcome__quote {
  background: var(--navy-card);
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  max-width: 280px;
  width: 100%;
}

.welcome__quote blockquote {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--white-80);
  line-height: 1.5;
}

/* ─── WHAT WE OFFER ──────────────────────────────────── */
.offer {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--navy-mid);
  overflow: hidden;
  z-index: 2;
}

.offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(148,202,240,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(148,202,240,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .offer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .offer__grid { grid-template-columns: repeat(4, 1fr); }
}

.offer__card {
  position: relative;
  background: var(--navy-card);
  border: 1px solid rgba(148,202,240,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  animation-delay: var(--card-delay, 0ms);
}

.offer__card:hover {
  border-color: rgba(148,202,240,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(148,202,240,0.1);
}

.offer__card-icon {
  color: var(--sky);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.offer__card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: 0.02em;
}

.offer__card-desc {
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.65;
}

.offer__card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-dark), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.offer__card:hover .offer__card-accent { transform: scaleX(1); }

/* ─── HERITAGE / BURSLEM ─────────────────────────────── */
.heritage {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
  overflow: hidden;
  z-index: 2;
}

.heritage__parallax-bg {
  position: absolute;
  inset: -20%;
  background-image: url('images/hero-cover.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.heritage__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,15,30,0.88) 0%,
    rgba(10,15,30,0.75) 50%,
    rgba(10,15,30,0.88) 100%
  );
  z-index: 1;
}

.heritage__content {
  position: relative;
  z-index: 2;
}

.heritage__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .heritage__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.heritage__text p {
  color: var(--white-80);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.heritage__text strong { color: var(--sky); font-weight: 600; }

.heritage__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.heritage__pillar {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(148,202,240,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.heritage__pillar:hover {
  background: rgba(148,202,240,0.08);
  border-color: rgba(148,202,240,0.25);
}

.heritage__pillar-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.heritage__pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.heritage__pillar-desc {
  font-size: 0.875rem;
  color: var(--white-60);
  line-height: 1.55;
}

/* ─── JOIN / GET INVOLVED ────────────────────────────── */
.join {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 50%, var(--sky-light) 100%);
  overflow: hidden;
  z-index: 2;
}

.join__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.join__content { text-align: center; }

.join__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.join__sub {
  font-size: 1.0625rem;
  color: rgba(10,15,30,0.7);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.join__socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .join__socials { flex-direction: column; }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(10,15,30,0.12);
  border: 2px solid rgba(10,15,30,0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  min-height: 80px;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.social-card:hover,
.social-card:focus-visible {
  background: rgba(10,15,30,0.22);
  border-color: rgba(10,15,30,0.3);
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.social-card:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.social-card__icon {
  color: var(--navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.social-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.social-card__platform {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10,15,30,0.6);
}

.social-card__handle {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.social-card__arrow {
  font-size: 1.25rem;
  color: var(--navy);
  opacity: 0.5;
  transition: var(--transition);
}

.social-card:hover .social-card__arrow { opacity: 1; transform: translateX(4px); }

.join__contact-note {
  font-size: 0.9rem;
  color: rgba(10,15,30,0.6);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}

.footer__top {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__top-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 600px) {
  .footer__top-inner { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__logo-link { transition: opacity var(--transition); }
.footer__logo-link:hover { opacity: 0.8; }

.footer__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(148,202,240,0.25));
}

.footer__club-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.footer__club-sub {
  font-size: 0.8125rem;
  color: var(--white-60);
  line-height: 1.6;
}

.footer__nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--white-60);
  transition: color var(--transition);
  min-height: 28px;
  display: flex;
  align-items: center;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--sky);
}

.footer__link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer__social-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--white-60);
  transition: color var(--transition);
  min-height: 36px;
}

.footer__social-link svg { flex-shrink: 0; }

.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--sky);
}

.footer__social-link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer__bottom {
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer__built { font-size: 0.8rem !important; }

/* ─── DIAGONAL SECTION DIVIDERS ──────────────────────── */
.offer::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--navy);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* ─── REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal-on-scroll,
  .reveal-hero {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__badge { animation: none; }
  .welcome__badge-glow { animation: none; }
  .hero__scroll-dot::after { animation: none; }
  #particle-canvas { display: none; }
}

/* ─── FOCUS OUTLINE GLOBAL ───────────────────────────── */
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* ─── SELECTION ──────────────────────────────────────── */
::selection {
  background: rgba(148,202,240,0.3);
  color: var(--white);
}
