:root {
  --beige: #E8E0D5;
  --beige-dark: #D4C9BA;
  --navy: #1B2D6E;
  --navy-light: #2B4099;
  --navy-muted: #3A4F8C;
  --cream: #F5F0E8;
  --warm-white: #FAF7F2;
  --text-dark: #1a1a2e;
  --text-muted: #5a6380;
  --grid-color: rgba(27,45,110,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }


body { font-family: 'DM Sans', sans-serif; background: var(--beige); color: var(--text-dark); overflow-x: hidden; }

/* ─── GRID BG ─── */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridWarp 20s ease-in-out infinite alternate;
}
@keyframes gridWarp {
  0% { transform: perspective(800px) rotateX(0deg); }
  100% { transform: perspective(800px) rotateX(2deg) scale(1.02); }
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem;
  background: transparent; backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
nav.scrolled {
  padding: 0.7rem 3rem;
  background: rgba(232,224,213,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(27,45,110,0.08);
  box-shadow: 0 4px 32px rgba(27,45,110,0.07);
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; display: block; transition: transform 0.3s; }
.nav-logo:hover img { transform: scale(1.06); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: 0.1em; color: #fff; transition: color 0.4s; }
.nav-logo-sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: color 0.4s; }
nav.scrolled .nav-logo-name { color: var(--navy); }
nav.scrolled .nav-logo-sub { color: var(--navy-muted); }

.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: #fff; text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.3s ease;
  position: relative;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.38rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.3);
}
.nav-links a:hover { background: rgba(255,255,255,0.28); }
nav.scrolled .nav-links a {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  color: var(--navy);
}
/* Kill all underline indicators */
.nav-links a::before, .nav-links a::after { display: none !important; }

.nav-cta {
  background: var(--navy) !important; color: var(--beige) !important;
  padding: 0.5rem 1.4rem !important; border-radius: 100px;
  transition: background 0.2s, transform 0.2s !important;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--navy-light) !important; transform: translateY(-2px); }

/* Nav pill style — transparent hero state */
.nav-pill {
  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 0.38rem 1.1rem !important;
  border-radius: 100px !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1) !important;
  text-decoration: none !important;
}
.nav-pill:hover { background: rgba(255,255,255,0.28) !important; }

/* When nav is scrolled — strip pills, go navy text */
nav.scrolled .nav-pill {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: transparent !important;
  color: var(--navy) !important;
}
nav.scrolled .nav-logo-name { color: var(--navy); }
nav.scrolled .nav-logo-sub { color: var(--navy-muted); }

.nav-user-chip {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--beige-dark); border-radius: 100px;
  padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--navy);
}
.nav-logout {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.7); color: rgba(255,255,255,0.9);
  padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.8rem;
  font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.nav-logout:hover { background: white; color: var(--navy); }
#mainNav.scrolled .nav-logout { border-color: var(--navy); color: var(--navy); }
#mainNav.scrolled .nav-logout:hover { background: var(--navy); color: var(--beige); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--navy); color: var(--beige);
  padding: 0.9rem 2.2rem; border-radius: 100px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(27,45,110,0.25); }
.btn-secondary {
  background: transparent; color: var(--navy);
  padding: 0.9rem 2.2rem; border-radius: 100px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em;
  text-decoration: none; border: 2px solid var(--navy); cursor: pointer;
  transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { background: var(--navy); color: var(--beige); transform: translateY(-3px); }

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; padding: 6rem 3rem; }
.section-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--navy-muted); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--navy); display: inline-block; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); color: var(--navy); line-height: 0.95; letter-spacing: -0.01em; }
.section-title em { font-family: 'DM Serif Display', serif; font-style: italic; }

/* ─── PAGE BANNER (inner pages) ─── */
.page-banner {
  position: relative; z-index: 1;
  min-height: 36vh; display: flex; align-items: flex-end;
  padding: 8rem 3rem 3rem; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 8vw, 6rem); color: var(--beige); line-height: 0.9; }
