/* Clubes de pesca — complemento de styles.min.css (landing AiPeces) */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clubes-page {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.clubes-hero {
  margin-bottom: 2rem;
}

.clubes-hero h1 {
  font-size: var(--section-title, clamp(1.75rem, 4vw, 2.25rem));
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.clubes-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.clubes-search-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.clubes-search-row--with-water-filter {
  flex-wrap: wrap;
}

.clubes-search-row--with-water-filter .clubes-search {
  flex: 1 1 100%;
  width: 100%;
}

.clubes-search-row--with-water-filter .clubes-filter-group {
  flex: 1 1 auto;
  min-width: 0;
}

.clubes-search-row--with-water-filter .clubes-advanced-toggle {
  flex: 0 0 2.75rem;
  margin-left: auto;
}

@media (min-width: 640px) {
  .clubes-search-row--with-water-filter {
    flex-wrap: nowrap;
  }

  .clubes-search-row--with-water-filter .clubes-search {
    flex: 1 1 12rem;
    width: auto;
  }

  .clubes-search-row--with-water-filter .clubes-filter-group {
    flex: 0 1 auto;
  }

  .clubes-search-row--with-water-filter .clubes-advanced-toggle {
    margin-left: 0;
  }
}

.clubes-search {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font: inherit;
  background: var(--card-bg);
  color: var(--text);
}

.clubes-advanced-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--text-soft);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.clubes-advanced-toggle-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.clubes-advanced-toggle:hover {
  border-color: rgba(21, 168, 220, 0.45);
  color: var(--accent-strong);
}

.clubes-advanced-toggle.is-open,
.clubes-advanced-toggle[aria-expanded='true'] {
  border-color: rgba(21, 168, 220, 0.55);
  background: rgba(21, 168, 220, 0.08);
  color: var(--accent-strong);
}

.clubes-advanced-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.clubes-advanced-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--card-bg, #fff);
  box-shadow: 0 2px 6px rgba(21, 168, 220, 0.35);
}

.clubes-advanced-badge[hidden] {
  display: none;
}

.clubes-advanced-panel {
  margin-top: -0.35rem;
  margin-bottom: 0.25rem;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 0.75rem);
  box-shadow: var(--shadow-soft);
}

.clubes-advanced-section + .clubes-advanced-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.clubes-advanced-heading {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.clubes-advanced-hint {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.clubes-advanced-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.clubes-advanced-chip {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt, rgba(15, 23, 42, 0.03));
  color: var(--text-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.clubes-advanced-chip:hover:not(.is-active) {
  border-color: rgba(21, 168, 220, 0.4);
  color: var(--accent-strong);
}

.clubes-advanced-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 3px 12px rgba(21, 168, 220, 0.28);
}

.clubes-advanced-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.clubes-advanced-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.clubes-clear-filters {
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent-strong);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
}

.clubes-clear-filters:hover:not(:disabled) {
  text-decoration: underline;
}

.clubes-clear-filters:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.clubes-clear-filters:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.clubes-filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.28rem;
  background: linear-gradient(145deg, rgba(21, 168, 220, 0.07), rgba(15, 23, 42, 0.04));
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.clubes-filter-btn {
  padding: 0.55rem 1.05rem;
  min-height: 2.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.clubes-filter-btn:hover:not(.is-active) {
  background: rgba(21, 168, 220, 0.1);
  color: var(--accent-strong);
}

.clubes-filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.clubes-filter-btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 168, 220, 0.38);
}

.clubes-filter-btn:active {
  transform: scale(0.97);
}

@media (max-width: 520px) {
  .clubes-filter-group {
    width: 100%;
  }

  .clubes-search-row--with-water-filter .clubes-filter-group {
    width: auto;
    flex: 1 1 auto;
  }

  .clubes-filter-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.65rem;
    text-align: center;
    font-size: 0.8125rem;
  }

  .clubes-search-row--with-water-filter .clubes-filter-btn {
    flex: 0 1 auto;
    padding-inline: 0.55rem;
    font-size: 0.75rem;
    min-height: 2.25rem;
  }
}

.clubes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 0.65rem;
}

.club-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 0.75rem);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 0;
}

.club-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.club-card-media {
  display: flex;
  flex: 0 0 4.75rem;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 0;
  background: linear-gradient(145deg, rgba(21, 168, 220, 0.12), rgba(15, 23, 42, 0.04));
  padding: 0.65rem 0.55rem;
}

