﻿:root {
  --club-bg: #071016;
  --club-panel: rgba(10, 17, 27, .78);
  --club-panel-strong: rgba(13, 22, 34, .94);
  --club-line: rgba(255, 255, 255, .12);
  --club-text: #f8fbff;
  --club-muted: #9aa8bd;
  --club-primary: #34f5b0;
  --club-secondary: #39bdf8;
  --club-gold: #f6cf4f;
  --club-danger: #ff4f6d;
  --club-radius: 8px;
  --font-display: "Bebas Neue", "Saira Condensed", Arial, sans-serif;
  --font-body: Overpass, Arial, sans-serif;
  --font-condensed: "Saira Condensed", Overpass, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--club-bg);
}

body.club-site {
  min-height: 100vh;
  margin: 0;
  color: var(--club-text);
  background:
    linear-gradient(180deg, rgba(7, 16, 22, .72), #071016 72vh),
    radial-gradient(circle at 16% 18%, rgba(52, 245, 176, .12), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(57, 189, 248, .15), transparent 30%),
    #071016;
  font-family: var(--font-body);
  letter-spacing: 0;
}

button,
input,
select {
  font-family: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.club-page-root {
  min-height: 100vh;
}

.club-shell {
  min-height: 100vh;
  isolation: isolate;
}

.club-bg-logo {
  position: fixed;
  inset: -14vh -8vw auto auto;
  z-index: -2;
  width: min(76vw, 780px);
  height: min(76vw, 780px);
  opacity: .13;
  background: center / contain no-repeat;
  filter: blur(1px) saturate(1.2);
  transform: rotate(-10deg);
  pointer-events: none;
}

.club-bg-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 22, .98), rgba(7, 16, 22, .72) 48%, rgba(7, 16, 22, .94)),
    linear-gradient(180deg, transparent, #071016 86%);
  pointer-events: none;
}

.club-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--club-line);
  background: rgba(7, 16, 22, .82);
  backdrop-filter: blur(18px);
}

.club-brand {
  display: inline-grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: var(--club-text);
  text-decoration: none;
}

.club-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 1px var(--club-line), 0 14px 32px rgba(0, 0, 0, .32);
}

.club-brand-text {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.club-brand-text strong {
  overflow: hidden;
  color: #fff;
  font: 900 1.02rem var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-brand-text small {
  margin-top: 4px;
  color: var(--club-primary);
  font-weight: 900;
  letter-spacing: 1.7px;
}

.club-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.club-nav a {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--club-muted);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.club-nav a:hover,
.club-nav a.is-active {
  color: #fff;
  border-color: rgba(52, 245, 176, .34);
  background: rgba(52, 245, 176, .08);
}

.club-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  color: #fff;
  background: rgba(255,255,255,.06);
}

.club-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.club-card,
.club-stat-card,
.club-player-card,
.club-match-card {
  position: relative;
}

.club-card::after,
.club-stat-card::after,
.club-player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(132deg, transparent 0 72%, rgba(255,255,255,.08) 72.2% 72.8%, transparent 73%),
    linear-gradient(28deg, transparent 0 15%, rgba(255,36,79,.14) 15.2% 15.6%, transparent 15.8%);
  pointer-events: none;
  opacity: .75;
}

.club-view {
  display: grid;
  min-height: calc(100vh - 77px);
  grid-template-columns: minmax(280px, 34vw) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: stretch;
  padding: clamp(18px, 4vw, 56px);
}

.club-hero-panel {
  position: sticky;
  top: 105px;
  display: grid;
  align-content: space-between;
  min-height: calc(100vh - 150px);
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--club-line);
  border-radius: var(--club-radius);
  background: linear-gradient(180deg, rgba(13, 22, 34, .9), rgba(8, 14, 23, .72));
  overflow: hidden;
}

.club-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center 18% / 74% no-repeat var(--club-logo-url);
  opacity: .08;
  pointer-events: none;
}

.club-kicker {
  color: var(--club-primary);
  font: 900 .78rem var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.club-hero-logo {
  position: relative;
  width: min(48vw, 230px);
  max-width: 100%;
  aspect-ratio: 1;
  margin: clamp(22px, 6vh, 54px) 0;
  object-fit: contain;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, .55));
}

.club-hero-panel h1 {
  position: relative;
  margin: 0;
  color: #fff;
  font: 900 clamp(2.25rem, 5vw, 5.2rem) / .9 var(--font-display);
  text-transform: uppercase;
}

.club-hero-panel p {
  position: relative;
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--club-muted);
  font-size: 1.05rem;
  line-height: 1.42;
}

.club-quick-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.club-quick-stat {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--club-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
}

.club-quick-stat small {
  display: block;
  color: var(--club-muted);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.club-quick-stat strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font: 900 1.3rem var(--font-display);
}

.club-content {
  min-width: 0;
}

.club-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.club-section-head h2 {
  margin: 8px 0 0;
  color: #fff;
  font: 900 clamp(2rem, 5vw, 4.6rem) / .92 var(--font-display);
  text-transform: uppercase;
}

.club-section-head p {
  max-width: 540px;
  margin: 0;
  color: var(--club-muted);
  line-height: 1.4;
  text-align: right;
}

.club-grid {
  display: grid;
  gap: 14px;
}

.club-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.club-card {
  min-width: 0;
  border: 1px solid var(--club-line);
  border-radius: var(--club-radius);
  background: var(--club-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.club-card.pad {
  padding: clamp(16px, 2vw, 24px);
}

.club-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.club-card-title h3 {
  margin: 0;
  color: #fff;
  font: 900 1.25rem var(--font-display);
  text-transform: uppercase;
}

.club-card-title span {
  color: var(--club-secondary);
  font-weight: 900;
}

.club-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.club-stat-card {
  padding: 16px;
  border: 1px solid rgba(57, 189, 248, .34);
  border-radius: 8px;
  background: rgba(6, 14, 23, .72);
}

.club-stat-card.gold {
  border-color: rgba(246, 207, 79, .72);
}

.club-stat-card.green {
  border-color: rgba(52, 245, 176, .55);
}

.club-stat-card small {
  display: block;
  color: var(--club-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.club-stat-card strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font: 900 clamp(1.7rem, 3vw, 2.5rem) var(--font-display);
}

.club-link-card {
  position: relative;
  display: grid;
  min-height: 190px;
  align-content: end;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.club-link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .62)),
    center / 58% no-repeat var(--club-logo-url);
  opacity: .3;
}

.club-link-card span,
.club-link-card strong,
.club-link-card small {
  position: relative;
}

.club-link-card span {
  color: var(--club-primary);
  font-weight: 900;
  text-transform: uppercase;
}

.club-link-card strong {
  margin-top: 8px;
  font: 900 1.7rem var(--font-display);
  text-transform: uppercase;
}

.club-link-card small {
  margin-top: 8px;
  color: var(--club-muted);
  font-size: .95rem;
}

.club-roster-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.club-player-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--club-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.club-player-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #071016;
  background: linear-gradient(135deg, var(--club-primary), var(--club-secondary));
  font: 900 1.1rem var(--font-display);
}

.club-player-card strong,
.club-player-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-player-card strong {
  color: #fff;
  font: 900 1rem var(--font-display);
}

.club-player-card small {
  color: var(--club-muted);
  font-weight: 800;
}

.club-match-list {
  display: grid;
  gap: 10px;
}

