html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
    background-color: rgb(0, 0, 0);
    font-family: Montserrat, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background-color: #000000; /* navbar colour */
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Center links */
.nav-center {
  display: flex;
  gap: min(180px, 8vw);
}

.nav-center a {
  color: white;
  text-decoration: none;
  font-weight: 1000;
  font-size: 2.25rem;
  padding-top: 10px;
  font-family: "bebas neue", sans-serif;
}

.nav-center a:hover {
  color: rgb(62, 134, 183);
}

/* Auth section */
.nav-auth {
  display: flex;
  gap: 12px;
  opacity: 0; /* hidden until Firebase resolves auth state — prevents login/signup flash */
  transition: opacity 0.12s ease;
}
html.auth-resolved .nav-auth { opacity: 1; }

.signup {
  background: rgb(62, 134, 183);
  color: white;
  padding: 12px 32px;
  border-radius: 0;
  border: 2px solid rgb(62, 134, 183);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 1000;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-18deg);
  transition: opacity 120ms ease;
}

.login {
  border: 2px solid white;
  color: white;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 32px;
  border-radius: 0;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 1000;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-18deg);
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

/* Hover effect */
.signup:hover {
  opacity: 0.85;
}

.login:hover {
  background: white;
  color: #1b1b1b;
  border-color: white;
}

.admin-nav-link {
  border: 2px solid #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 12px 24px;
  border-radius: 0;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-18deg);
  transition: background 120ms ease, color 120ms ease;
}
.admin-nav-link:hover {
  background: #f59e0b;
  color: #000;
}

.navbar  {
  margin-left: 20px;
  text-decoration: none;
}
.logo img {
    height: 77px;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

.profilebutton img {
    height: 63px;
}

.profilebutton a {
  display: inline-block;
  text-decoration: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  
}


.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: white;
  background: transparent;
  z-index: 3;
  pointer-events: none;
}

.hero-text {
  flex: 1;
  min-width: 0;
  align-self: flex-start;
  padding-top: 4vh;
  padding-left: clamp(40px, 12vw, 280px);
  pointer-events: auto;
}

.hero-video {
  flex: 0 0 auto;
  align-self: center;
  width: min(380px, 25vw);
  height: min(700px, 80vh);
  margin-right: 16vw;
  object-fit: cover;
  background: rgba(0,0,0,0.35);
  border: 5px solid rgba(62, 134, 183, 0.6);
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(0,0,0,0.3);
  pointer-events: auto;
}

.hero-image-right {
  flex: 0 0 auto;
  align-self: center;
  /* Let the image determine its own proportions — border wraps the full image */
  width: auto;
  height: auto;
  max-width: clamp(280px, 40vw, 620px);
  max-height: 76vh;
  margin-right: 6vw;
  display: block;
  border: 5px solid rgba(62, 134, 183, 0.6);
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(0,0,0,0.35);
  pointer-events: auto;
}

.hero-overlay h1 {
  font-size: min(5.4rem, 6vw);
  margin: 0;
  margin-top: 7px;
  font-family: "bebas neue", sans-serif;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-overlay p {
  margin-top: clamp(20px, 5vh, 50px);
  font-size: min(2.7rem, 3vw);
  color: rgb(255, 255, 255);
  font-weight: 500;
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  margin-top: clamp(16px, 4vh, 44px);
  gap: 0;
}
/* ─── Countdown banner ─── */
.countdown-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  overflow: hidden;
  background: rgb(62, 134, 183);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.countdown-track {
  display: inline-flex;
  white-space: nowrap;
  animation: countdown-scroll 32s linear infinite;
}

.countdown-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes countdown-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Hero sign-up button ─── */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.hero-signup-btn {
  --shiny-cta-bg:        rgb(62,134,183);
  --shiny-cta-highlight: rgba(255,255,255,0.85);

  display: inline-block;
  margin-top: clamp(14px, 2vh, 24px);
  padding: 32px 140px;
  isolation: isolate;
  position: relative;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 6px;
  color: #fff;
  text-decoration: none;
  transform: skewX(-18deg);
  border-radius: 0;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
      from var(--gradient-angle),
      transparent,
      var(--shiny-cta-highlight) 5%,
      white 10%,
      var(--shiny-cta-highlight) 15%,
      transparent 20%
    ) border-box;
  animation: gradient-angle 3s linear infinite;
}

