/* Pamplona Padel Club — azul rey, verde neón y blanco (colores del Instagram del club). */
:root {
  --blue: #0a54b3;
  --blue-2: #0b47a0;
  --navy: #061a4f;
  --ink: #020c26;
  --neon: #55f006;
  --white: #ffffff;
  --mist: #c8d7ff;
  --line: rgba(255, 255, 255, .14);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(16px, 4vw, 56px);
  --pad: clamp(80px, 11vw, 160px);
  --r: 24px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--ink); color: var(--white); font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--neon); color: var(--ink); }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 400; background: var(--neon); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- tipografía */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--neon); }
.kicker a { color: inherit; text-decoration: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--neon); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(85, 240, 6, .7); } 70%, 100% { box-shadow: 0 0 0 12px rgba(85, 240, 6, 0); } }
.h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 6vw, 88px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; margin-top: 14px; }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; text-transform: uppercase; }
.h3 a { text-decoration: none; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--mist); max-width: 46ch; }
.neon { color: var(--neon); font-style: normal; text-shadow: 0 0 24px rgba(85, 240, 6, .45); }
.link { color: var(--neon); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------------------------------------------------------------- botones */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; border: 0;
  padding: 15px 26px; border-radius: 99px; transition: box-shadow .35s, background .3s, color .3s;
}
.btn-lg { padding: 19px 32px; font-size: 16px; }
.btn-neon { background: var(--neon); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(85, 240, 6, .6); }
.btn-neon:hover { box-shadow: 0 14px 44px -6px rgba(85, 240, 6, .95); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--white); color: var(--blue); }

/* ---------------------------------------------------------------- preloader */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--blue); transition: transform .9s var(--ease) .1s, visibility 0s 1.1s;
}
.loader.done { transform: translateY(-101%); visibility: hidden; }
/* Si el JavaScript no carga, el telón se quita solo */
.loader:not(.done) { animation: loaderOut .6s 5s forwards; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
.loader-heart { width: 110px; height: auto; animation: beat 1s infinite var(--ease); filter: drop-shadow(0 0 28px rgba(85, 240, 6, .6)); }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(.98); } 45% { transform: scale(1.08); } }
.loader-count { font: 900 clamp(48px, 9vw, 96px)/1 var(--f-display); }
.loader-tag { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--neon); }

/* ---------------------------------------------------------------- cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--neon); pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; display: grid; place-items: center; }
.cursor.on { opacity: 1; }
.cursor.big { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.cursor.label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; }
.cursor-label { font: 800 12px/1 var(--f-body); color: var(--ink); text-transform: uppercase; letter-spacing: .06em; opacity: 0; transition: opacity .2s; }
.cursor.label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------------------------------------------------------------- navegación */
.nav {
  position: fixed; inset: 14px var(--gut) auto; z-index: 100; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 99px; transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-solid { background: rgba(6, 26, 79, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line); }
.nav.is-hidden { transform: translateY(-150%); }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 99px; transition: background .3s, color .3s; }
.nav-links a:hover { background: rgba(255, 255, 255, .12); }
.nav-links a.is-active { background: var(--white); color: var(--blue); }
.nav-cta { padding: 13px 22px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--neon); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; flex: none; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-menu { position: fixed; inset: 0; z-index: 90; background: var(--blue); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 100px var(--gut) 40px; }
.nav-menu a:not(.btn) { font: 900 clamp(34px, 10vw, 56px)/1.1 var(--f-display); text-transform: uppercase; text-decoration: none; }
.nav-menu .btn { align-self: flex-start; margin-top: 24px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- portada */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(2, 12, 38, .9) 0%, rgba(6, 26, 79, .55) 50%, rgba(10, 84, 179, .2) 100%),
  linear-gradient(0deg, rgba(2, 12, 38, .9) 0%, transparent 40%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gut) 140px; max-width: min(1600px, 100%); }
