/* Horizon Padel - styles.css */
/* Generated 2026-03-16 */


  :root {
    --navy: #050810;
    --dark: #0a0f1e;
    --card: #0d1525;
    --blue: #0057ff;
    --blue-light: #1a8fff;
    --blue-glow: #00aaff;
    --orange: #ff6a00;
    --orange-light: #ff8c38;
    --orange-glow: rgba(255,106,0,0.35);
    --white: #ffffff;
    --gray: #6b7a99;
    --gray-light: #a0aec0;
    --border: rgba(0,100,255,0.15);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  .skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  transform: translateY(-160%);
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
  body { font-family: 'Barlow', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }
  body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9999; opacity: 0.3; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 clamp(20px, 4vw, 72px); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: rgba(5,8,16,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
  .nav-logo { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 0; text-decoration: none; transition: opacity 0.2s; }
  .nav-logo img { display: block; height: 44px; width: auto; max-width: 104px; object-fit: contain; flex: 0 0 auto; }
  .nav-brand { display:inline-flex; align-items:center; gap:0.7rem; min-width:0; }
  .nav-brand-mark { height: 42px; width: auto; display:block; object-fit:contain; flex:0 0 auto; }
  .nav-brand-text { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--white); white-space: nowrap; line-height: 1; }
  .nav-links { align-items:center; min-width: 0; }
  .nav-links a { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.84rem; letter-spacing: 0.045em; text-transform: uppercase; }
  .nav-logo:hover { opacity: 0.85; }
  .nav-links { display: flex; gap: clamp(0.9rem, 1.35vw, 1.55rem); list-style: none; margin-left: auto; }
  .nav-links a { text-decoration: none; color: var(--gray-light); transition: color 0.2s; white-space: nowrap; }
  .nav-links a:hover { color: var(--blue-glow); }
  .nav-links a.nav-cta { background: linear-gradient(135deg, var(--orange), #d45500); color: white; padding: 0.55rem 1.4rem; border-radius: 4px; transition: all 0.2s; box-shadow: 0 2px 12px rgba(255,106,0,0.28); }
  .nav-links a.nav-cta:hover { background: linear-gradient(135deg, var(--orange-light), var(--orange)); box-shadow: 0 4px 18px rgba(255,106,0,0.4); }
  .nav-links a.nav-wa { background: #25D366; color: white; padding: 0.55rem 1rem; border-radius: 4px; display: flex; align-items: center; gap: 0.4rem; }
  .nav-links a.nav-wa:hover { background: #20bb5a; }

  /* HERO */
  .hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 72px; }
  .hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,87,255,0.18) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0,170,255,0.08) 0%, transparent 60%), linear-gradient(180deg, #050810 0%, #070c1a 100%); }
  .hero-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .hero-lines::before { content: ''; position: absolute; top: 0; left: -20%; width: 140%; height: 100%; background: repeating-linear-gradient(-12deg, transparent, transparent 60px, rgba(0,87,255,0.025) 60px, rgba(0,87,255,0.025) 62px); }
  .hero-slash { position: absolute; bottom: -2px; left: 0; right: 0; height: 120px; background: var(--navy); clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%); }
  .hero-content { position: relative; text-align: center; z-index: 2; padding: 0 5%; }
  .hero-logo { display: block; width: min(320px, 65vw); height: auto; object-fit: contain; margin: 0 auto 2rem; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both; filter: drop-shadow(0 0 40px rgba(0,100,255,0.5)); image-rendering: auto; }
  .hero-tagline { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(0.85rem, 2vw, 1rem); font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 1.5rem; animation: fadeUp 0.9s 0.15s cubic-bezier(0.16,1,0.3,1) both; }
  .hero-headline { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.92; letter-spacing: 0.02em; color: var(--white); margin-bottom: 1.8rem; animation: fadeUp 0.9s 0.25s cubic-bezier(0.16,1,0.3,1) both; }
  .hero-headline span { color: var(--blue-light); display: block; }
  .hero-sub { font-size: 1.1rem; color: var(--gray-light); max-width: 480px; margin: 0 auto 2.8rem; line-height: 1.7; animation: fadeUp 0.9s 0.35s cubic-bezier(0.16,1,0.3,1) both; }
  .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.9s 0.45s cubic-bezier(0.16,1,0.3,1) both; }
  .btn-primary { background: var(--blue); color: white; padding: 0.9rem 2.2rem; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; box-shadow: 0 0 30px rgba(0,87,255,0.4); }
  .btn-primary:hover { background: var(--blue-light); box-shadow: 0 0 40px rgba(0,150,255,0.6); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: white; padding: 0.9rem 2.2rem; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 0 25px rgba(37,211,102,0.3); }