.club-card-logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

.club-card-initials {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.club-card-body {
  padding: 0.6rem 0.75rem 0.6rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.club-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.club-card-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.55rem;
}

.club-card-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.3;
}

.club-card-stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1.3;
}

.club-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.club-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  line-height: 1.25;
}

.club-chip--gold {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.club-chip--loc {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.clubes-map-section {
  margin-bottom: 1.5rem;
}

.clubes-map {
  width: 100%;
  height: min(52vh, 420px);
  min-height: 240px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-alt, rgba(15, 23, 42, 0.04));
  box-shadow: var(--shadow-soft);
}

.clubes-map--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.clubes-map--empty::before {
  content: 'No hay clubes con ubicación para mostrar en el mapa.';
}

.clubes-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
}

.clubes-map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.clubes-map-legend-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.clubes-map-legend-dot--dulce {
  background: #10b981;
}

.clubes-map-legend-dot--salada {
  background: #15a8dc;
}

.clubes-map-legend-dot--both {
  background: #a855f7;
}

.clubes-map-marker-wrap {
  background: transparent;
  border: 0;
}

.clubes-map-marker {
  display: inline-flex;
  color: var(--marker-color, #15a8dc);
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.35));
  cursor: pointer;
}

.clubes-map-marker svg {
  display: block;
}

.clubes-map-popup strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.clubes-map-popup p {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.clubes-map-popup a {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-strong);
  text-decoration: none;
}

.clubes-map-popup a:hover {
  text-decoration: underline;
}

.clubes-status {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-soft);
}

.clubes-status--error {
  color: #b91c1c;
}

.clubes-status--hint {
  padding: 0.75rem 1rem 0;
  font-size: 0.95rem;
}

.clubes-load-more {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 0.5rem;
  grid-column: 1 / -1;
}

.clubes-load-more .club-btn-secondary {
  cursor: pointer;
  font-family: inherit;
}

.clubes-load-more .club-btn-secondary:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Detalle */
.club-detail-page {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.club-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  color: var(--text-soft);
}

.club-breadcrumb a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.club-breadcrumb a:hover {
  text-decoration: underline;
}

.club-detail-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 640px) {
  .club-detail-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.club-detail-logo {
  width: 112px;
  height: 112px;
  border-radius: 1.15rem;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: #fff;
}

.club-detail-initials {
  width: 112px;
  height: 112px;
  border-radius: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.club-detail-heading h1 {
  margin: 0 0 0.5rem;
  font-size: var(--section-title, clamp(1.75rem, 4vw, 2.25rem));
  font-weight: 800;
}

.club-detail-location {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.club-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
}

.club-detail-stat {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.club-detail-desc {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
  white-space: pre-wrap;
}

.club-detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}

.club-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(21, 168, 220, 0.35);
}

.club-btn-primary:hover {
  filter: brightness(1.05);
}

.club-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.club-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.club-captures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}

.club-capture-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  color: inherit;
  transition: transform 0.15s ease;
}

.club-capture-card:hover {
  transform: scale(1.02);
}

.club-capture-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.club-capture-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-alt);
  display: block;
}

.club-capture-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.club-capture-label {
  padding: 0.5rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.3;
}

.club-capture-species-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.club-capture-species-link:hover {
  text-decoration: underline;
}

/* Top 3 capturas del pescador */
.angler-top-section {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, hsl(224 39% 13% / 0.95), hsl(220 39% 11% / 0.98));
  border: 1px solid hsl(198 88% 48% / 0.22);
  box-shadow: 0 12px 40px hsl(220 39% 5% / 0.35);
}

.angler-top-header {
  margin-bottom: 1.15rem;
}