.hero-signup-btn::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  --position: 2px;
  --space: calc(var(--position) * 2);
  background: radial-gradient(
    circle at var(--position) var(--position),
    white calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  animation: gradient-angle 3s linear infinite;
  opacity: 0.35;
}

.hero-signup-btn span {
  display: inline-block;
  transform: skewX(18deg);
}

.hero-signup-btn:active { translate: 0 1px; }

@keyframes gradient-angle { to { --gradient-angle: 360deg; } }

.hero-tagline span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  letter-spacing: 0.04em;
}

.brand {
  color: rgb(62, 134, 183);
}
footer {
text-align: center;
margin-top: auto;
padding: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.about {
  background: black;
  padding: 100px 20px;
}

.about-section {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 280px;
  min-width: 0;
  color: white;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.5rem;
  line-height: 1.7;
  opacity: 0.9;
}

.about-image {
  flex: 1 1 280px;
  text-align: center;
}

.about-image img,
.about-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 10px solid rgba(62, 134, 183, 0.6);
  display: block;
}

/* Responsive clickable boxes */
.quick-links{
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr;     /* mobile: stacked */
  gap: 24px;
}

/* desktop: two columns */
@media (min-width: 900px){
  .quick-links{
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Membership section ─── */
.membership-section {
  width: 100%;
  background: #000;
  padding: 72px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ms-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ms-text {
  flex: 1;
  min-width: 260px;
}

.ms-badge {
  display: inline-block;
  background: rgba(62,134,183,0.15);
  border: 1px solid rgba(62,134,183,0.45);
  border-radius: 999px;
  color: rgb(62,134,183);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 18px;
}

.ms-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 18px;
}

.ms-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 460px;
}

.ms-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ms-perks li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ms-perks li::before {
  content: "✓";
  color: rgb(62,134,183);
  font-weight: 700;
  flex-shrink: 0;
}

.ms-price-card {
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 40px;
  text-align: center;
  width: 280px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  align-self: center;
}

.ms-price-amount {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 4.5rem;
  color: rgb(62,134,183);
  line-height: 1;
  margin-bottom: 4px;
}

.ms-price-per {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.ms-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 32px;
  border: 2px solid rgb(62,134,183);
  background: rgb(62,134,183);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transform: skewX(-18deg);
  transition: opacity 120ms ease;
  display: block;
}

.ms-btn:hover { opacity: 0.85; }

.ms-btn--disabled {
  cursor: not-allowed;
  opacity: 0.45;
  background: rgba(62,134,183,0.5);
  border-color: rgba(62,134,183,0.5);
}
.ms-btn--disabled:hover { opacity: 0.45; }

.ms-btn--active {
  cursor: default;
  background: rgba(74,222,128,0.15);
  border-color: rgba(74,222,128,0.4);
  color: #4ade80;
}
.ms-btn--active:hover { opacity: 1; }

/* ─── Bell notification ─────────────────────────────────────── */
.bell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.bell-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, border-color 160ms ease;
  flex-shrink: 0;
}
.bell-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

.bell-dot {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #000;
  display: none;
}
.bell-dot.visible { display: block; }

.notif-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 288px;
  background: rgba(8, 12, 22, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.34,1.4,0.64,1);
  z-index: 500;
  overflow: hidden;
}
.notif-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.notif-header {
  padding: 12px 16px 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-mark-all-btn {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255,255,255,0.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 120ms ease;
  white-space: nowrap;
}
.notif-mark-all-btn:hover { color: rgba(255,255,255,0.75); }
.notif-mark-all-btn.hidden { display: none; }

.notif-count-badge {
  background: rgb(62,134,183);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 10px;
  letter-spacing: 0;
}
.notif-count-badge.hidden { display: none; }

.notif-list {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.notif-list::-webkit-scrollbar { width: 3px; }
.notif-list::-webkit-scrollbar-track { background: transparent; }
.notif-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: default;
  transition: background 120ms ease;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,0.04); }