.btn-wa:hover { background: #20bb5a; transform: translateY(-2px); }
.btn-wa-large { display: inline-flex; font-size: 1.05rem; padding: 1rem 2.5rem; }
.section-shell { padding: 4rem 5%; }
.section-shell-inner { max-width: 1200px; margin: 0 auto; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.footer-mini-link { font-size: .82rem; color: var(--gray); text-decoration: none; }
.footer-mini-link:hover { color: var(--white); }
  .btn-outline { background: transparent; color: white; padding: 0.9rem 2.2rem; border-radius: 5px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer; transition: all 0.2s; }
  .btn-outline:hover { border-color: var(--blue-glow); color: var(--blue-glow); transform: translateY(-2px); }
  /* WHATSAPP BANNER */
  .wa-banner { background: linear-gradient(135deg, rgba(37,211,102,0.12), rgba(18,140,62,0.08)); border: 1px solid rgba(37,211,102,0.25); border-radius: 12px; padding: 1.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1200px; margin: 0 auto 3rem; flex-wrap: wrap; }
  .wa-banner-text h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
  .wa-banner-text p { font-size: 0.92rem; color: var(--gray-light); }
  .wa-btn { background: #25D366; color: white; padding: 0.8rem 2rem; border-radius: 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; transition: all 0.2s; box-shadow: 0 4px 20px rgba(37,211,102,0.25); }
  .wa-btn:hover { background: #20bb5a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }

  /* SECTIONS */
  section { padding: 7rem 5%; position: relative; }
  .section-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 0.8rem; }
  .section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: 0.03em; line-height: 1; color: var(--white); margin-bottom: 1rem; }
  .section-desc { color: var(--gray-light); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }

  /* SOBRE */
  #sobre { background: var(--dark); clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); padding-top: 9rem; scroll-margin-top: 72px; }
  .sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
  .sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
  .stat-card { background: rgba(0,87,255,0.06); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
  .stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--blue-light); line-height: 1; margin-bottom: 0.3rem; }
  .stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }
  .sobre-visual { position: relative; }
  .sobre-img-box { background: linear-gradient(135deg, rgba(0,87,255,0.15), rgba(0,170,255,0.05)); border: 1px solid var(--border); border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
  .sobre-img-box::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(0,87,255,0.03) 30px, rgba(0,87,255,0.03) 32px); }
  .glow-dot { position: absolute; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,87,255,0.3), transparent 70%); border-radius: 50%; }

  /* EVENTOS */
  #eventos { background: var(--navy); }
  .eventos-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; max-width: 1200px; margin-left: auto; margin-right: auto; flex-wrap: wrap; gap: 1rem; }
  .semana-badge { background: rgba(0,87,255,0.1); border: 1px solid var(--border); border-radius: 20px; padding: 0.4rem 1rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-glow); display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.8rem; }
  .eventos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
  .evento-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; position: relative; display: flex; }
  .evento-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-glow)); }
  .evento-card:hover { transform: translateY(-4px); border-color: rgba(0,150,255,0.4); box-shadow: 0 20px 40px rgba(0,87,255,0.15); }
  .evento-badge { position: absolute; top: 1.2rem; right: 1.2rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 20px; }
  .badge-extra { background: rgba(255,165,0,0.12); color: #ffc060; border: 1px solid rgba(255,165,0,0.3); }
  .badge-normal { background: rgba(0,87,255,0.2); color: #7eb8ff; border: 1px solid #3d7fff; }
  .evento-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; width: 100%; }
  .evento-date { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 0.45rem; display: flex; align-items: center; gap: 0.4rem; }
  .evento-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 600; color: rgba(214,220,232,0.7); letter-spacing: 0.04em; margin-bottom: 0.3rem; }
  .evento-sede { font-size: 0.9rem; color: var(--gray); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.4rem; }
  .evento-precio { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--blue-light); line-height: 1; margin: 0.65rem 0 0.6rem; }
  .evento-horario { font-family: 'Bebas Neue', sans-serif; font-size: 1.95rem; color: var(--blue-glow); letter-spacing: 0.03em; line-height: 1; margin-bottom: 0.25rem; }
  .evento-extra { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255,165,0,0.07); border: 1px solid rgba(255,165,0,0.2); border-radius: 999px; padding: 0.38rem 0.8rem; font-size: 0.78rem; color: #ffc060; margin-bottom: 0.7rem; width: fit-content; max-width: 100%; line-height: 1.15; }
  .evento-welcome { background: rgba(0,87,255,0.12); border: 1px solid rgba(0,150,255,0.24); color: #9bc9ff; }
  .inscribirse-btn { display: block; text-align: center; background: var(--blue); color: white; padding: 0.75rem 1.5rem; border-radius: 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: all 0.2s; margin-top: auto; box-shadow: 0 4px 18px rgba(0,87,255,0.3); }
  .inscribirse-btn:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,150,255,0.45); }

  .eventos-tools { max-width: 1200px; margin: 0 auto 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.9rem; }
  .event-filter-bar { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
  .event-filter-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: var(--gray-light);
    border-radius: 999px;
    padding: 0.62rem 1rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }
  .event-filter-btn:hover { border-color: rgba(0,150,255,0.35); color: var(--white); transform: translateY(-1px); }
  .event-filter-btn.active {
    background: linear-gradient(135deg, rgba(0,87,255,0.22), rgba(0,150,255,0.12));
    border-color: rgba(0,150,255,0.42);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0,87,255,0.16);
  }
  .event-filter-status {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
  }
  .evento-card.is-hidden { display: none !important; }
  .eventos-empty {
    display: none;
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    color: var(--gray-light);
    font-size: 0.95rem;
  }


  /* RANKING */
  #ranking { background: var(--dark); clip-path: none; padding: 9rem 5%; }
  .ranking-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
  .ranking-info { position: sticky; top: 100px; }
  .categoria-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
  .cat-tab { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid var(--border); color: var(--gray); padding: 0.62rem 1.25rem; border-radius: 999px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s; overflow: hidden; }
  .cat-tab:hover { transform: translateY(-1px); border-color: rgba(0,170,255,0.3); color: var(--white); }
  .cat-tab.active { background: linear-gradient(180deg, rgba(0,87,255,0.95), rgba(0,170,255,0.72)); border-color: rgba(68,170,255,0.85); color: white; box-shadow: 0 12px 28px rgba(0,87,255,0.28), inset 0 1px 0 rgba(255,255,255,0.16); }
  .cat-tab.is-current::after { content: ''; position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(180deg, #ffd54a, #ffb300); box-shadow: 0 0 0 3px rgba(255,193,7,0.12), 0 0 14px rgba(255,193,7,0.35); }
  .cat-tab.active.is-current::after { background: linear-gradient(180deg, #fff4bd, #ffd54a); box-shadow: 0 0 0 3px rgba(255,255,255,0.14), 0 0 18px rgba(255,213,74,0.45); }
  .ranking-table { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
  .ranking-table-header { display: grid; grid-template-columns: 48px 1fr 80px 80px 80px; padding: 1rem 1.5rem; background: rgba(0,87,255,0.08); border-bottom: 1px solid var(--border); }
  .ranking-table-header span { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }
  .ranking-row { display: grid; grid-template-columns: 48px 1fr 80px 80px 80px; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.04); align-items: center; transition: background 0.2s; }
  .ranking-row:last-child { border-bottom: none; }
  .ranking-row:hover { background: rgba(0,87,255,0.05); }
  .ranking-row.top1 { background: linear-gradient(90deg, rgba(255,193,7,0.10), rgba(255,193,7,0.03)); }
  .ranking-row.top2 { background: linear-gradient(90deg, rgba(176,196,222,0.08), rgba(176,196,222,0.03)); }
  .ranking-row.top3 { background: linear-gradient(90deg, rgba(205,127,50,0.09), rgba(205,127,50,0.03)); }
  .rank-pos { width: 34px; height: 34px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; color: var(--gray); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
  .rank-pos.gold { color: #ffc107; } .rank-pos.silver { color: #b0c4de; } .rank-pos.bronze { color: #cd7f32; }
  .rank-player { display: flex; align-items: center; gap: 0.8rem; }
  .rank-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-glow)); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
  .rank-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1rem; color: var(--white); }
  .rank-sede { font-size: 0.75rem; color: var(--gray); }
  .rank-pts { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--blue-light); text-align: center; }
  .rank-cell { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; color: var(--gray-light); text-align: center; }
  .premios-box { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; margin-top: 2rem; }
  .premios-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 1rem; }
  .premios-panel-grid { display: grid; gap: 0.8rem; }
  .premio-item {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  }
  .premio-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .premio-item.gold {
    border-color: rgba(255, 193, 7, 0.34);
    background: radial-gradient(circle at 0% 0%, rgba(255,193,7,0.22), transparent 42%), linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    box-shadow: 0 18px 38px rgba(0,0,0,0.24), 0 0 0 1px rgba(255,193,7,0.08) inset;
    transform: translateY(-2px) scale(1.01);
  }
  .premio-item.gold .premio-pos { color: #ffd54a; }
  .premio-item.gold .premio-desc { color: var(--white); font-weight: 700; }
  .premio-item.gold .premio-tier {
    background: linear-gradient(180deg, rgba(255,193,7,0.24), rgba(255,193,7,0.12));
    border-color: rgba(255,193,7,0.32);
    color: #ffe082;
    box-shadow: 0 8px 20px rgba(255,193,7,0.14);
  }
  .premio-item.gold .premio-medal {
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.34), rgba(255,255,255,0.02) 58%), linear-gradient(180deg, rgba(255,193,7,0.34), rgba(255,193,7,0.12));
    border-color: rgba(255,193,7,0.38);
    box-shadow: 0 10px 24px rgba(255,193,7,0.14);
  }
  .premio-medal {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), rgba(255,255,255,0.02) 58%), linear-gradient(180deg, rgba(0,87,255,0.22), rgba(0,87,255,0.08));
    border: 1px solid rgba(0,170,255,0.18);
  }
  .premio-copy { min-width: 0; }
  .premio-pos {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.18rem;
  }
  .premio-desc {
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--gray-light);
  }
  .premio-tier {
    justify-self: end;
    white-space: nowrap;
    padding: 0.4rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(0,170,255,0.14);
    background: rgba(0,87,255,0.10);
    color: var(--blue-glow);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .premio-item.gold .premio-medal {
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 58%), linear-gradient(180deg, rgba(255,196,0,0.30), rgba(255,196,0,0.10));
    border-color: rgba(255,196,0,0.30);
  }
  .premio-item.silver .premio-medal {
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), rgba(255,255,255,0.04) 58%), linear-gradient(180deg, rgba(192,202,221,0.28), rgba(192,202,221,0.10));
    border-color: rgba(192,202,221,0.25);
  }
  .premio-item.bronze .premio-medal {
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), rgba(255,255,255,0.04) 58%), linear-gradient(180deg, rgba(205,127,50,0.28), rgba(205,127,50,0.10));
    border-color: rgba(205,127,50,0.25);
  }

  .ranking-podium { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-bottom: 1.25rem; }
  .podium-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); border: 1px solid var(--border); border-radius: 16px; padding: 1.15rem; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
  .podium-card::before { content: ''; position:absolute; inset:0 0 auto 0; height:3px; background: linear-gradient(90deg, rgba(0,87,255,0), var(--blue-glow), rgba(0,87,255,0)); opacity:.8; }
  .podium-card.gold { background: linear-gradient(180deg, rgba(255,193,7,.14), rgba(255,255,255,.04)); border-color: rgba(255,193,7,.28); box-shadow: 0 14px 28px rgba(255,193,7,.08); }
  .podium-card.silver { background: linear-gradient(180deg, rgba(176,196,222,.12), rgba(255,255,255,.035)); border-color: rgba(176,196,222,.22); }
  .podium-card.bronze { background: linear-gradient(180deg, rgba(205,127,50,.13), rgba(255,255,255,.035)); border-color: rgba(205,127,50,.22); }
  .podium-rank { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom: 1rem; }
  .podium-medal { font-family:'Barlow Condensed',sans-serif; font-size:.82rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color: var(--white); display:flex; align-items:center; gap:.45rem; }
  .podium-medal-icon { font-size: 1.2rem; line-height: 1; }
  .podium-crown { font-family:'Barlow Condensed',sans-serif; font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:.28rem .55rem; border-radius:999px; background: rgba(255,193,7,.14); color:#ffd54a; border: 1px solid rgba(255,193,7,.22); display:inline-flex; align-items:center; gap:.38rem; }
  .podium-crown::before { content:''; width: 13px; height: 13px; display:inline-block; background-repeat:no-repeat; background-position:center; background-size:contain; background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffd54a' d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 10H5z'/%3E%3C/svg%3E\"); }
  .podium-player { display:flex; align-items:center; gap:.85rem; margin-bottom: 1rem; }
  .podium-avatar { width: 54px; height: 54px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-family:'Barlow Condensed',sans-serif; font-size:1.05rem; font-weight:700; color:white; flex-shrink:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
  .podium-name { font-family:'Barlow Condensed',sans-serif; font-size:1.18rem; font-weight:700; color:var(--white); line-height:1.05; }
  .podium-sub { font-size:.78rem; color:var(--gray); margin-top:.15rem; }
  .podium-stats { display:grid; grid-template-columns: repeat(3, 1fr); gap:.65rem; }
  .podium-stat { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: .7rem .55rem; text-align:center; }
  .podium-stat-value { display:block; font-family:'Barlow Condensed',sans-serif; font-size:1.25rem; font-weight:700; color:var(--white); line-height:1; }
  .podium-stat-label { display:block; font-family:'Barlow Condensed',sans-serif; font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--gray); margin-top:.35rem; }
  .top1 .rank-name::after { content:''; width: 13px; height: 13px; display:inline-block; vertical-align:middle; margin-left:0.38rem; background-repeat:no-repeat; background-position:center; background-size:contain; background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffc107' d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 10H5z'/%3E%3C/svg%3E\"); filter: drop-shadow(0 0 10px rgba(255,193,7,0.2)); }

  /* SEDES */
  #sedes { background: var(--navy); }
  .sedes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
  .sede-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0; transition: all 0.25s; position: relative; overflow: hidden; }
  .sede-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-glow)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
  .sede-card:hover::after { transform: scaleX(1); }
  .sede-card:hover { border-color: rgba(0,150,255,0.3); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,87,255,0.12); }
  .sede-number { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: rgba(0,87,255,0.15); line-height: 1; margin-bottom: 0.5rem; }
  .sede-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
  .sede-ciudad { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 1.2rem; }
  .sede-details { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
  .sede-detail { font-size: 0.88rem; color: var(--gray-light); display: flex; align-items: center; gap: 0.5rem; }
  .ver-mapa { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
  .ver-mapa:hover { gap: 0.7rem; color: var(--blue-glow); }

  /* FOOTER */
  footer { background: #030509; border-top: 1px solid var(--border); padding: 4rem 5% 2.5rem; }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
  .footer-logo img { height: 44px; width:auto; max-width: 240px; object-fit: contain; display:block; margin-bottom: 1rem; }
  .footer-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
  .social-links { display: flex; gap: 0.8rem; flex-wrap: wrap; }
  .social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--gray); text-decoration: none; transition: all 0.2s; }
  .social-link:hover { background: var(--blue); border-color: var(--blue); color: white; }
  .social-link.wa:hover { background: #25D366; border-color: #25D366; }
  .social-link[title="Instagram"]:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); border-color: #fd1d1d; color: white; }
  .social-link[title="TikTok"]:hover { background: #010101; border-color: #69c9d0; color: #69c9d0; }
  .footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.6rem; }
  .footer-col ul li a { font-size: 0.88rem; color: var(--gray); text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--blue-glow); }
  .footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin-left: auto; margin-right: auto; }
  .footer-copy { font-size: 0.82rem; color: var(--gray); }

  /* ANIMATIONS */
  .text-center { text-align: center; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

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

  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(5,8,16,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5%;
    z-index: 99;
    flex-direction: column;
    gap: 0;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--blue-glow); }
  .mobile-menu .m-wa {
    margin-top: 1rem;
    background: #25D366;
    color: white !important;
    padding: 0.9rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    border-bottom: none !important;
  }

  @media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    /* HERO */
    .hero-headline { font-size: clamp(2.8rem, 10vw, 5rem); }
    .hero-sub { font-size: 1rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns a { width: 100%; max-width: 320px; justify-content: center; text-align: center; }

    /* SOBRE */
    .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .sobre-visual { display: none; }
    .sobre-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* EVENTOS */
    .eventos-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .eventos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
    .eventos-tools { margin-bottom: 1rem; align-items: stretch; }
    .event-filter-bar { gap: 0.45rem; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 0.2rem; }
    .event-filter-bar::-webkit-scrollbar { display: none; }
    .event-filter-btn { padding: 0.56rem 0.82rem; font-size: 0.72rem; letter-spacing: 0.1em; flex: 0 0 auto; }
    .event-filter-status { width: 100%; font-size: 0.72rem; }
    .evento-card { min-width: 0; border-radius: 12px; }
    .evento-badge { top: 0.7rem; right: 0.7rem; font-size: 0.58rem; padding: 0.22rem 0.5rem; letter-spacing: 0.08em; max-width: calc(100% - 1.4rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .evento-body { padding: 0.9rem; }
    .evento-date { font-size: 0.9rem; line-height: 1.05; padding-right: 66px; margin-bottom: 0.35rem; }
    .evento-sede { font-size: 0.74rem; margin-bottom: 0.55rem; line-height: 1.25; }
    .evento-horario { font-size: 1.2rem; margin-bottom: 0.18rem; }
    .evento-precio { font-size: 1.2rem; margin: 0.45rem 0 0.45rem; }
    .evento-extra { font-size: 0.64rem; padding: 0.28rem 0.52rem; margin-bottom: 0.45rem; max-width: 100%; line-height: 1.15; }
    .inscribirse-btn { font-size: 0.72rem; padding: 0.62rem 0.55rem; letter-spacing: 0.06em; }
    .wa-banner { flex-direction: column; text-align: center; gap: 1.2rem; padding: 1.5rem; }
    .wa-banner-text { text-align: center; }

    /* RANKING */
    #ranking { clip-path: none; padding: 5rem 5%; }
    .ranking-layout { grid-template-columns: 1fr; gap: 3rem; }
    .ranking-info { position: static; }
    .ranking-podium { grid-template-columns: 1fr; gap: .85rem; }
    .podium-card { padding: 1rem; border-radius: 14px; }
    .podium-player { gap: .7rem; }
    .podium-avatar { width: 48px; height: 48px; font-size: .95rem; }
    .podium-name { font-size: 1.05rem; }
    .podium-stats { gap: .5rem; }
    .podium-stat { padding: .6rem .4rem; }
    .podium-stat-value { font-size: 1.08rem; }
    .ranking-table-header,
    .ranking-row { grid-template-columns: 40px 1fr 70px 70px; }
    .ranking-table-header span:last-child,
    .ranking-row .rank-cell:last-child { display: none; }
    .premios-box { padding: 1.5rem; }

    /* SEDES */
    .sedes-grid { grid-template-columns: 1fr 1fr; }

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

  @media (max-width: 600px) {
    section { padding: 4rem 5%; }
    #sobre { padding-top: 6rem; }

    /* HERO */
    .hero-logo { width: min(280px, 70vw); height:auto; }
    .hero-headline { font-size: 2.8rem; }
    .hero-tagline { font-size: 0.75rem; letter-spacing: 0.2em; }

    /* SOBRE */
    .sobre-stats { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2.2rem; }

    /* EVENTOS */
    .eventos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.72rem; }
    .evento-body { padding: 0.82rem; }
    .evento-date { font-size: 0.84rem; padding-right: 58px; }
    .evento-sede { font-size: 0.7rem; margin-bottom: 0.46rem; }
    .evento-horario { font-size: 1.06rem; }
    .evento-precio { font-size: 1.06rem; }
    .evento-extra { font-size: 0.6rem; padding: 0.24rem 0.46rem; }
    .inscribirse-btn { font-size: 0.66rem; padding: 0.56rem 0.45rem; }

    /* RANKING */
    .categoria-tabs { gap: 0.4rem; }
    .cat-tab { font-size: 0.78rem; padding: 0.45rem 1rem; }
    .rank-name { font-size: 0.9rem; }
    .rank-avatar { width: 28px; height: 28px; font-size: 0.7rem; }

    /* SEDES */
    .sedes-grid { grid-template-columns: 1fr; }

    /* FOOTER */
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-col:nth-child(3), .footer-col:nth-child(4) { display: none; }
  }


  .disabled-tab { opacity: 0.4; cursor: default !important; }
  .disabled-tab:hover { background: transparent !important; border-color: var(--border) !important; color: var(--gray) !important; }


  .ranking-loading {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; padding: 3rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gray);
  }
  .loading-spinner {
    width: 24px; height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .future-tab { opacity: 0.45; }
  .future-tab:hover { opacity: 0.7; }




  .sede-img { width:100%; height:160px; object-fit:cover; border-radius:8px 8px 0 0; display:block; margin-bottom:0; }
  .sede-card-body { padding:1.5rem; }

  /* CONTACTO */
  #contacto { background: var(--dark); clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); padding-top: 9rem; }
  .contacto-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.5fr; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
  .contacto-info { background: linear-gradient(135deg, rgba(0,87,255,0.12) 0%, rgba(0,30,80,0.3) 100%); padding: 2.5rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; }
  .contacto-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
  .contacto-info > p { color: var(--gray-light); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.8rem; }
  .contacto-cards { display: flex; flex-direction: column; gap: 0.8rem; }
  .contacto-card { display: flex; align-items: center; gap: 0.9rem; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 0.9rem 1.1rem; text-decoration: none; color: var(--white); transition: all 0.25s; }
  .contacto-card:hover { border-color: rgba(0,150,255,0.4); transform: translateX(4px); }
  .contacto-card.wa-card:hover { border-color: rgba(37,211,102,0.4); }
  .contacto-card-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contacto-card-icon.email-icon { background: rgba(0,87,255,0.18); }
  .contacto-card-icon.phone-icon { background: rgba(0,87,255,0.18); }
  .contacto-card-icon.wa-icon { background: rgba(37,211,102,0.18); }
  .contacto-card-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
  .contacto-card-value { font-family: 'Barlow Condensed', sans-serif; font-size: 0.92rem; font-weight: 600; color: var(--white); }
  .contacto-form-wrap { padding: 2.5rem; }
  .contacto-form-wrap h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 1.5rem; }
  .contacto-form .form-group { margin-bottom: 1.2rem; }
  .contacto-form label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 0.35rem; }
  .contacto-form input,
  .contacto-form textarea,
  .contacto-form select {
    width: 100%; padding: 0.7rem 0.85rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 6px; color: var(--white); font-family: 'Barlow', sans-serif; font-size: 0.88rem;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none; box-sizing: border-box;
  }
  .contacto-form input:focus,
  .contacto-form textarea:focus,
  .contacto-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,255,0.15); }
  .contacto-form input::placeholder, .contacto-form textarea::placeholder { color: var(--gray); }
  .contacto-form textarea { min-height: 100px; resize: vertical; }
  .contacto-form select option { background: var(--dark); color: var(--white); }
  .contacto-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .contacto-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--blue); color: white; padding: 0.8rem 2rem; border: none; border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem;
    letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
    transition: all 0.2s; box-shadow: 0 0 25px rgba(0,87,255,0.3); width: 100%;
  }
  .contacto-submit:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,150,255,0.5); }
  .contacto-success { display: none; text-align: center; padding: 3rem 2rem; }
  .contacto-success.show { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .contacto-success svg { margin-bottom: 1rem; }
  .contacto-success h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; color: var(--white); margin-bottom: 0.5rem; }
  .contacto-success p { color: var(--gray-light); font-size: 0.95rem; }
  @media (max-width: 900px) {
    .contacto-grid { grid-template-columns: 1fr; }
    .contacto-info { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem; }
    .contacto-cards { flex-direction: row; flex-wrap: wrap; }
    .contacto-card { flex: 1; min-width: 180px; }
  }
  @media (max-width: 600px) {
    #contacto { clip-path: none; padding-top: 5rem; }
    .contacto-form .form-row { grid-template-columns: 1fr; }
    .contacto-form-wrap { padding: 1.5rem; }
    .contacto-info { padding: 1.5rem; }
    .contacto-cards { flex-direction: column; }
  }


  /* HOME POPUP: PROXIMA AMERICANA */
  .next-popup-overlay{
    position:fixed;
    right:18px;
    bottom:18px;
    display:none;
    z-index:10050;
    width:min(calc(100vw - 32px), 364px);
    max-width:calc(100vw - 32px);
  }
  .next-popup-overlay.show{display:block;}
  .next-popup{
    width:100%;
    background:
      radial-gradient(circle at top right, rgba(0,170,255,.16), transparent 40%),
      linear-gradient(180deg, rgba(13,21,37,.98), rgba(5,8,16,.985));
    border:1px solid rgba(0,170,255,.22);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 18px 50px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.025) inset;
    position:relative;
    backdrop-filter:blur(14px);
    max-height:min(88dvh, 720px);
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    animation:nextPopupIn .28s ease-out both;
  }
  @keyframes nextPopupIn{
    from{opacity:0; transform:translateY(16px) scale(.985);}
    to{opacity:1; transform:translateY(0) scale(1);}
  }
  .next-popup-top{
    padding:.84rem .95rem 0;
    display:flex; align-items:center; justify-content:space-between; gap:.8rem;
  }
  .next-popup-kicker{
    display:inline-flex;
    align-items:center;
    gap:.45rem;
    color:#9fdfff;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    line-height:1;
  }
  .next-popup-dot{
    width:8px; height:8px; border-radius:999px;
    background:#18c7ff;
    box-shadow:0 0 0 5px rgba(24,199,255,.14);
    flex-shrink:0;
    animation:popupDotPulse 1.8s ease-in-out infinite;
  }
  @keyframes popupDotPulse{
    0%,100%{box-shadow:0 0 0 5px rgba(24,199,255,.14);}
    50%{box-shadow:0 0 0 9px rgba(24,199,255,.06);}
  }
  .next-popup-close{
    appearance:none; border:none; cursor:pointer; flex-shrink:0;
    width:32px; height:32px; border-radius:999px;
    background:rgba(255,255,255,.08); color:#fff; font-family: Arial, sans-serif; font-size:1.25rem; line-height:1;
    display:flex; align-items:center; justify-content:center;
    transition:transform .18s ease, background .18s ease, opacity .18s ease;
    opacity:.92;
  }
  .next-popup-close:hover{background:rgba(255,255,255,.14); transform:scale(1.03);}
  .next-popup-body{padding:.82rem .95rem .95rem;}
  .next-popup-mainline{
    font-family:'Bebas Neue',sans-serif;
    font-size:2rem;
    line-height:.95;
    letter-spacing:.035em;
    color:#fff;
    margin:.15rem 0 .2rem;
  }
  .next-popup-secondary{
    color:#dbe9ff;
    font-size:.95rem;
    line-height:1.35;
    margin-bottom:.78rem;
  }
  .next-popup-sales{
    display:flex;
    align-items:center;
    gap:.55rem;
    padding:.62rem .72rem;
    margin:0 0 .82rem;
    border-radius:14px;
    background:linear-gradient(180deg, rgba(255,138,0,.14), rgba(0,87,255,.09));
    border:1px solid rgba(255,168,46,.20);
  }
  .next-popup-sales-badge{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    padding:.36rem .56rem;
    border-radius:999px;
    background:rgba(255,168,46,.16);
    color:#fff;
    font-size:.73rem;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
    border:1px solid rgba(255,168,46,.26);
  }
  .next-popup-sales-text{
    color:#dceaff;
    font-size:.84rem;
    line-height:1.3;
    min-width:0;
  }
  .next-popup-meta{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:.45rem;
    margin:0 0 .75rem;
  }
  .next-popup-chip{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:13px;
    padding:.58rem .68rem;
    color:#d8e8ff;
    font-size:.82rem;
    line-height:1.18;
    min-height:46px;
    display:flex;
    align-items:center;
  }
  .next-popup-chip strong{color:#fff;}
  .next-popup-extras{
    display:flex;
    flex-wrap:wrap;
    gap:.45rem;
    margin:0 0 .82rem;
  }
  .next-popup-pill{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    color:#d8e8ff;
    border-radius:999px;
    padding:.42rem .68rem;
    font-size:.79rem;
    line-height:1.1;
  }
  .next-popup-pill-primary{
    background:rgba(0,87,255,.12);
    border-color:rgba(0,170,255,.16);
  }
  .next-popup-count{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.8rem;
    background:linear-gradient(180deg, rgba(255,138,0,.10), rgba(0,170,255,.07));
    border:1px solid rgba(255,168,46,.18);
    border-radius:15px;
    padding:.82rem .88rem;
    margin-bottom:.82rem;
  }
  .next-popup-count-copy{
    min-width:0;
  }
  .next-popup-count-label{
    font-family:'Barlow Condensed',sans-serif;
    font-size:.74rem;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#ffd08a;
    margin-bottom:.22rem;
  }
  .next-popup-count-sub{
    color:var(--gray-light);
    font-size:.84rem;
    line-height:1.3;
  }
  .next-popup-count-time{
    font-family:'Bebas Neue',sans-serif;
    font-size:1.7rem;
    line-height:1;
    letter-spacing:.04em;
    color:#fff;
    white-space:nowrap;
    text-align:right;
    flex-shrink:0;
  }
  .next-popup-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:.6rem;
    align-items:center;
  }
  .next-popup-actions .btn-primary{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    font-weight:800;
    box-shadow:0 12px 28px rgba(0,87,255,.22);
  }
  .next-popup-link{
    color:#b8d7ff;
    text-decoration:none;
    font-size:.88rem;
    font-weight:600;
    white-space:nowrap;
    transition:opacity .18s ease, color .18s ease;
  }
  .next-popup-link:hover{
    color:#fff;
  }
  .next-popup .btn-primary{
    position:relative;
    overflow:hidden;
  }
  .next-popup .btn-primary::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
    transform:translateX(-130%);
    transition:transform .55s ease;
  }
  .next-popup .btn-primary:hover::after{
    transform:translateX(130%);
  }
  .next-popup-note{
    margin-top:.72rem;
    color:var(--gray);
    font-size:.78rem;
    line-height:1.4;
  }
  @media (max-width: 768px){
    .next-popup-overlay{
      left:14px;
      right:14px;
      transform:none;
      margin-left:auto;
      margin-right:auto;
      bottom:max(12px, calc(env(safe-area-inset-bottom) + 12px));
      width:auto;
      max-width:332px;
    }
    .next-popup{
      border-radius:18px;
      box-shadow:0 14px 34px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.02) inset;
      max-height:min(82dvh, 680px);
    }
    .next-popup-top{
      padding:.74rem .82rem 0;
    }
    .next-popup-kicker{
      font-size:.68rem;
      letter-spacing:.145em;
    }
    .next-popup-body{
      padding:.72rem .82rem .84rem;
    }
    .next-popup-mainline{
      font-size:1.62rem;
    }
    .next-popup-secondary{
      font-size:.88rem;
      margin-bottom:.68rem;
    }
    .next-popup-sales{
      padding:.54rem .62rem;
      gap:.44rem;
      margin-bottom:.72rem;
    }
    .next-popup-sales-badge{
      font-size:.67rem;
      padding:.33rem .48rem;
    }
    .next-popup-sales-text{
      font-size:.79rem;
    }
    .next-popup-meta{
      grid-template-columns:1fr 1fr;
      margin-bottom:.68rem;
    }
    .next-popup-chip{
      min-height:40px;
      font-size:.79rem;
      padding:.5rem .6rem;
    }
    .next-popup-pill{
      font-size:.74rem;
      padding:.4rem .64rem;
    }
    .next-popup-count{
      padding:.72rem .76rem;
      gap:.64rem;
      margin-bottom:.72rem;
    }
    .next-popup-count-time{
      font-size:1.42rem;
    }
    .next-popup-count-sub{
      font-size:.79rem;
    }
    .next-popup-actions{
      grid-template-columns:1fr;
    }
    .next-popup-actions .btn-primary{
      min-height:46px;
    }
    .next-popup-link{
      text-align:center;
      padding-top:.08rem;
      font-size:.83rem;
    }
  }

  @media (max-width: 420px){
    .next-popup-overlay{
      left:12px;
      right:12px;
      transform:none;
      width:auto;
      max-width:314px;
      bottom:max(10px, calc(env(safe-area-inset-bottom) + 10px));
    }
    .next-popup-top{
      padding:.7rem .76rem 0;
    }
    .next-popup{
      max-height:min(80dvh, 640px);
    }
    .next-popup-body{
      padding:.68rem .76rem .78rem;
    }
    .next-popup-close{
      width:28px;
      height:28px;
      font-size:1.1rem;
    }
    .next-popup-mainline{
      font-size:1.46rem;
    }
    .next-popup-sales{
      flex-direction:column;
      align-items:flex-start;
      gap:.38rem;
    }
    .next-popup-sales-badge{
      white-space:normal;
    }
    .next-popup-meta{
      grid-template-columns:1fr;
      gap:.38rem;
    }
    .next-popup-chip{
      min-height:36px;
      font-size:.76rem;
    }
    .next-popup-extras{
      margin-bottom:.72rem;
    }
    .next-popup-pill{
      width:100%;
      justify-content:center;
    }
    .next-popup-count{
      flex-direction:column;
      align-items:flex-start;
    }
    .next-popup-count-time{
      text-align:left;
      font-size:1.32rem;
    }
    .next-popup-count-label{
      font-size:.68rem;
      letter-spacing:.145em;
    }
  }


  /* MOBILE OPTIMIZATION - HORIZON */
  html, body { max-width: 100%; overflow-x: hidden; }
  img { max-width: 100%; }

  @media (max-width: 900px) {
    nav {
      height: 64px;
      padding: 0 16px;
    }
    .nav-logo img {
      height: 34px;
      max-width: min(236px, calc(100vw - 96px));
    }
    .nav-brand { gap: 0.55rem; }
    .nav-brand-mark { height: 34px; width: auto; }
    .nav-brand-text { font-size: 0.92rem; letter-spacing: 0.03em; }
    .mobile-menu {
      top: 64px;
      padding: 1rem 16px calc(1rem + env(safe-area-inset-bottom));
      max-height: calc(100svh - 64px);
      overflow-y: auto;
    }
    .mobile-menu a {
      font-size: 1.02rem;
      letter-spacing: 0.1em;
      padding: 0.95rem 0;
    }

    .hero {
      min-height: 100svh;
      align-items: flex-start;
      padding-top: 96px;
      padding-bottom: 84px;
    }
    .hero-content {
      width: 100%;
      max-width: 560px;
      padding: 0 16px;
    }
    .hero-logo {
      width: min(250px, 64vw);
      margin-bottom: 1.35rem;
    }
    .hero-tagline {
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      margin-bottom: 1rem;
    }
    .hero-headline {
      font-size: clamp(2.55rem, 12vw, 4.35rem);
      line-height: 0.95;
      margin-bottom: 1rem;
    }
    .hero-sub {
      font-size: 0.98rem;
      line-height: 1.55;
      max-width: 32ch;
      margin-bottom: 1.55rem;
    }
    .hero-btns {
      gap: 0.75rem;
      width: 100%;
      max-width: 360px;
      margin: 0 auto;
    }
    .hero-btns a {
      min-height: 48px;
      padding: 0.95rem 1.2rem;
      font-size: 0.94rem;
      width: 100%;
      justify-content: center;
      text-align: center;
    }
    .hero-slash {
      height: 72px;
    }

    section {
      padding: 4.5rem 16px;
    }
    #sobre,
    #ranking,
    #contacto {
      clip-path: none;
      padding-top: 5rem;
    }
    .section-label {
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      margin-bottom: 0.6rem;
    }
    .section-title {
      font-size: clamp(2.1rem, 11vw, 3rem);
      line-height: 0.96;
      margin-bottom: 0.75rem;
    }
    .section-desc {
      font-size: 0.96rem;
      line-height: 1.6;
    }

    .sobre-grid {
      gap: 2rem;
    }
    .sobre-stats {
      gap: 0.85rem;
      margin-top: 1.45rem;
    }
    .stat-card {
      padding: 1rem;
      border-radius: 12px;
    }
    .stat-number {
      font-size: 2.2rem;
    }
    .stat-label {
      font-size: 0.74rem;
      line-height: 1.25;
    }

    .wa-banner {
      margin-bottom: 1.6rem;
      padding: 1.15rem;
      border-radius: 14px;
      gap: 1rem;
      align-items: stretch;
    }
    .wa-banner-text h3 {
      font-size: 1.15rem;
      line-height: 1.05;
    }
    .wa-banner-text p {
      font-size: 0.9rem;
      line-height: 1.45;
    }
    .wa-btn {
      width: 100%;
      justify-content: center;
      min-height: 48px;
    }

    .eventos-grid {
      gap: 1rem;
    }
    .evento-card {
      border-radius: 16px;
    }
    .evento-body {
      padding: 1.15rem;
    }
    .evento-badge {
      top: 0.95rem;
      right: 0.95rem;
      font-size: 0.66rem;
      padding: 0.3rem 0.65rem;
    }
    .evento-date {
      font-size: 1rem;
      line-height: 1.15;
      margin-bottom: 0.35rem;
      padding-right: 90px;
    }
    .evento-sede {
      font-size: 0.88rem;
      line-height: 1.4;
      margin-bottom: 0.65rem;
    }
    .evento-horario {
      font-size: 1.65rem;
      margin-bottom: 0.2rem;
    }
    .evento-precio {
      font-size: 1.55rem;
      margin: 0.45rem 0 0.55rem;
    }
    .evento-extra {
      font-size: 0.76rem;
      line-height: 1.3;
      padding: 0.4rem 0.72rem;
      margin-bottom: 0.8rem;
    }
    .inscribirse-btn {
      min-height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
    }

    .categoria-tabs {
      flex-wrap: nowrap !important;
      overflow-x: auto;
      overflow-y: hidden;
      padding-bottom: 0.3rem;
      margin-bottom: 1rem !important;
      scroll-snap-type: x proximity;
      -webkit-overflow-scrolling: touch;
    }
    .categoria-tabs::-webkit-scrollbar {
      display: none;
    }
    .cat-tab {
      flex: 0 0 auto;
      scroll-snap-align: start;
      white-space: nowrap;
      min-height: 40px;
      padding: 0.52rem 0.95rem;
    }
    #rankingSearch {
      min-height: 44px;
      font-size: 16px !important;
    }
    .premios-box {
      padding: 1.2rem;
      border-radius: 14px;
    }
    .premio-item {
      grid-template-columns: 46px minmax(0,1fr);
      gap: 0.75rem;
      padding: 0.82rem 0.85rem;
      align-items: center;
    }
    .premio-medal {
      width: 46px;
      height: 46px;
      font-size: 1.38rem;
      border-radius: 12px;
    }
    .premio-pos {
      font-size: 0.86rem;
      margin-bottom: 0.12rem;
    }
    .premio-desc {
      font-size: 0.78rem;
      line-height: 1.32;
    }
    .premio-tier {
      grid-column: 2 / 3;
      justify-self: start;
      margin-top: 0.1rem;
      padding: 0.28rem 0.48rem;
      font-size: 0.6rem;
      letter-spacing: 0.12em;
    }
    .ranking-podium {
      gap: 0.75rem;
    }
    .podium-card {
      padding: 1rem;
    }
    .podium-stats {
      gap: 0.5rem;
    }
    .podium-stat {
      padding: 0.65rem 0.45rem;
    }
    .podium-stat-value {
      font-size: 1.05rem;
    }
    .podium-stat-label {
      font-size: 0.62rem;
    }

    .sedes-grid {
      gap: 1rem;
    }
    .sede-card {
      border-radius: 16px;
    }
    .sede-img {
      height: 190px;
    }
    .sede-card-body {
      padding: 1.15rem;
    }
    .sede-name {
      font-size: 1.2rem;
      line-height: 1.05;
    }
    .sede-ciudad {
      margin-bottom: 0.9rem;
    }
    .sede-details {
      gap: 0.55rem;
      margin-bottom: 1rem;
    }
    .ver-mapa {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }

    .contacto-grid {
      border-radius: 18px;
    }
    .contacto-info,
    .contacto-form-wrap {
      padding: 1.25rem;
    }
    .contacto-card {
      min-height: 56px;
      border-radius: 12px;
      padding: 0.9rem 1rem;
    }
    .contacto-card-value {
      font-size: 0.88rem;
      line-height: 1.35;
      word-break: break-word;
    }
    .contacto-form input,
    .contacto-form textarea,
    .contacto-form select {
      min-height: 46px;
      font-size: 16px;
      border-radius: 10px;
      padding: 0.78rem 0.9rem;
    }
    .contacto-form textarea {
      min-height: 132px;
    }
    .contacto-submit {
      min-height: 48px;
      border-radius: 10px;
    }

    .footer-top {
      gap: 1.5rem;
    }
  }

  @media (max-width: 560px) {
    .ranking-table {
      background: transparent;
      border: none;
    }
    .ranking-table-header {
      display: none;
    }
    .ranking-row {
      grid-template-columns: 38px minmax(0, 1fr) auto auto;
      grid-template-areas:
        'pos player pts pts'
        'pos player asist crown';
      gap: 0.3rem 0.75rem;
      align-items: center;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 0.9rem 0.95rem;
      margin-bottom: 0.65rem;
    }
    .ranking-row > .rank-pos { grid-area: pos; align-self: flex-start; padding-top: 0.1rem; }
    .ranking-row > .rank-player { grid-area: player; min-width: 0; }
    .ranking-row > .rank-pts {
      grid-area: pts;
      justify-self: end;
      align-self: center;
      background: rgba(0,87,255,0.12);
      border: 1px solid rgba(0,150,255,0.18);
      border-radius: 999px;
      padding: 0.28rem 0.6rem;
      min-width: 56px;
      text-align: center;
    }
    .ranking-row > .rank-cell {
      justify-self: end;
      min-width: 44px;
      text-align: center;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 999px;
      padding: 0.24rem 0.5rem;
      font-size: 0.82rem;
      color: var(--white);
    }
    .ranking-row > .rank-cell:nth-child(4) {
      grid-area: asist;
    }
    .ranking-row > .rank-cell:nth-child(4)::before {
      content: 'Asist ';
      color: var(--gray);
      font-size: 0.64rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .ranking-row > .rank-cell:nth-child(5) {
      grid-area: crown;
    }
    .ranking-row > .rank-cell:nth-child(5)::before {
      content: 'Coronas ';
      color: var(--gray);
      font-size: 0.64rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .rank-player {
      gap: 0.65rem;
    }
    .rank-avatar {
      width: 30px;
      height: 30px;
      font-size: 0.72rem;
    }
    .rank-name {
      font-size: 0.94rem;
      line-height: 1.15;
      word-break: break-word;
    }
    .rank-sede {
      font-size: 0.68rem;
      line-height: 1.3;
      margin-top: 0.18rem;
    }
    .rank-pts {
      font-size: 1rem;
    }
  }

  @media (max-width: 420px) {
    nav {
      padding: 0 12px;
    }
    .hero {
      padding-top: 92px;
      padding-bottom: 78px;
    }
    .hero-content,
    section {
      padding-left: 12px;
      padding-right: 12px;
    }
    .hero-logo {
      width: min(230px, 64vw);
    }
    .hero-tagline {
      font-size: 0.68rem;
      letter-spacing: 0.14em;
    }
    .hero-headline {
      font-size: 2.35rem;
    }
    .hero-sub {
      font-size: 0.92rem;
      max-width: 28ch;
    }
    .sobre-stats {
      grid-template-columns: 1fr;
    }
    .eventos-grid {
      gap: 0.62rem;
    }
    .evento-badge {
      top: 0.58rem;
      right: 0.58rem;
      font-size: 0.54rem;
      padding: 0.2rem 0.42rem;
    }
    .evento-date {
      font-size: 0.78rem;
      padding-right: 54px;
    }
    .evento-sede {
      font-size: 0.66rem;
    }
    .evento-horario {
      font-size: 0.96rem;
    }
    .evento-precio {
      font-size: 0.98rem;
    }
    .evento-extra {
      font-size: 0.56rem;
      padding: 0.22rem 0.4rem;
    }
    .inscribirse-btn {
      font-size: 0.62rem;
      padding: 0.52rem 0.4rem;
    }
    .sede-img {
      height: 170px;
    }
    .contacto-info,
    .contacto-form-wrap {
      padding: 1rem;
    }
  }


  @media (max-width: 340px) {
    .eventos-grid {
      grid-template-columns: 1fr;
    }
    .evento-body {
      padding: 0.9rem;
    }
    .evento-date {
      font-size: 0.9rem;
      padding-right: 62px;
    }
    .evento-sede {
      font-size: 0.72rem;
    }
    .evento-horario {
      font-size: 1.08rem;
    }
    .evento-precio {
      font-size: 1.08rem;
    }
    .evento-extra {
      font-size: 0.62rem;
    }
    .inscribirse-btn {
      font-size: 0.68rem;
    }
  }



  /* RANKING PRO MOBILE */
  .rank-player-main { min-width: 0; flex: 1; }
  .rank-name-row { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
  .rank-badge-ineligible {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    background: rgba(255,107,107,0.12);
    border: 1px solid rgba(255,107,107,0.2);
    color: #ff8b8b;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
  }
  .rank-mobile-stats { display: none; }
  .rank-mobile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    padding: 0.34rem 0.52rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gray-light);
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .rank-mobile-pill strong {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
  }
  .rank-pts small { display: none; }

  @media (max-width: 640px) {
    #ranking {
      padding-top: 4.8rem;
      padding-bottom: 4.8rem;
    }
    .ranking-podium {
      gap: 0.8rem;
      margin-bottom: 1rem;
    }
    .podium-card {
      border-radius: 16px;
      padding: 1rem;
    }
    .podium-stats {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.45rem;
    }
    .podium-stat {
      border-radius: 12px;
      padding: 0.62rem 0.42rem;
    }
    .podium-stat-value {
      font-size: 1.02rem;
    }
    .podium-stat-label {
      font-size: 0.62rem;
      letter-spacing: 0.11em;
    }
    .ranking-table {
      background: transparent;
      border: none;
      overflow: visible;
    }
    .ranking-table-header {
      display: none;
    }
    .ranking-row {
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr) 68px;
      grid-template-areas: 'pos player pts';
      gap: 0.75rem;
      align-items: flex-start;
      background: linear-gradient(180deg, rgba(13,21,37,0.98), rgba(9,14,25,0.98));
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 0.95rem;
      margin-bottom: 0.72rem;
      box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    }
    .ranking-row > .rank-pos {
      grid-area: pos;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      align-self: flex-start;
      padding-top: 0;
      border-radius: 12px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
      font-size: 1rem;
      line-height: 1;
    }
    .ranking-row > .rank-pos.gold {
      background: rgba(255,193,7,0.14);
      border-color: rgba(255,193,7,0.24);
    }
    .ranking-row > .rank-pos.silver {
      background: rgba(176,196,222,0.14);
      border-color: rgba(176,196,222,0.24);
    }
    .ranking-row > .rank-pos.bronze {
      background: rgba(205,127,50,0.14);
      border-color: rgba(205,127,50,0.24);
    }
    .ranking-row > .rank-player {
      grid-area: player;
      min-width: 0;
      align-items: flex-start;
      gap: 0.72rem;
    }
    .ranking-row > .rank-cell {
      display: none;
    }
    .rank-avatar {
      width: 34px;
      height: 34px;
      font-size: 0.76rem;
      flex: 0 0 auto;
    }
    .rank-name {
      font-size: 0.98rem;
      line-height: 1.12;
      word-break: break-word;
    }
    .rank-sede {
      display: none;
    }
    .rank-mobile-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 0.38rem;
      margin-top: 0.48rem;
    }
    .ranking-row > .rank-pts {
      grid-area: pts;
      justify-self: end;
      align-self: stretch;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.12rem;
      min-width: 68px;
      min-height: 58px;
      padding: 0.55rem 0.45rem;
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(0,87,255,0.16), rgba(0,170,255,0.09));
      border: 1px solid rgba(0,170,255,0.2);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
      font-size: 1.28rem;
      line-height: 1;
    }
    .rank-pts small {
      display: block;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gray-light);
    }
  }

  @media (max-width: 420px) {
    .ranking-row {
      grid-template-columns: 40px minmax(0, 1fr) 64px;
      gap: 0.68rem;
      padding: 0.88rem;
    }
    .ranking-row > .rank-pos {
      width: 32px;
      height: 32px;
      border-radius: 11px;
      font-size: 0.95rem;
    }
    .rank-avatar {
      width: 32px;
      height: 32px;
    }
    .rank-name {
      font-size: 0.94rem;
    }
    .rank-mobile-pill {
      padding: 0.32rem 0.48rem;
      font-size: 0.7rem;
    }
    .rank-mobile-pill strong {
      font-size: 0.82rem;
    }
    .ranking-row > .rank-pts {
      min-width: 64px;
      min-height: 56px;
      font-size: 1.2rem;
    }
  }



  /* FINAL RANKING REWORK */
  .ranking-rows { display: block; }
  .ranking-row.extra-row { display: none !important; }
  .ranking-table.expanded .ranking-row.extra-row { display: grid !important; }
  .ranking-more-wrap {
    padding: 1rem 1.25rem 1.15rem;
    border-top: 0;
    background: transparent;
  }
  .ranking-more-btn {
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    border: 1px solid rgba(0,87,255,0.2);
    background: rgba(0,87,255,0.08);
    color: var(--white);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .ranking-more-btn:hover {
    background: rgba(0,87,255,0.14);
    border-color: rgba(0,170,255,0.34);
    transform: translateY(-1px);
  }
  .ranking-more-btn:focus,
  .ranking-more-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,170,255,0.18);
  }
  .ranking-more-btn:active { transform: translateY(0); }
  

  @media (max-width: 768px) {
    .ranking-podium { display: none !important; }
    .ranking-table {
      border-radius: 14px;
      overflow: hidden;
    }
    .ranking-table-header { display: none !important; }
    .ranking-row.extra-row {
      display: none !important;
    }
    .ranking-row:not(.extra-row),
    .ranking-table.expanded .ranking-row.extra-row {
      display: grid !important;
      grid-template-columns: 42px minmax(0,1fr) auto;
      grid-template-areas:
        'pos player pts'
        'pos player pts';
      gap: 0.42rem 0.68rem;
      padding: 0.72rem 0.82rem !important;
      align-items: start;
    }
    .ranking-row > .rank-pos {
      grid-area: pos;
      width: 34px;
      height: 34px;
      font-size: 0.92rem;
      margin-top: 0.1rem;
    }
    .ranking-row > .rank-player {
      grid-area: player;
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      min-width: 0;
    }
    .ranking-row .rank-avatar {
      width: 38px;
      height: 38px;
      font-size: 0.88rem;
      flex-shrink: 0;
    }
    .ranking-row .rank-player-main { min-width: 0; }
    .ranking-row .rank-name-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem;
    }
    .ranking-row .rank-name {
      font-size: 0.96rem;
      line-height: 1.08;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }
    .ranking-row .rank-badge-ineligible {
      font-size: 0.54rem;
      padding: 0.12rem 0.35rem;
      letter-spacing: 0.08em;
    }
    .ranking-row .rank-sede { display: none !important; }
    .rank-mobile-stats {
      display: flex !important;
      flex-wrap: wrap;
      gap: 0.28rem;
      margin-top: 0.28rem;
    }
    .rank-mobile-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.16rem;
      padding: 0.18rem 0.4rem;
      border-radius: 999px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.06);
      font-size: 0.64rem;
      color: var(--gray-light);
      line-height: 1;
      white-space: nowrap;
    }
    .rank-mobile-pill strong {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.76rem;
      color: var(--white);
    }
    .ranking-row > .rank-pts {
      grid-area: pts;
      min-width: 56px;
      padding: 0.45rem 0.5rem;
      border-radius: 10px;
      font-size: 1.02rem;
      align-self: flex-start;
      justify-self: end;
    }
    .ranking-row > .rank-pts small {
      font-size: 0.56rem;
      margin-top: 0.08rem;
      letter-spacing: 0.08em;
    }
    .ranking-row > .rank-cell { display: none !important; }
    .ranking-more-wrap {
      padding: 0.8rem 0.9rem 0.9rem;
    }
    .ranking-more-btn {
      padding: 0.8rem 0.9rem;
      font-size: 0.78rem;
      border-radius: 10px;
    }
  }

  @media (max-width: 420px) {
    .ranking-row,
    .ranking-table.expanded .ranking-row.extra-row {
      grid-template-columns: 38px minmax(0,1fr) 52px;
      gap: 0.4rem 0.65rem;
      padding: 0.72rem 0.75rem !important;
    }
    .ranking-row > .rank-pos {
      width: 30px;
      height: 30px;
      font-size: 0.85rem;
    }
    .ranking-row .rank-avatar {
      width: 34px;
      height: 34px;
      font-size: 0.8rem;
    }
    .ranking-row .rank-name {
      font-size: 0.9rem;
    }
    .rank-mobile-pill {
      font-size: 0.6rem;
      padding: 0.2rem 0.38rem;
    }
    .rank-mobile-pill strong { font-size: 0.7rem; }
    .ranking-row > .rank-pts {
      min-width: 52px;
      font-size: 0.96rem;
      padding: 0.4rem 0.45rem;
    }
  }



  /* MOBILE WIDTH FIXES */
  @media (max-width: 900px) {
    html, body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      overflow-x: clip;
    }
    body {
      position: relative;
    }
    nav, section, footer, .hero, .hero-content, .wa-banner, .eventos-header, .eventos-grid,
    .ranking-layout, .ranking-table, .sedes-grid, .contacto-grid, .footer-top, .footer-bottom,
    .ranking-tabs-wrap, .ranking-table-wrap, .ranking-list, .ranking-row {
      max-width: 100%;
      min-width: 0;
    }
    section, footer, .hero, .ranking-layout, .ranking-table, .ranking-list, .eventos-grid,
    .sedes-grid, .contacto-grid, .footer-top, .footer-bottom {
      overflow-x: hidden;
      overflow-x: clip;
    }
    .hero-content, .wa-banner, .eventos-header, .eventos-grid, .ranking-layout,
    .sedes-grid, .contacto-grid, .footer-top, .footer-bottom {
      margin-left: auto;
      margin-right: auto;
    }
  }

  @media (max-width: 600px) {
    .ranking-table-wrap, .ranking-tabs-wrap {
      scrollbar-width: none;
    }
    .ranking-table-wrap::-webkit-scrollbar,
    .ranking-tabs-wrap::-webkit-scrollbar {
      display: none;
    }
  }


  /* PREMIOS SELECTOR */
  .premios-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.3rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
  }
  .premios-filter-btn {
    appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: var(--gray-light);
    border-radius: 10px;
    padding: 0.72rem 0.65rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
    min-width: 0;
  }
  .premios-filter-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.04);
  }
  .premios-filter-btn.active {
    color: var(--white);
    background: linear-gradient(180deg, rgba(0,87,255,0.22), rgba(0,87,255,0.12));
    border-color: rgba(0,170,255,0.22);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  }
  .premios-panel { display: none; }
  .premios-panel.active { display: block; }
  .premio-item-note {
    padding: 0.15rem 0;
  }

  @media (max-width: 768px) {
    .premios-switch {
      gap: 0.35rem;
      margin-bottom: 0.85rem;
      padding: 0.25rem;
      border-radius: 12px;
    }
    .premios-filter-btn {
      padding: 0.62rem 0.35rem;
      font-size: 0.66rem;
      letter-spacing: 0.1em;
      border-radius: 9px;
    }
    .premios-box {
      padding: 1rem;
    }
    .ranking-more-wrap {
      display: block !important;
    }
    .ranking-more-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }
  }

  @media (max-width: 420px) {
    .premios-filter-btn {
      font-size: 0.62rem;
      letter-spacing: 0.07em;
      padding: 0.58rem 0.2rem;
    }
  }



  /* MOBILE POLISH: centered ranking */
  @media (max-width: 768px) {
    html, body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden !important;
    }
    body {
      position: relative;
    }
    .hero, .hero-content, nav, section, footer {
      max-width: 100vw;
      overflow-x: clip;
    }
    #ranking .ranking-layout {
      justify-items: center;
    }
    #ranking #ranking-content,
    #ranking .ranking-table,
    #ranking .ranking-rows,
    #ranking .ranking-more-wrap {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    #ranking #ranking-content {
      max-width: 360px;
    }
    #ranking .ranking-table {
      max-width: 360px;
      border-radius: 14px;
    }
    #ranking .ranking-row:not(.extra-row),
    #ranking .ranking-table.expanded .ranking-row.extra-row {
      grid-template-columns: 30px minmax(0, 1fr) 52px !important;
      gap: 0.38rem 0.5rem !important;
      padding: 0.65rem 0.72rem !important;
      width: 100%;
      margin: 0 auto;
      align-items: center !important;
    }
    #ranking .ranking-row > .rank-pos {
      width: 28px;
      height: 28px;
      font-size: 0.82rem;
      margin-top: 0 !important;
      align-self: center !important;
      justify-self: center !important;
    }
    #ranking .ranking-row > .rank-player {
      gap: 0.48rem;
      min-width: 0;
      align-items: center !important;
    }
    #ranking .ranking-row .rank-avatar {
      width: 30px;
      height: 30px;
      font-size: 0.72rem;
    }
    #ranking .ranking-row .rank-player-main {
      min-width: 0;
      width: 100%;
      overflow: hidden;
    }
    #ranking .ranking-row .rank-name-row {
      min-width: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0.28rem;
      flex-wrap: nowrap;
      overflow: hidden;
    }
    #ranking .ranking-row .rank-name {
      min-width: 0;
      width: auto;
      max-width: 100%;
      font-size: 0.88rem;
      line-height: 1.05;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    #ranking .ranking-row .rank-badge-ineligible {
      flex: 0 0 auto;
      font-size: 0.5rem;
      padding: 0.11rem 0.28rem;
    }
    #ranking .rank-mobile-stats {
      gap: 0.22rem;
      margin-top: 0.22rem;
      justify-content: flex-start;
      max-width: 100%;
      overflow: hidden;
    }
    #ranking .rank-mobile-pill {
      padding: 0.16rem 0.34rem;
      font-size: 0.58rem;
    }
    #ranking .rank-mobile-pill strong {
      font-size: 0.68rem;
    }
    #ranking .ranking-row > .rank-pts {
      min-width: 50px;
      padding: 0.34rem 0.3rem;
      border-radius: 9px;
      font-size: 0.92rem;
      justify-self: center !important;
      align-self: center !important;
    }
    #ranking .ranking-row > .rank-pts small {
      font-size: 0.5rem;
      letter-spacing: 0.06em;
    }
    #ranking .ranking-more-wrap {
      padding: 0.78rem 0.78rem 0.9rem;
      display: flex !important;
      justify-content: center !important;
    }
    #ranking .ranking-more-btn {
      width: auto;
      min-width: 170px;
      max-width: 220px;
      margin: 0 auto;
      padding: 0.72rem 1rem;
      justify-content: center;
      text-align: center;
    }
  }

  @media (max-width: 420px) {
    #ranking #ranking-content,
    #ranking .ranking-table {
      max-width: 340px;
    }
    #ranking .ranking-row:not(.extra-row),
    #ranking .ranking-table.expanded .ranking-row.extra-row {
      grid-template-columns: 28px minmax(0, 1fr) 48px !important;
      gap: 0.34rem 0.44rem !important;
      padding: 0.62rem 0.64rem !important;
    }
    #ranking .ranking-row .rank-avatar {
      width: 28px;
      height: 28px;
      font-size: 0.68rem;
    }
    #ranking .ranking-row .rank-name {
      font-size: 0.84rem;
    }
    #ranking .rank-mobile-pill {
      font-size: 0.55rem;
      padding: 0.15rem 0.3rem;
    }
    #ranking .rank-mobile-pill strong {
      font-size: 0.64rem;
    }
    #ranking .ranking-row > .rank-pts {
      min-width: 46px;
      font-size: 0.86rem;
      padding: 0.32rem 0.24rem;
    }
  }



  /* MOBILE FINAL POLISH: ranking full width + contacto mas compacto */
  @media (max-width: 768px) {
    #ranking .ranking-layout {
      justify-items: stretch !important;
    }
    #ranking .ranking-layout > div:last-child {
      width: 100% !important;
      min-width: 0 !important;
    }
    #ranking #ranking-content,
    #ranking .ranking-table,
    #ranking .ranking-rows,
    #ranking .ranking-more-wrap {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    #ranking .ranking-table {
      border-radius: 14px !important;
    }
    #ranking .ranking-row:not(.extra-row),
    #ranking .ranking-table.expanded .ranking-row.extra-row {
      grid-template-columns: 30px minmax(0, 1fr) 52px !important;
      gap: 0.38rem 0.52rem !important;
      padding: 0.66rem 0.78rem !important;
      width: 100% !important;
      margin: 0 auto !important;
      align-items: center !important;
    }
    #ranking .ranking-row > .rank-player {
      min-width: 0 !important;
      width: 100% !important;
      gap: 0.5rem !important;
      align-items: center !important;
    }
    #ranking .ranking-row .rank-player-main,
    #ranking .ranking-row .rank-name-row,
    #ranking .ranking-row .rank-name {
      min-width: 0 !important;
      max-width: 100% !important;
    }
    #ranking .ranking-more-wrap {
      padding: 0.72rem 0.78rem 0.86rem !important;
      display: flex !important;
      justify-content: center !important;
    }
    #ranking .ranking-more-btn {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
      margin: 0 auto !important;
      justify-content: center !important;
      text-align: center !important;
    }
  }

  @media (max-width: 600px) {
    #ranking #ranking-content,
    #ranking .ranking-table {
      max-width: none !important;
    }
    #ranking .ranking-row:not(.extra-row),
    #ranking .ranking-table.expanded .ranking-row.extra-row {
      grid-template-columns: 28px minmax(0, 1fr) 48px !important;
      gap: 0.34rem 0.46rem !important;
      padding: 0.62rem 0.7rem !important;
    }
    #ranking .ranking-row > .rank-pos {
      width: 28px !important;
      height: 28px !important;
      font-size: 0.82rem !important;
    }
    #ranking .ranking-row .rank-avatar {
      width: 29px !important;
      height: 29px !important;
      font-size: 0.7rem !important;
    }
    #ranking .ranking-row .rank-name {
      font-size: 0.84rem !important;
      line-height: 1.05 !important;
    }
    #ranking .rank-mobile-stats {
      gap: 0.2rem !important;
      margin-top: 0.2rem !important;
    }
    #ranking .rank-mobile-pill {
      padding: 0.15rem 0.3rem !important;
      font-size: 0.55rem !important;
    }
    #ranking .rank-mobile-pill strong {
      font-size: 0.64rem !important;
    }
    #ranking .ranking-row > .rank-pts {
      min-width: 44px !important;
      font-size: 0.84rem !important;
      padding: 0.3rem 0.22rem !important;
      justify-self: end !important;
    }

    #contacto {
      padding-top: 4.5rem !important;
    }
    #contacto .contacto-grid {
      border-radius: 14px !important;
    }
    #contacto .contacto-info,
    #contacto .contacto-form-wrap {
      padding: 1.1rem !important;
    }
    #contacto .contacto-info h3,
    #contacto .contacto-form-wrap h3 {
      font-size: 1.08rem !important;
      margin-bottom: 0.8rem !important;
    }
    #contacto .contacto-info > p {
      font-size: 0.8rem !important;
      line-height: 1.5 !important;
      margin-bottom: 1rem !important;
    }
    #contacto .contacto-cards {
      gap: 0.55rem !important;
    }
    #contacto .contacto-card {
      padding: 0.72rem 0.82rem !important;
      gap: 0.7rem !important;
      border-radius: 10px !important;
    }
    #contacto .contacto-card-icon {
      width: 34px !important;
      height: 34px !important;
      border-radius: 8px !important;
    }
    #contacto .contacto-card-label {
      font-size: 0.58rem !important;
    }
    #contacto .contacto-card-value {
      font-size: 0.82rem !important;
    }
    #contacto .contacto-form .form-group {
      margin-bottom: 0.85rem !important;
    }
    #contacto .contacto-form label {
      font-size: 0.7rem !important;
      margin-bottom: 0.28rem !important;
    }
    #contacto .contacto-form input,
    #contacto .contacto-form textarea,
    #contacto .contacto-form select {
      padding: 0.62rem 0.72rem !important;
      font-size: 0.84rem !important;
      border-radius: 8px !important;
    }
    #contacto .contacto-form textarea {
      min-height: 86px !important;
    }
    #contacto .contacto-submit {
      width: 100% !important;
      padding: 0.8rem 1rem !important;
      font-size: 0.84rem !important;
      border-radius: 10px !important;
    }
  }