.hero-kicker { margin-bottom: 22px; color: var(--white); }
.hero-title { font: 900 clamp(40px, 8.4vw, 150px)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.035em; }
.hero-title.sm { font-size: clamp(40px, 7.5vw, 112px); }
.hero-title .line { display: block; overflow: hidden; padding: .22em .3em .12em .04em; margin: -.22em -.3em -.06em -.04em; }
.hero-title .split { display: inline-block; }
.hero .hero-title .split { white-space: nowrap; }
.hero-title .char { display: inline-block; will-change: transform; }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-sub { margin-top: 26px; font-size: clamp(18px, 1.7vw, 23px); color: var(--mist); max-width: 40ch; }
.hero-sub strong { color: var(--white); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats { position: absolute; z-index: 2; right: var(--gut); bottom: 46px; display: flex; gap: 14px; }
.hero-stats div { min-width: 120px; padding: 16px 20px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
.hero-stats strong { display: block; font: 900 28px/1 var(--f-display); color: var(--neon); }
.hero-stats span { font-size: 13px; color: var(--mist); }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 28px; height: 46px; margin-left: -14px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .6); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--neon); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ---------------------------------------------------------------- cinta */
.marquee { position: relative; z-index: 3; overflow: hidden; padding: 20px 0; white-space: nowrap; }
.marquee-neon { background: var(--neon); color: var(--ink); transform: rotate(-2deg) scale(1.04); margin: -24px 0; box-shadow: 0 20px 60px -20px rgba(85, 240, 6, .6); }
.marquee-track { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; will-change: transform; animation: marquee 24s linear infinite; }
.marquee-track span { font: 900 clamp(28px, 4.4vw, 60px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.marquee-track img { width: clamp(34px, 4vw, 54px); height: auto; filter: brightness(0); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- pelota */
.ball-stage { position: relative; background: linear-gradient(180deg, #071b4e 0%, #0d3172 55%, #13428a 100%); }
.ball-pin { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--gut); padding: var(--pad) var(--gut); overflow: hidden; }
.ball-wrap { grid-column: 1; grid-row: 1; position: relative; z-index: 1; display: grid; place-items: center; }
.ball-img { width: min(46vw, 640px); height: auto; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 66%); mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 66%); will-change: transform; }
.ball-copy { grid-column: 2; grid-row: 1; position: relative; z-index: 2; }
.ball-copy .lead { margin-top: 24px; }
.ball-words { position: absolute; inset: 0; pointer-events: none; }
.bw { position: absolute; font: 900 clamp(40px, 8vw, 130px)/1 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2); letter-spacing: -.03em; white-space: nowrap; }
.bw-1 { top: 7%; left: 3%; } .bw-2 { top: 33%; right: -2%; } .bw-3 { bottom: 25%; left: -3%; } .bw-4 { bottom: 4%; right: 8%; -webkit-text-stroke-color: rgba(85, 240, 6, .4); }

/* ---------------------------------------------------------------- altura */
.altitude { position: relative; background: #13428a; }
.alt-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.alt-media { position: absolute; inset: 0; clip-path: inset(0 0 0 0 round 0px); }
.anim .alt-media { clip-path: inset(16% 20% 16% 20% round 32px); will-change: clip-path; }
.alt-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.alt-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 12, 38, .85), rgba(2, 12, 38, .15) 60%); }
.alt-copy { position: relative; z-index: 2; text-align: center; padding: 0 var(--gut); display: grid; justify-items: center; gap: 12px; }
.alt-number { font: 900 clamp(80px, 19vw, 300px)/.85 var(--f-display); letter-spacing: -.05em; text-shadow: 0 10px 60px rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; }
.alt-number small { font-size: .3em; color: var(--neon); margin-left: .1em; }
.alt-copy .lead { color: var(--white); text-align: center; }

