:root {
  --purple: #6B1F7A;
  --purple-dark: #4d1358;
  --purple-deep: #2b0a33;
  --gold: #E5B84B;
  --gold-soft: #f2d07a;
  --white: #ffffff;
  --ink: #1d1020;
  --muted: #6b6672;
  --bg-alt: #faf6fb;
  --shadow: 0 10px 30px rgba(43, 10, 51, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn i { width: 18px; height: 18px; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--primary { background: var(--gold); color: var(--purple-deep); }
.btn--primary:hover { background: var(--gold-soft); transform: translateY(-1px); color: var(--purple-deep); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--purple); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(255,255,255,.08); }
.btn--ghost:hover { background: var(--white); color: var(--purple); }
.btn--block { display: flex; justify-content: center; width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(43, 10, 51, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.nav__brand img { width: 40px; height: 40px; object-fit: contain; }
.nav__brand span { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; font-size: 22px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: rgba(255,255,255,.85); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--gold); }
.nav__toggle { display: none; background: transparent; border: 0; color: var(--white); cursor: pointer; }
.nav__toggle i { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(229,184,75,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(229,184,75,.12) 0%, transparent 55%),
    linear-gradient(135deg, #3a0f48 0%, #6B1F7A 50%, #2b0a33 100%);
  overflow: hidden;
}
.hero__bg::before {
  content: ""; position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .5;
}

/* Decorative basketballs */
.hero__ball {
  position: absolute;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><radialGradient id='b' cx='35%25' cy='32%25' r='75%25'><stop offset='0%25' stop-color='%23f3a850'/><stop offset='55%25' stop-color='%23d06a1f'/><stop offset='100%25' stop-color='%23763309'/></radialGradient></defs><circle cx='50' cy='50' r='48' fill='url(%23b)'/><g fill='none' stroke='%23301000' stroke-width='2.2' stroke-linecap='round'><line x1='50' y1='3' x2='50' y2='97'/><path d='M2 50 Q50 50 98 50'/><path d='M14 15 Q40 50 14 85'/><path d='M86 15 Q60 50 86 85'/></g><circle cx='50' cy='50' r='48' fill='none' stroke='%23230a00' stroke-width='1.5'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
  opacity: .55;
}
.hero__ball--1 { width: 280px; height: 280px; top: -70px; left: -70px; transform: rotate(-15deg); }
.hero__ball--2 { width: 200px; height: 200px; bottom: -50px; right: -40px; opacity: .45; transform: rotate(20deg); }
.hero__ball--3 { width: 130px; height: 130px; top: 22%; right: 10%; opacity: .35; transform: rotate(-8deg); }

.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(43,10,51,.35) 70%, rgba(43,10,51,.7) 100%);
}
.hero__content { position: relative; text-align: center; padding: 60px 20px; }
.hero__logo { width: 120px; margin: 0 auto 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1; margin: 0 0 18px;
  letter-spacing: 2px;
}
.hero h1 span { color: var(--gold); }
.hero__claim {
  font-size: clamp(17px, 1.7vw, 21px);
  max-width: 720px; margin: 0 auto 32px;
  color: #fff; font-weight: 400;
  text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.6);
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--white); opacity: .8;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);} }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px;
  font-size: 12px; font-weight: 700; color: var(--purple);
  background: rgba(107,31,122,.08);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4.5vw, 54px);
  letter-spacing: 1px; line-height: 1.05; margin: 0 0 18px;
  color: var(--purple-deep);
}
h2 strong { color: var(--gold); font-weight: inherit; }
h3 { font-size: 20px; margin: 0 0 8px; color: var(--purple-deep); }
p { margin: 0 0 14px; color: #3a2a40; }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); font-size: 17px; }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* Stats */
.stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.stats > div { display: flex; flex-direction: column; }
.stats strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; color: var(--purple); line-height: 1;
}
.stats span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }

/* Quote card (reemplaza la foto del equipo) */
.quote-card {
  position: relative;
  margin: 0;
  padding: 56px 40px 48px;
  min-height: 340px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.quote-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  opacity: .9;
}
.quote-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 75% 85%, rgba(0,0,0,.45) 0%, transparent 60%);
  pointer-events: none;
}
.quote-card > * { position: relative; z-index: 2; }
.quote-card__ball { z-index: 1; }
.quote-card__mark {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gold); color: var(--purple-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(229,184,75,.3);
}
.quote-card__mark i { width: 28px; height: 28px; }
.quote-card blockquote {
  position: relative;
  margin: 0 0 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15; letter-spacing: 1px;
  color: #fff;
}
.quote-card figcaption {
  position: relative;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.quote-card__ball {
  position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><radialGradient id='b' cx='35%25' cy='32%25' r='75%25'><stop offset='0%25' stop-color='%23f3a850'/><stop offset='55%25' stop-color='%23d06a1f'/><stop offset='100%25' stop-color='%23763309'/></radialGradient></defs><circle cx='50' cy='50' r='48' fill='url(%23b)'/><g fill='none' stroke='%23301000' stroke-width='2.2' stroke-linecap='round'><line x1='50' y1='3' x2='50' y2='97'/><path d='M2 50 Q50 50 98 50'/><path d='M14 15 Q40 50 14 85'/><path d='M86 15 Q60 50 86 85'/></g><circle cx='50' cy='50' r='48' fill='none' stroke='%23230a00' stroke-width='1.5'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  opacity: .28;
  transform: rotate(-18deg);
  pointer-events: none;
}

/* Cards (values) */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(107,31,122,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(43,10,51,.12); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card__icon i { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; }

/* Teams */
.team {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  display: flex; flex-direction: column;
}
.team__tag {
  display: inline-block; align-self: flex-start;
  background: var(--purple); color: var(--white);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  margin-bottom: 14px;
}
.team--soon { border-top-color: var(--purple); opacity: .92; }
.team--soon .team__tag { background: var(--gold); color: var(--purple-deep); }
.team__years { color: var(--purple); font-weight: 600; margin: 0 0 10px; }
.team p { color: var(--muted); flex: 1; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-weight: 600; color: var(--purple);
}
.link-arrow i { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* Sponsors */
.sponsors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: center;
}
@media (min-width: 1000px) { .sponsors { grid-template-columns: repeat(6, 1fr); } }
.sponsor {
  background: var(--white); border-radius: var(--radius);
  padding: 22px; min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107,31,122,.06);
  transition: transform .2s ease;
}
.sponsor:hover { transform: translateY(-3px); }
.sponsor img {
  max-height: 70px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .75;
  transition: filter .25s ease, opacity .25s ease;
}
.sponsor:hover img { filter: grayscale(0%); opacity: 1; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed rgba(107,31,122,.18);
  color: #3a2a40;
}
.contact-list li i { width: 20px; height: 20px; color: var(--purple); flex-shrink: 0; }
.contact-list .muted { color: var(--muted); font-size: 13px; }

.cta-card {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white); padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-card h3 { color: var(--gold); font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 1px; }
.cta-card p { color: rgba(255,255,255,.9); }
.cta-card .btn { margin-top: 10px; }

/* Footer */
.footer { background: var(--purple-deep); color: rgba(255,255,255,.8); padding-top: 50px; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 30px; align-items: center;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.footer__brand strong { color: var(--white); display: block; font-size: 16px; }
.footer__brand p { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; justify-content: flex-end; gap: 10px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--white);
  transition: background .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--gold); color: var(--purple-deep); }
.footer__bottom { padding: 18px 0; font-size: 13px; text-align: center; color: rgba(255,255,255,.6); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .cards, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .sponsors { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__social { justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--purple-deep);
    padding: 10px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .cards, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
  .hero { min-height: 88vh; }
}