.club-match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--club-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.club-match-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.club-match-actions a,
.club-match-actions button {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(52,245,176,.35);
  border-radius: 6px;
  color: #fff;
  background: rgba(52,245,176,.08);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.club-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.club-filters label {
  display: grid;
  gap: 6px;
  color: var(--club-muted);
  font-weight: 900;
}

.club-filters select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--club-line);
  border-radius: 6px;
  color: #fff;
  background: rgba(7,16,22,.92);
  font-weight: 900;
}

.club-match-team {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.club-match-team.local {
  grid-template-columns: minmax(0, 1fr) 42px;
  text-align: right;
}

.club-match-team img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.club-match-team .club-logo-frame {
  width: 42px;
  height: 42px;
}

.club-match-team strong {
  overflow: hidden;
  color: #fff;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-score {
  text-align: center;
}

.club-score strong {
  display: block;
  color: var(--club-gold);
  font: 900 1.55rem var(--font-display);
}

.club-score small {
  color: var(--club-muted);
  font-weight: 900;
}

.club-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.club-social-links a,
.club-pill {
  display: inline-grid;
  min-height: 38px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--club-line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-weight: 900;
  text-decoration: none;
}

.club-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.club-zone-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--club-line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.club-zone-card small {
  color: var(--club-primary);
  font-weight: 900;
  text-transform: uppercase;
}

.club-zone-card strong {
  color: #fff;
  font: 900 1.25rem var(--font-display);
}

.club-zone-card span {
  color: var(--club-muted);
  font-weight: 800;
}

.club-player-table {
  display: grid;
  gap: 8px;
}

.club-player-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 100px minmax(150px, .8fr) minmax(150px, .9fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--club-line);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.04);
  text-decoration: none;
}

.club-player-row span,
.club-player-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-player-row span {
  font: 900 .95rem var(--font-display);
}

.club-player-row b {
  color: var(--club-gold);
  font: 900 1.1rem var(--font-display);
}

.club-player-row small {
  color: var(--club-muted);
  font-weight: 800;
}

.club-xi-pitch {
  display: grid;
  min-height: 620px;
  grid-template-rows: repeat(4, 1fr);
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(52, 245, 176, .24);
  border-radius: 8px;
  background:
    linear-gradient(rgba(52, 245, 176, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 245, 176, .08) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(52, 245, 176, .12), transparent 28%),
    rgba(3, 12, 10, .82);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.club-xi-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.club-xi-player {
  display: grid;
  width: min(150px, 22vw);
  min-height: 92px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(7, 16, 22, .82);
  text-align: center;
}

.club-xi-player strong {
  overflow-wrap: anywhere;
  color: #fff;
  font: 900 .88rem var(--font-display);
}

.club-xi-player small {
  margin-top: 6px;
  color: var(--club-gold);
  font-weight: 900;
}

.club-empty,
.club-loading {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 28px;
  border: 1px dashed var(--club-line);
  border-radius: 8px;
  color: var(--club-muted);
  text-align: center;
}

.club-loading strong {
  color: #fff;
  font: 900 1.2rem var(--font-display);
}

.club-loading-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 36, 79, .18), transparent 24rem),
    #050407;
}

.club-loading-shell .club-loading {
  min-height: 100vh;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.club-loading .club-logo-frame {
  width: clamp(96px, 15vw, 170px);
  height: clamp(96px, 15vw, 170px);
  margin-bottom: 18px;
  border-color: rgba(255, 36, 79, .42);
  background: radial-gradient(circle, rgba(255,36,79,.2), rgba(5,4,7,.86));
  box-shadow: 0 0 46px rgba(255, 36, 79, .26);
}

.club-loading p {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0;
  color: var(--club-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.club-loading p span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--club-primary);
  animation: clubLoadingDot 1s infinite ease-in-out;
}

.club-loading p span:nth-child(2) {
  animation-delay: .14s;
}

.club-loading p span:nth-child(3) {
  animation-delay: .28s;
}

@keyframes clubLoadingDot {
  0%, 80%, 100% { opacity: .28; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-5px); }
}

@media (max-width: 1020px) {
  .club-topbar,
  .club-view {
    grid-template-columns: 1fr;
  }

  .club-nav {
    justify-content: flex-start;
  }

  .club-hero-panel {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .club-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-section-head p {
    text-align: left;
  }

  .club-stat-grid,
  .club-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .club-topbar {
    padding: 12px;
  }

  .club-view {
    padding: 12px;
  }

  .club-grid.two,
  .club-grid.three,
  .club-stat-grid {
    grid-template-columns: 1fr;
  }

  .club-match-card {
    grid-template-columns: 1fr;
  }

  .club-filters,
  .club-player-row {
    grid-template-columns: 1fr;
  }

  .club-match-team,
  .club-match-team.local {
    grid-template-columns: 42px minmax(0, 1fr);
    text-align: left;
  }

  .club-match-team.local img {
    order: -1;
  }

  .club-xi-pitch {
    min-height: 520px;
    padding: 16px;
  }

  .club-xi-line {
    gap: 8px;
  }

  .club-xi-player {
    width: min(112px, 28vw);
    padding: 8px;
  }
}

/* RENEGADE XI visual theme */
:root {
  --club-bg: #050407;
  --club-panel: rgba(17, 16, 22, .78);
  --club-panel-strong: rgba(10, 9, 14, .94);
  --club-line: rgba(255, 255, 255, .16);
  --club-text: #ffffff;
  --club-muted: #c7c3cf;
  --club-primary: #ff244f;
  --club-secondary: #ff8a00;
  --club-gold: #ffd166;
  --club-danger: #ff244f;
  --club-radius: 4px;
}

body.club-site {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 36, 79, .3), transparent 34rem),
    radial-gradient(circle at 10% 32%, rgba(255, 138, 0, .12), transparent 28rem),
    linear-gradient(180deg, rgba(5, 4, 7, .6), #050407 92vh),
    #050407;
}

body.club-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5, 4, 7, .92), rgba(5, 4, 7, .38) 48%, rgba(5, 4, 7, .92)),
    radial-gradient(circle at 50% 18%, rgba(255, 36, 79, .2), transparent 28rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

body.club-site::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: -3;
  height: 42vh;
  background:
    linear-gradient(135deg, transparent 0 22%, rgba(255, 255, 255, .12) 22.2% 22.6%, transparent 22.8% 100%),
    linear-gradient(32deg, transparent 0 42%, rgba(255, 255, 255, .1) 42.2% 42.6%, transparent 42.8% 100%),
    #d9d9d9;
  opacity: .16;
  pointer-events: none;
}

.club-bg-logo {
  inset: 9vh 50% auto auto;
  z-index: -2;
  width: min(72vw, 760px);
  height: min(72vw, 760px);
  opacity: .16;
  filter: grayscale(.1) contrast(1.2) drop-shadow(0 0 70px rgba(255, 36, 79, .28));
  transform: translateX(50%) rotate(0);
}

.club-bg-wash {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 4, 7, .1), rgba(5, 4, 7, .78) 78vh, #050407 100%),
    radial-gradient(circle at 50% 56%, rgba(255, 36, 79, .24), transparent 20rem);
}

.club-topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
  padding: 18px clamp(18px, 4vw, 72px);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(5, 4, 7, .82), rgba(5, 4, 7, 0));
  backdrop-filter: none;
}

.club-brand {
  grid-template-columns: 58px minmax(0, 1fr);
}

.club-brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 24px rgba(255, 36, 79, .44));
}

