/* Blue Ballz Basketball — Shared Styles */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;600;700;900&display=swap');

:root {
  --blue: #1565e8;
  --blue-mid: #1e7cf0;
  --blue-light: #4a9af5;
  --dark: #05050f;
  --dark-2: #08081a;
  --dark-card: #0c0c22;
  --white: #ffffff;
  --gray: #7888a0;
  --nav-h: 68px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,15,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21,101,232,0.22);
}

.nav-logo {
  display: flex; align-items: center;
  gap: 0.65rem; text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem; letter-spacing: 3px; color: var(--white);
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--blue-light);
}

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-ig {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-ig:hover { color: var(--blue-light); }
.nav-ig svg { width: 17px; height: 17px; flex-shrink: 0; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,5,15,0.99);
  border-bottom: 1px solid rgba(21,101,232,0.2);
  z-index: 999; padding: 0.4rem 0 0.8rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile ul li a {
  display: block; padding: 0.85rem 2rem;
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-weight: 600; font-size: 0.88rem; letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile ul li a:hover,
.nav-mobile ul li a.active { color: var(--blue-light); background: rgba(21,101,232,0.08); }
.nav-mobile-ig {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 0.4rem;
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-mobile-ig:hover { color: var(--blue-light); }
.nav-mobile-ig svg { width: 16px; height: 16px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) 2rem 4.5rem;
  text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 110% 80% at 50% 0%, rgba(21,101,232,0.22) 0%, transparent 65%),
    var(--dark);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,101,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,232,0.06) 1px, transparent 1px);
  background-size: 55px 55px; pointer-events: none;
}
.page-hero-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--blue-light);
  margin-bottom: 0.7rem; position: relative;
}
.page-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 5px; line-height: 1; position: relative;
}
.page-hero-sub {
  font-size: 0.95rem; color: var(--gray);
  margin-top: 0.75rem; letter-spacing: 1px; position: relative;
}

/* ── SECTIONS ── */
section { padding: 5.5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.65rem;
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: 4px; line-height: 1;
}
.section-divider {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  margin: 1.3rem auto 0; border-radius: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.88rem 2.2rem; border-radius: 7px;
  text-decoration: none; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  font-size: 0.82rem; transition: all 0.2s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-blue {
  background: var(--blue); color: white;
  box-shadow: 0 0 30px rgba(21,101,232,0.35);
}
.btn-blue:hover {
  background: var(--blue-mid); transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(21,101,232,0.55);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.22);
  color: white; background: transparent;
}
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  background: rgba(21,101,232,0.12);
  border: 1px solid rgba(21,101,232,0.35);
  color: var(--blue-light);
  padding: 0.2rem 0.7rem;
  border-radius: 5px; font-size: 0.67rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── PLAYER CARDS ── */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}
.player-card {
  background: var(--dark-card); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(21,101,232,0.18);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.player-card:hover {
  transform: translateY(-10px);
  border-color: rgba(21,101,232,0.55);
  box-shadow: 0 24px 70px rgba(21,101,232,0.22);
}
.player-img-wrap { position: relative; overflow: hidden; }
.player-img-wrap img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: center;
  display: block; transition: transform 0.4s;
}
.player-card:hover .player-img-wrap img { transform: scale(1.04); }
.img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, var(--dark-card) 0%, transparent 100%);
}
.player-body { padding: 1.3rem 1.5rem 1.6rem; }
.player-num {
  font-family: 'Bebas Neue', cursive; font-size: 0.9rem;
  color: var(--blue-light); letter-spacing: 3px; margin-bottom: 0.1rem;
}
.player-name {
  font-family: 'Bebas Neue', cursive; font-size: 2rem;
  letter-spacing: 2px; line-height: 1; margin-bottom: 0.6rem;
}
.player-stars { color: var(--blue-light); font-size: 1rem; margin-bottom: 0.75rem; }
.player-attrs {
  display: flex; gap: 1.5rem;
  padding: 0.85rem 0 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.07); margin-top: 0.65rem;
}
.attr-val {
  font-family: 'Bebas Neue', cursive; font-size: 1.45rem;
  color: var(--white); line-height: 1;
}
.attr-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray); margin-top: 0.1rem;
}
.player-motto {
  font-size: 0.78rem; color: var(--gray);
  font-style: italic; margin-top: 0.8rem; line-height: 1.5;
}

/* ── STAFF CARDS ── */
.staff-card {
  background: var(--dark-card); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(21,101,232,0.18);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.staff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(21,101,232,0.55);
  box-shadow: 0 20px 60px rgba(21,101,232,0.22);
}
.staff-img-wrap { position: relative; overflow: hidden; }
.staff-img-wrap img {
  width: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform 0.4s;
}
.staff-card:hover .staff-img-wrap img { transform: scale(1.04); }
.staff-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to top, var(--dark-card) 0%, transparent 100%);
}
.staff-body { padding: 1.4rem 1.6rem 1.8rem; }
.staff-role {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.35rem;
}
.staff-name {
  font-family: 'Bebas Neue', cursive; font-size: 2.8rem;
  letter-spacing: 4px; line-height: 1; margin-bottom: 1rem;
}
.staff-quote {
  font-size: 0.9rem; color: var(--gray); line-height: 1.7;
  font-style: italic; border-left: 3px solid var(--blue); padding-left: 1rem;
}

/* ── MOTTO STRIP ── */
.motto-strip {
  background: linear-gradient(135deg, #0c2ea0 0%, var(--blue) 50%, #0c2ea0 100%);
  padding: 4.5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.motto-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.motto-strip-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 6vw, 5.5rem);
  letter-spacing: 7px; position: relative;
  text-shadow: 0 4px 25px rgba(0,0,0,0.35);
}
.motto-strip-sub {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; opacity: 0.75; margin-top: 0.75rem; position: relative;
}

/* ── FOOTER ── */
footer {
  background: #03030a; padding: 4rem 2rem 2.5rem;
  text-align: center; border-top: 1px solid rgba(21,101,232,0.15);
}
.footer-logo { height: 70px; width: auto; margin-bottom: 1.2rem; }
.footer-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem; letter-spacing: 5px; margin-bottom: 0.35rem;
}
.footer-tagline {
  color: var(--gray); font-size: 0.83rem;
  letter-spacing: 2px; font-style: italic; margin-bottom: 1.8rem;
}
.footer-nav {
  display: flex; justify-content: center; gap: 2rem;
  list-style: none; margin-bottom: 1.4rem; flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gray); text-decoration: none; font-size: 0.76rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--blue-light); }
.footer-ig {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gray); text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 2rem; transition: color 0.2s; text-transform: uppercase;
}
.footer-ig:hover { color: var(--blue-light); }
.footer-ig svg { width: 18px; height: 18px; }
.footer-copy {
  color: rgba(255,255,255,0.16); font-size: 0.73rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) { .nav-links { gap: 1.5rem; } }
@media (max-width: 768px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-ig { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 4rem 1.2rem; }
}
@media (max-width: 480px) {
  section { padding: 3rem 1rem; }
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) 1rem 2.5rem; }
}
