/* ============================================================
   MyPadel.rocks — design system tokens
   (imported from the MyPadel.rocks Design System)
   ============================================================ */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Italic-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* base — the brand is black & white first */
  --ink: #0A0A0A; --paper: #FFFFFF;
  --gray-1: #F5F5F4; --gray-2: #E7E5E4; --gray-3: #D6D3D1; --gray-4: #A8A29E; --gray-5: #78716C; --gray-6: #44403C;
  /* accent — flame orange. Use on ONE thing per view. */
  --accent: #FF3D00; --accent-hot: #FF6A00; --accent-ink: #FFFFFF; --accent-dim: #CC3100;
  /* semantic */
  --success: #1DB954; --warning: #FFB300; --danger: #E5484D;
  --text-body: var(--ink); --text-muted: var(--gray-5); --text-inverse: var(--paper);
  --surface-page: var(--paper); --surface-card: var(--paper); --surface-inverse: var(--ink); --surface-sunken: var(--gray-1);
  --border-strong: var(--ink); --border-soft: var(--gray-2);
  --focus-ring: var(--accent);
  /* type */
  --font-display: "Anton", "Archivo Black", Impact, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --tracking-caps: 0.08em;
  --display-skew: skewX(-6deg);
  /* spacing / layout */
  --container-max: 1120px;
  /* effects — the sticker system */
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-sticker: 4px 4px 0 var(--ink);
  --shadow-sticker-sm: 2px 2px 0 var(--ink);
  --shadow-sticker-accent: 4px 4px 0 var(--accent);
  --speed-fast: 120ms; --speed-base: 160ms;
  --ease-out: cubic-bezier(.2, .8, .4, 1);
}

/* ============================================================
   Base
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); font-family: var(--font-body); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
#top, #torneos, #clubes, #patrocinadores { scroll-margin-top: 70px; }

@keyframes mrq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Components — sticker buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sticker); cursor: pointer;
  transition: all var(--speed-fast) var(--ease-out);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--md { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary { background: var(--ink); color: var(--paper); text-transform: uppercase; letter-spacing: .05em; }
.btn--primary:hover { color: var(--paper); }
.btn--accent { background: var(--accent); color: var(--accent-ink); text-transform: uppercase; letter-spacing: .05em; }
.btn--accent:hover { color: var(--accent-ink); }
.btn--secondary { background: var(--paper); color: var(--ink); }
.btn--secondary:hover { color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--gray-1); color: var(--ink); transform: none; box-shadow: none; }
.btn--ghost:active { transform: none; }

/* ============================================================
   Components — badges, cards, checkboxes
   ============================================================ */

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
}
.badge--ink { background: var(--ink); color: #fff; }
.badge--accent { background: var(--accent); color: #fff; }
.badge--outline { background: var(--paper); color: var(--ink); }

.card {
  font-family: var(--font-body); color: var(--ink); background: var(--surface-card);
  border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sticker); overflow: hidden;
}
.card--flush { padding: 0; }
.card--padded { padding: 20px; }

.checkbox {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  cursor: pointer; user-select: none; min-height: 44px; width: 100%;
}
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  width: 22px; height: 22px; flex: none;
  border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--speed-fast) var(--ease-out);
}
.checkbox__box svg { visibility: hidden; }
.checkbox input:checked + .checkbox__box { background: var(--ink); }
.checkbox input:checked + .checkbox__box svg { visibility: visible; }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 2px solid var(--ink); height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.site-header__inner {
  width: 100%; max-width: var(--container-max); padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.site-header__brand { display: flex; align-items: center; }
.site-header__logo { height: 76px; width: auto; margin: -10px 0; }
.site-header__nav { display: flex; align-items: center; gap: 20px; }
.site-header__link { font-size: 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 767px) { .site-header__link { display: none; } }

/* ============================================================
   Hero
   ============================================================ */

.hero { background: var(--ink); color: var(--paper); padding: 56px 20px 64px; display: flex; justify-content: center; }
.hero__inner {
  width: 100%; max-width: 760px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 24px;
}
.hero__logo { height: clamp(150px, 34vw, 230px); width: auto; margin: -20px 0 -28px; }
.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 9vw, 72px); line-height: 1.05; letter-spacing: 0.01em;
  text-transform: uppercase; transform: var(--display-skew);
}
.hero__sub { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.5; color: var(--gray-3); text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   Marquee
   ============================================================ */

.marquee {
  overflow: hidden; background: var(--paper); padding: 10px 0;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: skewY(-1deg) translateY(-12px);
}
.marquee__track {
  display: flex; width: max-content; animation: mrq 22s linear infinite;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 20px; letter-spacing: 0.06em; white-space: nowrap;
}
.marquee__track span { padding-right: 24px; }

/* ============================================================
   Sections
   ============================================================ */

.section { display: flex; justify-content: center; padding: 40px 16px 56px; }
.section--tight { padding: 8px 16px 56px; }
.section__inner { width: 100%; max-width: var(--container-max); display: flex; flex-direction: column; gap: 20px; }
.section--tight .section__inner { gap: 24px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section__title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 6vw, 40px); text-transform: uppercase; letter-spacing: 0.01em;
}
.section__count {
  font-size: 13px; font-weight: 700; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--gray-5);
}