.club-brand-text strong {
  font-size: 1rem;
  letter-spacing: .7px;
}

.club-brand-text small,
.club-kicker,
.club-link-card span {
  color: var(--club-primary);
}

.club-nav {
  gap: clamp(8px, 2vw, 24px);
}

.club-nav a {
  min-height: 34px;
  padding: 7px 4px;
  border-radius: 0;
  color: rgba(255, 255, 255, .78);
  font: 900 .82rem var(--font-display);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.club-nav a:hover,
.club-nav a.is-active {
  color: #fff;
  border-color: transparent;
  background: transparent;
  text-shadow: 0 0 18px rgba(255, 36, 79, .78);
}

.club-nav a.is-active::before {
  content: ">";
  margin-right: 6px;
  color: var(--club-primary);
}

.club-hero-stage {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  justify-items: center;
  padding: 126px clamp(18px, 5vw, 72px) 150px;
  overflow: visible;
}

.club-hero-stage::before {
  content: "";
  position: absolute;
  inset: 8vh 18vw 6vh;
  z-index: -1;
  border-left: 1px solid rgba(255, 36, 79, .28);
  border-right: 1px solid rgba(255, 36, 79, .28);
  background:
    linear-gradient(90deg, transparent, rgba(255, 36, 79, .08), transparent),
    center 12% / min(58vw, 720px) no-repeat var(--club-logo-url);
  opacity: .56;
  transform: skewX(-6deg);
}

.club-hero-panel {
  position: relative;
  top: auto;
  width: min(1050px, 100%);
  min-height: 0;
  display: grid;
  justify-items: center;
  align-content: end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  text-align: center;
}

.club-hero-panel::before {
  display: none;
}

.club-hero-logo {
  display: none;
  filter: drop-shadow(0 0 48px rgba(255, 36, 79, .52)) drop-shadow(0 28px 55px rgba(0, 0, 0, .72));
}

.club-hero-panel .club-logo-frame {
  width: clamp(76px, 9vw, 132px);
  height: clamp(76px, 9vw, 132px);
  margin: 0 auto 22px;
  border-color: rgba(255, 36, 79, .34);
  background: radial-gradient(circle, rgba(255,36,79,.16), rgba(5,4,7,.4));
  box-shadow: 0 0 38px rgba(255,36,79,.25);
}

.club-hero-panel .club-hero-mark {
  width: 84%;
  height: 84%;
}

.club-hero-panel h1 {
  max-width: 980px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11.5vw, 9.4rem);
  line-height: .78;
  letter-spacing: 0;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  text-shadow:
    0 0 34px rgba(255, 36, 79, .46),
    0 10px 0 rgba(255, 36, 79, .18),
    0 18px 35px rgba(0,0,0,.55);
}

.club-hero-panel p {
  max-width: 690px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.club-quick-stats {
  width: min(620px, 100%);
  grid-template-columns: repeat(3, 1fr);
  margin: 34px auto 0;
}

.club-quick-stat {
  border-color: rgba(255, 36, 79, .32);
  background: rgba(5, 4, 7, .58);
  backdrop-filter: blur(14px);
}

.club-featured-match {
  position: absolute;
  left: 50%;
  bottom: -86px;
  z-index: 4;
  width: min(1360px, calc(100% - 32px));
  border: 1px solid var(--club-primary);
  background: #fff;
  color: #050407;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34), 0 0 40px rgba(255, 36, 79, .2);
  transform: translateX(-50%);
}

.club-featured-head {
  display: grid;
  grid-template-columns: auto minmax(230px, .42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 36, 79, .38);
  cursor: pointer;
  list-style: none;
}

.club-featured-head::-webkit-details-marker {
  display: none;
}

.club-featured-head::before {
  content: "\25BE";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--club-primary);
  font: 900 1.1rem var(--font-display);
  transition: transform .2s ease;
}

.club-featured-match:not([open]) .club-featured-head {
  border-bottom: 0;
}

.club-featured-match:not([open]) .club-featured-head::before {
  transform: rotate(-90deg);
}

.club-featured-head strong {
  font: 900 1.35rem var(--font-display);
  text-transform: uppercase;
}

.club-featured-head span {
  color: #151018;
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.club-featured-body {
  display: grid;
  gap: 0;
  min-height: 126px;
  padding: 0;
}

.club-featured-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 32px;
}

.club-featured-row + .club-featured-row {
  border-top: 1px solid rgba(255, 36, 79, .25);
}

.club-featured-team {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font: 900 1.05rem var(--font-display);
  text-transform: uppercase;
}

.club-featured-team.local {
  justify-content: flex-end;
  text-align: right;
}

.club-featured-team img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.club-featured-team .club-logo-frame {
  width: 70px;
  height: 70px;
}

.club-featured-team b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-featured-score {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 36, 79, .38);
  border-right: 1px solid rgba(255, 36, 79, .38);
}

.club-featured-score strong {
  font: 900 2.35rem var(--font-display);
}

.club-featured-score small {
  color: #6d6470;
  font-weight: 900;
  text-transform: uppercase;
}

.club-view {
  display: block;
  width: min(1180px, calc(100% - 32px));
  min-height: 0;
  margin: 0 auto;
  padding: 230px 0 72px;
}

.club-content {
  width: 100%;
}

.club-section-head {
  align-items: end;
  margin-bottom: 28px;
}

.club-section-head h2 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.club-card {
  border-color: rgba(255, 255, 255, .14);
  background: linear-gradient(145deg, rgba(19, 17, 24, .9), rgba(8, 7, 11, .82));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.club-stat-card {
  border-color: rgba(255, 36, 79, .34);
  background:
    linear-gradient(135deg, rgba(255, 36, 79, .14), transparent 44%),
    rgba(8, 7, 11, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 55px rgba(0,0,0,.22);
}

.club-stat-card.gold {
  border-color: rgba(255, 209, 102, .65);
}

.club-stat-card.green {
  border-color: rgba(255, 36, 79, .58);
}

.club-player-avatar {
  color: #fff;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--club-primary), #7d001b);
}

.club-logo-frame {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(0, 255, 194, .72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,194,.14), rgba(5,4,7,.86));
  box-shadow: 0 0 18px rgba(0, 255, 194, .18);
  overflow: hidden;
}

.club-logo-frame img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.club-brand .club-logo-frame {
  width: 58px;
  height: 58px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.club-hero-panel .club-logo-frame {
  width: clamp(76px, 9vw, 132px);
  height: clamp(76px, 9vw, 132px);
  margin: 0 auto 22px;
  border-color: rgba(255, 36, 79, .34);
  background: radial-gradient(circle, rgba(255,36,79,.16), rgba(5,4,7,.4));
  box-shadow: 0 0 38px rgba(255,36,79,.25);
}

.club-link-card::before {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .74)),
    center / 64% no-repeat var(--club-logo-url);
  opacity: .28;
}

.club-match-actions a,
.club-match-actions button {
  border-color: rgba(255, 36, 79, .35);
  background: rgba(255, 36, 79, .08);
}

.club-social-links a,
.club-pill {
  border-color: rgba(255, 36, 79, .35);
  background: rgba(255, 36, 79, .08);
}

@media (max-width: 980px) {
  .club-topbar {
    position: sticky;
    background: rgba(5, 4, 7, .9);
    backdrop-filter: blur(18px);
  }

  .club-hero-stage {
    min-height: 82vh;
    padding-top: 52px;
  }

  .club-featured-match {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 32px;
    transform: none;
  }

  .club-view {
    padding-top: 54px;
  }
}