/* ---------------------------------------------------------------- scroll horizontal */
.hscroll { position: relative; background: var(--ink); overflow: hidden; }
.hscroll-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: var(--pad) 0; }
.hscroll-head { padding: 0 var(--gut); }
.hscroll-hint { color: var(--mist); font-weight: 600; margin-top: 14px; }
.hscroll-track { display: flex; gap: 24px; padding: 0 var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll-track::-webkit-scrollbar { display: none; }
.anim .hscroll-track.is-pinned { overflow: visible; width: max-content; will-change: transform; }
.panel { position: relative; width: clamp(290px, 34vw, 480px); height: clamp(460px, 64vh, 620px); border-radius: var(--r); overflow: hidden; background: var(--navy); flex: none; scroll-snap-align: start; box-shadow: inset 0 0 0 1px var(--line); }
.panel-media { position: absolute; inset: 0; }
.panel-media img, .panel-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.panel:hover .panel-media img, .panel:hover .panel-media video { transform: scale(1.06); }
.panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 12, 38, .97) 10%, rgba(6, 26, 79, .45) 52%, rgba(10, 84, 179, .05) 80%); }
.panel-body { position: absolute; inset: auto 0 0 0; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.panel-n { font: 900 64px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--neon); }
.panel h3 { font: 900 clamp(24px, 2.4vw, 32px)/1.02 var(--f-display); text-transform: uppercase; }
.panel p { color: var(--mist); font-size: 16px; }
.panel .btn { margin-top: 6px; padding: 12px 20px; font-size: 14px; }