.notif-item.unread { background: rgba(62,134,183,0.07); }

.notif-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(62,134,183,0.15);
  border: 1px solid rgba(62,134,183,0.25);
  color: rgb(62,134,183);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.notif-item-icon--accepted {
  background: #4ae183;
  border-color: #4ae183;
  color: #fff;
}

.notif-item-icon--declined {
  background: rgba(220,50,50,0.25);
  border-color: rgba(220,50,50,0.5);
  color: #fff;
}

.notif-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.notif-item-text {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.45;
}
.notif-item-text strong { color: rgba(255,255,255,0.95); }
.notif-item-time {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
}

.notif-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(62,134,183);
  flex-shrink: 0;
  margin-top: 6px;
}

.notif-empty {
  padding: 24px 18px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.notif-empty svg {
  color: rgba(255,255,255,0.2);
  margin-bottom: 4px;
}
.notif-empty p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.notif-empty span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
}

.ms-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

.ms-video-wrap {
  flex: 0 0 360px;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.ms-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Promo banner ──────────────────────────────────────────────────────── */
.ms-promo-banner {
  display: table;
  margin: 0 auto 36px;
  background: linear-gradient(135deg, rgba(34,211,238,0.12) 0%, rgba(74,222,128,0.08) 100%);
  border: 1px solid rgba(34,211,238,0.4);
  border-radius: 12px;
  padding: 16px 32px;
  box-shadow: 0 0 28px rgba(34,211,238,0.12), inset 0 1px 0 rgba(34,211,238,0.1);
}

.ms-promo-text {
  margin: 0;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.ms-promo-text strong {
  color: #22d3ee;
  font-weight: 700;
}

.quick-card{
  position: relative;
  display: block;
  text-decoration: none;
  color: white;

  border-radius: 18px;
  overflow: hidden;

  min-height: 220px;
  padding: 26px;

  /* Base background until you add images */
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(62, 134, 183, 0.35);

  box-shadow: 0 16px 50px rgba(0,0,0,0.35);

  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-card:hover{
  transform: translateY(-10px);
  border-color: rgba(62, 134, 183, 0.7);
  box-shadow: 0 22px 70px rgba(0,0,0,0.45);
}

/* Optional: visible focus for keyboard users */
.quick-card:focus{
  outline: 3px solid rgb(62, 134, 183, 0.9);
  outline-offset: 3px;
}

/* Overlay gradient so text stays readable over images */
.quick-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.20)
  );
  z-index: 0;
}