@media (max-width: 680px) {
  .club-topbar {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .club-brand {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .club-brand-logo {
    width: 46px;
    height: 46px;
  }

  .club-nav {
    justify-content: flex-start;
  }

  .club-hero-stage {
    min-height: auto;
    padding: 42px 14px 38px;
  }

  .club-hero-stage::before {
    inset: 10vh 8vw 8vh;
  }

  .club-quick-stats,
  .club-featured-row,
  .club-featured-head {
    grid-template-columns: 1fr;
  }

  .club-player-hero,
  .club-player-record-head {
    grid-template-columns: 1fr;
  }

  .club-player-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-player-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-player-record-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-profile-hero,
  .club-profile-grid,
  .club-profile-values {
    grid-template-columns: 1fr;
  }

  .club-profile-mark {
    justify-items: start;
  }

  .club-profile-mark .club-logo-frame {
    width: 86px;
    height: 86px;
  }

  .club-profile-hero h2 {
    font-size: clamp(2rem, 13vw, 3.6rem);
  }

  .club-featured-head span,
  .club-featured-team.local {
    text-align: center;
    justify-content: center;
  }

  .club-featured-team {
    justify-content: center;
  }

  .club-featured-score {
    min-height: 82px;
    border: 0;
    border-top: 1px solid rgba(255, 36, 79, .38);
    border-bottom: 1px solid rgba(255, 36, 79, .38);
  }
}

/* Dynamic football backgrounds and internal-page layouts */
body.club-site::before {
  background:
    linear-gradient(90deg, rgba(5, 4, 7, .94), rgba(5, 4, 7, .5) 48%, rgba(5, 4, 7, .94)),
    radial-gradient(circle at 50% 18%, rgba(255, 36, 79, .2), transparent 28rem),
    var(--club-photo-bg, none),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 96px);
  background-position: center;
  background-size: auto, auto, cover, auto, auto;
}

.section-social {
  --club-photo-bg: linear-gradient(rgba(5,4,7,.78), rgba(5,4,7,.9)), url("https://images.unsplash.com/photo-1556056504-5c7696c4c28d?auto=format&fit=crop&w=1800&q=80");
}

.section-roster {
  --club-photo-bg: linear-gradient(rgba(5,4,7,.76), rgba(5,4,7,.92)), url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1800&q=80");
}

.section-estadisticas {
  --club-photo-bg: linear-gradient(rgba(5,4,7,.78), rgba(5,4,7,.92)), url("https://images.unsplash.com/photo-1575361204480-aadea25e6e68?auto=format&fit=crop&w=1800&q=80");
}

.section-matches,
.section-club-xi,
.section-jugador {
  --club-photo-bg: linear-gradient(rgba(5,4,7,.76), rgba(5,4,7,.92)), url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1800&q=80");
}

.section-contacto {
  --club-photo-bg: linear-gradient(rgba(5,4,7,.78), rgba(5,4,7,.94)), url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1800&q=80");
}

.club-view.is-section-content {
  padding: 132px 0 72px;
}

.club-view.is-home-content {
  padding: 230px 0 72px;
}

.club-match-details,
.club-detail-record {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.club-match-details span,
.club-detail-record span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 36, 79, .18);
  border-radius: 4px;
  background: rgba(255,255,255,.035);
  color: var(--club-muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.club-match-details b,
.club-detail-record b {
  color: #fff;
  font: 900 .68rem var(--font-display);
  text-transform: uppercase;
}

.club-detail-records {
  display: grid;
  gap: 12px;
}

.club-detail-record {
  padding: 12px;
  border: 1px solid var(--club-line);
  border-radius: 6px;
  background: rgba(5, 4, 7, .58);
}

.club-player-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 36, 79, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 36, 79, .22), transparent 22rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(5, 4, 7, .76);
  box-shadow: 0 24px 80px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}

.club-player-hero::before {
  content: "";
  position: absolute;
  inset: -40% -16% auto auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 36, 79, .22);
  transform: rotate(22deg);
}

.club-player-identity {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.club-player-identity > div {
  min-width: 0;
  max-width: 100%;
}

.club-player-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(86px, 12vw, 136px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 255, 194, .72);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle, rgba(0,255,194,.18), transparent 58%),
    linear-gradient(145deg, rgba(255,36,79,.3), rgba(5,4,7,.94));
  box-shadow: 0 0 30px rgba(0,255,194,.16), inset 0 0 24px rgba(255,36,79,.22);
  font: 900 clamp(1.7rem, 4vw, 3.4rem) var(--font-display);
}

.club-player-identity h2 {
  margin: 4px 0 8px;
  color: #fff;
  font: 900 clamp(2.1rem, 4.9vw, 4.35rem) / .9 var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 0 28px rgba(255,36,79,.28);
}

.club-player-identity p {
  margin: 0;
  color: var(--club-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.club-player-rank {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(255, 215, 112, .26);
  border-radius: 8px;
  background: rgba(0,0,0,.28);
  text-align: center;
}

.club-player-rank small,
.club-player-rank span,
.club-player-kpi small,
.club-player-kpi span {
  color: var(--club-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.club-player-rank strong {
  color: var(--club-gold);
  font: 900 clamp(3rem, 7vw, 6rem) / .9 var(--font-display);
}

.club-player-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.club-player-kpi {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255, 36, 79, .22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(8, 6, 10, .78);
}

.club-player-kpi strong {
  color: #fff;
  font: 900 clamp(1.8rem, 4vw, 3.2rem) / 1 var(--font-display);
}

.club-player-panel {
  margin-top: 14px;
}

.club-player-records {
  display: grid;
  gap: 12px;
}

.club-player-record {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 36, 79, .22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,36,79,.1), transparent 28%),
    rgba(255,255,255,.035);
}

.club-player-record-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.club-player-record-head span {
  color: var(--club-primary);
  font: 900 .72rem var(--font-display);
  text-transform: uppercase;
}

.club-player-record-head strong {
  color: #fff;
  font: 900 1rem var(--font-display);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-player-record-head small {
  color: var(--club-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.club-player-opponent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.club-player-opponent .club-logo-frame {
  width: 48px;
  height: 48px;
}

.club-player-opponent > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.club-player-opponent strong {
  color: #fff;
  font: 900 1rem var(--font-display);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-player-record-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.club-player-record-metrics span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(0,0,0,.24);
  text-align: center;
}

.club-player-record-metrics b {
  color: var(--club-gold);
  font: 900 1.15rem var(--font-display);
}

.club-player-record-metrics small {
  color: var(--club-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.club-player-record-details {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
}

.club-player-record-details summary {
  width: max-content;
  color: var(--club-primary);
  cursor: pointer;
  font: 900 .8rem var(--font-display);
  text-transform: uppercase;
}

.club-player-record-details .club-detail-record {
  margin-top: 10px;
}

.club-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
}

.club-modal-card {
  position: relative;
  width: min(860px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255,36,79,.42);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(25, 20, 30, .96), rgba(7, 6, 10, .96)),
    var(--club-photo-bg, none);
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
}

.club-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  color: #fff;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.club-modal-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 22px 0;
}

.club-modal-score > div {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.club-modal-score strong {
  font: 900 1rem var(--font-display);
  text-transform: uppercase;
}

.club-modal-score > b {
  color: var(--club-gold);
  font: 900 2.6rem var(--font-display);
  text-align: center;
}

.club-modal-score .club-logo-frame {
  width: 82px;
  height: 82px;
}

.section-inicio .club-bg-logo {
  display: none;
}

.section-inicio {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 4, 7, .9), rgba(62, 4, 18, .58) 48%, rgba(5, 4, 7, .9)),
    linear-gradient(180deg, rgba(5, 4, 7, .22), rgba(5, 4, 7, .82)),
    url("https://i.postimg.cc/mrDysPBF/fodbold-regler.jpg") center / cover no-repeat;
}

.section-inicio .club-hero-stage {
  height: 100svh;
  min-height: 100svh;
  align-items: center;
  padding: clamp(86px, 12vh, 126px) clamp(18px, 5vw, 72px) clamp(190px, 27vh, 260px);
  overflow: hidden;
}

.section-inicio .club-featured-match {
  bottom: 0;
  transform: translateX(-50%);
}

.section-inicio .club-view {
  display: none;
}

.section-inicio .club-hero-stage::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 36, 79, .18), transparent 24rem),
    linear-gradient(90deg, transparent, rgba(255, 36, 79, .08), transparent);
  opacity: .9;
}