.page-banner h1 em { font-family: 'DM Serif Display', serif; font-style: italic; color: rgba(232,224,213,0.7); }
.page-banner p { color: rgba(232,224,213,0.7); font-size: 1rem; margin-top: 0.75rem; }
.page-banner-pb { position: absolute; right: 5%; bottom: -10px; display: flex; gap: 1rem; opacity: 0.08; }
.page-banner-pb span { font-family: 'Bebas Neue', sans-serif; font-size: 8rem; color: white; }

/* ─── FORM ─── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; }
.form-control {
  padding: 0.75rem 1rem; border-radius: 10px;
  border: 1.5px solid var(--beige-dark); background: var(--warm-white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,45,110,0.08); }
select.form-control { cursor: pointer; }

/* ─── MARQUEE ─── */
.marquee-section { background: var(--navy); padding: 1.2rem 0; overflow: hidden; position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 0; animation: marqueeScroll 20s linear infinite; white-space: nowrap; width: max-content; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { padding: 0 1.5rem; }
.marquee-item { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--beige); letter-spacing: 0.15em; opacity: 0.7; flex-shrink: 0; display: flex; align-items: center; gap: 1rem; }
.marquee-divider { color: var(--beige); opacity: 0.3; font-size: 0.6rem; }

/* ─── FOOTER ─── */
footer { position: relative; z-index: 1; background: var(--navy); color: var(--beige); padding: 5rem 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 4rem; }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.1em; margin-bottom: 0.5rem; color: var(--beige); }
.footer-tagline { font-style: italic; opacity: 0.6; font-size: 0.85rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; color: var(--beige); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.social-btn:hover { background: var(--beige); color: var(--navy); transform: translateY(-3px); }
.footer-col h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 1.25rem; opacity: 0.5; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(232,224,213,0.75); text-decoration: none; font-size: 0.88rem; transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-col ul li a:hover { color: var(--beige); transform: translateX(4px); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; opacity: 0.5; flex-wrap: wrap; gap: 0.5rem; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── MODAL ─── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(27,45,110,0.6); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--warm-white); border-radius: 24px; padding: 2.5rem; max-width: 520px; width: 90%; transform: scale(0.9) translateY(20px); transition: transform 0.3s ease; position: relative; }
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--navy); letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.modal-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: var(--beige); border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.modal-close:hover { transform: rotate(90deg); }

/* ─── AUTH ─── */
.auth-tabs { display: flex; border-radius: 100px; background: var(--beige); padding: 4px; margin-bottom: 1.5rem; gap: 4px; }
.auth-tab { flex: 1; padding: 0.55rem; border-radius: 100px; border: none; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.25s ease; }
.auth-tab.active { background: var(--navy); color: var(--beige); box-shadow: 0 2px 8px rgba(27,45,110,0.2); }
.auth-form { display: none; }
.auth-form.active { display: block; }

/* ─── PIKOL ASSIST ─── */
.pikol-assist { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; width: 68px; height: 68px; cursor: pointer; animation: pikolAssistFloat 3.5s ease-in-out infinite; }
.pikol-assist:hover .pikol-assist-bubble { opacity: 1; transform: translateX(0) translateY(-50%) scale(1); }
.pikol-assist img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(27,45,110,0.3)); }
@keyframes pikolAssistFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pikol-assist-bubble { position: absolute; right: 78px; top: 50%; transform: translateX(10px) translateY(-50%) scale(0.9); background: var(--navy); color: var(--beige); padding: 0.45rem 0.9rem; border-radius: 20px 20px 0 20px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); pointer-events: none; box-shadow: 0 4px 16px rgba(27,45,110,0.2); }
.pikol-assist-bubble::after { content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--navy); }

