:root {
  --navy: #06142f;
  --navy-2: #0a2047;
  --navy-3: #102b59;
  --ink: #101c35;
  --white: #ffffff;
  --muted: #a9b6cf;
  --pink: #ec00c9;
  --pink-soft: #ff70de;
  --purple: #773cff;
  --blue: #4d8dff;
  --card: #0d2349;
  --light: #f7f8fc;
  --line: #274872;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px;
  background: #ffffff;
  color: #000000;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 17, 39, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  gap: 24px;
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.site-logo {
  width: 145px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 12px 0;
  color: #e8edf7;
  font-size: 14px;
  font-weight: 650;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transition: right 0.2s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.active::after {
  right: 0;
}

.nav-cta {
  min-width: 112px;
  margin-left: 10px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  padding: 9px 12px;
  border: 1px solid #51688f;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 10px 30px rgba(226, 0, 199, 0.17);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 36px rgba(226, 0, 199, 0.26);
}

.button-small {
  padding: 10px 18px;
  font-size: 14px;
}

.button-outline {
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(7, 19, 45, 0.25);
  box-shadow: none;
}

.button-dark {
  background: var(--navy);
  box-shadow: none;
}

.text-link {
  color: #ff48dc;
  font-weight: 750;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 35px;
  background:
    radial-gradient(circle at 75% 16%, rgba(236, 0, 201, 0.27), transparent 28%),
    radial-gradient(circle at 58% 62%, rgba(79, 55, 255, 0.18), transparent 36%),
    linear-gradient(135deg, #06142f 0%, #0a1b3d 63%, #28145d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 11, 29, 0.25), transparent 45%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  min-height: 520px;
  gap: 14px;
}

.hero-copy {
  z-index: 2;
  padding: 15px 0 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #cdd7ea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(58px, 6.2vw, 92px);
  line-height: 0.91;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(180deg, #ffadf3 0%, #ed56dc 50%, #cd23e6 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 650px;
  color: #eef2f9;
  font-size: 20px;
  font-weight: 540;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  min-width: 0;
  height: 500px;
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  border-radius: 0 26px 26px 0;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-media-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--navy) 0%,
      rgba(6, 20, 47, 0.76) 7%,
      rgba(6, 20, 47, 0.12) 32%,
      transparent 62%
    ),
    linear-gradient(
      180deg,
      transparent 66%,
      rgba(6, 20, 47, 0.38) 100%
    );
}

.feature-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.feature:first-child {
  padding-left: 0;
}

.feature:last-child {
  border-right: 0;
}

.feature b {
  display: block;
  font-size: 15px;
}

.feature small {
  display: block;
  margin-top: 2px;
  color: #c2cce0;
  font-size: 13px;
}

.feature-icon {
  color: #f22bd6;
  font-size: 30px;
  text-align: center;
}

/* Shared sections */

.section {
  padding: 68px 0;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
  color: #b2bfd4;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

/* Events */

.events-section {
  background: linear-gradient(180deg, #071630, #06152e);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-card {
  padding: 20px;
  border: 1px solid #2a4d7d;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #10284f, #0c2144);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.event-topline {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 15px;
}

.event-date {
  display: grid;
  place-items: center;
  width: 66px;
  height: 70px;
  border-radius: 12px;
  background: linear-gradient(180deg, #db0bc9, #9820df);
  font-weight: 900;
  line-height: 1;
}

.event-date span:first-child {
  font-size: 13px;
}

.event-date span:last-child {
  font-size: 29px;
}

.event-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.event-meta,
.venue-line {
  color: #c6d2e5;
  font-size: 13px;
}

.venue-line {
  margin: 14px 0 7px;
}

.event-card p {
  font-size: 14px;
}

/* Games */

.games-section {
  background:
    radial-gradient(circle at 82% 15%, rgba(119, 60, 255, 0.13), transparent 25%),
    #081a38;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(102, 139, 195, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 42, 81, 0.96), rgba(8, 27, 57, 0.96));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.17);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 57, 215, 0.6);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.27);
}

/* Fixed box-art display */
.game-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(119, 60, 255, 0.26), transparent 48%),
    linear-gradient(150deg, #0b1d40, #160d38);
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 33, 0.32));
}

.game-cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.42));
  transition: transform 0.25s ease;
}

.game-card:hover .game-cover img {
  transform: translateY(-4px) scale(1.025);
}

.game-caption {
  padding: 16px;
}

.game-caption h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.2;
}

.game-tagline {
  min-height: 42px;
  margin: 0 0 13px;
  color: #b5c3da;
  font-size: 13px;
}