.club-contact-list {
  display: grid;
  gap: 12px;
}

.club-contact-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,36,79,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.club-contact-card strong,
.club-contact-card small,
.club-contact-card a {
  display: block;
}

.club-contact-card a {
  color: var(--club-primary);
  font-weight: 900;
  text-decoration: none;
}

.club-modal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.club-modal-details span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255,36,79,.22);
  border-radius: 4px;
  background: rgba(255,255,255,.04);
  color: var(--club-muted);
  overflow-wrap: anywhere;
}

.club-modal-details b {
  color: #fff;
  font: 900 .72rem var(--font-display);
  text-transform: uppercase;
}

.club-roster-premium {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.club-roster-card {
  position: relative;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 118px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  border-color: rgba(255, 36, 79, .28);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 36, 79, .22), transparent 9rem),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(5, 4, 7, .74);
  box-shadow: 0 18px 40px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}

.club-roster-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 98px;
  height: 1px;
  background: linear-gradient(90deg, var(--club-primary), transparent);
  opacity: .65;
}

.club-roster-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 216, 93, .55);
  box-shadow: 0 22px 54px rgba(255,36,79,.14), 0 18px 40px rgba(0,0,0,.34);
}

.club-roster-photo {
  position: relative;
  width: 82px;
  height: 94px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,36,79,.18), rgba(5,4,7,.72)),
    rgba(255,255,255,.04);
  overflow: hidden;
}

.club-roster-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-player-silhouette {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  background: radial-gradient(circle at 50% 24%, rgba(255,255,255,.18), transparent 34px);
}

.club-player-silhouette::before,
.club-player-silhouette::after {
  content: "";
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.12));
}

.club-player-silhouette::before {
  position: absolute;
  top: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.club-player-silhouette::after {
  width: 58px;
  height: 40px;
  border-radius: 42px 42px 10px 10px;
}

.club-roster-photo > b {
  position: relative;
  z-index: 2;
  align-self: end;
  margin-bottom: 8px;
  color: #fff;
  font: 900 .86rem var(--font-display);
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

.club-roster-clubmark {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(5,4,7,.82);
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  z-index: 3;
}

.club-roster-clubmark .club-logo-frame {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.club-roster-info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.club-roster-info .club-roster-tag {
  justify-self: start;
  padding: 4px 8px;
  border: 1px solid rgba(255,36,79,.3);
  border-radius: 999px;
  color: var(--club-primary);
  background: rgba(255,36,79,.08);
  font: 900 .68rem var(--font-display);
  text-transform: uppercase;
}

.club-roster-info strong {
  font-size: 1.08rem;
}

.club-roster-info small {
  color: #fff;
  opacity: .82;
}

.club-roster-info em {
  color: var(--club-muted);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: 0;
}

.club-whatsapp-float {
  position: fixed;
  right: clamp(14px, 2.6vw, 28px);
  bottom: clamp(14px, 2.6vw, 28px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(52, 245, 176, .5);
  border-radius: 999px;
  color: #071016;
  background: linear-gradient(135deg, #34f5b0, #f8fbff);
  box-shadow: 0 18px 45px rgba(52,245,176,.18), 0 8px 26px rgba(0,0,0,.34);
  font: 900 .82rem var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
}

.club-whatsapp-float::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #071016;
  box-shadow: 0 0 0 5px rgba(7,16,22,.12);
}

.club-whatsapp-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.club-featured-head::before {
  content: "\25BE";
}

.club-home-dashboard {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.club-home-block {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(5, 4, 7, .72);
}

.club-home-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle at 16% 14%, rgba(255,36,79,.18), transparent 13rem);
  pointer-events: none;
}

.club-home-block > * {
  position: relative;
}

.club-home-block .club-card-title h3 span {
  color: var(--club-gold);
  margin-right: 6px;
}

.club-home-block p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  font-weight: 700;
}

.club-home-block > a,
.club-home-block p + a,
.club-home-block .club-home-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255,216,93,.44);
  border-radius: 4px;
  color: #fff;
  font: 900 .78rem var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
}

.club-home-block.about,
.club-home-block.matches,
.club-home-block.tournaments,
.club-home-block.stats,
.club-home-block.players,
.club-home-block.achievements,
.club-home-block.sponsors {
  grid-column: span 6;
}

.club-home-block.wide {
  grid-column: span 12;
}

.club-home-roster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.club-home-player {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(0,0,0,.22);
  text-decoration: none;
}

.club-home-player .club-roster-photo {
  width: 100%;
  height: 132px;
}

.club-home-player strong,
.club-home-player small,
.club-home-player span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-home-player strong {
  font: 900 .95rem var(--font-display);
}

.club-home-player small {
  color: rgba(255,255,255,.72);
  font-weight: 800;
}