/* ─── INQUIRY PANEL ─── */
.inquiry-panel { position: fixed; bottom: 6.5rem; right: 2rem; z-index: 499; width: 340px; background: var(--warm-white); border-radius: 20px; box-shadow: 0 24px 60px rgba(27,45,110,0.18); border: 1px solid var(--beige-dark); display: flex; flex-direction: column; overflow: hidden; transform: scale(0.85) translateY(20px); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.inquiry-panel.open { opacity: 1; pointer-events: all; transform: scale(1) translateY(0); }
.inquiry-header { background: var(--navy); color: var(--beige); padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.inquiry-close { background: rgba(255,255,255,0.15); border: none; color: var(--beige); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.inquiry-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.inquiry-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; max-height: 300px; }
.inquiry-messages::-webkit-scrollbar { width: 4px; }
.inquiry-messages::-webkit-scrollbar-thumb { background: var(--beige-dark); border-radius: 4px; }
.msg-pikol { display: flex; align-items: flex-end; gap: 0.5rem; animation: msgSlideIn 0.4s ease both; }
.msg-user { display: flex; justify-content: flex-end; animation: msgSlideIn 0.3s ease both; }
@keyframes msgSlideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.msg-avatar { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; margin-bottom: 2px; }
.msg-bubble { background: var(--beige); color: var(--text-dark); padding: 0.65rem 0.9rem; border-radius: 16px 16px 16px 4px; font-size: 0.83rem; line-height: 1.5; max-width: 230px; }
.msg-user .msg-bubble { background: var(--navy); color: var(--beige); border-radius: 16px 16px 4px 16px; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; padding-left: 36px; }
.quick-btn { background: var(--warm-white); color: var(--navy); border: 1.5px solid var(--navy); padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.quick-btn:hover { background: var(--navy); color: var(--beige); transform: translateY(-2px); }
.inquiry-input-wrap { padding: 0.75rem 1rem; display: flex; gap: 0.5rem; align-items: center; border-top: 1px solid var(--beige-dark); flex-shrink: 0; }
.inquiry-input { flex: 1; padding: 0.6rem 0.9rem; border: 1.5px solid var(--beige-dark); border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; outline: none; background: var(--beige); transition: border-color 0.2s; }
.inquiry-input:focus { border-color: var(--navy); }
.inquiry-send { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--beige); border: none; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.inquiry-send:hover { background: var(--navy-light); transform: scale(1.1); }

/* ─── TOAST ─── */
.toast { position: fixed; bottom: 7rem; right: 2rem; z-index: 600; background: var(--navy); color: var(--beige); padding: 1rem 1.5rem; border-radius: 12px; font-size: 0.88rem; font-weight: 500; transform: translateY(80px); opacity: 0; transition: all 0.4s ease; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 8px 24px rgba(27,45,110,0.3); max-width: 340px; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── TOURNAMENT CARDS ─── */
.tournaments-inner { max-width: 1200px; margin: 0 auto; }
.tournament-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.tournament-card { background: var(--warm-white); border-radius: 20px; overflow: hidden; border: 1px solid var(--beige-dark); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.tournament-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(27,45,110,0.12); }
.card-banner { height: 180px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; font-family: 'Bebas Neue', sans-serif; color: rgba(255,255,255,0.08); font-size: 6rem; letter-spacing: -0.05em; }
.card-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(27,45,110,0.7) 100%); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 0.4rem; }
.badge { padding: 0.25rem 0.65rem; border-radius: 100px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-open { background: #7CFC00; color: #1a2e00; }
.badge-soon { background: #FFD700; color: #4a3800; }
.badge-featured { background: var(--navy); color: var(--beige); }
.card-body { padding: 1.5rem; }
.card-date { font-size: 0.75rem; color: var(--navy-muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--navy); line-height: 1.1; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.2rem; }
.meta-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--text-muted); }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--beige-dark); }
.entry-fee { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--navy); }
.entry-fee small { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.btn-register { background: var(--navy); color: var(--beige); padding: 0.55rem 1.3rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; letter-spacing: 0.04em; font-family: 'DM Sans', sans-serif; }
.btn-register:hover { background: var(--navy-light); transform: scale(1.05); }
.btn-register-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 0.55rem 1.3rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-register-outline:hover { background: var(--navy); color: var(--beige); }

/* ─── MEMBERSHIP ─── */
.membership-inner { max-width: 1100px; margin: 0 auto; }
.membership-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.plan-card { background: var(--warm-white); border-radius: 20px; padding: 2rem; border: 1.5px solid var(--beige-dark); transition: all 0.3s ease; position: relative; overflow: hidden; }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--beige-dark); }
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(27,45,110,0.1); }
.plan-card.featured { background: var(--navy); color: var(--beige); border-color: var(--navy); }
.plan-card.featured::before { background: #7CFC00; }
.plan-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 1rem; }
.plan-card.featured .plan-tag { color: rgba(255,255,255,0.6); }
.plan-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--navy); line-height: 1; margin-bottom: 0.25rem; }
.plan-card.featured .plan-name { color: var(--beige); }
.plan-price { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--navy); line-height: 1.1; margin-bottom: 1.5rem; }
.plan-price small { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 400; opacity: 0.6; }
.plan-card.featured .plan-price { color: var(--beige); }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.plan-card.featured .plan-features li { border-bottom-color: rgba(255,255,255,0.1); }
.plan-features li::before { content: '✓'; font-size: 0.7rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: var(--beige); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan-card.featured .plan-features li::before { background: #7CFC00; color: #1a2e00; }
.plan-btn { width: 100%; padding: 0.85rem; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; border: 2px solid var(--navy); background: transparent; color: var(--navy); letter-spacing: 0.05em; }
.plan-card.featured .plan-btn { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.plan-btn:hover { background: var(--navy); color: var(--beige); transform: translateY(-2px); }
.plan-card.featured .plan-btn:hover { background: #7CFC00; border-color: #7CFC00; }

/* ─── BOOKING ─── */
.booking-layout { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.court-sidebar { background: var(--navy); border-radius: 20px; padding: 1.5rem; color: var(--beige); position: sticky; top: 100px; }
.court-sidebar h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.05em; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 0.75rem; }
.court-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: 12px; margin-bottom: 0.5rem; cursor: pointer; transition: background 0.2s; border: 1.5px solid transparent; }
.court-item:hover, .court-item.active { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.court-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.court-dot.green { background: #7CFC00; }
.court-dot.yellow { background: #FFD700; }
.court-dot.red { background: #FF6B6B; }
.court-name { font-weight: 500; font-size: 0.9rem; flex: 1; }
.court-status { font-size: 0.72rem; opacity: 0.7; }
.sidebar-legend { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.legend-title { font-size: 0.72rem; opacity: 0.6; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.legend-items { display: flex; flex-direction: column; gap: 0.4rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; opacity: 0.8; }
.booking-form-wrap { background: var(--warm-white); border-radius: 20px; padding: 2.5rem; border: 1px solid var(--beige-dark); box-shadow: 0 4px 24px rgba(27,45,110,0.06); }
.time-slots-label { font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.5rem; margin-bottom: 1.5rem; }
.time-slot { padding: 0.6rem; border-radius: 8px; text-align: center; font-size: 0.82rem; font-weight: 500; cursor: pointer; border: 1.5px solid var(--beige-dark); background: var(--warm-white); transition: all 0.2s; }
.time-slot:hover:not(.booked) { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.time-slot.selected { background: var(--navy); color: var(--beige); border-color: var(--navy); }
.time-slot.booked { background: var(--beige-dark); color: var(--text-muted); cursor: not-allowed; opacity: 0.5; text-decoration: line-through; }
.booking-summary { background: var(--beige); border-radius: 12px; padding: 1.2rem 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--beige-dark); }
.summary-left { font-size: 0.85rem; color: var(--text-muted); }
.summary-price { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--navy); }
.summary-per { font-size: 0.7rem; opacity: 0.6; }

/* ─── GALLERY ─── */
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 0.75rem; margin-top: 3rem; border-radius: 20px; overflow: hidden;
}
.gallery-item { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.2); font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.1em; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.4s ease; }
.gallery-item:hover { transform: scale(1.02); z-index: 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.gallery-item:nth-child(1) { grid-row: 1 / 3; }
.gallery-overlay { position: absolute; inset: 0; background: var(--navy); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; color: var(--beige); font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.1em; }
.gallery-item:hover .gallery-overlay { opacity: 0.5; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); margin-top: 1.5rem; }
.about-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.pill { background: var(--navy); color: var(--beige); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; transition: transform 0.2s, background 0.2s; cursor: default; }
.pill:hover { transform: translateY(-3px) scale(1.05); background: var(--navy-light); }
.about-visual { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: 24px; display: flex; align-items: center; justify-content: center; color: var(--beige); overflow: hidden; position: relative; box-shadow: 0 24px 60px rgba(27,45,110,0.2); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,45,110,0.6) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 1.5rem; color: var(--beige); font-size: 0.9rem; font-weight: 500; }
.about-img-float { position: absolute; bottom: -20px; right: -20px; width: 160px; aspect-ratio: 1; background: var(--beige); border: 3px solid var(--navy); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; text-align: center; box-shadow: 0 12px 32px rgba(0,0,0,0.12); animation: floatCard 3s ease-in-out infinite; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--navy); line-height: 1; }
.float-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* ─── STATS BAND ─── */
.stats-band {
  position: relative; z-index: 1; background: var(--navy);
  padding: 2.5rem 3rem; display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
  overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px
  );
  animation: statsBgMove 8s linear infinite;
}
.stats-band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(43,64,153,0.55) 0%, transparent 70%);
  animation: statsPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes statsBgMove { 0% { transform: translate(0,0); } 100% { transform: translate(40px,40px); } }
@keyframes statsPulse { 0%,100% { opacity:0.5; transform:scale(1); } 50% { opacity:1; transform:scale(1.08); } }
.stat-item { text-align: center; color: var(--beige); position: relative; z-index: 2; }
.stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; line-height: 1; display: block; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }

/* ─── HERO ─── */
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
.hero {
  position: relative; z-index: 1; min-height: 84vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 3rem 4rem; overflow: hidden;
  background: url('https://fikjoyejzwawuchxifrg.supabase.co/storage/v1/object/public/Sprout/cover.jpg') center/cover no-repeat;
}
/* Dark navy overlay — sits above photo, below everything else */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 18, 50, 0.54);
  pointer-events: none !important;
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 900px; text-align: center;
  animation: heroIn 1s ease both;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
  animation: heroIn 1s 0.1s ease both;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #7CFC00; animation: pulse 2s infinite; }
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 0.95; color: #E8E0D5;
  letter-spacing: -0.02em; white-space: nowrap;
  animation: heroIn 1s 0.15s ease both;
}
.hero h1 em { font-family: 'DM Serif Display', serif; font-style: italic; color: rgba(232,224,213,0.7); }
.hero-sub {
  font-size: 1.1rem; color: rgba(232,224,213,0.85);
  margin: 1.5rem auto 2.5rem; max-width: 520px; line-height: 1.7;
  text-align: center;
  animation: heroIn 1s 0.25s ease both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; animation: heroIn 1s 0.35s ease both; }