/* EVENTO CARDS POLISH */

  /* Pulido fino Horizon - eventos y filtros */
  #eventos .section-desc{max-width:620px;}
  .eventos-header{margin-bottom:2.35rem;}
  .event-filters{
    max-width: 1200px;
    margin: 0 auto 1.25rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    box-shadow: 0 16px 34px rgba(0,0,0,0.16);
  }
  .event-filter-bar{gap:0.55rem;}
  .event-filter-btn{
    padding: 0.58rem 0.92rem;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
  }
  .event-filter-btn.active{
    background: linear-gradient(135deg, rgba(0,87,255,0.24), rgba(0,150,255,0.12));
    box-shadow: 0 12px 24px rgba(0,87,255,0.14);
  }
  .event-filter-status{
    margin-top: 0.7rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: rgba(214,220,232,0.72);
  }
  .eventos-grid{
    gap: 1.25rem;
    align-items: stretch;
  }
  .evento-card{
    border-radius: 16px;
    border-color: rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    box-shadow: 0 16px 34px rgba(0,0,0,0.16);
    isolation: isolate;
  }
  .evento-card::before{
    height: 2px;
    opacity: 0.95;
  }
  .evento-card:hover{
    transform: translateY(-5px);
    border-color: rgba(0,170,255,0.24);
    box-shadow: 0 22px 42px rgba(0,87,255,0.12);
  }
  .evento-badge{
    top: 1rem;
    right: 1rem;
    padding: 0.34rem 0.72rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.16);
  }
  .badge-normal{
    background: rgba(10, 21, 42, 0.76);
    color: #9ec8ff;
    border-color: rgba(104, 160, 255, 0.28);
  }
  .badge-extra{
    background: rgba(40, 28, 0, 0.82);
    color: #ffc060;
    border-color: rgba(255, 165, 0, 0.28);
  }
  .evento-body{
    padding: 1.35rem 1.35rem 1.25rem;
    gap: 0.58rem;
  }
  .evento-date,
  .evento-sede,
  .evento-horario,
  .evento-precio,
  .evento-extra{
    margin: 0;
  }
  .evento-date{
    padding-right: 5.4rem;
    font-size: 0.98rem;
    letter-spacing: 0.12em;
    color: #ffffff;
    line-height: 1.2;
  }
  .evento-sede{
    font-size: 0.88rem;
    color: rgba(214,220,232,0.78);
    line-height: 1.35;
  }
  .evento-horario{
    font-size: 1.82rem;
    letter-spacing: 0.025em;
    color: #8fd6ff;
    line-height: 0.96;
    margin-top: 0.1rem;
  }
  .evento-precio{
    font-size: 1.65rem;
    color: #4db6ff;
    line-height: 1;
    margin-bottom: 0.1rem;
  }
  .evento-extra{
    padding: 0.36rem 0.74rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(255,193,7,0.08);
    border-color: rgba(255,193,7,0.18);
    color: #ffd86a;
    width: fit-content;
  }
  .evento-welcome{
    background: rgba(0,87,255,0.11);
    border-color: rgba(0,170,255,0.2);
    color: #9ed6ff;
  }
  .evento-extra + .evento-extra{
    margin-top: -0.08rem;
  }
  .inscribirse-btn{
    margin-top: auto;
    min-height: 46px;
    border-radius: 12px;
    padding: 0.84rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, rgba(0,87,255,1), rgba(0,150,255,0.88));
    box-shadow: 0 14px 30px rgba(0,87,255,0.18);
  }
  .inscribirse-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0,87,255,0.26);
  }
  .eventos-empty{
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  }

  @media (max-width: 768px){
    #eventos{overflow-x:hidden;}
    #eventos .wa-banner,
    #eventos .eventos-tools,
    #eventos .eventos-empty,
    #eventos .eventos-grid{
      width:100%;
      max-width:100%;
      margin-left:auto;
      margin-right:auto;
      min-width:0;
    }
    .eventos-header{margin-bottom:1.6rem;}
    .event-filters{
      padding: 0.8rem 0.82rem 0.72rem;
      border-radius: 14px;
      margin-bottom: 1rem;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .event-filters::-webkit-scrollbar{display:none;}
    .event-filter-bar{
      flex-wrap: nowrap;
      width: max-content;
      padding-bottom: 0.05rem;
    }
    .event-filter-status{
      margin-top: 0.62rem;
      font-size: 0.7rem;
      letter-spacing: 0.12em;
    }
    .eventos-grid{gap:0.78rem;}
    .evento-card{border-radius: 14px;}
    .evento-badge{
      top: 0.78rem;
      right: 0.78rem;
      padding: 0.28rem 0.58rem;
      font-size: 0.54rem;
      letter-spacing: 0.14em;
    }
    .evento-body{
      padding: 1rem 0.92rem 0.88rem;
      gap: 0.42rem;
    }
    .evento-date{
      padding-right: 4.45rem;
      font-size: 0.78rem;
      letter-spacing: 0.11em;
    }
    .evento-sede{
      font-size: 0.72rem;
      line-height: 1.28;
    }
    .evento-horario{
      font-size: 1.2rem;
      letter-spacing: 0.015em;
    }
    .evento-precio{
      font-size: 1.1rem;
    }
    .evento-extra{
      padding: 0.28rem 0.54rem;
      font-size: 0.62rem;
      border-radius: 999px;
    }
    .inscribirse-btn{
      min-height: 40px;
      padding: 0.68rem 0.55rem;
      font-size: 0.66rem;
      letter-spacing: 0.08em;
      border-radius: 10px;
    }
  }

  @media (max-width: 390px){
    .eventos-grid{gap:0.7rem;}
    .evento-body{
      padding: 0.9rem 0.82rem 0.82rem;
    }
    .evento-date{
      font-size: 0.74rem;
      padding-right: 4rem;
    }
    .evento-sede{font-size: 0.68rem;}
    .evento-horario{font-size: 1.08rem;}
    .evento-precio{font-size: 1rem;}
    .evento-extra{
      font-size: 0.58rem;
      padding: 0.24rem 0.46rem;
    }
    .inscribirse-btn{
      min-height: 38px;
      font-size: 0.62rem;
      padding: 0.58rem 0.42rem;
    }
  }