.club-home-player span {
  color: var(--club-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.club-home-matches,
.club-home-tournaments,
.club-home-achievements,
.club-home-stats,
.club-home-socials,
.club-sponsor-grid {
  display: grid;
  gap: 10px;
}

.club-home-matches {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.club-home-matches article {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
  text-align: center;
}

.club-home-matches article > div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.club-home-matches .club-logo-frame {
  width: 44px;
  height: 44px;
}

.club-home-matches strong {
  color: var(--club-gold);
  font: 900 1.5rem var(--font-display);
}

.club-home-matches b,
.club-home-matches small {
  color: #fff;
  font-weight: 900;
}

.club-home-tournaments {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.club-home-tournaments article,
.club-home-achievements article,
.club-home-stats article,
.club-home-socials a,
.club-sponsor-grid span {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
  text-align: center;
}

.club-home-tournaments .club-logo-frame {
  width: 58px;
  height: 58px;
  margin: 0 auto 8px;
}

.club-home-tournaments strong,
.club-home-achievements strong,
.club-home-socials strong {
  display: block;
  color: #fff;
  font: 900 .86rem var(--font-display);
  text-transform: uppercase;
}

.club-home-tournaments small,
.club-home-achievements small,
.club-home-socials small {
  display: block;
  margin-top: 5px;
  color: var(--club-muted);
  font-weight: 900;
}

.club-home-tournaments b {
  display: block;
  margin-top: 8px;
  color: var(--club-gold);
  font: 900 .82rem var(--font-display);
}

.club-home-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.club-home-stats small {
  color: var(--club-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.club-home-stats strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font: 900 1.65rem var(--font-display);
}

.club-mini-bars {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.club-mini-bars div {
  display: grid;
  grid-template-columns: 80px 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--club-muted);
  font-weight: 900;
}

.club-mini-bars i {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--club-primary) var(--bar), rgba(255,255,255,.12) var(--bar));
}

.club-home-table {
  display: grid;
  gap: 8px;
}

.club-home-table a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(90px, .7fr) 58px;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #fff;
  background: rgba(0,0,0,.22);
  text-decoration: none;
}

.club-home-table span,
.club-home-table b {
  color: var(--club-gold);
  font: 900 .86rem var(--font-display);
}

.club-home-table strong,
.club-home-table small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-home-achievements {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.club-home-achievements span {
  display: block;
  color: var(--club-gold);
  font: 900 2rem var(--font-display);
}

.club-sponsor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.club-sponsor-grid span {
  color: #fff;
  font: 900 .82rem var(--font-display);
  text-transform: uppercase;
}

.club-home-socials {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.club-home-socials a {
  color: #fff;
  text-decoration: none;
}

.club-home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
}

.club-home-contact strong {
  color: #fff;
  font: 900 1.4rem var(--font-display);
}

.club-home-contact small {
  color: var(--club-muted);
  font-weight: 900;
}

.club-home-contact a {
  grid-row: span 2;
  margin-top: 0;
}

.club-profile-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.club-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 36, 79, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 36, 79, .22), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(5, 4, 7, .82);
  overflow: hidden;
}

.club-profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 70%, rgba(255, 36, 79, .18) 70.2% 70.7%, transparent 71%),
    linear-gradient(28deg, transparent 0 18%, rgba(255,255,255,.08) 18.2% 18.7%, transparent 19%);
  pointer-events: none;
}

.club-profile-hero > * {
  position: relative;
  z-index: 1;
}

.club-profile-hero h2 {
  margin: 8px 0;
  color: #fff;
  font: 900 clamp(2rem, 5vw, 4.8rem) / .86 var(--font-display);
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255,36,79,.34);
}

.club-profile-hero p {
  margin: 0;
  color: var(--club-gold);
  font: 900 clamp(1rem, 2.2vw, 1.35rem) var(--font-display);
  text-transform: uppercase;
}

.club-profile-mark {
  display: grid;
  place-items: center;
}

.club-profile-mark .club-logo-frame {
  width: 120px;
  height: 120px;
  border-color: rgba(255, 36, 79, .38);
  box-shadow: 0 0 38px rgba(255,36,79,.2);
}

.club-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.club-profile-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(255, 36, 79, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,36,79,.1), rgba(255,255,255,.025)),
    rgba(12, 10, 16, .78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.club-profile-card.wide {
  grid-column: 1 / -1;
}

.club-profile-card > span {
  color: var(--club-primary);
  font: 900 .78rem var(--font-display);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.club-profile-card p,
.club-profile-card blockquote,
.club-profile-values span,
.club-profile-facts small {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-weight: 800;
  line-height: 1.55;
}

.club-profile-card blockquote {
  padding: 12px 14px;
  border-left: 3px solid var(--club-primary);
  background: rgba(255,255,255,.04);
  color: #fff;
  font: 900 1rem var(--font-display);
  text-transform: uppercase;
}

.club-profile-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.club-profile-values article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(255,255,255,.035);
}

.club-profile-values strong,
.club-profile-facts b {
  color: #fff;
  font: 900 .88rem var(--font-display);
  text-transform: uppercase;
}

.club-profile-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
}

.club-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1360px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 16px 0 22px;
  color: rgba(255,255,255,.58);
  font-weight: 900;
}

.club-footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.club-footer .club-logo-frame {
  width: 28px;
  height: 28px;
}

.club-footer a {
  color: var(--club-gold);
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}

.club-footer a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 36, 79, .48);
}

/* =========================================================
   FIX MOBILE - MATCHES + INICIO
   - Evita que el equipo local se corte con "..." en movil.
   - Permite que Proximos partidos del inicio se vea completo.
   ========================================================= */