/* ============================================================
   Filters
   ============================================================ */

.filters { display: flex; gap: 8px; align-items: center; }
.filters .filters__toggle.filters__toggle { display: none; }
/* Escritorio: todo en una sola línea; los menús se integran a la fila */
@media (min-width: 761px) {
  .filters { flex-wrap: nowrap; }
  .filters__menus { display: contents; }
  .filters .fsearch { flex: 1 1 140px; min-width: 110px; }
  .filters .fmenu__btn, .filters .vseg__btn { white-space: nowrap; }
}
/* Móvil: los dropdowns se esconden tras el botón "Filtros" */
@media (max-width: 760px) {
  .filters { flex-wrap: wrap; }
  .filters .filters__toggle.filters__toggle { display: inline-flex; align-items: center; gap: 8px; }
  .filters__menus { display: none; flex-basis: 100%; }
  .filters__menus.filters__menus--open { display: flex; flex-wrap: wrap; gap: 8px; }
}
.fmenu { position: relative; }
.fmenu__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius-pill); cursor: pointer;
  transition: all var(--speed-fast) var(--ease-out);
}
.fmenu--active .fmenu__btn { background: var(--ink); color: var(--paper); }
.fmenu__chevron { transition: transform var(--speed-fast) var(--ease-out); }
.fmenu--open .fmenu__chevron { transform: rotate(180deg); }
.fmenu__pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 220px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sticker); padding: 8px 14px;
  display: flex; flex-direction: column;
}
.fmenu__pop[hidden] { display: none; }
.fmenu__pop { max-height: 340px; overflow-y: auto; }
.fmenu__sub[hidden] { display: none; }
.fmenu__subtitulo { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; opacity: .55; margin: 8px 0 2px; }
.fmenu__sub:first-child .fmenu__subtitulo { margin-top: 2px; }
.fmenu__subopcion { padding-left: 6px; }
.fmenu__flecha { opacity: .45; margin-right: 2px; }

/* Vigencia: Esta semana / Todos / Pasados */
.vseg {
  display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius-pill);
  overflow: hidden; background: var(--paper);
}
.vseg__btn {
  min-height: 36px; padding: 6px 14px; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--ink);
  transition: all var(--speed-fast) var(--ease-out);
}
.vseg__btn + .vseg__btn { border-left: 2px solid var(--ink); }
.vseg__btn--active { background: var(--ink); color: var(--paper); }

/* distintivo del filtro "En vivo": punto rojo pulsante + contador de torneos en vivo */
.vseg__dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #dc2626;
  margin-right: 6px; vertical-align: 1px; animation: vseg-pulso 1.2s ease-in-out infinite;
}
@keyframes vseg-pulso { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.vseg__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  padding: 0 5px; margin-left: 6px; border-radius: 999px; background: #dc2626; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1;
}
.vseg__dot[hidden], .vseg__count[hidden] { display: none; }