/* ---------------------------------------------------------------- secciones */
.section { position: relative; padding: var(--pad) var(--gut); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-top: 0; background: var(--ink); }
.info-card { padding: 28px; border-radius: var(--r); background: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.info-text { margin-top: 10px; font-size: 18px; white-space: pre-line; }

/* reels */
.reels { background: linear-gradient(180deg, var(--ink), var(--navy)); }
.reels-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 26px; scrollbar-width: none; }
.reels-row::-webkit-scrollbar { display: none; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; scroll-snap-align: start; background: var(--blue); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-badge { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 99px; background: rgba(2, 12, 38, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; }
.reel-badge img { width: 20px; height: 20px; object-fit: contain; }

/* ---------------------------------------------------------------- torneos */
.tournaments { background: var(--blue); overflow: hidden; isolation: isolate; }
.t-bg { position: absolute; inset: 0; z-index: -2; opacity: .25; }
.t-bg img { width: 100%; height: 130%; object-fit: cover; }
.tournaments::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 50% at 90% 0%, rgba(85, 240, 6, .25), transparent 60%), linear-gradient(180deg, rgba(10, 84, 179, .55), var(--blue) 60%); }
.countdown-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--ink); text-decoration: none; margin-bottom: 40px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(85, 240, 6, .35); }
.cd-name { font: 900 clamp(24px, 3vw, 42px)/1.05 var(--f-display); text-transform: uppercase; margin-top: 10px; }
.cd-cats { color: var(--mist); margin-top: 6px; }
.cd-clock { display: flex; gap: 10px; }
.cd-clock div { min-width: 78px; padding: 14px 10px; border-radius: var(--r-sm); background: var(--blue); text-align: center; }
.cd-clock strong { display: block; font: 900 clamp(26px, 3vw, 40px)/1 var(--f-display); color: var(--neon); font-variant-numeric: tabular-nums; }
.cd-clock span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mist); }
.cd-clock.big { margin-top: 30px; }
.cd-clock.big div { background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-hero-copy .btn { margin-top: 24px; }

.featured { padding: clamp(22px, 3vw, 44px); border-radius: calc(var(--r) + 8px); background: rgba(2, 12, 38, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); }
.featured-head { margin-bottom: 26px; display: grid; gap: 10px; }
.featured > .btn { margin-top: 34px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.tab { font: 700 14px/1 var(--f-body); color: var(--white); background: rgba(255, 255, 255, .1); border: 0; border-radius: 99px; padding: 12px 20px; cursor: pointer; transition: background .3s, color .3s; }
.tab:hover { background: rgba(255, 255, 255, .2); }
.tab[aria-selected="true"] { background: var(--neon); color: var(--ink); }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 14px; max-width: 900px; margin: 0 auto 44px; }
.podium-col { display: flex; flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
.podium-who { display: grid; gap: 6px; justify-items: center; }
.crown { color: var(--neon); font-size: 30px; line-height: 1; text-shadow: 0 0 20px rgba(85, 240, 6, .8); }
.podium-team { display: grid; font: 700 clamp(13px, 1.5vw, 19px)/1.25 var(--f-display); text-transform: uppercase; }
.podium-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.podium-step { display: grid; place-items: center; border-radius: var(--r-sm) var(--r-sm) 4px 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .06)); transform-origin: bottom; }
.podium-step span { font: 900 clamp(40px, 5vw, 72px)/1 var(--f-display); }
.place-1 .podium-step { height: 220px; background: linear-gradient(180deg, var(--neon), #2fa300); color: var(--ink); box-shadow: 0 20px 60px -20px rgba(85, 240, 6, .8); }
.place-2 .podium-step { height: 160px; }
.place-3 .podium-step { height: 120px; }

.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.match { position: relative; padding: 20px; border-radius: var(--r); background: var(--white); color: var(--ink); display: grid; gap: 8px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.match-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #5a6a90; }
.match-round { color: var(--blue); }
.match-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.match-team { display: grid; font-weight: 700; font-size: 15px; line-height: 1.3; }
.match-row.is-loss { opacity: .45; }
.win-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; background: var(--neon); color: var(--ink); padding: 5px 9px; border-radius: 99px; }
.match-vs { font: 900 11px/1 var(--f-display); color: #9aa6c4; }
.match-score { display: flex; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed #d4dbec; }
.set { font: 900 17px/1 var(--f-display); padding: 8px 10px; border-radius: 10px; background: var(--blue); color: var(--white); font-variant-numeric: tabular-nums; }
.pending { font-weight: 700; color: #5a6a90; }

.ranking-block { margin-top: clamp(56px, 8vw, 100px); }
.ranking { display: grid; gap: 10px; }
.rank-row { display: grid; grid-template-columns: 54px minmax(160px, 1.2fr) 2fr 90px; align-items: center; gap: 16px; padding: 14px 20px; border-radius: var(--r-sm); background: rgba(2, 12, 38, .45); box-shadow: inset 0 0 0 1px var(--line); }
.rank-row.is-top { background: rgba(2, 12, 38, .78); box-shadow: inset 0 0 0 1px rgba(85, 240, 6, .45); }
.rank-pos { font: 900 22px/1 var(--f-display); color: var(--mist); }
.is-top .rank-pos { color: var(--neon); }
.rank-name { font-weight: 700; display: grid; }
.rank-name small { font-weight: 500; color: var(--mist); font-size: 13px; }
.rank-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rank-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7fb2ff, var(--neon)); }
.rank-pts { font: 900 24px/1 var(--f-display); text-align: right; }
.rank-pts small { font: 600 12px var(--f-body); color: var(--mist); margin-left: 4px; }

.empty { padding: 40px; border-radius: var(--r); background: rgba(2, 12, 38, .45); display: grid; gap: 24px; justify-items: start; }

/* ---------------------------------------------------------------- muro */
.wall { position: relative; height: 150vh; overflow: hidden; background: var(--ink); }
.wall-head { position: absolute; z-index: 3; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; padding: 0 var(--gut); }
.wall-head .h2 { font-size: clamp(44px, 9vw, 140px); text-shadow: 0 10px 50px rgba(0, 0, 0, .8); }
.wall::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(60% 50% at 50% 50%, rgba(2, 12, 38, .8), rgba(2, 12, 38, .25)); pointer-events: none; }
.wall-cols { position: absolute; inset: -15% 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 16px; }
.wall-col { display: grid; gap: 16px; align-content: start; will-change: transform; }
.wall-col:nth-child(2n) { margin-top: 120px; }
.wall-col img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); }