@media (max-width: 680px) {
  /* MATCHES: el logo generado por JS viene dentro de .club-logo-frame,
     por eso el selector anterior .club-match-team.local img no reordenaba
     correctamente el logo del local en mobile. */
  .club-match-team,
  .club-match-team.local {
    grid-template-columns: 42px minmax(0, 1fr);
    text-align: left;
  }

  .club-match-team.local .club-logo-frame,
  .club-match-team.local > img {
    order: -1;
  }

  .club-match-team strong {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.12;
  }

  .club-score small {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* INICIO: antes estaba forzado a 100svh + overflow hidden,
     lo cual recortaba la zona de Proximos partidos en celulares. */
  .section-inicio {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .section-inicio .club-hero-stage {
    height: auto;
    min-height: 100svh;
    align-items: stretch;
    padding: 96px 12px 28px;
    overflow: visible;
  }

  .section-inicio .club-hero-panel {
    width: 100%;
    align-content: start;
    padding-top: 8px;
  }

  .section-inicio .club-hero-panel h1 {
    font-size: clamp(2.9rem, 18vw, 5.2rem);
    line-height: .82;
  }

  .section-inicio .club-quick-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .section-inicio .club-quick-stat {
    min-width: 0;
    padding: 10px 6px;
  }

  .section-inicio .club-quick-stat small {
    font-size: .66rem;
    white-space: normal;
  }

  .section-inicio .club-featured-match {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin: 24px auto 0;
    transform: none;
  }

  .section-inicio .club-featured-head {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .section-inicio .club-featured-head strong,
  .section-inicio .club-featured-head span {
    text-align: left;
  }

  .section-inicio .club-featured-head span {
    grid-column: 2;
    font-size: .82rem;
  }

  .section-inicio .club-featured-body {
    min-height: 0;
  }

  .section-inicio .club-featured-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 14px;
  }

  .section-inicio .club-featured-team,
  .section-inicio .club-featured-team.local {
    justify-content: center;
    text-align: center;
  }

  .section-inicio .club-featured-team b {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.12;
  }

  .section-inicio .club-featured-team .club-logo-frame {
    width: 54px;
    height: 54px;
  }

  .section-inicio .club-featured-score {
    min-height: 68px;
  }
}

/* Premium dashboard home overrides */
.section-inicio {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
}

.section-inicio .club-hero-stage {
  height: 100svh;
  min-height: 720px;
}

.section-inicio .club-view {
  display: block;
}

.club-view.is-home-content {
  width: min(1360px, calc(100% - 32px));
  min-height: auto;
  margin: 0 auto;
  grid-template-columns: 1fr;
  padding: 118px 0 24px;
}

.club-view.is-home-content .club-content {
  width: 100%;
}

@media (max-width: 1024px) {
  .club-home-block.about,
  .club-home-block.matches,
  .club-home-block.tournaments,
  .club-home-block.stats,
  .club-home-block.players,
  .club-home-block.achievements,
  .club-home-block.sponsors {
    grid-column: span 12;
  }

  .club-home-roster,
  .club-home-tournaments,
  .club-home-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-home-stats,
  .club-home-achievements,
  .club-sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .club-view.is-home-content {
    width: min(100% - 24px, 1360px);
    padding-top: 28px;
  }

  .section-inicio .club-hero-stage {
    height: auto;
    min-height: 100svh;
  }

  .club-home-dashboard,
  .club-home-roster,
  .club-home-tournaments,
  .club-home-stats,
  .club-home-achievements,
  .club-sponsor-grid,
  .club-home-socials {
    grid-template-columns: 1fr;
  }

  .club-home-block,
  .club-home-block.wide {
    grid-column: 1 / -1;
  }

  .club-home-table a {
    grid-template-columns: 26px minmax(0, 1fr) 52px;
  }

  .club-home-table small {
    display: none;
  }

  .club-home-contact {
    grid-template-columns: 1fr;
  }

  .club-home-contact a {
    grid-row: auto;
    justify-content: center;
  }

  .club-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .club-topbar {
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }

  .club-nav-toggle {
    display: grid;
  }

  .club-nav {
    grid-column: 1 / -1;
    display: grid;
    max-height: 0;
    overflow: hidden;
    justify-content: stretch;
    gap: 4px;
    padding: 0;
    border: 0;
    opacity: 0;
    transition: max-height .24s ease, opacity .2s ease, padding .2s ease;
  }

  body.club-menu-open .club-nav {
    max-height: 420px;
    padding: 10px 0 4px;
    opacity: 1;
  }

  .club-nav a {
    justify-content: start;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    background: rgba(0,0,0,.24);
  }
}

/* Final layout corrections */
.section-inicio .club-footer {
  display: none;
}

.club-section-head h2,
.club-card-title h3,
.club-stat-card strong,
.club-player-card strong,
.club-score strong {
  font-family: var(--font-display);
}

.club-card-title h3 {
  letter-spacing: .3px;
}

.club-kicker,
.club-brand-text small,
.club-home-block > a,
.club-home-contact a,
.club-whatsapp-float,
.club-nav a {
  font-family: var(--font-condensed);
  font-size: 1.05rem;
  letter-spacing: .6px;
}

@media (max-width: 768px) {
  .club-topbar {
    position: fixed;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(5, 4, 7, .96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,36,79,.22);
  }

  .club-nav-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    z-index: 25;
  }

  .club-nav {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    gap: 8px;
    padding: 0;
    opacity: 0;
  }

  body.club-menu-open .club-nav {
    max-height: calc(100svh - 76px);
    overflow-y: auto;
    padding: 12px 0 4px;
    opacity: 1;
  }

  .club-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: start;
    place-items: center start;
    padding: 11px 14px;
    font-size: 1.08rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .club-brand {
    min-width: 0;
  }

  .club-brand-text strong {
    font-size: .9rem;
  }

  .club-brand-text small {
    font-size: .86rem;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .section-inicio .club-hero-stage {
    min-height: auto;
    padding: 24px 16px 28px;
    align-items: start;
    overflow: visible;
  }

  .section-inicio .club-hero-stage::before {
    inset: 72px 18vw 32px;
    background-size: min(34vw, 260px);
    opacity: .42;
  }

  .section-inicio .club-hero-panel {
    width: min(820px, 100%);
  }

  .section-inicio .club-hero-panel .club-logo-frame {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
  }

  .section-inicio .club-hero-panel h1 {
    max-width: calc(100vw - 48px);
    font-size: clamp(3.1rem, 12vw, 5.4rem);
    line-height: .78;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

  .section-inicio .club-hero-panel p {
    display: none;
  }

  .section-inicio .club-quick-stats {
    width: min(540px, 100%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
  }

  .section-inicio .club-quick-stat {
    min-height: 64px;
    padding: 10px 12px;
  }

  .section-inicio .club-quick-stat strong {
    font-size: 1.35rem;
  }

  .section-inicio .club-featured-match {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 760px);
    margin: 18px auto 0;
    transform: none;
  }

  .section-inicio .club-featured-head {
    grid-template-columns: 22px minmax(0, 1fr) minmax(180px, auto);
    gap: 10px;
    padding: 12px 16px;
  }

  .section-inicio .club-featured-head strong {
    font-size: 1rem;
  }

  .section-inicio .club-featured-head span {
    font-size: .78rem;
    text-align: right;
  }

  .section-inicio .club-featured-body {
    max-height: 44vh;
    overflow-y: auto;
  }

  .section-inicio .club-featured-row {
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 16px;
  }

  .section-inicio .club-featured-team {
    gap: 8px;
    font-size: .82rem;
  }

  .section-inicio .club-featured-team .club-logo-frame,
  .section-inicio .club-featured-team img {
    width: 42px;
    height: 42px;
  }

  .section-inicio .club-featured-team b {
    white-space: normal;
    line-height: 1.05;
  }

  .section-inicio .club-featured-score {
    min-height: 54px;
  }

  .section-inicio .club-featured-score strong {
    font-size: 1.6rem;
  }

  .section-inicio .club-featured-score small {
    font-size: .68rem;
  }

  .section-inicio .club-view {
    padding-top: 34px;
  }

  body.club-menu-open .club-nav {
    max-height: calc(100svh - 70px);
  }
}

/* Overflow hardening: desktop, tablet and mobile */
html,
body.club-site,
.club-page-root,
.club-shell {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.club-card,
.club-card *,
.club-section-head,
.club-section-head *,
.club-featured-match,
.club-featured-match *,
.club-match-card,
.club-match-card *,
.club-player-card,
.club-player-card *,
.club-player-row,
.club-player-row *,
.club-player-hero,
.club-player-hero *,
.club-home-block,
.club-home-block *,
.club-contact-card,
.club-contact-card *,
.club-modal,
.club-modal * {
  min-width: 0;
}

.club-card,
.club-section-head,
.club-card-title,
.club-featured-head,
.club-featured-row,
.club-featured-team,
.club-match-card,
.club-match-team,
.club-player-row,
.club-player-record,
.club-player-record-head,
.club-player-opponent,
.club-home-block,
.club-home-table a,
.club-home-contact,
.club-contact-card {
  max-width: 100%;
}

.club-card-title h3,
.club-card-title span,
.club-section-head h2,
.club-section-head p,
.club-featured-head strong,
.club-featured-head span,
.club-featured-team b,
.club-featured-score small,
.club-match-team strong,
.club-score small,
.club-player-row span,
.club-player-row small,
.club-player-record-head strong,
.club-player-record-head small,
.club-player-opponent strong,
.club-player-opponent small,
.club-home-player strong,
.club-home-player small,
.club-home-player span,
.club-home-table strong,
.club-home-table small,
.club-home-contact strong,
.club-home-contact small,
.club-social-links a,
.club-pill,
.club-contact-card strong,
.club-contact-card small,
.club-contact-card a,
.club-detail-record span,
.club-match-details span,
.club-modal-details span {
  overflow-wrap: anywhere;
}

.club-card-title {
  align-items: flex-start;
}

.club-card-title h3 {
  line-height: 1.12;
}

.club-card-title span {
  text-align: right;
  line-height: 1.15;
}

.club-section-head {
  flex-wrap: wrap;
}

.club-section-head p {
  text-align: left;
}

.club-social-links a,
.club-pill,
.club-match-actions a,
.club-match-actions button,
.club-home-block > a,
.club-home-block p + a,
.club-home-contact a,
.club-whatsapp-float {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.12;
}

.club-detail-record,
.club-match-details,
.club-modal-details {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.club-player-record-details summary {
  max-width: 100%;
  width: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .club-featured-row {
    grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr);
    gap: 14px;
    padding-inline: 18px;
  }

  .club-featured-team .club-logo-frame,
  .club-featured-team img {
    width: 58px;
    height: 58px;
  }

  .club-player-row {
    grid-template-columns: minmax(0, 1.1fr) 76px minmax(0, .9fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .club-featured-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .club-featured-team,
  .club-featured-team.local {
    justify-content: center;
    text-align: center;
  }

  .club-featured-team b {
    white-space: normal;
  }

  .club-featured-score {
    min-height: 76px;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 36, 79, .38);
    border-bottom: 1px solid rgba(255, 36, 79, .38);
  }

  .club-featured-head {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
  }

  .club-featured-head span {
    grid-column: 2;
    text-align: left;
  }

  .club-match-card {
    grid-template-columns: 1fr;
  }

  .club-match-team,
  .club-match-team.local {
    grid-template-columns: 48px minmax(0, 1fr);
    text-align: left;
    justify-content: start;
  }

  .club-match-team.local .club-logo-frame,
  .club-match-team.local > img {
    order: 0;
  }

  .club-match-team strong {
    white-space: normal;
  }

  .club-filters {
    grid-template-columns: 1fr;
  }

  .club-player-row {
    grid-template-columns: 1fr 72px;
    gap: 8px 12px;
  }

  .club-player-row span,
  .club-player-row small {
    white-space: normal;
  }

  .club-player-row small {
    grid-column: 1 / -1;
  }

  .club-player-record-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .club-home-table a {
    grid-template-columns: 28px minmax(0, 1fr) 58px;
  }

  .club-home-table small {
    grid-column: 2 / -1;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .club-featured-match,
  .club-view,
  .club-view.is-home-content,
  .club-footer {
    width: min(100% - 20px, 1360px);
  }

  .club-quick-stats {
    grid-template-columns: 1fr;
  }

  .section-inicio .club-featured-body {
    gap: 12px;
    padding: 12px;
    background: #fff;
  }

  .section-inicio .club-featured-row {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border: 1px solid rgba(255, 36, 79, .32);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 36, 79, .06), rgba(255, 255, 255, 0) 46%),
      #fff;
    box-shadow: 0 12px 28px rgba(5, 4, 7, .08);
    overflow: hidden;
  }

  .section-inicio .club-featured-row + .club-featured-row {
    border-top: 1px solid rgba(255, 36, 79, .32);
  }

  .section-inicio .club-featured-row::before {
    content: "Partido";
    display: block;
    padding: 9px 12px 7px;
    border-bottom: 1px solid rgba(255, 36, 79, .18);
    color: var(--club-primary);
    background: rgba(5, 4, 7, .04);
    font: 900 .72rem var(--font-display);
    text-transform: uppercase;
    letter-spacing: .6px;
  }

  .section-inicio .club-featured-row:nth-child(1)::before {
    content: "Partido 1";
  }

  .section-inicio .club-featured-row:nth-child(2)::before {
    content: "Partido 2";
  }

  .section-inicio .club-featured-row:nth-child(3)::before {
    content: "Partido 3";
  }

  .section-inicio .club-featured-team,
  .section-inicio .club-featured-team.local {
    justify-content: center;
    min-height: 90px;
    padding: 14px 12px;
    text-align: center;
  }

  .section-inicio .club-featured-team + .club-featured-score,
  .section-inicio .club-featured-score + .club-featured-team {
    border-top: 1px solid rgba(255, 36, 79, .18);
  }

  .section-inicio .club-featured-score {
    min-height: 74px;
    border: 0;
    background: rgba(5, 4, 7, .025);
  }

  .club-stat-grid,
  .club-player-kpi-grid,
  .club-player-record-metrics,
  .club-zone-grid,
  .club-roster-premium,
  .club-roster-list,
  .club-home-stats,
  .club-home-achievements,
  .club-sponsor-grid,
  .club-home-socials,
  .club-home-tournaments,
  .club-home-roster {
    grid-template-columns: 1fr;
  }

  .club-card.pad {
    padding: 14px;
  }

  .club-card-title {
    display: grid;
    gap: 6px;
  }

  .club-card-title span {
    text-align: left;
  }

  .club-player-row,
  .club-home-table a {
    grid-template-columns: 1fr;
  }

  .club-player-row b,
  .club-home-table b,
  .club-home-table span {
    justify-self: start;
  }

  .club-mini-bars div {
    grid-template-columns: 1fr auto;
  }

  .club-mini-bars i {
    grid-column: 1 / -1;
  }

  .club-whatsapp-float {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
}

/* Final visual polish inspired by elite esports sites, original to Renegade XI */
.club-shell {
  background:
    linear-gradient(90deg, rgba(5,4,7,.98), rgba(5,4,7,.78) 52%, rgba(5,4,7,.96)),
    repeating-linear-gradient(118deg, rgba(255,255,255,.035) 0 1px, transparent 1px 116px),
    repeating-linear-gradient(28deg, rgba(255,36,79,.05) 0 1px, transparent 1px 180px);
}

.club-topbar {
  border-bottom-color: rgba(255, 36, 79, .26);
  background: rgba(5, 4, 7, .9);
}

.club-brand-text strong,
.club-nav a,
.club-kicker,
.club-card-title h3,
.club-section-head h2,
.club-featured-head strong,
.club-profile-card > span {
  letter-spacing: .9px;
}

.club-brand-text strong {
  font-size: 1.22rem;
  line-height: .86;
}

.club-nav a {
  position: relative;
  font-family: var(--font-condensed);
  font-size: 1.08rem;
  letter-spacing: 1px;
}

.club-nav a.is-active::after,
.club-nav a:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--club-danger), var(--club-gold));
  box-shadow: 0 0 14px rgba(255,36,79,.58);
}

.club-hero-panel h1,
.club-section-head h2,
.club-player-identity h2,
.club-profile-hero h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .5px;
}

.club-hero-panel h1 {
  font-size: clamp(4rem, 13vw, 10.8rem);
  line-height: .72;
}

.club-section-head {
  border-left: 4px solid var(--club-danger);
  padding-left: clamp(14px, 2vw, 20px);
}

.club-section-head h2 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .78;
}