/* DESIGN IMPROVEMENTS */

/* Selection color */
::selection { background: rgba(0,87,255,0.35); color: #fff; }

/* Focus-visible for accessibility */
:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; }

/* Nav active link indicator */
.nav-links a.active {
  color: var(--blue-glow);
}

/* Improved hero gradient  */
.hero-bg {
  background:
    radial-gradient(ellipse 90% 70% at 50% 38%, rgba(0,87,255,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 80% 80%, rgba(0,170,255,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 15% 15%, rgba(0,60,180,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #050810 0%, #070c1a 100%);
}


/* Improve footer bottom */
.footer-copy a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-copy a:hover { color: var(--blue-glow); }

/* Card entrance - ensure no FOUC on cards that JS animates */
.evento-card,
.sede-card,
.contacto-card {
  will-change: transform, opacity;
}

/* Better scroll behavior for mobile */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 64px;
  }
}

/* Section separator visual improvement */
#sobre,
#contacto {
  position: relative;
}

/* Improve stat card hover */
.stat-card {
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: default;
}
.stat-card:hover {
  border-color: rgba(0,150,255,0.28);
  background: rgba(0,87,255,0.10);
  transform: translateY(-2px);
}

/* Improve WA banner button on small screens */
@media (max-width: 600px) {
  .wa-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Better form focus states */
.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,255,0.18), 0 1px 4px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.06);
}