/* Búsqueda por texto */
.fsearch {
  min-height: 40px; padding: 6px 16px; min-width: 210px; flex: 1 1 210px; max-width: 320px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-pill);
}
.fsearch::placeholder { color: var(--gray-4, #888); font-weight: 600; }

.loadmore { display: flex; justify-content: center; margin-top: 26px; }
.loadmore [hidden] { display: none; }

.no-results {
  border: 2px dashed var(--gray-3); border-radius: var(--radius-md); padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.no-results[hidden] { display: none; }
.no-results__title { margin: 0; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }

/* ============================================================
   Grids
   ============================================================ */

.grid { display: grid; gap: 28px; padding: 4px; }
.grid--tournaments { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--audience { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ============================================================
   Tournament cards
   ============================================================ */

.t-card[hidden] { display: none; }
.t-card__media { position: relative; }
.poster {
  width: 100%; aspect-ratio: 4 / 5; background: var(--gray-1); border-bottom: 2px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gray-4);
}
.poster span { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.poster--img { display: block; object-fit: cover; padding: 0; }
.t-card__badges { position: absolute; top: 12px; left: 12px; pointer-events: none; display: flex; gap: 8px; flex-wrap: wrap; max-width: calc(100% - 24px); }
.t-card__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.t-card__name {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 22px;
  line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em;
}
.t-card__club {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; text-decoration: none; min-height: 24px;
}
.t-card__club:hover { text-decoration: underline; }
.t-card__meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--gray-5); }
.t-card__meta strong { color: var(--gray-6); }
.t-card__city { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gray-6); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }
.t-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 4px; border-top: 1px solid var(--border-soft); padding-top: 12px;
}
.t-card__price { display: flex; flex-direction: column; }
.t-card__amount { font-size: 16px; font-weight: 800; }
.t-card__per { font-size: 12px; color: var(--gray-5); }
.t-card__foot .btn--md { min-width: 140px; }

/* ============================================================
   Audience cards
   ============================================================ */

.audience { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.audience__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.audience__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--gray-6); text-wrap: pretty; }

/* ============================================================
   CTA
   ============================================================ */

.cta { background: var(--ink); color: var(--paper); padding: 56px 20px; display: flex; justify-content: center; }
.cta__inner {
  width: 100%; max-width: 760px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 20px;
}
.cta__title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 7vw, 56px); line-height: 1.05; text-transform: uppercase;
  letter-spacing: 0.01em; transform: var(--display-skew);
}
.cta__sub { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.5; color: var(--gray-3); text-wrap: pretty; }
.cta .btn--lg { min-width: 240px; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer { border-top: 2px solid var(--ink); padding: 32px 20px; display: flex; justify-content: center; }
.site-footer__inner {
  width: 100%; max-width: var(--container-max);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.site-footer__logo { height: 72px; width: auto; margin: -14px 0; }
.site-footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__link { font-size: 13px; font-weight: 700; text-decoration: none; }
.site-footer__copy { font-size: 13px; color: var(--gray-5); }

/* ============================================================
   Mobile bottom bar
   ============================================================ */

.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--paper); border-top: 2px solid var(--ink);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.bottom-bar__spacer { height: 68px; }
@media (min-width: 768px) {
  .bottom-bar, .bottom-bar__spacer { display: none; }
}

/* ============================================================
   Content pages (Jugadores / Clubes / Patrocinadores)
   ============================================================ */

.page-hero { background: var(--ink); color: var(--paper); padding: 64px 20px; display: flex; justify-content: center; }
.page-hero__inner { width: 100%; max-width: 820px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.page-hero__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--accent);
}
.page-hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 8vw, 64px);
  line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; transform: var(--display-skew);
}
.page-hero__sub { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: var(--gray-3); text-wrap: pretty; }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