.club-section-head .club-kicker,
.club-kicker {
  color: var(--club-danger);
  font-family: var(--font-condensed);
  font-size: 1rem;
}

.club-card-title h3 {
  font-family: var(--font-condensed);
  font-size: 1.52rem;
  line-height: .95;
  text-transform: uppercase;
}

.club-card,
.club-stat-card,
.club-player-card,
.club-match-card,
.club-profile-card {
  border-radius: 6px;
}

.club-profile-card {
  position: relative;
  border-color: rgba(255, 36, 79, .32);
}

.club-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--club-danger), var(--club-gold));
}

.club-profile-card > span {
  color: var(--club-danger);
  font-family: var(--font-condensed);
  font-size: 1.06rem;
}

.club-profile-values article {
  border-color: rgba(255, 36, 79, .24);
  background: linear-gradient(145deg, rgba(255,36,79,.1), rgba(255,255,255,.03));
}

.club-featured-match {
  border-color: var(--club-danger);
}

.club-featured-head strong {
  font-family: var(--font-condensed);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: 1px;
}

.club-featured-score strong {
  font-family: var(--font-display);
  font-weight: 400;
}

@media (max-width: 680px) {
  .club-hero-panel h1 {
    font-size: clamp(3.8rem, 20vw, 6rem);
  }

  .club-section-head h2 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .club-nav a {
    font-size: 1rem;
  }
}