/* Sede card image polish */
.sede-img {
  transition: transform 0.35s ease;
}
.sede-card:hover .sede-img {
  transform: scale(1.03);
}

/* Improve link btn underline animation for nav */
.nav-links a:not(.nav-cta):not(.nav-wa) {
  position: relative;
}
.nav-links a:not(.nav-cta):not(.nav-wa)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-glow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):not(.nav-wa):hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Smooth section transitions for JS-animated sections */
section {
  scroll-margin-top: 80px;
}





/* CAPTACION PAGE STYLES */




/* NOSOTROS PAGE STYLES */




/* CONTACTO PAGE STYLES */






/* BODY PADDING FIX: hero pages need no body padding-top */
/* The .hero element uses its own padding-top: 72px; the sub-pages
   rely on body padding-top: 72px. This rule resets it for hero pages. */
/* HOME SEDES: keep classic card layout on index (#sedes). */
@media (max-width: 900px) {
  #sedes .sede-img { height: 190px; }
  #sedes .sede-card-body { padding: 1.15rem; }
  #sedes .sede-name { font-size: 1.2rem; line-height: 1.05; }
  #sedes .sede-details { gap: 0.45rem; margin-bottom: 1.15rem; }
}
@media (max-width: 600px) {
  #sedes .sede-img { height: 170px; }
  #sedes .sede-detail { font-size: 0.82rem; }
}