.hero .btn-secondary { border-color: rgba(255,255,255,0.7); color: #fff; }
.hero .btn-secondary:hover { background: #fff; color: var(--navy); }

/* ─── FLOATING PICKLEBALLS ─── */
.pickleballs-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.pb { position: absolute; border-radius: 50%; animation: pbFloat linear infinite; }
.pb::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); }
.pb:nth-child(1)  { width:55px;height:55px; left:5%;  top:80%; animation-duration:14s; animation-delay:0s;   opacity:0.18; }
.pb:nth-child(2)  { width:38px;height:38px; left:15%; top:20%; animation-duration:18s; animation-delay:-3s;  opacity:0.20; }
.pb:nth-child(3)  { width:70px;height:70px; left:25%; top:60%; animation-duration:11s; animation-delay:-6s;  opacity:0.14; }
.pb:nth-child(4)  { width:44px;height:44px; left:35%; top:10%; animation-duration:20s; animation-delay:-1s;  opacity:0.18; }
.pb:nth-child(5)  { width:60px;height:60px; left:48%; top:75%; animation-duration:15s; animation-delay:-8s;  opacity:0.15; }
.pb:nth-child(6)  { width:32px;height:32px; left:58%; top:30%; animation-duration:12s; animation-delay:-4s;  opacity:0.22; }
.pb:nth-child(7)  { width:80px;height:80px; left:68%; top:55%; animation-duration:22s; animation-delay:-2s;  opacity:0.12; }
.pb:nth-child(8)  { width:48px;height:48px; left:78%; top:15%; animation-duration:16s; animation-delay:-9s;  opacity:0.17; }
.pb:nth-child(9)  { width:36px;height:36px; left:88%; top:70%; animation-duration:13s; animation-delay:-5s;  opacity:0.20; }
.pb:nth-child(10) { width:62px;height:62px; left:92%; top:40%; animation-duration:19s; animation-delay:-7s;  opacity:0.13; }
.pb:nth-child(11) { width:42px;height:42px; left:10%; top:45%; animation-duration:17s; animation-delay:-11s; opacity:0.16; }
.pb:nth-child(12) { width:28px;height:28px; left:72%; top:85%; animation-duration:10s; animation-delay:-13s; opacity:0.22; }
@keyframes pbFloat {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  20%  { transform: translateY(-80px) translateX(40px) rotate(72deg); }
  40%  { transform: translateY(-40px) translateX(-30px) rotate(144deg); }
  60%  { transform: translateY(-120px) translateX(60px) rotate(216deg); }
  80%  { transform: translateY(-60px) translateX(-50px) rotate(288deg); }
  100% { transform: translateY(-200px) translateX(20px) rotate(360deg); opacity: 0; }
}