/* Content stays above overlay */
.quick-card__content{
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.quick-card__title{
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
}

.quick-card__text{
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 1000;
}

/* OPTIONAL: placeholders for images (swap these later) */
.quick-card.venues{
  background-image: url("venues.avif");
  background-size: cover;
  background-position: center;
}

.quick-card.member{
  background-image: url("member.jpg");   /* replace later */
  background-size: cover;
  background-position: center;
}

/* Fills the card with the <img> tag — just set src in index.html */
.quick-card__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Placeholder shown while src is empty / image hasn't loaded */
.quick-card__bg-img:not([src]),
.quick-card__bg-img[src=""] {
  background: repeating-linear-gradient(
    45deg,
    rgba(62, 134, 183, 0.08) 0px,
    rgba(62, 134, 183, 0.08) 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}
/* ─── Homepage social section ─── */
.home-social {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.home-social__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.home-social__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}
.home-social__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}
.home-social__link:hover { background: rgba(255,255,255,0.07); color: #fff; }
.home-social__icon { width: 24px; height: 24px; flex-shrink: 0; }
.home-social__link--instagram .home-social__icon { color: #E1306C; }
.home-social__link--facebook  .home-social__icon { color: #1877F2; }

.hidden {
  display: none;
}

/* ─────────────────────────────────────────
   MOBILE — Main Nav
───────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Membership section mobile ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .membership-section { padding: 48px 16px; }

  .ms-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .ms-price-card {
    width: 100%;
    padding: 28px 24px;
  }

  .ms-btn {
    transform: none;
    border-radius: 0;
  }

  .ms-video-wrap {
    flex: 0 0 auto;
    width: 100%;
  }

  .ms-promo-banner {
    padding: 14px 18px;
  }
}

@media (max-width: 768px) {
  .countdown-banner { padding: 8px 0; }
  .countdown-text { font-size: 1rem; letter-spacing: 1.5px; }
  nav {
    padding: 10px 16px;
    position: relative;
    flex-wrap: wrap;
  }
  .nav-hamburger { display: flex; }
  .nav-center {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-direction: column;
    padding: 4px 0;
    z-index: 500;
    gap: 0;
  }
  .nav-center.open { display: flex; }
  .nav-center a {
    font-size: 1.6rem;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-center a:last-child { border-bottom: none; }
  .nav-auth { gap: 8px; }
  .nav-auth .signup,
  .nav-auth .login {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .logo img { height: 52px; }
  .profilebutton img { height: 44px; }

  /* Hero */
  .hero { height: 55vh; }
  .hero-video { display: none; }
  .hero-image-right { display: none; }
  .hero-overlay {
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 20px;
  }
  .hero-text {
    padding-top: 8vh;
    padding-left: 0;
  }
  .hero-overlay h1 { font-size: 2.8rem; }
  .hero-overlay p  { font-size: 1.2rem; margin-top: 16px; }
  .hero-tagline span { font-size: 2.4rem; }
  .hero-tagline { margin-top: 10px; }
  .hero-signup-btn { display: none; }

  /* Quick links */
  .quick-links { margin: 32px auto; }
  .quick-card { min-height: 180px; padding: 20px; }
  .quick-card__title { font-size: 2.2rem; }
  .quick-card__text  { font-size: 1rem; }

  /* Social section */
  .home-social { margin-bottom: 40px; }
  .home-social__title { font-size: 1.3rem; }
  .home-social__link  { padding: 11px 14px; font-size: 0.88rem; }

  /* About section */
  .about { padding: 60px 20px; }
  .about-section { gap: 28px; }
  .about-text h2 { font-size: 1.75rem; margin-bottom: 14px; }
  .about-text p  { font-size: 1.05rem; line-height: 1.6; }
  .about-image { flex: 0 0 100%; }
}

@media (max-width: 480px) {
  .nav-auth { gap: 12px; }
  .nav-auth .signup,
  .nav-auth .login { padding: 6px 10px; font-size: 0.78rem; }
  .hero { height: 38vh; }
  .hero-overlay h1  { font-size: 2.2rem; }
  .hero-overlay p   { font-size: 1rem; }
  .about { padding: 48px 16px; }
  .about-text h2 { font-size: 1.45rem; }
  .about-text p  { font-size: 0.95rem; }

  /* Quick links — tighter padding on tiny screens */
  .quick-links { padding: 0 12px; margin: 24px auto; }
  .quick-card { min-height: 160px; padding: 18px; }
  .quick-card__title { font-size: 1.9rem; }
  .quick-card__text  { font-size: 0.92rem; }
  .hero-tagline span { font-size: 2rem; }
  .home-social { margin-bottom: 28px; padding: 0 12px; }
  .home-social__links { max-width: 100%; }

  /* Membership — tighter at very small */
  .ms-price-card { padding: 22px 18px; }
  .ms-price-amount { font-size: 3.8rem; }
  .ms-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .ms-sub { font-size: 0.9rem; }

  /* Footer */
  footer { padding: 14px 12px; font-size: 0.78rem; }
}

/* ─── Notification accept / decline buttons ──────────────────────────────── */
.notif-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.notif-accept-btn,
.notif-decline-btn,
.notif-pay-btn {
  padding: 5px 12px;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
  font-family: inherit;
}
.notif-accept-btn:disabled,
.notif-decline-btn:disabled,
.notif-pay-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.notif-pay-btn { padding: 8px 16px; }

.notif-accept-btn {
  background: rgba(62,183,100,0.25);
  border: 1px solid rgba(62,183,100,0.5);
  color: #fff;
}
.notif-accept-btn:hover:not(:disabled) {
  background: rgba(62,183,100,0.35);
  border-color: rgba(62,183,100,0.65);
}

.notif-pay-btn {
  display: inline-block;
  background: rgba(74,225,131,0.35);
  border: 1px solid #4ae183;
  border-radius: 0;
  color: #fff;
}
.notif-pay-btn:hover:not(:disabled) {
  background: #fff;
  color: #4ae183;
  border-color: #4ae183;
}

.notif-decline-btn {
  background: rgba(220,50,50,0.25);
  border: 1px solid rgba(220,50,50,0.5);
  color: #fff;
}
.notif-decline-btn:hover:not(:disabled) {
  background: rgba(220,50,50,0.35);
  border-color: rgba(220,50,50,0.65);
}

/* ─── Team-naming modal ───────────────────────────────────────────────────── */
.tn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.tn-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.tn-modal {
  background: #201f1f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 28px 24px 24px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(10px);
  transition: transform 220ms cubic-bezier(0.34,1.4,0.64,1);
}
.tn-overlay.open .tn-modal { transform: translateY(0); }

.tn-label {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.92);
}

.tn-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

.tn-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #fff;
  outline: none;
  margin-top: 4px;
  font-family: inherit;
  transition: border-color 150ms ease;
}
.tn-input:focus { border-color: rgba(34,211,238,0.5); }
.tn-input::placeholder { color: rgba(255,255,255,0.2); }

.tn-error {
  margin: 0;
  font-size: 0.76rem;
  color: #f87171;
  min-height: 1em;
}

.tn-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.tn-confirm {
  width: 100%;
  padding: 14px 24px;
  background: rgb(62, 134, 183);
  border: 2px solid rgb(62, 134, 183);
  color: #fff;
  border-radius: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-18deg);
  cursor: pointer;
  transition: opacity 120ms ease;
}
.tn-confirm:hover { opacity: 0.85; }
.tn-confirm:disabled { opacity: 0.5; cursor: not-allowed; }