.angler-top-title {
  margin-bottom: 0.35rem;
  background: var(--gradient-water, linear-gradient(90deg, hsl(198 88% 58%), hsl(198 88% 42%)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.angler-top-intro {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.angler-top-showcase {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.angler-top-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.angler-top-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px hsl(220 39% 5% / 0.4);
}

.angler-top-card--podium .angler-top-img {
  max-height: min(56vw, 420px);
}

.angler-top-card--rank-1 {
  border-color: hsl(45 90% 65% / 0.35);
  box-shadow: inset 0 0 0 1px hsl(45 90% 65% / 0.12);
}

.angler-top-card--rank-2 {
  border-color: hsl(210 12% 88% / 0.4);
  box-shadow: inset 0 0 0 1px hsl(210 12% 88% / 0.15);
}

.angler-top-card--rank-3 {
  border-color: hsl(25 55% 68% / 0.4);
  box-shadow: inset 0 0 0 1px hsl(25 55% 68% / 0.15);
}

.angler-top-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  background: var(--bg-alt);
}

.angler-top-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.angler-top-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.angler-top-rank {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px hsl(220 39% 5% / 0.45);
}

.angler-top-rank--gold {
  background: linear-gradient(135deg, hsl(45 95% 72%), hsl(38 90% 52%));
  color: hsl(220 39% 11%);
}

.angler-top-rank--silver {
  background: linear-gradient(135deg, hsl(210 12% 88%), hsl(210 8% 62%));
  color: hsl(220 39% 15%);
}

.angler-top-rank--bronze {
  background: linear-gradient(135deg, hsl(25 55% 68%), hsl(20 45% 42%));
  color: hsl(220 39% 11%);
}

.angler-top-rank--default {
  background: hsl(224 39% 20%);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.angler-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
}

.angler-top-species-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.angler-top-species,
.angler-top-species-link {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.angler-top-scientific {
  font-size: 0.72rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  color: var(--text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.angler-top-species-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.angler-top-species-link:hover {
  text-decoration: underline;
}

.angler-top-engagement {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.angler-top-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-soft);
}

.angler-top-stat-icon {
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0.9;
}

.angler-top-weight {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.angler-top-section--weight {
  border-color: hsl(45 90% 65% / 0.22);
}

/* Actividad del club */
.club-activity-section {
  margin-bottom: 2.5rem;
}

.club-activity-intro {
  margin: -0.35rem 0 1.25rem;
}

.club-activity-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.club-activity-kpi {
  padding: 1rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.club-activity-kpi-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-strong);
  line-height: 1.1;
}

.club-activity-kpi-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.club-activity-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.club-activity-panel {
  padding: 1.1rem 1.15rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.club-activity-subtitle {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
}

.club-activity-panel-desc {
  margin: -0.45rem 0 0.85rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.club-activity-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 180px;
  padding-top: 0.5rem;
}

.club-activity-bar-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 180px;
}

.club-activity-bar-value {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--text-soft);
  min-height: 1rem;
  margin-bottom: 0.2rem;
}

.club-activity-bar {
  width: 100%;
  max-width: 2.25rem;
  border-radius: 0.45rem 0.45rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: 0 6px 16px rgba(21, 168, 220, 0.28);
  transition: height 0.25s ease;
}

.club-activity-bar-label {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-soft);
  text-align: center;
}

.club-activity-species-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.club-activity-species-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 1.4fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.75rem;
}

.club-activity-species-label,
.club-activity-species-link {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.club-activity-species-label {
  color: var(--text-soft);
}

.club-activity-species-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.club-activity-species-link:hover {
  text-decoration: underline;
}

.club-activity-species-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(21, 168, 220, 0.12);
  overflow: hidden;
}

.club-activity-species-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #10b981);
}

.club-activity-species-pct {
  font-weight: 800;
  color: var(--text-soft);
  min-width: 2.5rem;
  text-align: right;
}

/* Miembros del club */
.club-members-section {
  margin-bottom: 2.5rem;
}

.club-members-intro {
  margin: -0.35rem 0 1.25rem;
}

.club-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.club-member-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem 0.75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.club-member-card--clickable {
  width: 100%;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.club-member-card--clickable .club-member-avatar {
  margin-top: 0.15rem;
}

.club-member-card--clickable:hover {
  border-color: rgba(21, 168, 220, 0.45);
  box-shadow: 0 10px 28px rgba(21, 168, 220, 0.12);
}

.club-member-card--clickable:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.club-member-card--link {
  text-decoration: none;
  color: inherit;
  display: grid;
}

.club-member-card--link:hover {
  border-color: rgba(21, 168, 220, 0.45);
  box-shadow: 0 10px 28px rgba(21, 168, 220, 0.12);
}

.club-member-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--accent-strong);
  opacity: 0.85;
  flex-shrink: 0;
  min-height: 72px;
}

@media (max-width: 420px) {
  .club-member-card {
    grid-template-columns: 64px 1fr auto;
  }

  .club-member-chevron {
    min-height: 64px;
  }
}