/* Feature row: text + visual */
.feature { display: flex; justify-content: center; padding: 48px 16px; }
.feature__inner {
  width: 100%; max-width: var(--container-max); display: grid; gap: 32px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .feature__inner { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__media { order: 2; }
}
.feature__title {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 5vw, 38px);
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.08;
}
.feature__lead { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--gray-6); text-wrap: pretty; }
.feature__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.feature__list svg { flex: none; margin-top: 2px; color: var(--accent); }
.feature__list strong { display: block; }
.feature__media {
  border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-sticker);
  background: var(--gray-1); overflow: hidden; min-height: 260px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature__media--stack { flex-direction: column; gap: 14px; padding: 28px; text-align: center; }
.feature__stat { font-family: var(--font-display); font-size: clamp(40px, 9vw, 72px); line-height: 1; }
.feature__stat--accent { color: var(--accent); }
.feature__caption { font-size: 13px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gray-5); }
.feature__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.feature__chip {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border: 2px solid var(--ink);
  border-radius: var(--radius-pill); background: var(--paper); text-transform: uppercase; letter-spacing: 0.04em;
}

/* Pricing */
.pricing { display: flex; justify-content: center; padding: 24px 16px 56px; }
.pricing__inner { width: 100%; max-width: var(--container-max); display: flex; flex-direction: column; gap: 28px; }
.pricing__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); padding: 4px; }
.plan {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sticker); padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.plan--featured { box-shadow: var(--shadow-sticker-accent); }
.plan__head { display: flex; flex-direction: column; gap: 8px; }
.plan__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; padding: 4px 10px; border: 2px solid var(--ink); border-radius: var(--radius-sm);
}
.plan--featured .plan__tag { background: var(--accent); color: #fff; }
.plan__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-size: 34px; font-weight: 800; }
.plan__period { font-size: 14px; color: var(--gray-5); }
.plan__note { font-size: 13px; color: var(--gray-5); }
.plan__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.plan__features svg { flex: none; margin-top: 2px; color: var(--success); }
.plan__cta { margin-top: auto; }
.pricing__foot {
  border: 2px dashed var(--gray-3); border-radius: var(--radius-md); padding: 20px 24px;
  font-size: 14px; color: var(--gray-6); text-align: center; text-wrap: pretty;
}
.pricing__foot strong { color: var(--ink); }

/* WhatsApp CTA band */
.wa-band { display: flex; justify-content: center; padding: 8px 16px 64px; }
.wa-band__inner {
  width: 100%; max-width: 820px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.wa-band__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 5vw, 40px); text-transform: uppercase; }
.wa-band__sub { margin: 0; max-width: 520px; color: var(--gray-3); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.btn--wa { background: #25D366; color: #062b12; border-color: var(--ink); }
.btn--wa:hover { color: #062b12; }

.prose-section { display: flex; justify-content: center; padding: 40px 16px; }
.prose { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 5vw, 38px); text-transform: uppercase; }
.prose p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gray-6); text-wrap: pretty; }

/* ============================================================
   Menú de usuario (sesión iniciada)
   ============================================================ */
.user-menu { position: relative; display: inline-flex; }
.user-menu > .btn { gap: 6px; }
.user-menu__chevron { transition: transform var(--speed-fast) var(--ease-out); }
.user-menu[aria-expanded] { }
.user-menu__pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 220px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sticker); padding: 6px; display: flex; flex-direction: column;
}
.user-menu__pop[hidden] { display: none; }
.user-menu__item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; font-family: var(--font-body); font-size: 14px; font-weight: 700;
  color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: var(--radius-sm);
  cursor: pointer; text-align: left; transition: background var(--speed-fast) var(--ease-out);
}
.user-menu__item:hover { background: var(--gray-1); color: var(--ink); }
.user-menu__logout { margin: 0; border-top: 1px solid var(--border-soft); }
.user-menu__logout .user-menu__item { color: var(--accent-dim); }

