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

:root {
  --black: #111111;
  --white: #ffffff;
  --gray-50: #f8f8f8;
  --gray-100: #f1f1f1;
  --gray-200: #e5e5e5;
  --gray-500: #777777;
  --green: #20c76a;
  --gold: #96793b;
  --gold-light: #b49953;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--gray-50);
  color: var(--black);
  line-height: 1.4;
}

button, input, select { font: inherit; }
button { cursor: pointer; }

.navbar {
  height: 74px;
  background: rgba(17,17,17,.97);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 7%;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}

.logo {
  width: 118px;
  height: 62px;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  overflow: hidden;
}
.logo img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  display: block;
}

.nav-link { color: #ddd; text-decoration: none; font-size: 14px; }
.nav-link:hover { color: white; }

.cart-button {
  border: 1px solid #444;
  background: white;
  color: var(--black);
  padding: 10px 15px;
  border-radius: 9px;
  font-weight: 700;
  transition: .2s ease;
}
.cart-button:hover { transform: translateY(-1px); }

#contador {
  display: inline-flex;
  min-width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  margin-left: 5px;
}

.hero {
  min-height: 610px;
  padding: 70px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  color: white;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(215,173,82,.22), transparent 22%),
    radial-gradient(circle at 92% 10%, rgba(255,255,255,.12), transparent 25%),
    linear-gradient(125deg, #070707 0%, #141414 52%, #262626 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -190px;
  top: -250px;
  border: 1px solid rgba(215,173,82,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(215,173,82,.035), 0 0 0 58px rgba(215,173,82,.025);
}
.hero-content { max-width: 780px; position: relative; z-index: 2; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2px; margin-bottom: 13px; opacity: .72; color: var(--gold-light); }

h1 {
  font-size: clamp(44px, 6.3vw, 78px);
  line-height: .98;
  letter-spacing: -2.5px;
  max-width: 820px;
  margin-bottom: 26px;
}
h1 span {
  color: var(--gold-light);
}
.hero-text { font-size: 18px; line-height: 1.65; max-width: 620px; color: #d5d5d5; margin-bottom: 34px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff 0%, #e9e9e9 100%);
  color: var(--black);
  padding: 14px 23px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
  transition: .2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.primary-button span { color: #a47a22; font-size: 20px; line-height: 0; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(0,0,0,.25); }

.hero-brand {
  width: min(430px, 38vw);
  aspect-ratio: 1;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}
.hero-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.45));
}
.hero-brand-glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: rgba(215,173,82,.15);
  filter: blur(55px);
}
.catalog-section { padding: 78px 7%; max-width: 1500px; margin: auto; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 28px;
}

h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -1.5px; }

#busqueda {
  width: 300px;
  padding: 13px 15px;
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  background: white;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
#busqueda:focus { border-color: #999; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }

.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }

.filter {
  border: 1px solid #d5d5d5;
  background: white;
  color: #333;
  padding: 9px 15px;
  border-radius: 999px;
  transition: .2s ease;
}
.filter:hover { border-color: #999; }
.filter.active { background: var(--black); border-color: var(--black); color: white; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }

.product-card {
  background: white;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.09); }