/* Pescadores e influencers — foto de perfil más destacada en listados */
.club-member-card--creator,
.club-member-card--angler {
  grid-template-columns: 96px 1fr auto;
}

.club-member-card--creator .club-member-avatar,
.club-member-card--angler .club-member-avatar {
  width: 96px;
  height: 96px;
  border-width: 3px;
  box-shadow: 0 4px 18px rgba(21, 168, 220, 0.18);
}

.club-member-card--creator .club-member-avatar--initials,
.club-member-card--angler .club-member-avatar--initials {
  font-size: 1.35rem;
}

.club-member-card--creator .club-member-chevron,
.club-member-card--angler .club-member-chevron {
  min-height: 96px;
}

@media (max-width: 420px) {
  .club-member-card--creator,
  .club-member-card--angler {
    grid-template-columns: 80px 1fr auto;
  }

  .club-member-card--creator .club-member-avatar,
  .club-member-card--angler .club-member-avatar {
    width: 80px;
    height: 80px;
  }

  .club-member-card--creator .club-member-chevron,
  .club-member-card--angler .club-member-chevron {
    min-height: 80px;
  }
}

.club-member-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-strong);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.club-member-link:hover {
  text-decoration: underline;
}

.club-member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  background: var(--bg-alt);
}

.club-member-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.club-member-body {
  min-width: 0;
}

.club-member-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.35rem;
}

.club-member-country-flag {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px hsl(220 20% 80% / 0.35);
}

.club-member-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.club-member-role {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.club-member-bio {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
  white-space: pre-wrap;
}

.club-member-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 0.65rem;
  padding: 0;
}

.club-member-stats > div {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.club-member-stats dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.club-member-stats dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.club-member-techniques {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.club-member-tech-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.72rem;
}

.club-member-tech-label {
  font-weight: 700;
  color: var(--text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-member-tech-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(21, 168, 220, 0.12);
  overflow: hidden;
}

.club-member-tech-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.club-member-tech-pct {
  font-weight: 800;
  color: var(--text-soft);
  min-width: 1.5rem;
  text-align: right;
}

.club-member-detail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.club-member-back {
  align-self: flex-start;
  margin: 0;
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-strong);
  cursor: pointer;
}

.club-member-back:hover {
  text-decoration: underline;
}

.club-member-detail-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
}

.club-member-detail-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.club-member-detail-heading .club-member-head {
  justify-content: center;
  width: 100%;
}

.club-member-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.2rem 0 0.65rem;
}

.club-member-location .club-member-detail-username {
  margin: 0;
}

.club-member-detail-heading .club-member-social {
  justify-content: center;
}

.club-member-detail-heading .club-member-detail-cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.club-member-detail-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-subtle);
  background: var(--bg-alt);
}

.club-member-detail-name {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.club-member-detail-username {
  margin: 0.2rem 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
}

.club-member-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
}

.club-member-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.club-member-social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px hsl(220 39% 5% / 0.18);
  border-color: hsl(198 88% 48% / 0.35);
}

.club-member-social-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.club-member-social-link--tiktok {
  color: var(--text-main);
}

.club-member-detail-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.5rem 0 0;
  width: 100%;
}

.club-member-detail-kpis .club-activity-kpi {
  padding: 0.85rem 0.5rem;
}

.club-member-detail-kpis .club-activity-kpi-value {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

.club-member-detail-kpis .club-activity-kpi-label {
  font-size: 0.68rem;
}

.club-member-detail-cta {
  margin-top: 0.85rem;
}

.club-technique-pie-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.club-technique-pie {
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.club-technique-pie-hole {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: var(--card-bg);
}

.club-technique-pie-legend {
  flex: 1 1 10rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.club-technique-pie-legend-item {
  display: grid;
  grid-template-columns: 0.85rem 1fr auto;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.club-technique-pie-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  flex-shrink: 0;
}

.club-technique-pie-legend-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.club-technique-pie-legend-pct {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-strong);
}

@media (max-width: 520px) {
  .club-member-detail-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .club-member-detail-kpis {
    max-width: 100%;
  }

  .club-member-detail-cta {
    display: flex;
    justify-content: center;
  }
}

.club-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.club-video-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.club-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsl(220 39% 5% / 0.16);
}

.club-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.club-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: hsl(220 39% 18%);
  color: var(--text-soft);
  font-size: 1.5rem;
}

.club-video-label {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}