/* ---------------------------------------------------------------- ubicación */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; background: var(--navy); }
.loc-copy { display: grid; gap: 20px; justify-items: start; }
.loc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.loc-map { height: 460px; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); }
.loc-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- páginas internas */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 150px var(--gut) clamp(70px, 9vw, 120px); overflow: hidden; background: var(--blue); }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .6; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 12, 38, .92), rgba(6, 26, 79, .55) 60%, rgba(10, 84, 179, .2)), linear-gradient(0deg, rgba(2, 12, 38, .7), transparent 50%); }
.page-hero-copy { position: relative; z-index: 2; max-width: 1100px; }
.page-hero-copy .hero-title { margin-top: 18px; }
.page-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip, .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.status-proximo { background: var(--white); color: var(--blue); }
.status-en_curso { background: var(--neon); color: var(--ink); }
.status-en_curso::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.status-finalizado { background: rgba(255, 255, 255, .14); }

.tour-list { display: grid; gap: 14px; }
.tour-card { display: grid; grid-template-columns: 110px 1.4fr 1.2fr 40px; align-items: center; gap: 22px; padding: 22px 26px; border-radius: var(--r); background: var(--navy); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.tour-card:hover { background: var(--blue); box-shadow: inset 0 0 0 1px rgba(85, 240, 6, .5); }
.tour-date { display: grid; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--mist); }
.tour-date strong { font: 900 44px/1 var(--f-display); color: var(--neon); }
.tour-main { display: grid; gap: 8px; justify-items: start; }
.tour-name { font: 900 clamp(20px, 2.2vw, 28px)/1.05 var(--f-display); text-transform: uppercase; }
.tour-cats { color: var(--mist); font-size: 14px; }
.tour-champs { display: grid; gap: 6px; font-weight: 600; }
.tour-champs em { display: block; font-style: normal; font-size: 12px; color: var(--neon); text-transform: uppercase; letter-spacing: .08em; }
.tour-arrow { font-size: 26px; color: var(--neon); transition: transform .3s var(--ease); }
.tour-card:hover .tour-arrow { transform: translateX(6px); }
.ranking-section { background: var(--blue); }
.points-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.points-legend span { padding: 9px 14px; border-radius: 99px; background: rgba(2, 12, 38, .45); font-size: 14px; }
.points-legend strong { color: var(--neon); font-family: var(--f-display); }
.inner .section:not(.ranking-section) { background: var(--ink); }
.round + .round { margin-top: 56px; }
.round-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }

/* ---------------------------------------------------------------- pie */
.footer { background: var(--blue); padding: var(--pad) var(--gut) 28px; position: relative; overflow: hidden; }
.footer-cta { display: grid; justify-items: start; gap: 18px; padding-bottom: clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.footer-big { font: 900 clamp(44px, 9vw, 150px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.03em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 48px 0; }
.footer-grid img { width: 200px; height: auto; }
.footer-h { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); }
.footer-text { color: var(--mist); margin-top: 12px; }
.footer-text a { text-decoration: none; color: var(--white); }
.footer-text a:hover { color: var(--neon); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--mist); padding-top: 22px; border-top: 1px solid var(--line); }
.footer-bottom strong { color: var(--neon); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: flex; }
  .hero-stats { display: none; }
  .ball-pin { grid-template-columns: 1fr; }
  .ball-wrap, .ball-copy { grid-column: 1; grid-row: auto; }
  .ball-img { width: min(80vw, 460px); }
  .location { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tour-card { grid-template-columns: 80px 1fr; }
  .tour-champs { grid-column: 2; }
  .tour-arrow { display: none; }
  .rank-row { grid-template-columns: 40px 1fr 70px; }
  .rank-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { inset: 10px 10px auto; padding-left: 16px; }
  .nav-logo img { height: 36px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero-content { padding-bottom: 110px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .panel { width: 84vw; height: 520px; }
  .podium { gap: 8px; }
  .place-1 .podium-step { height: 150px; } .place-2 .podium-step { height: 110px; } .place-3 .podium-step { height: 80px; }
  .cd-clock div { min-width: 0; flex: 1; }
  .countdown-card .cd-clock { width: 100%; }
  .wall { height: 110vh; }
  .wall-cols { grid-template-columns: repeat(2, 1fr); }
  .wall-col:nth-child(n+3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .dot, .loader-heart, .scroll-hint span { animation: none; }
}

/* ---------------------------------------------------------------- canchas de pádel (partidos) */
.courts-block { margin: 10px 0 56px; }
.courts-block .section-head { margin-bottom: 24px; align-items: center; }
.courts-block .tabs { margin: 0; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 99px; background: rgba(2, 12, 38, .25); font-size: 12px; }
.courts-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 23vw, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.courts-row .court-card { scroll-snap-align: start; }
.courts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 290px)); gap: 18px; }
.court-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.fchip { font: 700 13px/1 var(--f-body); color: var(--white); background: transparent; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: 10px 16px; cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.court-card.is-filtered { display: none; }

.court-card { position: relative; display: grid; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--ink); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9), inset 0 0 0 1px var(--line); }
.court-card.is-next { box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9), inset 0 0 0 1.5px rgba(85, 240, 6, .45); }
.court-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.court-round { color: var(--neon); }
.court-state { color: var(--mist); text-align: right; }