/* Sub-page heroes: tighter mobile rhythm */
@media (max-width: 900px) {
  .am-hero, .nos-hero, .cnt-hero, .sed-hero {
    min-height: auto;
    padding: 4.2rem 5% 5rem;
  }
  .am-hero-sub, .nos-hero-sub, .cnt-hero-sub, .sed-hero-sub {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 600px) {
  .am-hero, .nos-hero, .cnt-hero, .sed-hero {
    padding: 3.8rem 5% 4.4rem;
  }
  .am-hero-label, .nos-hero-label, .cnt-hero-label, .sed-hero-label {
    letter-spacing: 0.22em;
    font-size: 0.72rem;
  }
}

body:has(.hero) { padding-top: 0 !important; }

.contact-section-center {
  text-align: center;
}

.section-desc-narrow {
  margin: 0 auto 2.5rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.section-shell {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}

.events-empty-hidden {
  display: none;
}

.historial-champion-active {
  color: var(--blue-glow);
}

/* Phase 2: responsive refinement layer */
.section-shell,
.contact-section-center {
  min-width: 0;
}

@media (max-width: 768px) {
  .section-shell,
  .contact-section-center {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-outline,
  .btn-wa {
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .hero-btns,
  .am-hero-btns,
  .nos-hero-btns,
  .sed-hero-btns,
  .cap-ctas,
  .nos-cta-btns,
  .contact-actions {
    width: 100%;
    gap: 0.8rem;
  }

  .hero-btns a,
  .am-hero-btns a,
  .nos-hero-btns a,
  .sed-hero-btns a,
  .cap-ctas a,
  .nos-cta-btns a,
  .contact-actions a {
    width: 100%;
    max-width: 100%;
  }

  .section-title {
    line-height: 0.95;
  }
}

@media (max-width: 480px) {
  nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-logo img {
    height: 32px;
    max-width: min(222px, calc(100vw - 88px));
  }

  .nav-brand {
    gap: 0.45rem;
  }

  .nav-brand-mark {
    height: 32px;
    width: auto;
  }

  .nav-brand-text {
    font-size: 0.86rem;
    letter-spacing: 0.02em;
  }

  .mobile-menu {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mobile-menu a {
    font-size: 0.98rem;
  }

  .section-shell,
  section {
    padding-left: 4.5%;
    padding-right: 4.5%;
  }
}

/* Mobile hardening: prevent lateral drift and keep first paint centered */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    position: relative;
  }

  main,
  section,
  nav,
  .hero,
  .hero-content,
  .section-shell,
  .ranking-shell,
  .eventos-shell,
  .sed-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-content,
  .section-shell,
  .ranking-shell,
  .eventos-shell,
  .sed-inner {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links,
  .mobile-menu,
  .hero-btns,
  .section-title,
  .section-desc,
  .section-label {
    min-width: 0;
  }
}


/* Production performance: browser skips off-screen sections when supported */
@supports (content-visibility: auto) {
  section:not(.hero):not(.am-hero):not(.ranking-hero),
  .section-shell,
  .cnt-section,
  .sed-section,
  .nos-section,
  .cap-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

/* Prevent layout shifts from remote club photos */
.sede-img,
.sede-card img,
.sede-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.seo-hero-fallback {
  min-height: 72vh;
  padding: 7.5rem 5% 4rem;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(0, 87, 255, 0.18), transparent 70%), var(--navy);
}

.seo-hero-fallback p {
  margin: 0 0 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-glow);
}

.seo-hero-fallback h1 {
  margin: 0;
  max-width: 780px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--white);
}

.seo-hero-fallback span {
  display: block;
  max-width: 680px;
  margin: 1.2rem auto 0;
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.65;
}

/* Header refinement: compact HP mark + quieter premium navigation */
nav .nav-logo img {
  height: 44px;
  width: auto;
  max-width: 104px;
  object-fit: contain;
}

nav .nav-links {
  gap: clamp(0.82rem, 1.15vw, 1.35rem);
}

nav .nav-links a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(214, 224, 242, 0.72);
}

nav .nav-links a.active,
nav .nav-links a:hover {
  color: var(--blue-glow);
}

nav .nav-links a.nav-wa {
  padding: 0.56rem 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

@media (max-width: 900px) {
  nav .nav-logo img {
    height: 34px;
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  nav .nav-logo img {
    height: 32px;
    max-width: 76px;
  }
}
