/* ==========================================================================
   WBA Play — Affiliated Clubs page CSS
   --------------------------------------------------------------------------
   Reuses .jd-hero, .jd-anchors, .jd-section__*, .jd-eyebrow, .jd-h2,
   .jd-btn primitives from play-shared.css. Adds .jc-* selectors for
   campaign-style team-kit cards with uniform-as-hero layout.

   Card hierarchy:
     .jc-card
       .jc-card__media     <- hero photo / placeholder
         .jc-card__num
         .jc-card__uniform OR .jc-card__placeholder-frame
         .jc-card__brand-mark
         .jc-card__strip   <- colour bar
       .jc-card__body
         .jc-card__locate
         .jc-card__name
         .jc-card__colors
         .jc-card__desc
       .jc-card__actions
         .jc-card__cta
         .jc-card__links
   ========================================================================== */


/* ============================================================
   1. INTRO / ORIENTATION
   ============================================================ */
.jc-intro {
  background: var(--pp-warm);
  padding: var(--pp-section-pad) 0;
}

.jc-stats {
  display: grid;
  grid-template-columns: repeat( 3, 1fr );
  gap: 18px;
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--pp-border);
}
.jc-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.jc-stat__num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp( 44px, 6vw, 72px );
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--pp-near-black);
}
.jc-stat:nth-child(2) .jc-stat__num { color: var(--pp-red); }
.jc-stat__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pp-muted);
}

@media (max-width: 720px) {
  .jc-stats {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 36px;
    margin-top: 36px;
  }
}


/* ============================================================
   2. CLUB CARDS — campaign-style with uniform hero
   ============================================================ */
.jc-list {
  background: #fff;
  padding: var(--pp-section-pad) 0;
}

.jc-grid {
  display: grid;
  grid-template-columns: repeat( 2, 1fr );
  gap: clamp( 18px, 2vw, 28px );
}

/* Card shell ------------------------------------------------- */
.jc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.jc-card:hover {
  border-color: var(--pp-near-black);
  box-shadow: var(--pp-shadow-lift);
  transform: translateY(-3px);
}

/* MEDIA / PHOTO BLOCK ===================================== */
.jc-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--pp-warm);
  overflow: hidden;
  border-bottom: 1px solid var(--pp-border);
}

.jc-card__num {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 3;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--pp-near-black);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Uniform image ---------------------------------------------- */
.jc-card__uniform {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  transition: transform .5s ease;
}
.jc-card:hover .jc-card__uniform {
  transform: scale(1.025);
}

/* Brand mark (small logo overlay when uniform present) ------ */
.jc-card__brand-mark {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease;
}
.jc-card__brand-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.jc-card:hover .jc-card__brand-mark {
  transform: scale(1.06);
}

/* Placeholder (no uniform yet) ------------------------------ */
.jc-card__placeholder-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background:
    radial-gradient( circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 50% ),
    var(--pp-warm);
}
.jc-card__placeholder-logo {
  width: 56%;
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow( 0 4px 16px rgba(0, 0, 0, 0.08) );
  transition: transform .35s ease;
}
.jc-card--placeholder:hover .jc-card__placeholder-logo {
  transform: scale(1.04) translateY(-4px);
}
.jc-card__placeholder-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--pp-muted);
  font-style: italic;
}

/* Colour brand strip (bottom of media) ----------------------- */
.jc-card__strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  height: 6px;
  pointer-events: none;
}
.jc-card__strip span {
  flex: 1;
  display: block;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.jc-card__strip span:last-child { border-right: 0; }
/* If a colour block is white, give it a top border so it's visible on white */
.jc-card__strip span[style*="FFFFFF"] {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}


/* BODY ===================================== */
.jc-card__body {
  flex: 1;
  padding: 30px 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.jc-card__locate {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--pp-red);
}

.jc-card__name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp( 26px, 2.8vw, 36px );
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  color: var(--pp-near-black);
  line-height: 0.98;
  margin: 0;
}

.jc-card__colors {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--pp-ink-dim);
}
.jc-card__colors-label {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--pp-muted);
}
.jc-card__colors-value {
  font-weight: 600;
  color: var(--pp-near-black);
}

.jc-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--pp-ink-dim);
  margin: 4px 0 0;
}
.jc-card__desc em {
  font-style: italic;
  color: var(--pp-near-black);
}


/* FOOTER ===================================== */
.jc-card__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--pp-border);
  background: #fff;
}

.jc-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--pp-near-black);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  transition: background-color .2s ease, transform .2s ease;
}
.jc-card__cta:hover {
  background: var(--pp-red);
  transform: translateY(-2px);
}
.jc-card__cta span {
  display: inline-block;
  transition: transform .2s ease;
}
.jc-card__cta:hover span {
  transform: translate(2px, -2px);
}

.jc-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
}
.jc-card__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pp-muted);
  text-decoration: none;
  text-transform: lowercase;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.jc-card__link:hover { color: var(--pp-red); }
.jc-card__link span {
  display: inline-block;
  transition: transform .2s ease;
}
.jc-card__link:hover span { transform: translate(2px, -2px); }

/* Responsive --------------------------------------------------- */
@media (max-width: 800px) {
  .jc-grid { grid-template-columns: 1fr; }
  .jc-card__media { aspect-ratio: 1 / 1; }
  .jc-card__body { padding: 24px 24px 18px; }
  .jc-card__actions { padding: 18px 24px 24px; }
  .jc-card__name { font-size: 28px; }
}


/* ============================================================
   3. CLUBS & ASSOCIATION EXPLAINER
   ============================================================ */
.jc-explainer {
  background: var(--pp-warm);
  padding: var(--pp-section-pad) 0;
}

.jc-explainer__split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp( 36px, 6vw, 88px );
  align-items: start;
}

.jc-explainer__head {
  position: sticky;
  top: 88px;
}

.jc-explainer__body p {
  font-size: clamp( 16px, 1.3vw, 18px );
  line-height: 1.6;
  color: var(--pp-ink-dim);
  margin: 0 0 22px;
}
.jc-explainer__body p:last-child { margin-bottom: 0; }
.jc-explainer__body p strong {
  font-weight: 700;
  color: var(--pp-near-black);
}
.jc-explainer__body p em {
  font-style: italic;
  color: var(--pp-near-black);
}

@media (max-width: 800px) {
  .jc-explainer__split { grid-template-columns: 1fr; }
  .jc-explainer__head { position: static; }
}


/* ============================================================
   4. BOTTOM CTA
   ============================================================ */
.jc-bottom {
  background: #fff;
  padding: var(--pp-section-pad) 0;
}

.jc-bottom__panel {
  background: var(--pp-near-black);
  color: #fff;
  border-radius: var(--pp-radius-lg);
  padding: clamp( 40px, 6vw, 72px );
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp( 32px, 5vw, 64px );
  align-items: center;
  position: relative;
  overflow: hidden;
}
.jc-bottom__panel::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient( circle, rgba(193,39,45,.18), transparent 70% );
  pointer-events: none;
}

.jc-bottom__copy {
  position: relative;
  z-index: 2;
}
.jc-bottom__copy p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.jc-bottom__copy p strong { color: #fff; font-weight: 700; }

.jc-bottom__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.jc-bottom__correct {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  text-transform: lowercase;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.jc-bottom__correct:hover {
  color: #fff;
  border-color: #fff;
}
.jc-bottom__correct span {
  display: inline-block;
  transition: transform .2s ease;
}
.jc-bottom__correct:hover span { transform: translate(2px, -2px); }

@media (max-width: 800px) {
  .jc-bottom__panel { grid-template-columns: 1fr; }
}
