/* BACK TO NORMAL - DEFAULT BACKGROUND */
:root {
  --bg: #000;
  --bg-soft: #0d2131;
  --panel: rgba(7, 19, 31, 0.72);
  --panel-border: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --muted: #5c6b78;
  --heading: #fff;
  --eyebrow: var(--gold);
  --accent: var(--gold);
  --gold: #f4c95d;
  --teal: #67d9d0;
  --sky: #89d5ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fff 50%, #f7f7f7 100%);
  perspective: 1400px;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
}

.eyebrow, .sport-label, .section-tag {
  color: var(--gold);
}

.muted, .hero-lead, .fold-copy, .fold-card p, .sport-details p {
  color: var(--muted);
}

.brand-copy strong,
.hero-intro h2,
.sport-details h3,
.section-copy h2,
.highlight-list h3,
.cta-panel h2 {
  font-family: "Sora", sans-serif;
  color: #ff5722;
}

.brand-copy strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.brand-copy small {
  font-size: 0.98rem;
  color: var(--muted);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--gold), #ffd879);
  color: #102230;
  box-shadow: 0 12px 30px rgba(244, 201, 93, 0.28);
  border: none;
}

.primary-button:hover {
  transform: translateY(-2px);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.secondary-button:hover {
  transform: translateY(-2px);
}

.site-header {
  /* position: sticky; */
  /* top: 0; */
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 4.5rem;
  /* backdrop-filter: blur(18px); */
  background: transparent;
  border-bottom: 1px solid #222;
}

.brand {
    /* background removed */
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
  text-align: left;
}

.hero {
  --hero-shift: 0px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 8rem 4.5rem 4rem;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: rotateSlides 18s infinite;
  transform: translateY(var(--hero-shift)) scale(1.08);
  will-change: transform, opacity;
}

.slide-swimming {
  background-image:
    linear-gradient(120deg, rgba(7, 19, 31, 0.72), rgba(7, 19, 31, 0.18)),
    url("https://images.unsplash.com/photo-1519315901367-f34ff9154487?auto=format&fit=crop&w=1600&q=80");
}

.slide-badminton {
  background-image:
    linear-gradient(120deg, rgba(7, 19, 31, 0.72), rgba(7, 19, 31, 0.2)),
    url("https://blog.playo.co/wp-content/uploads/2018/03/badminton-sport-thumbnail-600x400.jpg");
  animation-delay: 6s;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.slide-pickleball {
  background-image:
    linear-gradient(120deg, rgba(7, 19, 31, 0.72), rgba(7, 19, 31, 0.2)),
    url("https://media-cldnry.s-nbcnews.com/image/upload/t_nbcnews-fp-1200-630,f_auto,q_auto:best/newscms/2019_16/2827076/190418-pickleball-stock-ac-537p.jpg");
  animation-delay: 12s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(137, 213, 255, 0.32), transparent 25%),
    radial-gradient(circle at 85% 25%, rgba(244, 201, 93, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(7, 19, 31, 0.04), rgba(7, 19, 31, 0.56));
}

.hero-content {
  position: relative;
  max-width: 18rem;
  margin-left: 2rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
}

.sport-name,
.eyebrow,
.sport-label {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 800;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 0.72fr;
  gap: 2rem;
  align-items: end;
  min-height: 100vh;
  padding: 7rem 4.5rem 3rem;
}

.hero-spacer {
  min-height: 1px;
}

.hero-intro,
.sport-card,
.highlight-list article,
.cta-panel {
  backdrop-filter: blur(18px);
}

.hero-intro {
  max-width: 31rem;
  justify-self: end;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: rotateX(var(--hero-tilt, 0deg));
  transform-origin: top center;
  transition: transform 0.25s ease-out;
}

.hero-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.03;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  color: #fff !important;
}

.hero-lead {
  max-width: 28rem;
  margin: 0;
  color: #e1edf4;
  line-height: 1.7;
  font-size: 0.98rem;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sports-grid,
.highlights,
.cta-panel {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 5rem 0;
}

.sport-card {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.scroll-fold,
.fold-card,
.fold-copy,
.cta-panel {
  opacity: 0;
  transform-style: preserve-3d;
}

.scroll-fold {
  transform: translateY(80px) rotateX(-12deg);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease;
}

.fold-copy {
  transform: translateY(50px) rotateX(-16deg);
  transform-origin: top center;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease;
}

.fold-card {
  transform: translateY(70px) rotateX(-18deg) rotateY(2deg) scale(0.96);
  transform-origin: top center;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease, box-shadow 0.35s ease;
}

.fold-card:nth-child(2) {
  transition-delay: 0.08s;
}

.fold-card:nth-child(3) {
  transition-delay: 0.16s;
}

.highlight-list .fold-card:nth-child(2) {
  transition-delay: 0.1s;
}

.highlight-list .fold-card:nth-child(3) {
  transition-delay: 0.2s;
}

.cta-panel {
  transform: translateY(65px) rotateX(-10deg) scale(0.98);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease;
}

.scroll-fold.is-visible,
.fold-copy.is-visible,
.fold-card.is-visible,
.cta-panel.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0) rotateY(0) scale(1);
}

.sport-card:hover,
.highlight-list article:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.sport-visual {
  min-height: 18rem;
  background-position: center;
  background-size: cover;
}

.swim-visual {
  background-image: url("https://redlandsswimming.com.au/wp-content/uploads/2023/02/cropped-BrisSprints22-R6N_1363.jpg");
}

.badminton-visual {
  background-image: url("https://wallpapercave.com/wp/wp1852916.jpg");
}

.pickle-visual {
  background-image: url("https://static.vecteezy.com/system/resources/thumbnails/022/952/209/small_2x/of-a-pickle-ball-and-racquet-on-a-pickle-ball-court-generative-ai-free-photo.jpg");
}

.sport-details {
  padding: 1.65rem;
}

.sport-details h3 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
  color: #111;
  font-weight: 800;
  color: #222;
  font-weight: 900;
}

.sport-details p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start; /* THIS is the key */
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  color: #fff;
  font-weight: 900;
  animation: popIn 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.highlight-list {
  display: grid;
  gap: 1rem;
}

.highlight-list article {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-list h3 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  color: #222;
  font-weight: 900;
}

.highlight-list p {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.75;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(247, 249, 255, 0.79), rgba(103, 217, 208, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.1;
}

@keyframes rotateSlides {
  0%,
  27% {
    opacity: 1;
    transform: scale(1);
  }

  33%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (max-width: 1100px) {
  .site-header,
  .hero-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .hero-intro {
    justify-self: stretch;
  }

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

@media (max-width: 760px) {
  .site-header {
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .brand-copy {
    align-items: center;
    text-align: center;
  }

  .hero-slide {
    padding: 7rem 1.5rem 2rem;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .hero-intro {
    padding: 0;
  }

  .hero-actions,
  .cta-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-panel {
    width: min(1180px, calc(100% - 2rem));
    margin-bottom: 2.5rem;
  }
}