/* ==========================================================================
   LG Hoopers Elite — shared stylesheet
   Dark, basketball-energy theme with orange accent.
   ========================================================================== */

:root {
  --bg: #121218;
  --bg-alt: #1b1b24;
  --bg-card: #23232f;
  --text: #f5f1ea;
  --text-muted: #b6b3c2;
  --accent: #f06020;
  --accent-2: #ff8c28;
  --accent-grad: linear-gradient(120deg, #f06020, #ff8c28);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #ffa34d; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.section-intro {
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); color: inherit; }

.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 24px rgba(240, 96, 32, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(240, 96, 32, 0.45); color: #fff; }

.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

.btn-light { background: #fff; color: #16161c; }
.btn-light:hover { background: var(--accent-2); color: #fff; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: var(--accent-2); }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 18, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 56px; height: 56px; border-radius: 50%; }
.brand-name { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; }
.brand-name span { color: var(--accent-2); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a:not(.nav-cta):not(.nav-login) { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.site-nav a:not(.nav-cta):not(.nav-login):hover { color: var(--accent-2); }
.nav-cta {
  background: var(--accent-grad);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-cta:hover { color: #fff !important; box-shadow: 0 8px 20px rgba(240, 96, 32, 0.35); }
.nav-login {
  border: 2px solid var(--border);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.nav-login:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 24, 0.55) 0%, rgba(18, 18, 24, 0.35) 40%, var(--bg) 100%);
}
.hero-content { position: relative; padding: 90px 20px 90px; z-index: 1; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 720px;
}
.hero-title span { color: var(--accent-2); }
.hero-sub {
  color: var(--text-muted);
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 20px 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Teaser / video
   -------------------------------------------------------------------------- */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.teaser-body p { color: var(--text-muted); margin-bottom: 16px; }
.teaser-body .btn { margin-top: 8px; }
.teaser-player {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.teaser-player img { width: 100%; height: 100%; object-fit: cover; }
.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(240, 96, 32, 0.45) 0%, rgba(18, 18, 24, 0.25) 70%);
  color: #fff;
}
.play-button svg { display: block; }
.play-button::after {
  content: "";
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 12px 30px rgba(240, 96, 32, 0.5);
}
.play-button svg { position: relative; z-index: 1; transform: translateX(2px); }

/* --------------------------------------------------------------------------
   Additional program info
   -------------------------------------------------------------------------- */
.info-block {
  max-width: 860px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.info-block:last-child { border-bottom: 1px solid var(--border); }
.info-block h3 {
  font-size: 1.35rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.info-block p { color: var(--text-muted); margin-bottom: 12px; }
.info-block .check-list { margin: 16px 0; }

/* --------------------------------------------------------------------------
   Feature grid (overview)
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(240, 96, 32, 0.55); }
.feature-icon { font-size: 1.9rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Experience grid
   -------------------------------------------------------------------------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.exp-card h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--accent-2); }
.exp-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   About / Philosophy
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; object-fit: cover; }
.about-body .section-title { margin-bottom: 18px; }
.about-body p { color: var(--text-muted); margin-bottom: 16px; }

.check-list { list-style: none; margin: 8px 0 28px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Teams
   -------------------------------------------------------------------------- */
.teams-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.teams-media img { border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; object-fit: cover; }
.teams-body p { color: var(--text-muted); margin-bottom: 16px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 28px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
}
.stat strong { display: block; font-size: 1.25rem; color: var(--accent-2); line-height: 1.2; }
.stat span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-note { margin-top: 22px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--accent-grad);
  padding: 84px 0;
  text-align: center;
}
.cta-inner { max-width: 720px; }
.cta-title { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; font-weight: 900; letter-spacing: -0.01em; }
.cta-sub { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin: 16px 0 32px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-small { margin-top: 22px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.contact-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #0c0c11; border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-brand p { color: var(--text-muted); margin-top: 12px; max-width: 340px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent-2); }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { color: var(--text-muted); }
.footer-social a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Subscribe
   -------------------------------------------------------------------------- */
.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin-top: 28px;
  justify-content: center;
}
.subscribe-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.subscribe-form input:focus { outline: none; border-color: var(--accent); }
.subscribe-form input::placeholder { color: var(--text-muted); }
.subscribe-form .btn { padding-left: 32px; padding-right: 32px; }
.subscribe-note { margin-top: 18px; color: var(--text-muted); font-size: 0.85rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Register for Tryouts
   -------------------------------------------------------------------------- */
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-top: 30px;
}
.contact-info h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--accent-2); }
.contact-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.contact-links { list-style: none; }
.contact-links li { margin-bottom: 8px; }
.contact-links a { font-weight: 600; }
.contact-ph-note { color: var(--text-muted); font-size: 0.8rem; }

.register-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.register-form .btn { width: 100%; margin-top: 6px; }
.form-note { margin-top: 16px; color: var(--text-muted); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .about-grid, .teams-grid, .teaser-grid, .register-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 10px 20px 22px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; }
  .site-nav a:not(.nav-cta) { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .site-nav a.nav-login {
    margin-top: 14px;
    text-align: center;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: 999px;
  }
  .nav-cta { margin-top: 10px; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { min-height: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}