/* ══════════════════════════════════════
   LEAGUES & CUPS PAGE — leagues-and-cups.css
══════════════════════════════════════ */

/* ── Hero ── */
.lc-hero {
  text-align: center;
  padding-bottom: 0;
}

.lc-hero__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.lc-hero__stat {
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.82;
  color: var(--yellow);
  margin-bottom: 1rem;
  font-style: normal;
}

.lc-hero__inner h1 {
  margin-bottom: 1.25rem;
}

.lc-hero__lead {
  max-width: 38rem;
  margin: 0 auto;
}

.lc-hero__actions {
  justify-content: center;
}

.lc-hero__regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.lc-region-pill {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--panel);
  white-space: nowrap;
}

/* Hero screenshot strip */
.lc-hero__strip {
  display: flex;
  gap: 0.75rem;
  overflow: hidden;
  margin-top: 0;
  padding: 0 var(--page-pad) clamp(3rem, 6vw, 5rem);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.lc-strip-thumb {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 280px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0.7;
  transition: opacity 0.25s;
}

.lc-strip-thumb:hover {
  opacity: 1;
}

.lc-strip-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── League Table ── */
.lc-table-head {
  margin-bottom: 2.5rem;
}

.lc-table-head h2 {
  margin-bottom: 0.875rem;
}

.lc-table-head__lead {
  max-width: 40rem;
  margin: 0;
}

.lc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}

.lc-table-wrap::-webkit-scrollbar       { height: 4px; }
.lc-table-wrap::-webkit-scrollbar-track { background: transparent; }
.lc-table-wrap::-webkit-scrollbar-thumb { background: var(--green); border-radius: 99px; }

.lc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.lc-table thead th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
}

.lc-table tbody td {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.lc-table tbody tr:last-child td {
  border-bottom: none;
}

.lc-table tbody tr {
  transition: background 0.18s;
}

.lc-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.lc-table__row--highlight td {
  background: rgba(70, 255, 87, 0.05);
}

.lc-table__row--highlight td:first-child {
  border-left: 3px solid var(--green);
}

.lc-table__region {
  font-weight: 700;
}

.lc-table__accent {
  color: var(--cyan);
  font-weight: 800;
}

.lc-table tfoot td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-top: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lc-table tfoot .lc-table__accent {
  color: var(--yellow);
  font-size: 1rem;
}

/* ── Region Cards ── */
.lc-regions__head {
  margin-bottom: 2.5rem;
}

.lc-regions__head h2 {
  margin-bottom: 0;
}

.lc-regions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.lc-region-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  border-top-width: 3px;
  transition: background 0.25s;
}

.lc-region-card:hover {
  background: var(--panel-hover);
}

.lc-region-card--blue   { border-top-color: var(--blue);  }
.lc-region-card--green  { border-top-color: var(--green); }
.lc-region-card--red    { border-top-color: var(--red);   }
.lc-region-card--yellow { border-top-color: var(--yellow);}

.lc-region-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lc-region-card__flag {
  font-size: 2.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.lc-region-card__name {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.2rem;
}

.lc-region-card__count {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lc-region-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lc-region-card__list li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lc-region-card__list li:last-child {
  border-bottom: none;
}

.lc-region-card__list li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ── Cup Competitions ── */
.lc-cups__head {
  margin-bottom: 2.5rem;
}

.lc-cups__head h2 {
  margin-bottom: 0.875rem;
}

.lc-cups__lead {
  max-width: 42rem;
  margin: 0;
}

.lc-cups__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.lc-cup-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: background 0.25s, border-color 0.25s;
}

.lc-cup-card:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 213, 46, 0.25);
}

.lc-cup-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.lc-cup-card__title {
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  letter-spacing: -0.04em;
  margin: 0;
}

.lc-cup-card__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
  flex: 1;
}

.lc-cup-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  border: 1px solid rgba(255, 213, 46, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  align-self: flex-start;
  margin-top: auto;
}

/* ── Play Your Way ── */
.lc-playyourway .split {
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.lc-playyourway h2 {
  margin-bottom: 1.25rem;
}

.lc-body {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.lc-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.lc-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}

.lc-highlight-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Screenshot with LIVE badge */
.lc-playyourway__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.lc-playyourway__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.lc-live-badge {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 47, 40, 0.85);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lc-live-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Download CTA ── */
.lc-cta {
  text-align: center;
  background: linear-gradient(150deg, rgba(255, 213, 46, 0.09), rgba(70, 255, 87, 0.05));
  border-top: 1px solid var(--line);
}

.lc-cta__inner {
  max-width: 38rem;
  margin: 0 auto;
}

.lc-cta__inner h2 {
  margin-bottom: 1.25rem;
}

.lc-cta__inner .lead {
  margin-bottom: 2.25rem;
}

.lc-cta__badge {
  display: inline-block;
  transition: transform 0.22s var(--ease-out), opacity 0.2s;
}

.lc-cta__badge:hover { transform: translateY(-3px); opacity: 0.85; }

.lc-cta__badge:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1020px) {
  .lc-hero__strip {
    display: none;
  }

  .lc-regions__grid {
    grid-template-columns: 1fr;
  }

  .lc-cups__row {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
  .lc-hero__stat {
    font-size: clamp(4rem, 22vw, 8rem);
  }

  .lc-regions__grid,
  .lc-cups__row {
    grid-template-columns: 1fr;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .lc-live-badge__dot { animation: none; }
}