.court { position: relative; aspect-ratio: 10 / 16; border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 1fr auto 1fr;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px),
    radial-gradient(120% 70% at 50% 50%, color-mix(in srgb, var(--blue) 100%, #fff 6%), color-mix(in srgb, var(--blue) 75%, #000 25%));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .08), inset 0 0 40px rgba(0, 0, 0, .35); }
.court-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: .9; vector-effect: non-scaling-stroke; }
.court-lines line, .court-lines rect { vector-effect: non-scaling-stroke; stroke-width: 2px; }
.half { position: relative; display: grid; place-items: center; padding: 10px 6px; transition: opacity .4s; }
.half.is-loss { opacity: .45; filter: saturate(.6); }
.half.is-win::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(85, 240, 6, .28), transparent 70%); }
.tokens { position: relative; display: flex; justify-content: space-around; width: 100%; }
.token { position: relative; display: grid; justify-items: center; width: 46%; }
.shirt { width: 46px; height: 43px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); }
.token-a .shirt { fill: var(--white); stroke: var(--blue); stroke-width: 2; }
.token-b .shirt { fill: var(--neon); stroke: rgba(2, 12, 38, .6); stroke-width: 2; }
.token-ini { position: absolute; top: 17px; font: 900 13px/1 var(--f-display); color: var(--blue); }
.token-b .token-ini { color: var(--ink); }
.token-name { margin-top: 6px; max-width: 100%; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); overflow-wrap: anywhere; }
.crown-badge { position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--neon); color: var(--ink); padding: 4px 9px; border-radius: 99px; box-shadow: 0 0 18px rgba(85, 240, 6, .7); white-space: nowrap; }
.half-a .crown-badge { top: 8px; }
.half-b .crown-badge { bottom: 8px; }
.net { position: relative; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 7px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.net::before, .net::after { content: ""; position: absolute; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.net::before { left: -6px; } .net::after { right: -6px; }
.net-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .25); white-space: nowrap; }
.net-badge b { font: 900 14px/1 var(--f-display); padding: 6px 7px; border-radius: 8px; background: var(--blue); font-variant-numeric: tabular-nums; }
.net-badge b.time { background: var(--neon); color: var(--ink); }
.is-next .net-badge { animation: pulseBadge 2s infinite; }
@keyframes pulseBadge { 50% { box-shadow: 0 8px 20px rgba(0, 0, 0, .5), 0 0 0 6px rgba(85, 240, 6, .25); } }
.court-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.court-t { font-size: 12px; font-weight: 600; color: var(--mist); text-decoration: none; margin-right: auto; }
.court-t:hover { color: var(--neon); }
.chip-next { background: var(--neon); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .is-next .net-badge { animation: none; } }