/* ============================================================
   Modo swipe — torneos a pantalla completa tipo carrusel
   ============================================================ */
.filters__swipe { margin-left: auto; }
.swipe {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.96);
  display: flex; flex-direction: column; color: var(--paper);
}
.swipe[hidden] { display: none; }
.swipe__bar { height: 4px; background: rgba(255,255,255,.15); }
.swipe__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.swipe__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.swipe__counter { font-size: 13px; font-weight: 700; letter-spacing: var(--tracking-caps); color: var(--gray-4); }
.swipe__close {
  width: 40px; height: 40px; border: 2px solid var(--paper); border-radius: 50%;
  background: transparent; color: var(--paper); font-size: 16px; cursor: pointer;
}
.swipe__close:hover { background: var(--paper); color: var(--ink); }
.swipe__stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 16px; min-height: 0; }
.swipe__card {
  position: relative; width: min(92vw, 420px); height: min(72vh, 640px);
  background: var(--ink); border: 3px solid var(--paper); border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 rgba(0,0,0,.6); overflow: hidden;
  display: flex; flex-direction: column; cursor: grab; touch-action: none; user-select: none;
}
.swipe__card:active { cursor: grabbing; }
.swipe__media { flex: 1; background-size: cover; background-position: center top; min-height: 0; }
.swipe__media--empty { background: var(--gray-6); }
.swipe__info { padding: 14px 18px 18px; background: linear-gradient(180deg, rgba(10,10,10,0) 0%, var(--ink) 30%); }
.swipe__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.swipe__name {
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 26px;
  line-height: 1.05; text-transform: uppercase; transform: var(--display-skew);
}
.swipe__meta { margin: 0; font-size: 13px; color: var(--gray-3); }
.swipe__stamp {
  position: absolute; top: 26px; padding: 6px 14px; border: 3px solid; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 24px; letter-spacing: .04em; opacity: 0; transform: rotate(-12deg);
  transition: opacity var(--speed-fast) var(--ease-out); pointer-events: none;
}
.swipe__stamp--like { left: 20px; color: var(--success); border-color: var(--success); }
.swipe__stamp--nope { right: 20px; color: var(--danger); border-color: var(--danger); transform: rotate(12deg); }
.swipe__card--like .swipe__stamp--like { opacity: 1; }
.swipe__card--nope .swipe__stamp--nope { opacity: 1; }
.swipe__actions { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 18px 16px 26px; }
.swipe__round {
  position: relative; width: 62px; height: 62px; border-radius: 50%; cursor: pointer;
  border: 3px solid; background: var(--ink); font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--speed-fast) var(--ease-out);
}
.swipe__round:hover { transform: scale(1.1); }
.swipe__round--no { color: var(--danger); border-color: var(--danger); }
.swipe__round--yes { color: var(--accent); border-color: var(--accent); }
.swipe__likes {
  position: absolute; top: -8px; right: -10px; min-width: 22px; padding: 2px 6px;
  background: var(--accent); color: #fff; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 12px; font-weight: 800;
}
.swipe__likes:empty { display: none; }

/* ============================================================
   Simulador de comisión (página Clubes)
   ============================================================ */
.sim { max-width: 720px; margin: 0 auto; padding: 26px 24px; }
.sim__control { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.sim__control label { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gray-5); }
.sim input[type="range"] { width: 100%; accent-color: var(--accent); height: 32px; cursor: pointer; }
.sim__monto { font-family: var(--font-display); font-size: clamp(30px, 6vw, 44px); transform: var(--display-skew); }
.sim__rows { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.sim__row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 2px; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
.sim__row--muted { color: var(--gray-5); font-size: 13px; }
.sim__row--accent strong { color: var(--accent); }
.sim__row--total { border-bottom: 2px solid var(--ink); font-weight: 800; }
.sim__msg { margin: 14px 0 4px; font-weight: 700; }
.sim__foot { margin: 8px 0 0; font-size: 12px; color: var(--gray-5); line-height: 1.5; }