/* ─── HAMBURGER MENU ─── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; z-index: 101;
  background: none; border: none;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s ease;
}
nav.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,45,110,0.97); backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem;
  color: var(--beige); text-decoration: none; letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: rgba(232,224,213,0.6); }
.nav-mobile-menu .nav-cta {
  font-family: 'DM Sans', sans-serif; font-size: 1rem !important;
  background: var(--beige) !important; color: var(--navy) !important;
  padding: 0.75rem 2.5rem !important; border-radius: 100px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  /* NAV */
  nav { padding: 0.85rem 1.25rem; }
  .nav-logo img { height: 36px !important; }
  .nav-logo-name { font-size: 1rem; }
  .nav-logo-sub { display: none; }
  .nav-links { gap: 0.35rem; flex-wrap: wrap; }
  .nav-links a { font-size: 0.7rem; padding: 0.3rem 0.65rem !important; letter-spacing: 0.06em; }
  nav.scrolled { padding: 0.6rem 1.25rem; }

  /* HERO */
  .hero { padding: 6rem 1.25rem 3rem; min-height: 90vh; }
  .hero h1 { white-space: normal; font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions a { width: 100%; justify-content: center; }

  /* SECTIONS */
  section { padding: 3.5rem 1.25rem; }

  /* STATS */
  .stats-band { gap: 1.25rem; padding: 1.5rem 1rem; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
  .stat-item { flex-shrink: 0; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.6rem; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-float { display: none; }
  .about-img-main { aspect-ratio: 16/9; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 0.5rem; }
  .gallery-item:nth-child(1) { grid-row: auto; }
  .gallery-item:nth-child(6) { grid-row: auto; }

  /* MEMBERSHIP */
  .membership-plans { grid-template-columns: 1fr; }

  /* BOOKING */
  .booking-layout { grid-template-columns: 1fr; }
  .court-sidebar { position: relative; top: auto; }
  .court-photos { grid-template-columns: repeat(3,1fr); height: 130px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* TESTIMONIALS */
  .tcard { width: 260px; }

  /* PAGE BANNER */
  .page-banner { padding: 6rem 1.25rem 2rem; }
}

@media (max-width: 560px) {
  /* NAV — hide text links, show only logo + sign in */
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 0.5rem; }

  /* HERO */
  .hero { padding: 5.5rem 1rem 2.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 13vw, 3.5rem); }
  .hero-tag { font-size: 0.65rem; padding: 0.3rem 0.75rem; }

  /* STATS */
  .stats-band { gap: 1rem; padding: 1.25rem 0.75rem; }
  .stat-number { font-size: 1.8rem; }

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

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* HOWEVER YOU PLAY section */
  .how-play-grid { grid-template-columns: 1fr !important; }

  /* MEMBERSHIP */
  .membership-plans { grid-template-columns: 1fr; }

  /* COURT PHOTOS */
  .court-photos { grid-template-columns: repeat(2,1fr); height: auto; }
  .court-img-card { aspect-ratio: 4/3; height: auto; }

  /* TESTIMONIALS */
  .tcard { width: 82vw; }

  /* LOCATION grid */
  .location-grid { grid-template-columns: 1fr !important; }
  .location-map { height: 280px !important; }

  /* BOOKING calendar scroll */
  .cal-scroll { font-size: 0.72rem; }
  .slot { min-width: 60px; padding: 0.35rem 0.1rem; font-size: 0.65rem; }
}

/* Show hamburger on mobile, hide desktop nav links */
@media (max-width: 560px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