.game-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.game-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(133, 164, 211, 0.2);
  border-radius: 999px;
  background: rgba(5, 19, 44, 0.55);
  color: #cbd6e9;
  font-size: 11px;
  line-height: 1.2;
}

/* Why / About */

.section-light {
  background: var(--light);
  color: var(--ink);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  align-items: center;
  gap: 36px;
}

.club-photo {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.club-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
}

.checklist {
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin: 11px 0;
  padding-left: 29px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #cf0ac4;
  font-weight: 950;
}

.about-panel {
  padding-left: 36px;
  border-left: 1px solid #d8dfeb;
}

.about-panel p {
  color: #3d4b64;
}

/* Testimonials */

.testimonials-section {
  background: linear-gradient(100deg, #101946, #211052);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.quote {
  margin: 0;
  padding: 22px;
  border: 1px solid #385487;
  border-radius: 14px;
  background: rgba(22, 42, 85, 0.72);
  color: #edf2fb;
  font-size: 15px;
  font-style: italic;
}

.quote cite {
  display: block;
  margin-top: 16px;
  color: #aebbd2;
  font-size: 12px;
  font-style: normal;
}

/* Join band */

.join-band {
  padding: 34px 0;
  background: linear-gradient(110deg, #2631f4, #ea00bf);
}

.join-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.join-band h2 {
  margin: 0 0 6px;
  font-size: 34px;
}

.join-band p {
  margin: 0;
  color: #f2eefe;
}

.join-band .button {
  white-space: nowrap;
  background: #e100c8;
}

/* Inner pages */

.page-hero {
  padding: 72px 0 52px;
  background:
    radial-gradient(circle at 80% 20%, rgba(236, 0, 201, 0.22), transparent 32%),
    linear-gradient(145deg, #08152f, #17154d);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: 58px;
  letter-spacing: -0.04em;
}

.page-hero .lead {
  max-width: 820px;
}

.prose {
  max-width: 800px;
}

.prose p {
  color: #34435f;
  font-size: 18px;
}

.empty-note {
  padding: 20px;
  border-radius: 12px;
  background: #12284d;
}

.venue-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid #29466f;
  border-radius: 18px;
  background: #102449;
}

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

.gallery-item {
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 35, 60, 0.1);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 12px 14px;
  color: #4c5a71;
  font-size: 14px;
}

.gallery-note {
  color: #637089;
}

/* Footer */

.site-footer {
  padding: 40px 0 22px;
  background: #051125;
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-logo-link img {
  width: 120px;
  height: auto;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.footer-grid nav a,
.footer-social a {
  color: #e8edf8;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #20365b;
  color: #93a1bb;
  font-size: 12px;
}

/* Responsive */

@media (max-width: 1180px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }

  .site-logo {
    width: 125px;
  }

  .nav-wrap {
    min-height: 104px;
  }

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

  .hero h1 {
    font-size: 64px;
  }

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

  .about-panel {
    grid-column: 1 / -1;
    padding: 28px 0 0;
    border-top: 1px solid #d8dfeb;
    border-left: 0;
  }

  .feature {
    padding: 12px 16px;
  }
}

@media (max-width: 850px) {
  .wrap {
    width: min(100% - 28px, 1240px);
  }

  .nav-wrap {
    min-height: 90px;
  }

  .site-logo {
    width: 105px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 90px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 28px 28px;
    border-top: 1px solid #20375e;
    background: #06142f;
  }

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

  .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding-top: 28px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-media {
    height: 380px;
    margin-top: -12px;
  }

  .hero-media img {
    border-radius: 20px;
  }

  .hero-media-fade {
    background:
      linear-gradient(
        180deg,
        var(--navy) 0%,
        transparent 22%,
        transparent 72%,
        rgba(6, 20, 47, 0.4) 100%
      );
  }

  .feature-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .feature {
    padding: 16px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .feature:first-child {
    padding-left: 12px;
  }

  .event-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .about-panel {
    grid-column: auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-link img {
    margin-inline: auto;
  }

  .footer-grid nav {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .join-band-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .game-cover {
    padding: 12px;
  }

  .game-caption {
    padding: 13px;
  }

  .game-caption h3 {
    font-size: 16px;
  }

  .game-tagline {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 49px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    height: 300px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 30px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .page-hero h1 {
    font-size: 44px;
  }

  .join-band h2 {
    font-size: 30px;
  }
}

/* Ensure CTA buttons always use white text */
a.button,
a.button:link,
a.button:visited,
a.button:hover,
a.button:active {
  color: #ffffff;
}