.tn-confirm-danger {
  width: 100%;
  padding: 14px 24px;
  background: rgb(220,50,50);
  border: 2px solid rgb(220,50,50);
  color: #fff;
  border-radius: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-18deg);
  cursor: pointer;
  transition: opacity 120ms ease;
}
.tn-confirm-danger:hover { opacity: 0.82; }
.tn-confirm-danger:disabled { opacity: 0.5; cursor: not-allowed; }

/* Decline Invite modal — matches the Cancel Registration confirm dialog's theme */
#dcOverlay .tn-modal {
  border: 1px solid rgb(62,134,183);
  border-radius: 14px;
}
#dcOverlay .tn-subtitle { color: #fff; }

.tn-cancel-btn {
  width: 100%;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: skewX(-18deg);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.tn-cancel-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ─── Court video section ───────────────────────────────────────────────────── */
.cv-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 480px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cv-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.35));
  pointer-events: none;
  z-index: 1;
}
.cv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Mobile notification dropdown ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .cv-section { height: 240px; }

  .bell-btn {
    width: 44px;
    height: 44px;
  }

  /* Switch from absolute (relative to bell) to fixed (relative to viewport)
     so the dropdown never overflows the screen edge on narrow phones */
  .notif-dropdown {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 0 16px 16px;
    z-index: 600;
  }

  .notif-list {
    max-height: 65vh;
  }
}

/* ─── Age + Rules prereq section (enter-league modal & accept-invite modal) ─── */
.cl-age-opt,
.cl-rules-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.45;
  margin-bottom: 8px;
}
.cl-age-opt input,
.cl-rules-opt input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: rgb(62,134,183);
  cursor: pointer;
  width: 15px;
  height: 15px;
}
.cl-age-opt span,
.cl-rules-opt span { flex: 1; }
.cl-rules-opt { margin-top: 14px; }

.cl-modal-body .cl-age-opt,
.cl-modal-body .cl-rules-opt { color: #fff; }