.product-image {
  height: 300px;
  background: #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-align: center;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }

.product-info { padding: 18px; }
.product-category { font-size: 11px; color: var(--gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 7px; }
.product-name { font-size: 18px; font-weight: 800; line-height: 1.2; margin-bottom: 17px; }

.product-info select {
  width: 100%;
  padding: 11px 12px;
  margin-bottom: 10px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: white;
  color: #222;
  outline: none;
}
.product-info select:focus { border-color: #999; }

.add-button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  color: white;
  font-weight: 800;
  transition: .2s ease;
}
.add-button:hover { background: #2a2a2a; }
.add-button:disabled { background: #cfcfcf; cursor: not-allowed; }

footer {
  background: var(--black);
  color: white;
  padding: 38px 7%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #cfcfcf;
  font-size: 14px;
}
footer p:first-child { color: white; font-weight: 800; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.hidden { display: none; }

.modal-card {
  background: white;
  width: min(620px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

.modal-header { margin-bottom: 12px; }
.close { position: absolute; right: 18px; top: 12px; border: 0; background: none; font-size: 32px; line-height: 1; color: #555; }
.close:hover { color: #111; }

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.cart-item-image {
  width: 78px;
  height: 90px;
  border-radius: 9px;
  overflow: hidden;
  background: #eee;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cart-item-info { min-width: 0; }
.cart-item-name { font-weight: 800; line-height: 1.2; margin-bottom: 7px; }
.cart-item-meta { font-size: 13px; color: #666; line-height: 1.6; }
.cart-item-quantity { font-size: 13px; color: #444; }

.remove { border: 0; background: none; color: #b00020; font-size: 13px; padding: 5px 0; }
.remove:hover { text-decoration: underline; }

.empty-cart { color: #777; padding: 25px 0; text-align: center; }

.whatsapp-button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-weight: 800;
  font-size: 16px;
  margin-top: 20px;
  transition: .2s ease;
}
.whatsapp-button:hover { filter: brightness(.95); transform: translateY(-1px); }

@media (max-width: 700px) {
  .navbar { height: 68px; padding: 0 5%; gap: 15px; }
  .logo { width: 98px; height: 58px; }
  .logo img { width: 98px; height: 98px; }
  .nav-link { display: none; }
  .hero, .catalog-section { padding-left: 5%; padding-right: 5%; }
  .hero {
    min-height: 650px;
    padding-top: 55px;
    padding-bottom: 55px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-text { font-size: 16px; }
  .hero-brand { width: min(330px, 78vw); order: -1; }
  h1 { letter-spacing: -1.5px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  #busqueda { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-image { height: 230px; }
  .product-info { padding: 13px; }
  .product-name { font-size: 16px; }
  footer { flex-direction: column; gap: 8px; padding-left: 5%; padding-right: 5%; }
  .modal-card { padding: 24px 18px; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-image { width: 64px; height: 76px; }
  .cart-item > .remove { grid-column: 2; justify-self: start; }
}

/* ===== M2 JERSEYS · ANIMACIONES PREMIUM ===== */
body { overflow-x: hidden; }

.page-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: #080808; animation: loaderOut .75s ease 1.05s forwards; pointer-events: none;
}
.loader-mark { position: relative; width: 92px; height: 92px; display: grid; place-items: center; color: #fff; font-size: 27px; font-weight: 900; letter-spacing: -2px; }
.loader-mark::before { content:""; position:absolute; inset:0; border: 2px solid rgba(215,173,82,.25); border-top-color: var(--gold-light); border-radius:50%; animation: spin 1s linear infinite; }
.loader-mark i { position:absolute; width: 8px; height: 8px; background: var(--gold-light); border-radius:50%; top:-4px; box-shadow: 0 0 18px var(--gold-light); }
@keyframes loaderOut { to { opacity:0; visibility:hidden; } }
@keyframes spin { to { transform:rotate(360deg); } }

.navbar { transition: height .35s ease, padding .35s ease, box-shadow .35s ease, background .35s ease; }
.navbar.scrolled { height: 64px; padding-left: 5%; padding-right: 5%; background: rgba(8,8,8,.88); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.logo img { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.logo:hover img { transform: scale(1.08) rotate(-2deg); }
.nav-link { position: relative; }
.nav-link::after { content:""; position:absolute; left:0; right:0; bottom:-7px; height:2px; background:var(--gold-light); transform:scaleX(0); transform-origin:center; transition:transform .3s ease; }
.nav-link:hover::after { transform:scaleX(1); }
.cart-button { position:relative; overflow:hidden; }
.cart-button::before, .primary-button::before, .add-button::before { content:""; position:absolute; top:0; left:-120%; width:55%; height:100%; transform:skewX(-20deg); background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition:left .6s ease; }
.cart-button:hover::before, .primary-button:hover::before, .add-button:hover::before { left:140%; }

.hero { isolation:isolate; }
.hero::before { content:""; position:absolute; inset:-20%; background:linear-gradient(115deg, transparent 40%, rgba(215,173,82,.055) 50%, transparent 60%); animation:sweep 8s ease-in-out infinite; pointer-events:none; }
@keyframes sweep { 0%,100%{transform:translateX(-22%)} 50%{transform:translateX(22%)} }
.hero-orbit { position:absolute; border:1px solid rgba(215,173,82,.13); border-radius:50%; pointer-events:none; z-index:0; }
.orbit-one { width:650px; height:650px; right:0; top:50%; transform:translate(25%,-50%); animation:orbitFloat 7s ease-in-out infinite; }
.orbit-two { width:470px; height:470px; right:90px; top:50%; transform:translate(0,-50%); border-color:rgba(255,255,255,.08); animation:orbitFloat 5s ease-in-out infinite reverse; }
@keyframes orbitFloat { 0%,100%{margin-top:0; transform:translate(25%,-50%) rotate(0)} 50%{margin-top:-12px; transform:translate(25%,-50%) rotate(4deg)} }
.orbit-two { animation-name:orbitTwo; }
@keyframes orbitTwo { 0%,100%{margin-top:0; transform:translate(0,-50%) rotate(0)} 50%{margin-top:12px; transform:translate(0,-50%) rotate(-5deg)} }
.hero-content { animation:heroIn .9s cubic-bezier(.2,.8,.2,1) .8s both; }
.hero-brand { animation:brandIn 1.15s cubic-bezier(.2,.8,.2,1) .72s both; }
@keyframes heroIn { from{opacity:0; transform:translateY(28px)} to{opacity:1; transform:none} }
@keyframes brandIn { from{opacity:0; transform:scale(.78) rotate(-8deg)} to{opacity:1; transform:scale(1) rotate(0)} }
.hero-brand img { animation:logoFloat 4.5s ease-in-out 1.8s infinite; }
@keyframes logoFloat { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-9px) rotate(1deg)} }
.hero-brand-glow { animation:glowPulse 3.5s ease-in-out infinite; }
@keyframes glowPulse { 0%,100%{opacity:.65; transform:scale(.95)} 50%{opacity:1; transform:scale(1.08)} }
.hero-stats { display:flex; gap:26px; margin-top:30px; }
.hero-stats div { display:flex; align-items:center; gap:8px; color:#cfcfcf; font-size:12px; text-transform:uppercase; letter-spacing:1.2px; }
.hero-stats strong { color:var(--gold-light); font-size:17px; }

.catalog-section { position:relative; }
.section-heading, .filters { animation:sectionIn .7s ease both; }
@keyframes sectionIn { from{opacity:0; transform:translateY(18px)} to{opacity:1; transform:none} }
.product-card { opacity:0; transform:translateY(24px); animation:cardIn .65s cubic-bezier(.2,.8,.2,1) forwards; transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.product-card:hover { transform:translateY(-9px) scale(1.012); box-shadow:0 22px 42px rgba(0,0,0,.13); border-color:rgba(215,173,82,.35); }
.product-image { position:relative; }
.product-image::after { content:"Ver camiseta"; position:absolute; left:50%; bottom:15px; transform:translate(-50%,12px); opacity:0; background:rgba(17,17,17,.84); color:white; padding:7px 11px; border-radius:999px; font-size:11px; font-weight:800; letter-spacing:.5px; transition:.3s ease; backdrop-filter:blur(6px); }
.product-card:hover .product-image::after { opacity:1; transform:translate(-50%,0); }
.product-card:hover .product-image img { transform:scale(1.07); }
@keyframes cardIn { to { opacity:1; transform:translateY(0); } }
.filter { position:relative; overflow:hidden; }
.filter.active { box-shadow:0 7px 18px rgba(17,17,17,.16); }
.add-button { position:relative; overflow:hidden; }
.add-button:active, .primary-button:active, .cart-button:active { transform:scale(.97); }

#contador.bump { animation:badgeBump .45s ease; }
@keyframes badgeBump { 40%{transform:scale(1.35)} 100%{transform:scale(1)} }
.modal { opacity:0; transition:opacity .28s ease; }
.modal:not(.hidden) { opacity:1; }
.modal-card { transform:translateY(20px) scale(.97); transition:transform .32s cubic-bezier(.2,.8,.2,1); }
.modal:not(.hidden) .modal-card { transform:none; }

.ambient-particles { position:fixed; inset:0; pointer-events:none; z-index:1; overflow:hidden; }
.ambient-particles span { position:absolute; width:3px; height:3px; border-radius:50%; background:var(--gold-light); opacity:.22; animation:particleRise linear infinite; }
.ambient-particles span:nth-child(1){left:8%;top:85%;animation-duration:11s;animation-delay:-2s}.ambient-particles span:nth-child(2){left:21%;top:72%;animation-duration:14s;animation-delay:-7s}.ambient-particles span:nth-child(3){left:44%;top:91%;animation-duration:12s;animation-delay:-5s}.ambient-particles span:nth-child(4){left:67%;top:78%;animation-duration:16s;animation-delay:-9s}.ambient-particles span:nth-child(5){left:81%;top:88%;animation-duration:13s;animation-delay:-3s}.ambient-particles span:nth-child(6){left:93%;top:65%;animation-duration:15s;animation-delay:-8s}.ambient-particles span:nth-child(7){left:54%;top:62%;animation-duration:10s;animation-delay:-4s}.ambient-particles span:nth-child(8){left:31%;top:96%;animation-duration:17s;animation-delay:-11s}
@keyframes particleRise { from{transform:translateY(20px) scale(.7);opacity:0} 20%{opacity:.25} 80%{opacity:.18} to{transform:translateY(-105vh) scale(1.4);opacity:0} }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
@media (max-width: 800px) {
  .hero { min-height: auto; padding-top:55px; padding-bottom:60px; flex-direction:column; text-align:center; }
  .hero-content { max-width:700px; }
  .hero-text { margin-left:auto; margin-right:auto; }
  .hero-brand { width:min(340px,72vw); }
  .hero-stats { justify-content:center; gap:16px; flex-wrap:wrap; }
  .orbit-one { right:50%; top:65%; transform:translate(50%,-50%); }
  .orbit-two { right:50%; top:65%; transform:translate(50%,-50%); }
  .section-heading { align-items:stretch; flex-direction:column; }
  #busqueda { width:100%; }
}

/* ===== VISTA GRANDE DE CAMISETAS ===== */
body.modal-open { overflow: hidden; }

.view-button {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 14px);
  opacity: 0;
  border: 1px solid rgba(255,255,255,.3);
  background: linear-gradient(135deg, rgba(17,17,17,.94), rgba(35,35,35,.94));
  color: #fff;
  padding: 10px 17px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
  box-shadow: 0 10px 25px rgba(0,0,0,.28);
  z-index: 3;
  transition: opacity .28s ease, transform .28s ease, box-shadow .2s ease;
}
.product-card:hover .view-button,
.view-button:focus-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.view-button:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,.4), 0 0 0 2px rgba(215,173,82,.2);
}
.view-button:active { transform: translate(-50%, 1px) scale(.97); }

.product-modal.hidden { display: none; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .28s ease;
}
.product-modal:not(.hidden) { opacity: 1; }

.product-modal-card {
  width: min(1000px, 96vw);
  max-height: 92vh;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  transform: translateY(24px) scale(.96);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.product-modal:not(.hidden) .product-modal-card {
  transform: translateY(0) scale(1);
}
.product-modal-image {
  min-height: 580px;
  background: #f2f2f2;
  display: grid;
  place-items: center;
  padding: 28px;
}
.product-modal-image img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,.12));
}
.product-modal-info {
  padding: 72px 42px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-modal-info h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin: 8px 0 16px;
}
.product-modal-description {
  color: #666;
  margin-bottom: 24px;
}
.product-modal-info label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 7px;
}
#producto-modal-talla {
  width: 100%;
  padding: 13px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fff;
  margin-bottom: 12px;
}
.product-modal-add { min-height: 48px; }

.product-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(17,17,17,.86);
  color: #fff;
  font-size: 29px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.product-modal-close:hover { background: #000; transform: rotate(90deg); transition: .25s ease; }

@media (max-width: 760px) {
  .product-modal { padding: 12px; }
  .product-modal-card {
    grid-template-columns: 1fr;
    max-height: 94vh;
  }
  .product-modal-image {
    min-height: 330px;
    height: 48vh;
    padding: 18px;
  }
  .product-modal-image img { max-height: 45vh; }
  .product-modal-info { padding: 25px 22px 24px; }
  .product-modal-info h2 { font-size: 30px; }
  .view-button { opacity: 1; transform: translate(-50%, 0); bottom: 12px; }
}

/* Banner interactivo de ligas */
.league-banner {
  margin: 0 0 34px;
  padding: 24px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(215,173,82,.18), transparent 30%),
    linear-gradient(135deg, #090909 0%, #171717 55%, #252525 100%);
  border: 1px solid rgba(215,173,82,.2);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  overflow: hidden;
  position: relative;
}
.league-banner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  top: -170px;
  border: 1px solid rgba(215,173,82,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(215,173,82,.025), 0 0 0 48px rgba(215,173,82,.02);
  pointer-events: none;
}
.league-banner-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.league-banner h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -1px; }
.league-banner .eyebrow { margin-bottom: 6px; }
.league-hint { color: #bdbdbd; font-size: 13px; }
.league-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(100px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}
.league-card {
  min-height: 132px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.055);
  color: white;
  padding: 13px 10px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  backdrop-filter: blur(5px);
}
.league-card:hover, .league-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(215,173,82,.65);
  background: rgba(215,173,82,.1);
  box-shadow: 0 12px 28px rgba(0,0,0,.2), 0 0 25px rgba(215,173,82,.08);
  outline: none;
}
.league-card.active {
  border-color: var(--gold-light);
  background: linear-gradient(145deg, rgba(215,173,82,.18), rgba(255,255,255,.07));
  box-shadow: inset 0 0 0 1px rgba(215,173,82,.12), 0 10px 28px rgba(0,0,0,.18);
}
.league-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.3));
  transition: transform .22s ease;
}
.league-card:hover img, .league-card:focus-visible img { transform: scale(1.08) rotate(-2deg); }
.league-card-name { font-size: 12px; font-weight: 800; text-align: center; line-height: 1.15; }
.league-card small { color: #aaa; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }

@media (max-width: 1000px) {
  .league-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .league-banner { padding: 18px 14px; border-radius: 16px; }
  .league-banner-heading { align-items: start; flex-direction: column; gap: 5px; }
  .league-hint { font-size: 12px; }
  .league-list { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .league-card { min-height: 116px; }
  .league-card img { width: 54px; height: 54px; }
}

/* Banner de ligas integrado al diseño: sin tarjetas ni fondos, solo escudos flotantes */
.league-banner {
  margin: 4px 0 42px;
  padding: 18px 2px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  position: relative;
}
.league-banner::before {
  content: "";
  position: absolute;
  left: 2%; right: 2%; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150,121,59,.45), transparent);
}
.league-banner::after {
  width: 360px;
  height: 360px;
  right: -170px;
  top: -210px;
  border-color: rgba(150,121,59,.10);
  box-shadow: 0 0 0 28px rgba(150,121,59,.018), 0 0 0 58px rgba(150,121,59,.012);
}
.league-banner-heading {
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}
.league-banner h3 {
  font-size: clamp(22px, 2.6vw, 31px);
  color: var(--black);
}
.league-hint { color: #777; }
.league-reset {
  border: 0;
  background: transparent;
  color: #777;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 8px 2px;
  transition: color .2s ease, transform .2s ease;
}
.league-reset:hover { color: var(--gold); transform: translateX(2px); }
.league-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 56px);
  padding: 8px 12px 4px;
  position: relative;
  z-index: 1;
}
.league-card {
  min-height: 0;
  width: clamp(78px, 9vw, 108px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
  padding: 8px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  transition: transform .25s ease, opacity .25s ease;
  backdrop-filter: none;
}
.league-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transition: width .25s ease;
}
.league-card:hover, .league-card:focus-visible {
  transform: translateY(-5px);
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
}
.league-card:hover::after, .league-card:focus-visible::after,
.league-card.active::after { width: 52px; }
.league-card.active {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.league-card img {
  width: clamp(54px, 6vw, 72px);
  height: clamp(54px, 6vw, 72px);
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.14));
  transition: transform .25s ease, filter .25s ease;
}
.league-card:hover img, .league-card:focus-visible img,
.league-card.active img {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 13px rgba(150,121,59,.28));
}
.league-card-name {
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #444;
}
.league-card small { display: none; }

@media (max-width: 700px) {
  .league-banner { margin-bottom: 34px; padding-top: 16px; }
  .league-banner-heading { margin-bottom: 4px; }
  .league-list {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 14px;
    padding: 8px 6px 10px;
  }
  .league-list::-webkit-scrollbar { display: none; }
  .league-card { flex: 0 0 78px; }
  .league-card img { width: 52px; height: 52px; }
  .league-card-name { font-size: 9px; }
}

/* ===== LIGAS INTEGRADAS EN EL HERO + CATEGORIAS DEL CATALOGO ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  grid-template-rows: auto auto;
  align-items: center;
}
.hero-content { grid-column: 1; grid-row: 1; }
.hero-brand { grid-column: 2; grid-row: 1; }
.hero-leagues {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(215,173,82,.18);
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 4;
}
.hero-leagues-title {
  min-width: 148px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-leagues-title > span {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}
.hero-leagues-title button {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2px;
}
.hero-leagues-title button b {
  color: var(--gold-light);
  margin-left: 5px;
  font-size: 17px;
}
.hero-leagues-title button:hover { color: var(--gold-light); }
.hero-leagues .league-list {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.league-card {
  min-width: 96px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  padding: 7px 9px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  transition: transform .25s ease, color .25s ease, opacity .25s ease, filter .25s ease;
  position: relative;
}
.league-card::after {
  content: "";
  position: absolute;
  left: 22%; right: 22%; bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.league-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: grayscale(35%) brightness(1.1);
  transition: transform .3s ease, filter .3s ease;
}
.league-card-name { font-size: 10px; font-weight: 800; white-space: nowrap; }
.league-card small { font-size: 8px; opacity: .38; text-transform: uppercase; letter-spacing: .8px; }
.league-card:hover, .league-card.active { color: #fff; transform: translateY(-4px); }
.league-card:hover img, .league-card.active img { filter: grayscale(0) brightness(1.12) drop-shadow(0 5px 12px rgba(215,173,82,.28)); transform: scale(1.12); }
.league-card.active::after { transform: scaleX(1); }

.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 2px;
}
.filter { position: relative; overflow: hidden; }

@media (max-width: 800px) {
  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }
  .hero-content, .hero-brand { grid-column: auto; grid-row: auto; }
  .hero-leagues {
    margin-top: 18px;
    padding-top: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-leagues-title {
    min-width: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-leagues .league-list {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 7px;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
  }
  .league-card { flex: 0 0 90px; }
}
