/**
 * SPORTX.NET — Design system & component styles
 * Pixel-accurate layout matching the provided design
 */

/* ========== DESIGN TOKENS ========== */
:root {
  /* Colors */
  --color-primary: #FF6600;
  --color-primary-hover: #ff7a1a;
  --color-text: #FFFFFF;
  --color-text-secondary: #B0B0B0;
  --color-text-muted: #D0D0D0;
  --color-bg-dark: #1A202C;
  --color-bg-darker: #0F172A;
  --color-border: #4A4A4A;
  --color-border-light: #333333;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-xxxl: 64px;
  --spacing-section: 100px;
  --section-title-margin: 48px;
  --hero-title-to-buttons: 48px;
  --hero-buttons-to-upcoming: 32px;
  --container-padding-x: clamp(12px, 4vw, 24px);

  /* Typography — pixel-exact from design */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --h1-size: 72px;
  --h1-size-mobile: clamp(1.75rem, 6vw, 2.5rem);
  --h1-weight: 800;
  --h1-line-height: 1.1;
  --h2-size: 32px;
  --h2-weight: 700;
  --h3-size: 24px;
  --h3-weight: 700;
  --body-size: 16px;
  --body-weight: 400;
  --small-size: 14px;
  --nav-size: 16px;
  --nav-weight: 500;
  --btn-font-size: 16px;
  --btn-font-weight: 700;
}

/* ========== BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-dark);
  margin: 0;
  padding: 0;
  /* navbar height — pixel-exact */
}

/* ========== HEADER / NAVBAR (75px height, 24px logo padding, 16px nav, 32–40px link gap) ========== */
.sportx-navbar .navbar {
  background-color: var(--color-bg-dark) !important;
  min-height: 75px;
  height: 75px;
  padding: 0;
  border-bottom: 1px solid var(--color-border);
}

.sportx-navbar .navbar .container {
  max-width: 1400px;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
  height: 75px;
  display: flex;
  align-items: center;
}

.sportx-navbar .navbar-brand {
  padding: 24px 24px 24px 0; /* ~24px around logo */
  margin: 0;
}

.sportx-logo {
  height: 70px;
  width: auto;
  display: block;
}

.sportx-navbar .navbar-nav {
  gap: 0;
}

.sportx-navbar .nav-item {
  margin: 0;
}

.sportx-navbar .nav-link {
  font-size: var(--nav-size);
  font-weight: var(--nav-weight);
  color: var(--color-text) !important;
  position: relative;
  margin: 0;
}

.sportx-navbar .nav-link:hover,
.sportx-navbar .nav-link.active {
  color: var(--color-primary) !important;
  border:none;
}

/*.sportx-navbar .nav-link.active::after,
.sportx-navbar .nav-link:hover::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 2px;
  background-color: var(--color-primary);
}*/

/* LOG IN: outlined orange (2px solid #FF6600, text #FF6600) */
.btn-login {
  font-size: var(--btn-font-size);
  font-weight: 600;
  color: var(--color-primary) !important;
  background-color: transparent !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 6px;
}

.btn-login:hover {
  color: var(--color-text) !important;
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.btn-sportx-primary {
  background-color: var(--color-primary);
  color: var(--color-text) !important;
  font-size: var(--btn-font-size);
  border: none;
  padding: 12px 24px; /* ~16px vertical, 24px horizontal */
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-sportx-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-text) !important;
}

.btn-sportx-secondary {
  background-color: transparent;
  color: var(--color-text) !important;
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  border: 2px solid var(--color-border);
  padding: 12px 24px;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-sportx-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-text-muted);
  color: var(--color-text) !important;
}

/* ========== HERO (500–550px height, 48px title→buttons, 32px buttons→upcoming) ========== */
.hero {
  position: relative;
  min-height: 540px; /* 500–550px pixel-exact */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--color-text);
  margin-bottom: var(--hero-title-to-buttons); /* 48px */
}

.hero-title .text-accent {
  color: var(--color-primary);
}

.hero-buttons {
  margin-bottom: 0;
  gap: 24px !important; /* 24px between buttons */
}

.hero-upcoming {
  font-size: var(--small-size);
  color: var(--color-text-secondary);
  margin-top: var(--hero-buttons-to-upcoming); /* 32px */
  margin-bottom: 0;
}

/* ========== SECTIONS ========== */
.section-trending,
.section-featured {
  background-color: var(--color-bg-dark);
}

.section-trending .container,
.section-featured .container {
  max-width: 1400px;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.section-title {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  color: var(--color-text);
  margin-bottom: 0;
}

.section-trending .section-title {
  margin-bottom: var(--section-title-margin); /* 48px to cards */
}

.text-accent {
  color: var(--color-primary);
}

/* ========== TRENDING CARDS ========== */
.sportx-card {
  background-color: var(--color-bg-darker);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.sportx-card .card-img-wrapper {
  position: relative;
  aspect-ratio: 400 / 280;
  overflow: hidden;
}

.sportx-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 34px; /* 32–36px pixel-exact */
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1;
}

.card-btn-wrapper {
  margin-top: 4px;
}

.badge-sold {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  font-size: var(--small-size);
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--color-primary);
  padding: 0 12px;
  min-width: 60px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-sizing: border-box;
}

.sportx-card .card-body {
  padding: 24px; /* pixel-exact internal card padding */
}

.sportx-card .card-title {
  color: var(--color-text);
  margin-bottom: 8px;
}

.sportx-card .card-meta {
  font-size: var(--body-size);
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.sportx-card .card-price {
  font-size: var(--small-size);
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.sportx-card .btn {
  margin-top: 0;
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
}

/* ========== FEATURED ATHLETE CARD ========== */
.sportx-card-featured .card-img-wrapper {
  aspect-ratio: 16 / 9;
  max-height: 380px;
}

.sportx-card-featured .featured-athlete-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Overlay on image only; card body stays below */
.featured-athlete-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.3) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.sportx-card-featured .card-body {
  padding: var(--spacing-xl);
}

.sportx-card-featured .section-title {
  font-size: 14px;
  font-weight: 600;
}

/* ========== VIP CARD ========== */
.sportx-card-vip {
  border: 1px solid var(--color-border);
}

.sportx-card-vip .card-body {
  padding: var(--spacing-xl);
}

.vip-features li {
  font-size: var(--body-size);
  color: var(--color-text-muted);
  margin-bottom: 12px; /* ~12px vertical spacing */
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  line-height: 1.5;
}

.vip-features .bi-check-circle-fill {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== FOOTER ========== */
.sportx-footer {
  background-color: var(--color-bg-darker);
  border-top: 1px solid var(--color-border);
}

.sportx-footer .container {
  max-width: 1400px;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.sportx-footer-inner {
  width: 100%;
}

.sportx-footer-copy,
.sportx-footer-tagline {
  line-height: 1.45;
}

.sportx-footer-nav a {
  white-space: nowrap;
  padding: 0.15rem 0;
}

.sportx-footer-nav a:hover {
  color: var(--color-primary) !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .sportx-navbar .navbar {
    min-height: auto;
    height: auto;
  }

  .sportx-navbar .navbar .container {
    min-height: auto;
    height: auto;
    align-items: stretch;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .sportx-header-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .sportx-header-brand-row {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.2rem 0 0.15rem;
  }

  .sportx-header-brand-row .navbar-brand {
    padding: 0;
    margin: 0;
  }

  .sportx-header-util-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
    padding-bottom: 0.2rem;
  }

  .sportx-header-prefs {
    flex: 1 1 auto;
    min-width: 0;
  }

  .sportx-header-country,
  .sportx-header-sport {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
  }

  .sportx-header-country .btn,
  .sportx-header-sport .btn {
    width: 100%;
    justify-content: center;
    min-height: 2rem;
    line-height: 1.2;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .sportx-header-mobile-bar {
    flex-shrink: 0;
    margin-left: 0;
  }

  .sportx-logo {
    height: 40px;
    max-height: 40px;
    width: auto;
    object-fit: contain;
  }

  .hero {
    min-height: 420px;
  }

  .hero .container {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
  }

  .hero-title {
    font-size: var(--h1-size-mobile);
  }

  .section-title {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .sportx-header-shell {
    flex-wrap: nowrap;
    align-items: center;
  }

  .sportx-header-brand-row {
    margin-right: 0.35rem;
  }

  .sportx-header-util-row {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .sportx-header-prefs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .sportx-header-country,
  .sportx-header-sport {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 360px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .sportx-card .card-body {
    padding: var(--spacing-md);
  }

  .sportx-card-featured .card-body,
  .sportx-card-vip .card-body {
    padding: var(--spacing-lg);
  }
}

@media (min-width: 1200px) {
  .section-trending,
  .section-featured {
    padding-top: var(--spacing-section);   /* 100px */
    padding-bottom: var(--spacing-section);
  }

  .section-trending .row.g-4,
  .section-featured .row.g-4 {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
  }
}

/* ========== FRONT — modern accents ========== */
.sportx-front-body {
  position: relative;
  overflow-x: hidden;
  /* Fixed navbar height — keep in sync with .sportx-navbar .navbar rules */
  --sportx-header-height: 75px;
}

@media (max-width: 991.98px) {
  .sportx-front-body {
    --sportx-header-height: 84px;
  }
}

/* Single offset for fixed header (replaces stacking body padding + main pt-5) */
.sportx-main-under-nav {
  padding-top: var(--sportx-header-height);
}

/* ========== Front header — responsive chrome ========== */
.sportx-header-container {
  width: 100%;
  max-width: 1400px;
}

.sportx-header-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: 0;
}

.sportx-header-brand-row {
  flex: 0 0 auto;
}

.sportx-header-util-row {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.sportx-header-prefs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.sportx-header-country + .sportx-header-sport,
.sportx-header-prefs .sportx-header-sport {
  margin-left: 0;
}

.sportx-header-brand-cluster {
  min-width: 0;
}

/* Toggler only exists inside the mobile bar (< lg); desktop uses expanded navbar */
.sportx-header-toggler {
  margin-left: auto;
  padding: 0.35rem 0.55rem;
}

/* Mobile header strip: matching circular FA icon buttons (menu | account); cart hidden on mobile */
.sportx-header-mobile-cart {
  display: none !important;
}

.sportx-header-mobile-bar .sportx-header-toggler {
  margin-left: 0;
  padding: 0;
}

.sportx-header-mobile-bar .sportx-header-mobile-icon-btn {
  width: 2.35rem;
  height: 2.35rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}

.sportx-header-mobile-bar .sportx-header-mobile-icon-btn > i {
  font-size: 1.05rem;
  line-height: 1;
}

/* Guest cart uses same shape; icon reads slightly softer until they sign in */
.sportx-header-mobile-cart--guest {
  opacity: 0.92;
}

.sportx-header-mobile-cart-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  font-size: 0.6rem;
  min-width: 1.1rem;
  padding: 0.1em 0.35em;
  line-height: 1.2;
}

.sportx-header-mobile-user-menu,
.sportx-header-mobile-account-menu {
  min-width: 11rem;
}

/* Logged-in fan without club session: nothing left in drawer actions row on mobile */
@media (max-width: 991.98px) {
  .sportx-header-actions--fan-only {
    display: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}

/* Guest “club staff” link: full width in mobile drawer; compact in desktop bar */
.sportx-header-staff-link {
  flex: 1 1 100%;
}

@media (min-width: 992px) {
  .sportx-header-staff-link {
    flex: 0 0 auto;
    width: auto !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    text-align: left !important;
  }
}

@media (min-width: 992px) {
  .sportx-header-toggler {
    margin-left: 0;
  }
}

.sportx-navbar-collapse {
  flex-basis: 100%;
}

/* Mobile nav offcanvas; lg+ becomes inline navbar (Bootstrap offcanvas-lg) */
.sportx-nav-offcanvas {
  background: rgba(15, 23, 42, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sportx-nav-offcanvas .offcanvas-header {
  padding: 0.85rem 1rem;
}

@media (max-width: 991.98px) {
  .sportx-nav-offcanvas {
    width: 100vw;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    top: 0;
    right: 0;
    left: 0;
  }

  .sportx-nav-offcanvas .offcanvas-header {
    padding: 1rem 1.15rem;
    flex-shrink: 0;
  }

  .sportx-nav-offcanvas .sportx-nav-offcanvas__body,
  .sportx-nav-modal .sportx-nav-modal__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.75rem 0.85rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sportx-nav-offcanvas .navbar-nav,
  .sportx-nav-modal .navbar-nav {
    width: 100%;
    align-items: stretch !important;
    gap: 0.15rem;
  }

  .sportx-nav-offcanvas .sportx-nav-item,
  .sportx-nav-modal .sportx-nav-item {
    width: 100%;
    text-align: left;
    border-radius: 0.5rem;
  }

  .sportx-nav-offcanvas .sportx-header-actions,
  .sportx-nav-modal .sportx-header-actions {
    width: 100%;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: column;
    align-items: stretch !important;
    flex-wrap: nowrap;
  }

  .sportx-nav-offcanvas .dropdown-menu,
  .sportx-nav-modal .dropdown-menu {
    max-width: 100%;
    position: static !important;
    transform: none !important;
    float: none;
    margin-top: 0.25rem;
  }

  .sportx-leagues-menu .sportx-leagues-submenu-menu {
    position: static;
    margin: 0.25rem 0 0.4rem 0;
    box-shadow: none;
  }
}

@media (min-width: 992px) {
  .sportx-nav-offcanvas.offcanvas-lg {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    visibility: visible !important;
  }

  .sportx-nav-offcanvas .sportx-nav-offcanvas__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .sportx-navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
    max-height: none;
    overflow: visible;
    border-top: 0;
    padding: 0;
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .sportx-navbar-collapse.sportx-nav-offcanvas:not(.show) {
    /* Offcanvas hidden state — do not reserve header space */
    position: fixed;
  }
}

@media (max-width: 991.98px) {
  .sportx-header-actions__btn {
    min-height: 2.5rem;
  }

  .sportx-header-user-dropdown {
    width: 100%;
  }

  .sportx-header-user-menu {
    position: static !important;
    transform: none !important;
    margin-top: 0.35rem !important;
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .sportx-header-user-menu {
    width: auto !important;
    min-width: 12rem;
  }
}

.sportx-bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 102, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(59, 130, 246, 0.08), transparent 50%);
}

.sportx-navbar-inner {
  backdrop-filter: blur(12px);
  background: rgba(26, 32, 44, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sportx-front-body > header,
.sportx-front-body > main,
.sportx-front-body > footer {
  z-index: 1;
}

/* ========== Club portal (staff/manager) — modern “command center” shell ========== */
.sportx-club-portal-body {
  background: linear-gradient(165deg, #0b1220 0%, #0f172a 38%, #0c1424 100%);
}

.sportx-club-portal-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sportx-club-portal-body .sportx-club-portal-bg-glow {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.sportx-club-portal-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

.sportx-club-portal-body > .sportx-club-portal-header,
.sportx-club-portal-body > .sportx-club-portal-main {
  position: relative;
  z-index: 1;
}

.sportx-club-portal-header {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sportx-club-portal-header__accent {
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 102, 0, 0.2) 15%,
    var(--color-primary, #ff6600) 45%,
    #ff8533 55%,
    rgba(255, 102, 0, 0.25) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: sportx-portal-accent-flow 10s ease-in-out infinite;
}

@keyframes sportx-portal-accent-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sportx-club-portal-header__accent {
    animation: none;
    background-size: 100% 100%;
  }
}

.sportx-club-portal-header-inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Navbar sits on the glass header — keep it transparent so the shell reads as one bar */
.sportx-club-portal-navbar {
  background: transparent !important;
}

.sportx-club-portal-brand-link {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sportx-club-portal-brand-link:hover {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.sportx-club-portal-logo {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.sportx-club-portal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.88);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 0, 0.35);
  background: linear-gradient(145deg, rgba(255, 102, 0, 0.18), rgba(15, 23, 42, 0.6));
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.12);
}

.sportx-club-portal-kicker__icon {
  color: var(--color-primary, #ff6600);
  font-size: 0.95rem;
}

.sportx-club-portal-club-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: min(52vw, 20rem);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f8fafc;
  padding: 0.35rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.75));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sportx-club-portal-club-pill--muted {
  color: rgba(148, 163, 184, 0.95);
  font-weight: 600;
}

.sportx-club-portal-club-pill__icon {
  color: var(--color-primary, #ff6600);
  flex-shrink: 0;
}

.sportx-club-portal-actions .btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sportx-club-portal-actions .btn:active {
  transform: scale(0.98);
}

.sportx-club-portal-btn-primary {
  box-shadow: 0 4px 18px rgba(255, 102, 0, 0.35);
}

.sportx-club-portal-user {
  max-width: 11rem;
}

.sportx-club-portal-container {
  max-width: 1440px;
}

.sportx-club-portal-stage {
  position: relative;
}

.sportx-club-portal-content-shell {
  min-height: 50vh;
}

.sportx-club-portal-content-shell--solo {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Sidebar card */
.sportx-club-portal-sidebar-card {
  border-radius: 1rem !important;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  padding: 1rem 1rem 1.1rem;
  overflow: hidden;
}

.sportx-club-portal-sidebar-card__head {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sportx-club-portal-sidebar__label {
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  color: rgba(255, 102, 0, 0.9);
}

.sportx-club-portal-sidebar__club {
  font-size: 1.05rem;
  line-height: 1.25;
}

.sportx-club-portal-sidebar__switch {
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sportx-club-portal-sidebar__switch:hover {
  border-color: rgba(255, 102, 0, 0.45) !important;
  background: rgba(255, 102, 0, 0.08);
}



.sportx-club-portal-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem !important;
  border-radius: 0.55rem !important;
  color: rgba(203, 213, 225, 0.95) !important;
  border: 1px solid transparent;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.sportx-club-portal-nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.sportx-club-portal-nav-link.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(255, 102, 0, 0.22), rgba(15, 23, 42, 0.5)) !important;
  border-color: rgba(255, 102, 0, 0.45) !important;
  box-shadow: 0 0 24px rgba(255, 102, 0, 0.12);
}

.sportx-club-portal-nav-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  flex-shrink: 0;
}

.sportx-club-portal-nav-link.is-active .sportx-club-portal-nav-link__icon {
  background: rgba(255, 102, 0, 0.25);
  color: var(--color-primary, #ff6600);
}

/* List pages: title left, filters/search right on one row */
.sportx-club-portal-list-toolbar__row {
  flex-wrap: nowrap;
}

.sportx-club-portal-list-toolbar__title {
  flex: 1 1 auto;
  min-width: 0;
}

.sportx-club-portal-list-toolbar__search {
  width: 12rem;
  min-width: 8rem;
  max-width: min(40vw, 14rem);
}

.sportx-club-portal-list-toolbar__select {
  width: auto;
  min-width: 7.5rem;
  max-width: 10rem;
}

@media (max-width: 575.98px) {
  .sportx-club-portal-list-toolbar__row {
    flex-wrap: wrap;
  }

  .sportx-club-portal-list-toolbar__aside {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .sportx-club-portal-list-toolbar__search {
    max-width: none;
    flex: 1 1 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sportx-club-portal-nav-link:hover {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .sportx-club-portal-club-pill {
    max-width: 100%;
  }

  .sportx-club-portal-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ========== Club portal — dashboard KPI cards (modern, high-energy) ========== */
.sportx-dash-hero {
  position: relative;
  padding-bottom: 0.25rem;
}

.sportx-dash-hero::after {
  content: '';
  display: block;
  height: 2px;
  max-width: 12rem;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary, #ff6600),
    rgba(59, 130, 246, 0.55),
    transparent
  );
}

.sportx-dash-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 102, 0, 0.95);
  margin-bottom: 0.35rem;
}

.sportx-dash-hero__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.sportx-dash-hero__sub {
  max-width: 36rem;
  line-height: 1.45;
}

.sportx-dash-kpi-link {
  color: inherit;
  border-radius: 1rem;
  outline: none;
}

.sportx-dash-kpi-link:focus-visible .sportx-dash-kpi {
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.95),
    0 0 0 4px rgba(255, 102, 0, 0.65);
}

.sportx-dash-kpi {
  --dash-border: rgba(255, 255, 255, 0.1);
  --dash-glow: rgba(255, 102, 0, 0.12);
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--dash-border);
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.85) 0%,
    rgba(15, 23, 42, 0.92) 45%,
    rgba(12, 20, 35, 0.95) 100%
  );
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.sportx-dash-kpi--interactive {
  cursor: pointer;
}

.sportx-dash-kpi--interactive:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.45);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 32px var(--dash-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sportx-dash-kpi__glow {
  pointer-events: none;
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 102, 0, 0.22), transparent 72%);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.sportx-dash-kpi--interactive:hover .sportx-dash-kpi__glow {
  opacity: 1;
}

.sportx-dash-kpi__body {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem 1.15rem;
}

@media (min-width: 768px) {
  .sportx-dash-kpi__body {
    padding: 1.15rem 1.25rem 1.25rem;
  }
}

.sportx-dash-kpi__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.sportx-dash-kpi__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.88);
  line-height: 1.25;
}

.sportx-dash-kpi__icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  font-size: 1.15rem;
  color: var(--color-primary, #ff6600);
  background: linear-gradient(145deg, rgba(255, 102, 0, 0.2), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(255, 102, 0, 0.35);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.sportx-dash-kpi--interactive:hover .sportx-dash-kpi__icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 28px rgba(255, 102, 0, 0.28);
}

.sportx-dash-kpi__value {
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f8fafc;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.sportx-dash-kpi__shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 52%,
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sportx-dash-kpi--interactive:hover .sportx-dash-kpi__shine {
  opacity: 1;
}

/* Staggered entrance (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .sportx-dash-kpi--animate {
    animation: sportx-dash-kpi-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .sportx-dash-kpi-grid > *:nth-child(1) .sportx-dash-kpi--animate {
    animation-delay: 0.03s;
  }
  .sportx-dash-kpi-grid > *:nth-child(2) .sportx-dash-kpi--animate {
    animation-delay: 0.07s;
  }
  .sportx-dash-kpi-grid > *:nth-child(3) .sportx-dash-kpi--animate {
    animation-delay: 0.11s;
  }
  .sportx-dash-kpi-grid > *:nth-child(4) .sportx-dash-kpi--animate {
    animation-delay: 0.15s;
  }
  .sportx-dash-kpi-grid > *:nth-child(5) .sportx-dash-kpi--animate {
    animation-delay: 0.19s;
  }
  .sportx-dash-kpi-grid > *:nth-child(6) .sportx-dash-kpi--animate {
    animation-delay: 0.23s;
  }
  .sportx-dash-kpi-grid > *:nth-child(7) .sportx-dash-kpi--animate {
    animation-delay: 0.27s;
  }
  .sportx-dash-kpi-grid > *:nth-child(8) .sportx-dash-kpi--animate {
    animation-delay: 0.31s;
  }
  .sportx-dash-kpi-grid > *:nth-child(9) .sportx-dash-kpi--animate {
    animation-delay: 0.35s;
  }
  .sportx-dash-kpi-grid > *:nth-child(10) .sportx-dash-kpi--animate {
    animation-delay: 0.39s;
  }
  .sportx-dash-kpi-grid > *:nth-child(11) .sportx-dash-kpi--animate {
    animation-delay: 0.43s;
  }
  .sportx-dash-kpi-grid > *:nth-child(12) .sportx-dash-kpi--animate {
    animation-delay: 0.47s;
  }
}

@keyframes sportx-dash-kpi-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sportx-dash-kpi--interactive:hover {
    transform: none;
  }

  .sportx-dash-kpi--interactive:hover .sportx-dash-kpi__icon-wrap {
    transform: none;
  }

  .sportx-dash-kpi--animate {
    animation: none;
  }
}

/* Slight hue variety per card (keeps brand orange dominant) */
.sportx-dash-kpi-grid > *:nth-child(4n + 2) .sportx-dash-kpi {
  --dash-glow: rgba(96, 165, 250, 0.14);
}

.sportx-dash-kpi-grid > *:nth-child(4n + 3) .sportx-dash-kpi {
  --dash-glow: rgba(52, 211, 153, 0.12);
}

.sportx-dash-kpi-grid > *:nth-child(4n) .sportx-dash-kpi {
  --dash-glow: rgba(167, 139, 250, 0.12);
}

.hero {
  position: relative;
}

.hero-content {
  animation: sportx-fade-up 0.7s ease-out both;
}

@keyframes sportx-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== ADMIN — dark chrome (sidebar + header), light content ========== */
.admin-shell {
  --admin-bg: #eef2f7;
  --admin-surface: #ffffff;
  --admin-border: #e2e8f0;
  --admin-text: #0f172a;
  --admin-muted: #64748b;
  /* Dark chrome */
  --admin-sidebar-bg: linear-gradient(180deg, #05080f 0%, #0a1020 55%, #060912 100%);
  --admin-sidebar-edge: rgba(255, 255, 255, 0.07);
  --admin-header-bg: rgba(8, 12, 22, 0.92);
  --admin-header-border: rgba(255, 255, 255, 0.08);
  --admin-on-dark: #f8fafc;
  --admin-on-dark-muted: #94a3b8;
  --admin-on-dark-dim: #64748b;
  font-family: 'Plus Jakarta Sans', var(--font-family);
  color: var(--admin-text);
  background: var(--admin-bg);
  min-height: 100vh;
}

.admin-page-title {
  color: var(--admin-text);
  font-weight: 700;
}

.admin-page-subtitle {
  color: var(--admin-muted);
}

/* Dark sidebar */
.admin-sidebar {
  width: 260px;
  padding: 1.1rem 0.75rem 1.25rem;
  background: var(--admin-sidebar-bg);
  border-right: 1px solid var(--admin-sidebar-edge);
  box-shadow:
    4px 0 32px rgba(0, 0, 0, 0.35),
    inset -1px 0 0 rgba(255, 102, 0, 0.06);
}

.admin-sidebar-logo {
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.admin-brand-link:hover .admin-sidebar-logo {
  filter: drop-shadow(0 0 14px rgba(255, 102, 0, 0.35));
}

.admin-sidebar-tagline {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--admin-on-dark-dim);
  margin-bottom: 0.75rem;
}

.admin-nav-scroll {
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 102, 0, 0.35) rgba(255, 255, 255, 0.04);
}

.admin-nav-scroll {
  overflow-x: auto;
  max-height: calc(100vh - 120px);
  position: sticky;
    top: 100px;
}
.admin-nav-link
 {
    width: 100%;
 }
.admin-sidebar .admin-nav-scroll::-webkit-scrollbar {
  width: 6px;
}
.admin-brand-link
 {
    position: sticky;
    top: 15px;
}
.admin-topbar {position: sticky;z-index: 1;
  top: 0;}
.admin-sidebar .admin-nav-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.admin-sidebar .admin-nav-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 102, 0, 0.35);
  border-radius: 4px;
}

.admin-nav-heading {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 102, 0, 0.95);
  margin-top: 0.35rem;
  opacity: 0.95;
}

.admin-nav-link {
  color: rgba(248, 250, 252, 0.78) !important;
  border-radius: 0.5rem;
  padding: 0.5rem 0.65rem !important;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.admin-nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
}

.admin-nav-link.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(255, 102, 0, 0.22), rgba(255, 102, 0, 0.06));
  box-shadow: inset 3px 0 0 var(--color-primary);
  font-weight: 600;
}

.admin-nav-group {
  flex: 1 1 100%;
}

.admin-nav-link--parent {
  cursor: pointer;
}

.admin-nav-link--parent .admin-nav-chevron {
  transition: transform 0.2s ease;
}

.admin-nav-link--parent[aria-expanded="true"] .admin-nav-chevron {
  transform: rotate(180deg);
}

.admin-nav-sublink {
  padding-left: 2.15rem !important;
  font-size: 0.8125rem;
  font-weight: 500;
}

.admin-nav-sublink.active {
  box-shadow: inset 3px 0 0 rgba(255, 102, 0, 0.65);
  background: rgba(255, 255, 255, 0.05);
}

/* Sidebar links kept in markup; remove this class to show again */
.admin-sidebar-link-hidden {
  display: none !important;
}

/* Dark header bar */
.admin-topbar {
  background: var(--admin-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--admin-header-border);
  row-gap: 0.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.admin-topbar .admin-page-title {
  color: var(--admin-on-dark);
}

.admin-topbar .admin-page-subtitle {
  color: var(--admin-on-dark-muted);
}



@media (max-width: 991.98px) {
  .admin-sidebar {
    width: 100%;
    min-height: auto;
  }

  .admin-sidebar .admin-nav-scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-height: none;
  }

  .admin-sidebar .admin-nav-link {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 140px;
    font-size: 0.8rem;
  }

  .admin-sidebar .admin-nav-heading {
    flex: 1 1 100%;
    margin-top: 0.5rem;
  }
}

.btn-admin-toolbar {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn-admin-toolbar:hover,
.btn-admin-toolbar:focus-visible {
  color: #fff !important;
  background: rgba(255, 102, 0, 0.18);
  border-color: rgba(255, 102, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 102, 0, 0.15);
}

.btn-admin-toolbar.active {
  background: rgba(255, 102, 0, 0.28);
  border-color: var(--color-primary);
  color: #fff !important;
}

.btn-admin-user {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--admin-on-dark) !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
}

.btn-admin-user:hover,
.btn-admin-user:focus-visible {
  border-color: rgba(255, 102, 0, 0.55);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.admin-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-primary), #ff8533);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.admin-main-panel {
  background: var(--admin-bg);
}

.admin-content-area {
  background: transparent;
  border-radius: 0;
}



.club-admin-form__card {
  border-radius: 0.85rem;
}

.club-admin-form__card-head {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--admin-border, #e2e8f0) !important;
}

.club-admin-form__body {
  background: #f8fafc;
}

.club-admin-form__footer {
  border-radius: 0 0 0.85rem 0.85rem;
}

.club-admin-form__pills .nav-link {
  color: #64748b;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.club-admin-form__pills .nav-link:hover {
  color: #0f172a;
  background: rgba(255, 102, 0, 0.08);
  border-color: rgba(255, 102, 0, 0.22);
}

.club-admin-form__pills .nav-link.active {
  color: #fff !important;
  background: var(--color-primary, #ff6600) !important;
  border-color: var(--color-primary, #ff6600) !important;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.35);
}

.club-admin-code {
  font-size: 0.8125rem;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

/* Club staff modals — light surface, clear separation */
.club-staff-modal .modal-content {
  border-radius: 0.85rem;
  overflow: hidden;
}

.club-staff-modal .modal-header .btn-close {
  filter: none;
  opacity: 0.55;
}

.club-staff-modal .modal-header .btn-close:hover {
  opacity: 1;
}
.admin-dash-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 102, 0, 0.12);
  color: var(--color-primary);
  font-size: 1.15rem;
}

/* Dashboard & panels on light background */
.admin-shell .sportx-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-shell a.text-decoration-none:hover .sportx-card {
  box-shadow: 0 8px 28px rgba(255, 102, 0, 0.12);
  border-color: rgba(255, 102, 0, 0.35);
}

/* Primary actions in admin lists (orange) */
.admin-shell .btn-accent {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
  font-weight: 600;
}

.admin-shell .btn-accent:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff !important;
}

/* Tables: modern card layout, sticky headers, clean rows */
.admin-shell .admin-table-wrap {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 0.75rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-shell .table-responsive.rounded.border:not(.admin-table-wrap) {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  overflow: auto;
}

.admin-shell .admin-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: rgba(255, 102, 0, 0.06);
  margin-bottom: 0;
  border: 0;
  font-size: 0.875rem;
  background: var(--admin-surface);
  border-color: var(--admin-border);
}

.admin-shell .admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.7rem 0.85rem;
  border-color: var(--admin-border);
  border-bottom: 1px solid #e2e8f0;
  border-top: 0;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.04);
}

.admin-shell .admin-table tbody td {
  padding: 0.65rem 0.85rem;
  border-color: #edf2f7;
  vertical-align: middle;
  color: #334155;
}

.admin-shell .admin-table.table-bordered > :not(caption) > * > * {
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 0;
}

.admin-shell .admin-table.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: rgba(248, 250, 252, 0.65);
  --bs-table-color-type: inherit;
}

.admin-shell .admin-table tbody tr {
  transition: background-color 0.12s ease;
}

.admin-shell .admin-table tbody tr:hover > * {
  --bs-table-bg-state: rgba(255, 102, 0, 0.05);
  background-color: rgba(255, 102, 0, 0.05);
}

.admin-shell .admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-shell .admin-table .fw-semibold {
  color: var(--admin-text);
  font-weight: 600;
}

.admin-shell .admin-table .small.text-secondary {
  font-size: 0.78rem !important;
}

.admin-shell .admin-table td.text-end.text-nowrap .btn-sm,
.admin-shell .admin-table .admin-row-actions .btn,
.admin-shell .admin-table .club-actions .btn,
.admin-shell .admin-table .league-actions .btn,
.admin-shell .admin-table .competition-actions .btn,
.admin-shell .admin-table .event-actions .btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin-left: 0.12rem;
}

.admin-shell .admin-table .form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0;
  cursor: pointer;
}

.admin-shell .admin-table .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.admin-shell .admin-table tbody tr td.text-secondary[colspan] {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--admin-muted) !important;
  font-size: 0.9rem;
}

.admin-shell .admin-table .badge {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.admin-shell .admin-table img.rounded {
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.admin-shell .admin-content-area > form[method="get"] {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 1rem !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.admin-shell .admin-content-area .pagination {
  margin-top: 1rem;
  gap: 0.2rem;
}

.admin-shell .admin-content-area .pagination .page-link {
  border-color: var(--admin-border);
  color: #475569;
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.45rem !important;
}

.admin-shell .admin-content-area .pagination .page-item.active .page-link {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.admin-shell .admin-table .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Forms: default Bootstrap light inputs (overrides bg-dark on legacy classes) */
.admin-shell .form-control,
.admin-shell .form-select,
.admin-shell textarea.form-control {
  background-color: #fff !important;
  color: var(--admin-text) !important;
  border-color: var(--admin-border) !important;
}

.admin-shell .form-control:focus,
.admin-shell .form-select:focus {
  border-color: rgba(255, 102, 0, 0.45) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.12) !important;
}

.admin-shell .form-control::placeholder {
  color: #94a3b8;
}

.admin-shell .form-label,
.admin-shell label.form-label {
  color: #475569;
  font-weight: 500;
}

.btn-admin-view-site {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255, 102, 0, 0.22);
  border: 1px solid rgba(255, 102, 0, 0.5);
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-admin-view-site:hover {
  background: rgba(255, 102, 0, 0.38);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
  transform: scale(1.05);
  color: #fff !important;
}

.admin-topbar .dropdown-toggle::after {
  border-top-color: rgba(248, 250, 252, 0.75);
}

/* Standalone admin login (light) */
.admin-login-page {
  font-family: 'Plus Jakarta Sans', var(--font-family);
  background: #f1f5f9;
  position: relative;
}

.admin-login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 102, 0, 0.15), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  pointer-events: none;
}

.admin-login-page .container {
  z-index: 1;
}

.admin-login-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .admin-content-area {
    border-radius: 0;
  }
}

/* ========== FRONT — smart header & elevated layout ========== */
.sportx-header-bar {
  transition: box-shadow 0.25s ease, min-height 0.25s ease, background 0.25s ease;
}

.sportx-header-bar--scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom-color: rgba(255, 102, 0, 0.2) !important;
}

.sportx-nav-pills .sportx-nav-item {
  border-radius: 999px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.sportx-nav-pills .sportx-nav-item.active {
  background: rgba(255, 102, 0, 0.18);
  color: var(--color-primary) !important;
}

/* Do not hide ::after on .dropdown-toggle — Bootstrap uses it for the caret */
.sportx-nav-pills .sportx-nav-item.active:not(.dropdown-toggle)::after {
  display: none;
}

/* Guests missing country and/or sport: nav pills show modal only, never dropdown menus */
body[data-sportyx-guest-nav-gate="1"] .sportx-nav-pills .dropdown-menu {
  display: none !important;
}

.sportx-header-actions .btn-sportx-primary {
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.25);
}

.btn-sportx-user {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
}

.btn-sportx-user:hover {
  background: rgba(255, 102, 0, 0.15);
  border-color: rgba(255, 102, 0, 0.4);
}

.sportx-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* Header country picker (next to logo) */
.sportx-header-country .btn-outline-light:hover,
.sportx-header-country .btn-outline-light:focus-visible {
  background: rgba(255, 102, 0, 0.15);
  border-color: rgba(255, 102, 0, 0.45);
  color: #fff !important;
}

.sportx-country-dropdown-menu {
  max-height: min(70vh, 320px);
  overflow-y: auto;
  min-width: 220px;
}

/* Sticky search so typing/filter works while scrolling the country list */
.sportx-country-dropdown-menu > li.sportx-country-search-wrap {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-dropdown-bg, #212529);
}

.sportx-country-dropdown-menu .dropdown-item.active,
.sportx-country-dropdown-menu .dropdown-item:active {
  background: rgba(255, 102, 0, 0.22);
  color: #fff;
}

/* Header sport picker (mirrors country dropdown) */
.sportx-header-sport .btn-outline-light:hover,
.sportx-header-sport .btn-outline-light:focus-visible {
  background: rgba(255, 102, 0, 0.15);
  border-color: rgba(255, 102, 0, 0.45);
  color: #fff !important;
}

.sportx-sport-dropdown-menu {
  max-height: min(70vh, 320px);
  overflow-y: auto;
  min-width: 220px;
}

.sportx-sport-dropdown-menu > li.sportx-sport-search-wrap {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-dropdown-bg, #212529);
}

.sportx-sport-dropdown-menu .dropdown-item.active,
.sportx-sport-dropdown-menu .dropdown-item:active {
  background: rgba(255, 102, 0, 0.22);
  color: #fff;
}

/* Mobile header pickers — country/sport open in centered modals (<lg) */
.sportx-header-picker-modal .modal-dialog {
  max-width: min(100% - 1rem, 23rem);
  margin: 0.75rem auto;
}

.sportx-header-picker-modal__content {
  border-radius: 0.85rem;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45) !important;
}

.sportx-header-picker-modal__header {
  padding: 0.7rem 0.85rem;
  gap: 0.5rem;
  align-items: center;
}

.sportx-header-picker-modal__header .modal-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  min-width: 0;
}

.sportx-header-picker-modal__header .btn-close {
  margin: 0;
  padding: 0.35rem;
  opacity: 0.85;
}

.sportx-header-picker-modal__body {
  padding: 0;
  max-height: min(72vh, 26rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sportx-header-picker-modal__picker {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.sportx-header-picker-modal__search {
  flex-shrink: 0;
  padding: 0.6rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bs-modal-bg, #212529);
}

.sportx-header-picker-modal__search-input {
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.sportx-header-picker-modal__search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.sportx-header-picker-modal__search-input:focus {
  border-color: rgba(255, 102, 0, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.15);
}

.sportx-header-picker-modal__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.4rem 0.55rem 0.7rem;
}

.sportx-header-picker-modal__option.dropdown-item {
  border: 0;
  border-radius: 0.55rem;
  padding: 0.65rem 0.75rem;
  margin: 0 0 0.15rem;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sportx-header-picker-modal__option.dropdown-item:last-child {
  margin-bottom: 0;
}

.sportx-header-picker-modal__option.dropdown-item:hover,
.sportx-header-picker-modal__option.dropdown-item:focus,
.sportx-header-picker-modal__option.dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.sportx-header-picker-modal__option.dropdown-item.active,
.sportx-header-picker-modal__option.dropdown-item:active {
  background: rgba(255, 102, 0, 0.22);
  color: #fff;
}

.sportx-header-picker-modal__divider {
  margin: 0.3rem 0.4rem 0.45rem;
  opacity: 0.35;
}

.sportx-header-picker-modal__empty {
  padding: 0.85rem 0.75rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .sportx-header-picker-modal .modal-dialog {
    max-width: calc(100% - 0.75rem);
    margin: 0.5rem auto;
  }

  .sportx-header-picker-modal__header {
    padding: 0.65rem 0.75rem;
  }

  .sportx-header-picker-modal__search {
    padding: 0.55rem 0.75rem 0.5rem;
  }

  .sportx-header-picker-modal__list {
    padding: 0.35rem 0.45rem 0.6rem;
  }

  .sportx-header-picker-modal__option.dropdown-item {
    padding: 0.6rem 0.65rem;
    min-height: 2.65rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 992px) {
  .sportx-header-picker-modal {
    display: none !important;
  }

  .sportx-nav-modal {
    display: none !important;
  }
}

/* Mobile main nav modal (<lg) */
.sportx-nav-modal .modal-dialog {
  max-width: min(100% - 1rem, 24rem);
  margin: 0.75rem auto;
}

.sportx-nav-modal__content {
  border-radius: 0.85rem;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45) !important;
}

.sportx-nav-modal__header {
  padding: 0.7rem 0.85rem;
  gap: 0.5rem;
  align-items: center;
}

.sportx-nav-modal__header .modal-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sportx-nav-modal__header .btn-close {
  margin: 0;
  padding: 0.35rem;
  opacity: 0.85;
}

.sportx-nav-modal__body {
  max-height: min(78vh, 28rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

@media (max-width: 575.98px) {
  .sportx-nav-modal .modal-dialog {
    max-width: calc(100% - 0.75rem);
    margin: 0.5rem auto;
  }

  .sportx-nav-modal__header {
    padding: 0.65rem 0.75rem;
  }

  .sportx-nav-modal .sportx-nav-modal__body {
    padding: 0.65rem 0.75rem 0.85rem;
  }
}

/* Header leagues dropdown (multi-level) */
.sportx-leagues-menu .sportx-leagues-dropdown {
  min-width: 16rem;
  border-radius: 0.8rem;
  padding: 0.4rem;
  backdrop-filter: blur(8px);
}
.sportx-leagues-menu .sportx-leagues-submenu-toggle {
  border: 0;
  background: transparent;
  border-radius: 0.55rem;
  font-weight: 600;
}
.sportx-leagues-menu .sportx-leagues-submenu-toggle:hover,
.sportx-leagues-menu .sportx-leagues-submenu.is-open > .sportx-leagues-submenu-toggle {
  background: rgba(255, 102, 0, 0.16);
  color: #fff;
}
.sportx-leagues-menu .sportx-leagues-submenu-toggle i {
  transition: transform 0.2s ease;
}
.sportx-leagues-menu .sportx-leagues-submenu.is-open > .sportx-leagues-submenu-toggle i {
  transform: rotate(90deg);
}
.sportx-leagues-menu .sportx-leagues-submenu-menu {
  display: none;
}
.sportx-leagues-menu .sportx-leagues-submenu.is-open > .sportx-leagues-submenu-menu {
  display: block;
}

@media (min-width: 992px) {
  .sportx-leagues-menu .sportx-leagues-submenu {
    position: relative;
  }
  .sportx-leagues-menu .sportx-leagues-submenu-menu {
    position: absolute;
    left: calc(100% - 0.2rem);
    top: -0.2rem;
    min-width: 16rem;
    max-height: min(70vh, 360px);
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  .sportx-leagues-menu .sportx-leagues-dropdown {
    min-width: 100%;
  }
  .sportx-leagues-menu .sportx-leagues-submenu-menu {
    position: static;
    margin: 0.25rem 0 0.4rem 0;
    border-radius: 0.6rem;
  }
}

/* Header competitions/matches dropdown — same panel treatment as leagues; hover opens on lg+ via JS */
.sportx-competitions-matches-menu .sportx-competitions-dropdown-menu {
  min-width: 16rem;
  max-height: min(70vh, 24rem);
  overflow-y: auto;
  border-radius: 0.8rem;
  padding: 0.4rem;
  backdrop-filter: blur(8px);
}

@media (max-width: 991.98px) {
  .sportx-competitions-matches-menu .sportx-competitions-dropdown-menu {
    min-width: 100%;
  }
}

/* ========== HOME — modern hero, strip, featured ========== */
.sportx-hero-modern.hero {
  min-height: clamp(380px, 62vh, 600px);
  display: flex;
  align-items: center;
}

/* Slideshow hero: avoid outer flex vertical-center (conflicts with slide-inner layout; caused copy to jump after paint). */
.sportx-hero-modern.hero.sportx-hero-has-slides {
  display: block;
}

/* Avoid double vertical padding vs legacy .hero .container — copy pad lives on .sportx-hero-copy-pad */
.sportx-hero-modern.hero .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Full-width Bootstrap carousel hero (admin home slides) */
.sportx-hero-has-slides {
  display: block;
}

.sportx-hero-carousel {
  position: relative;
  width: 100%;
  min-height: clamp(580px, 68vh, 700px);
}

.sportx-hero-carousel .carousel-inner {
  min-height: inherit;
}

.sportx-hero-carousel-item {
  min-height: clamp(580px, 68vh, 700px);
  position: relative;
}

/* Override Bootstrap’s .carousel-item.active { display: block } — column stack fills slide height */
.sportx-hero-carousel .carousel-item.active {
  display: flex !important;
  flex-direction: column;
}

.sportx-hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sportx-hero-overlay-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Uniform light scrim so photo stays visible; copy sits in separate text panel */
  background: rgba(11, 18, 32, 0.25);
  pointer-events: none;
}

/* Only used in home carousel — keep copy at bottom of slide from first paint (no center-then-snap). */
.sportx-hero-slide-container {
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 0;
  padding-bottom: clamp(1.25rem, 4.5vw, 3.25rem);
}

/* Single-column hero copy: vertical rhythm + readable measure */
.sportx-hero-copy-pad {
  padding-top: clamp(2.25rem, 7vw, 4rem);
  padding-bottom: clamp(2.75rem, 9vw, 5.25rem);
}

/* Slideshow: copy pad sits lower; tight bottom — slide container handles bottom offset */
.sportx-hero-has-slides .sportx-hero-copy-pad {
  padding-top: clamp(1.25rem, 4vw, 2rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}

.sportx-hero-copy {
  position: relative;
}

.sportx-hero-title-display {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  text-wrap: balance;
}

.sportx-hero-deck {
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.1875rem);
  line-height: 1.6;
  max-width: 38rem;
}

/* Slideshow: smaller title; title + description share one frosted panel; CTA is a separate column (right on lg+) */
.sportx-hero-has-slides .sportx-hero-carousel .sportx-hero-slide-title {
  font-size: clamp(1.25rem, 2.5vw + 0.65rem, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.sportx-hero-has-slides .sportx-hero-carousel .sportx-hero-slide-text-panel {
  padding: 1.5rem;
  border-radius: 0.75rem;
  max-width: min(100%, 42rem);
  background: linear-gradient(145deg, rgba(11, 18, 32, 0.75) 0%, rgba(15, 23, 42, 0.75) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sportx-hero-has-slides .sportx-hero-carousel .sportx-hero-slide-copy.text-center .sportx-hero-slide-text-panel {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .sportx-hero-has-slides .sportx-hero-carousel .sportx-hero-slide-copy.text-lg-start .sportx-hero-slide-text-panel {
    margin-left: 0;
    margin-right: 0;
  }
}

.sportx-hero-has-slides .sportx-hero-carousel .sportx-hero-slide-deck {
  font-size: clamp(0.9375rem, 0.2vw + 0.88rem, 1.0625rem);
  line-height: 1.55;
  max-width: none;
  color: rgba(248, 250, 252, 0.9);
}

/* WYSIWYG hero description (Quill): links + lists read on dark panel */
.sportx-hero-slide-html a {
  color: var(--color-primary, #ff6600);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.sportx-hero-slide-html a:hover {
  color: var(--color-primary-hover, #ff8533);
}

.sportx-hero-slide-html p:last-child {
  margin-bottom: 0;
}

.sportx-hero-slide-html ul,
.sportx-hero-slide-html ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.hero-overlay.sportx-hero-fallback-overlay {
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.45) 0%,
    rgba(11, 18, 32, 0.78) 55%,
    rgba(11, 18, 32, 0.9) 100%
  );
}

.sportx-hero-carousel-indicators {
  position: absolute;
  bottom: clamp(0.85rem, 2.5vw, 1.35rem);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 4;
  gap: 0.4rem;
}

.sportx-hero-carousel-indicators [data-bs-target] {
  width: 2.25rem;
  height: 0.3rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 0.15rem;
}

.sportx-hero-carousel-indicators [data-bs-target].active {
  background: var(--color-primary);
}

.sportx-hero-carousel-control {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  opacity: 0.95;
}

.sportx-hero-carousel-control-inner {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.sportx-hero-gradient-ring {
  position: absolute;
  inset: -25% -40% auto -40%;
  height: 75%;
  z-index: 1;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(255, 102, 0, 0.18), transparent 72%);
  pointer-events: none;
}

.sportx-hero-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
}

.sportx-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.28);
  animation: sportx-pulse-dot 2.2s ease-in-out infinite;
}

@keyframes sportx-pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.12);
  }
}

.sportx-hero-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.sportx-home-strip {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(26, 32, 44, 0.35) 100%);
  backdrop-filter: blur(12px);
}

.sportx-strip-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 102, 0, 0.14);
  border: 1px solid rgba(255, 102, 0, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sportx-featured-section {
  position: relative;
}

.sportx-featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 640px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.45), transparent);
}

.sportx-section-kicker {
  font-size: 0.68rem;
}

.sportx-featured-heading {
  font-weight: 600 !important;
  font-size: 1.5rem;
  text-transform: uppercase !important;
}



/* Club cards: same 600×200 (3:1) framing as event listing thumbnails */
.sportx-card-club-listing .card-img-wrapper {
  aspect-ratio: 3 / 1;
}

.sportx-empty-state {
  background: rgba(15, 23, 42, 0.45);
}

@media (max-width: 991.98px) {
  .sportx-hero-modern.hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .sportx-hero-carousel,
  .sportx-hero-carousel-item {
    min-height: auto;
  }

  .sportx-hero-carousel-control {
    display: none;
  }
}

.hero-grid-accent {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-lead {
  font-family: 'Plus Jakarta Sans', var(--font-family);
  font-size: 1.05rem;
}

.sportx-country-tile {
  background: linear-gradient(145deg, rgba(26, 32, 44, 0.95), rgba(15, 23, 42, 0.85));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sportx-country-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 102, 0, 0.35) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.sportx-flag-placeholder {
  width: 40px;
  height: 28px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.35), rgba(59, 130, 246, 0.25));
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sportx-card-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sportx-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.sportx-card-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, transparent 55%);
  pointer-events: none;
}

.sportx-card-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

a.sportx-card-chip {
  z-index: 3;
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.sportx-card-chip:hover,
a.sportx-card-chip:focus {
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 102, 0, 0.45);
}

/* Club listing cards: country (left) + optional Featured (right) in image overlay */
.sportx-card-club-listing .sportx-card-img-chips {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sportx-card-club-listing .sportx-card-img-chips .sportx-card-chip {
  position: static;
}

.sportx-card-club-listing .sportx-card-chip--featured {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-weight: 600;
}

.club-hero {
  margin-top: 0;
  overflow-x: clip;
}

.club-hero__container {
  max-width: 100%;
  overflow-x: clip;
}

/* Competition hub hero — reuses .club-hero layout; kicker only */
.competition-hero {
  margin-top: 0;
}

.competition-hero-kicker {
  color: var(--club-accent, var(--color-primary));
}

.club-hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 380px;
}

@media (min-width: 768px) {
  .club-hero-banner {
    aspect-ratio: 3 / 1;
  }
}

.club-hero__content {
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Follow CTA — top-right of banner, right edge aligned with QR column */
.club-hero__follow-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.club-hero__followers-count {
  FONT-WEIGHT: 700;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .club-hero__follow-top {
    top: 1.5rem;
    right: 1.5rem;
  }
}

@media (min-width: 992px) {
  .club-hero__follow-top {
    top: 1.5rem;
    right: 1.5rem;
  }
}

.club-hero__title {
  font-size: clamp(1.35rem, 5vw, 2.5rem);
  line-height: 1.15;
  word-break: break-word;
}

.club-hero__meta {
  font-size: clamp(0.8125rem, 2.5vw, 1rem);
}

.club-hero__actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.club-hero-follow-form {
  margin: 0;
}

.club-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.94) 100%);
}

@media (min-width: 768px) {
  .club-hero-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.35) 100%);
  }
}

/* Share QR — bottom-right on club, league, competition, and event heroes */
.sportx-hero-qr {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  padding: 7px;
  background: #fff;
  border-radius: 0.45rem;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sportx-hero-qr:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.sportx-hero-qr img {
  display: block;
  width: 64px;
  height: 64px;
}

@media (min-width: 768px) {
  .sportx-hero-qr {
    right: 1rem;
    bottom: 1rem;
    padding: 7px;
    border-radius: 0.5rem;
  }

  .sportx-hero-qr img {
    width: 88px;
    height: 88px;
  }
}

/* Club hero — QR inside actions, sized like the logo ring */
.club-logo-ring .sportx-hero-qr--club-ring {
  position: static;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  line-height: 0;
}

.club-logo-ring .sportx-hero-qr--club-ring:hover {
  box-shadow: none;
  transform: none;
}

.club-logo-ring .sportx-hero-qr--club-ring img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .club-logo-ring .sportx-hero-qr--club-ring img {
    width: 120px;
    height: 120px;
  }
}

/* Club hero — follow label + icon spacing (desktop); QR icon button (mobile top bar) */
.club-hero-btn__icon {
  margin-right: 0.5rem;
}

.club-hero__top-bar {
  max-width: 100%;
}

.sportx-hero-qr--icon-btn {
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.sportx-hero-qr--icon-btn:hover,
.sportx-hero-qr--icon-btn:focus-visible {
  color: #fff;
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(255, 102, 0, 0.55);
  transform: translateY(-1px);
}

.sportx-hero-qr--display-only {
  cursor: default;
  pointer-events: none;
}

.sportx-hero-qr--display-only:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .club-hero-btn__label {
    display: none !important;
  }

  .club-hero-btn__icon {
    margin-right: 0 !important;
  }

  .club-hero-follow-btn,
  .club-hero-unfollow-btn {
    width: 2.45rem;
    height: 2.45rem;
    min-height: 2.45rem;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .club-hero-follow-btn .club-hero-btn__icon,
  .club-hero-unfollow-btn .club-hero-btn__icon {
    font-size: 1.05rem;
  }

  .club-hero__follow-stack {
    max-width: none;
  }

  .club-hero__followers-count {
    font-size: 0.6875rem;
    line-height: 1.2;
  }

  .club-hero__logo-mobile {
    line-height: 0;
  }

  .club-hero__logo-mobile .club-logo-img--mobile {
    width: 72px;
    height: 72px;
  }

  .club-hero__row .club-hero__copy {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 5.5rem;
  }
}

.sportx-league-row-card {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sportx-league-row-card:hover {
  border-color: rgba(255, 102, 0, 0.45) !important;
}

.sportx-league-row-card__logo {
  display: block;
  width: 56px;
  height: 56px;
}

@media (min-width: 768px) {
  .sportx-league-row-card__logo {
    width: 64px;
    height: 64px;
  }
}

.club-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.club-logo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .club-logo-img {
    width: 120px;
    height: 120px;
  }
}

.club-logo-ring {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.club-prose {
  line-height: 1.75;
}

.sportx-card-sticky {
  position: sticky;
  top: 88px;
}

.sportx-thumb-event img {
  object-fit: cover;
}

.object-fit-cover {
  object-fit: cover;
}

/* ========== CLUB PAGE — tabbed hub (news, schedule, meetups, forum, store) ========== */
.club-hero-kicker {
  color: var(--club-accent, var(--color-primary));
}

.club-hero-accent-strip {
  position: relative;
  z-index: 2;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--club-accent, var(--color-primary)) 20%,
    var(--color-primary-hover) 50%,
    var(--club-accent, var(--color-primary)) 80%,
    transparent 100%
  );
  box-shadow: 0 0 24px color-mix(in srgb, var(--club-accent, var(--color-primary)) 55%, transparent);
}

/* Hero follow CTA — high contrast + glow so it reads above the cover */
.club-hero-follow-btn {
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 20px color-mix(in srgb, var(--color-primary) 40%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.club-hero-follow-btn:hover {
  box-shadow:
    0 8px 28px color-mix(in srgb, var(--color-primary) 55%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}


.club-hub-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, var(--color-bg-dark) 28%);
  overflow-x: clip;
}



.club-hub-layout,
.club-hub-layout__main {
  min-width: 0;
  max-width: 100%;
}

/* Club hub — enterprise connected tabs (club page only) */
.club-hub-tabs {
  --club-tab-accent: var(--club-accent, var(--color-primary));
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.club-hub-tabs .club-hub-tabs__nav {
  margin-bottom: 0;
  padding-inline: 0;
  width: 100%;
  max-width: 100%;
}

.club-hub-tabs .club-tabs-enterprise {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: flex-end;
}

.club-hub-tabs .club-tabs-enterprise .nav-item {
  flex: 0 0 auto;
}

.club-hub-tabs .club-tabs-enterprise .nav-item + .nav-item {
  border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.club-hub-tabs .club-tabs-enterprise .nav-item:has(.nav-link.active),
.club-hub-tabs .club-tabs-enterprise .nav-item:has(.nav-link.active) + .nav-item {
  border-left-color: transparent;
}

.club-hub-tabs .club-tabs-enterprise .nav-link {
  color: rgba(148, 163, 184, 0.95);
  background: transparent;
  border: none;
  border-radius: 0.45rem 0.45rem 0 0;
  padding: 0.72rem 1.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
  transition: color 0.15s ease, background 0.15s ease;
  box-shadow: none;
}

.club-hub-tabs .club-tabs-enterprise .nav-link:hover:not(.active) {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
}

.club-hub-tabs .club-tabs-enterprise .nav-link.active {
  color: #fff;
  background: var(--club-tab-accent);
  position: relative;
  z-index: 3;
  margin-bottom: -2px;
  padding-bottom: calc(0.72rem + 2px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.club-hub-tabs .club-tab-panels--enterprise {
  position: relative;
  z-index: 2;
  border: 2px solid var(--club-tab-accent);
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 16, 28, 1) 100%);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: 0;
}
#adminNavOrdersBookings.show, #adminNavSponsors.show{background: #120f0d;}
.club-hub-tabs:has(#tab-details.active) .club-tab-panels--enterprise,
.club-hub-tabs:has(#ltab-profile.active) .club-tab-panels--enterprise {
  border-top-left-radius: 0;
}

.club-hub-tabs .club-tab-panels--enterprise > .tab-pane {
  padding: 1.25rem 1.35rem;
}

.club-section-heading {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--club-tab-accent, var(--club-accent, var(--color-primary)));
  min-width: 10rem;
}

.club-hub-tabs .club-profile-fact {
  background: rgba(8, 14, 26, 0.55);
  border-color: rgba(148, 163, 184, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .club-hub-tabs .club-tabs-enterprise .nav-link {
    font-size: 0.875rem;
    padding: 0.8rem 1rem;
  }

  .club-hub-tabs .club-tab-panels--enterprise > .tab-pane {
    padding: 1.5rem 1.5rem;
  }
}

@media (min-width: 992px) {
  .club-hub-tabs .club-tab-panels--enterprise > .tab-pane {
    padding: 1.75rem 2rem;
  }
}

/* Club hub: main tabs left, partners & sponsors rail right (matches video detail layout) */
.club-hub-layout--with-sponsors {
  display: grid;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  align-items: start;
}

@media (min-width: 992px) {
  .club-hub-layout--with-sponsors {
    grid-template-columns: minmax(0, 1fr) clamp(200px, 23vw, 280px);
  }
}

/* Club sub-pages (video, player) — tabs + panel inside hub layout */
.club-hub-tabs--subpage .club-tabs-enterprise .nav-link {
  text-decoration: none;
}

.club-subpage-panel {
  padding: clamp(1rem, 2vw, 1.75rem);
}

@media (min-width: 768px) {
  .club-subpage-panel {
    padding: clamp(1.25rem, 2vw, 1.75rem);
  }
}

@media (min-width: 992px) {
  .club-subpage-panel {
    padding: 1rem;
  }
}

.club-subpage-panel__inner {
  min-width: 0;
}

.sportx-video-detail__player-shell {
  position: relative;
  width: 100%;
  border-radius: 0.35rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: #000;
  min-width: 0;
}

/* Custom YouTube player (IFrame API) — Sportyx branded */
.sportx-yt-player.sportx-video-detail__player-shell {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  border-radius: inherit;
  overflow: hidden;
}

.sportx-yt-player__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  flex: 0 0 auto;
}

.sportx-yt-player__embed-crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.sportx-yt-player__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sportx-yt-player__embed > iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  /* Uniform scale crops YT chrome without distorting 16:9 */
  transform: translate(-50%, -50%) scale(1.12);
  transform-origin: center center;
}

.sportx-yt-player__yt-shield {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  display: none;
}

.sportx-yt-player__yt-shield--br {
  right: 0;
  bottom: 0;
  width: 5.5rem;
  height: 2.75rem;
  background: linear-gradient(135deg, transparent 35%, #000 65%);
}

.sportx-yt-player__yt-shield--tr {
  top: 0;
  right: 0;
  width: 6rem;
  height: 3rem;
  background: linear-gradient(225deg, transparent 30%, rgba(0, 0, 0, 0.85) 70%);
}

.sportx-yt-player__watermark {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0.92;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.sportx-yt-player__watermark:hover {
  opacity: 1;
}

.sportx-yt-player__watermark-logo {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: 4.5rem;
  object-fit: contain;
}

.sportx-yt-player__tap-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.sportx-yt-player__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sportx-yt-player__overlay--poster {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
}

.sportx-yt-player__overlay--poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.sportx-yt-player--started .sportx-yt-player__overlay--poster {
  opacity: 0;
  visibility: hidden;
}

.sportx-yt-player--ended .sportx-yt-player__overlay--poster {
  opacity: 1;
  visibility: visible;
  z-index: 7;
}

.sportx-yt-player--ended .sportx-yt-player__embed-crop {
  visibility: hidden;
}

.sportx-yt-player--ended .sportx-yt-player__center-play i.bi-play-fill::before {
  content: '\f116';
}

.sportx-yt-player__overlay--buffer {
  background: rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.sportx-yt-player__center-play {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: 4.25rem;
  height: 4.25rem;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--club-accent, var(--color-primary));
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sportx-yt-player__center-play-ring {
  position: absolute;
  inset: -0.35rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.sportx-yt-player__center-play i {
  font-size: 2rem;
  margin-left: 0.15rem;
  line-height: 1;
}

.sportx-yt-player__center-play:hover,
.sportx-yt-player__center-play:focus-visible {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--club-accent, var(--color-primary)) 88%, #fff);
}

.sportx-yt-player__controls {
  flex: 0 0 auto;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem 0.6rem;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border-top: 2px solid var(--club-accent, var(--color-primary));
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sportx-yt-player__controls-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.sportx-yt-player__controls-logo {
  flex-shrink: 0;
  height: 1.1rem;
  width: auto;
  max-width: 3.5rem;
  object-fit: contain;
  filter: brightness(1.05);
}

.sportx-yt-player__controls-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}

.sportx-yt-player__controls-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.sportx-yt-player__btn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.35rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.sportx-yt-player__btn .sportx-yt-player__icon {
  pointer-events: none;
}

.sportx-yt-player__btn--fullscreen {
  margin-left: auto;
}

.sportx-yt-player__btn:hover,
.sportx-yt-player__btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--club-accent, var(--color-primary));
}

.sportx-yt-player__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.sportx-yt-player__progress-wrap {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.35rem 0;
}

.sportx-yt-player__progress {
  position: relative;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  overflow: hidden;
}

.sportx-yt-player__progress-buffer,
.sportx-yt-player__progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  pointer-events: none;
}

.sportx-yt-player__progress-buffer {
  background: rgba(255, 255, 255, 0.22);
}

.sportx-yt-player__progress-fill {
  background: var(--club-accent, var(--color-primary));
  z-index: 1;
}

.sportx-yt-player__time {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  min-width: 4.5rem;
  text-align: center;
}

.sportx-yt-player__volume {
  width: 4.5rem;
  flex-shrink: 0;
  height: 0.25rem;
  accent-color: var(--club-accent, var(--color-primary));
  cursor: pointer;
}

.sportx-yt-player:fullscreen,
.sportx-yt-player:-webkit-full-screen,
.sportx-yt-player:-moz-full-screen,
.sportx-yt-player:-ms-fullscreen,
.sportx-yt-player--pseudo-fs {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  z-index: 10500;
  border-radius: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}

body.sportx-yt-player-fs-lock {
  overflow: hidden;
}

.sportx-yt-player:fullscreen .sportx-yt-player__stage,
.sportx-yt-player:-webkit-full-screen .sportx-yt-player__stage,
.sportx-yt-player:-moz-full-screen .sportx-yt-player__stage,
.sportx-yt-player:-ms-fullscreen .sportx-yt-player__stage,
.sportx-yt-player--pseudo-fs .sportx-yt-player__stage {
  flex: 0 0 auto;
  width: min(100%, calc((100vh - 5.5rem) * 16 / 9));
  max-width: 100%;
  max-height: calc(100vh - 5.5rem);
  aspect-ratio: 16 / 9;
  height: auto;
  align-self: center;
}

.sportx-yt-player:fullscreen .sportx-yt-player__controls,
.sportx-yt-player:-webkit-full-screen .sportx-yt-player__controls,
.sportx-yt-player:-moz-full-screen .sportx-yt-player__controls,
.sportx-yt-player:-ms-fullscreen .sportx-yt-player__controls,
.sportx-yt-player--pseudo-fs .sportx-yt-player__controls {
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .sportx-yt-player__volume {
    display: none;
  }

  .sportx-yt-player__controls-title {
    font-size: 0.6875rem;
  }

  .sportx-yt-player__time {
    font-size: 0.625rem;
    min-width: 3.75rem;
  }

  .sportx-yt-player__center-play {
    width: 3.25rem;
    height: 3.25rem;
  }

  .sportx-yt-player__center-play i {
    font-size: 1.65rem;
  }

  .sportx-yt-player__watermark {
    top: 0.45rem;
    left: 0.5rem;
    padding: 0.2rem 0.35rem;
  }

  .sportx-yt-player__watermark-logo {
    height: 1.1rem;
  }
}

.sportx-video-detail__share a {
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.sportx-video-detail__share a:hover {
  opacity: 1;
  color: var(--club-accent, var(--color-primary)) !important;
}

.card-video {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-video:hover {
  border-color: rgba(255, 102, 0, 0.45) !important;
}

.card-video .sportx-live-replay-play {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.card-video:hover .sportx-live-replay-play {
  transform: translate(-50%, -50%) scale(1.06);
  background-color: rgba(0, 0, 0, 0.88) !important;
}

/* Shared sponsors rail — club hub + video detail */
.sportx-sponsors-rail {
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  padding: 0.65rem 0.75rem;
  overflow: hidden;
}

.sportx-sponsors-rail__heading {
  flex-shrink: 0;
    text-align: center;
    font-size: .85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.95);
    margin: 0 0 0.5rem;
    padding: 0.5rem .25rem;
    border-bottom: 1px solid rgb(244 117 0);
}

.sportx-sponsors-rail__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
}

.sportx-sponsors-rail__scroll::-webkit-scrollbar {
  width: 5px;
}

.sportx-sponsors-rail__scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 99px;
}

@media (max-width: 575.98px) {
  .club-hero-banner {
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .club-hero__content {
    padding: 0.85rem !important;
  }

  .club-hero__follow-top {
    top: 0.5rem;
    right: 0.5rem;
    left: auto;
    max-width: calc(100% - 1rem);
  }

  .club-hero__row {
    --bs-gutter-y: 0.65rem;
    --bs-gutter-x: 0.65rem;
  }

  .club-hero__title {
    font-size: clamp(1.15rem, 5.5vw, 1.5rem);
  }

  .club-hub-tabs .club-tabs-enterprise .nav-link {
    padding: 0.62rem 0.85rem;
    font-size: 0.75rem;
    scroll-snap-align: start;
  }

  .club-hub-tabs .club-tab-panels--enterprise > .tab-pane {
    padding: 1rem 0.85rem;
  }

  .club-hub-tabs .club-tab-panels--enterprise {
    border-radius: 0 0.4rem 0.4rem 0.4rem;
  }

  .club-hub-layout--with-sponsors {
    gap: 0.75rem;
  }

  .sportx-sponsors-rail {
    max-height: none;
  }

  .club-profile-fact {
    padding: 0.7rem 0.85rem;
  }

  .club-section-heading {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    min-width: 0;
    max-width: 100%;
  }
}
.sportx-sponsors-rail__logo {
  width: auto;
  max-width: 100%;
    border-radius: 7px;
}

.sportx-sponsors-rail__item {
  padding: 0 !important;
}



.club-hub-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

/* Horizontal scroll tabs on narrow viewports */
.club-tabs-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-inline: 0;
  margin-inline: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
  scroll-snap-type: x proximity;
}

.club-hub-tabs .club-tabs-enterprise {
  width: max-content;
  min-width: min(100%, max-content);
}

.club-tabs-scroll::-webkit-scrollbar {
  height: 4px;
}

.club-tabs-scroll::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

.club-tabs-pills {
  gap: 0.5rem;
  padding-bottom: 2px;
}

.club-tabs-pills .nav-link {
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.club-tabs-pills .nav-link:hover {
  color: var(--color-text);
  border-color: rgba(255, 102, 0, 0.35);
  background: rgba(255, 102, 0, 0.08);
}

.club-tabs-pills .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--club-accent, var(--color-primary)) 85%, #000) 0%, var(--club-accent, var(--color-primary)) 100%);
  border-color: transparent;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--club-accent, var(--color-primary)) 40%, transparent);
}

@media (min-width: 768px) {
  .club-tabs-pills .nav-link {
    font-size: 0.85rem;
    padding: 0.65rem 1.15rem;
  }
}

.club-tab-panels .tab-pane {
  animation: club-tab-in 0.35s ease-out;
}

@keyframes club-tab-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rich HTML from admin (Quill) on the “Club / Athlete details” tab */
.club-details-html {
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}
.club-details-html h1,
.club-details-html h2,
.club-details-html h3,
.club-details-html h4 {
  color: var(--color-text);
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.club-details-html h1 {
  font-size: 1.35rem;
}
.club-details-html h2 {
  font-size: 1.2rem;
}
.club-details-html h3 {
  font-size: 1.05rem;
}
.club-details-html p {
  margin-bottom: 0.75rem;
}
.club-details-html ul,
.club-details-html ol {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.club-details-html a {
  color: var(--club-accent, var(--color-primary));
}
.club-details-html a:hover {
  color: #fff;
}
.club-details-html img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.club-details-html blockquote {
  border-left: 3px solid var(--club-accent, var(--color-primary));
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--color-text-muted, #94a3b8);
}

.club-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.club-chip-live {
  background: linear-gradient(90deg, #dc2626, #ea580c);
  border-color: transparent;
}

.club-chip-event {
  color: #0f172a;
  background: linear-gradient(90deg, #fde68a, #fdba74);
  border-color: transparent;
}

.club-chip-meetup {
  background: rgba(59, 130, 246, 0.35);
  border-color: rgba(147, 197, 253, 0.45);
}

.club-chip-pinned {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 102, 0, 0.9);
  border: none;
}

.club-news-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.club-news-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.92) 100%);
  pointer-events: none;
}

.club-inline-link {
  color: var(--club-accent, var(--color-primary));
}

.club-schedule-thumb {
  min-height: 140px;
  overflow: hidden;
}

.club-meetup-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}

/* Live/Replay tab — centered play control over thumb */
a.sportx-live-replay-play {
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
a.sportx-live-replay-play:hover,
a.sportx-live-replay-play:focus-visible {
  background-color: rgba(0, 0, 0, 0.85) !important;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.45);
  transform: translate(-50%, -50%) scale(1.05);
}

/* Club hub — membership plan cards */
.club-membership-active-banner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(15, 23, 42, 0.85) 55%);
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
}
.club-membership-active-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 1.35rem;
}
.club-membership-plan-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.club-membership-plan-card__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--club-accent, var(--color-primary)), rgba(255, 255, 255, 0.15));
  margin: -1px -1px 0 -1px;
  border-radius: 0.35rem 0.35rem 0 0;
}
.club-membership-plan-card__price {
  padding: 0.75rem 0;
}
.club-membership-plan-card__currency {
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 0.25rem;
  vertical-align: super;
}
.club-membership-plan-card__amount {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.club-membership-plan-card.active {
  border-color: rgba(74, 222, 128, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.25),
    0 12px 40px rgba(34, 197, 94, 0.12);
  transform: translateY(-2px);
}
.club-membership-plan-card.active .club-membership-plan-card__accent {
  height: 5px;
  background: linear-gradient(90deg, #4ade80, var(--club-accent, var(--color-primary)));
}
.club-membership-active-badge {
  background: rgba(34, 197, 94, 0.2) !important;
  color: #86efac !important;
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
}
.club-membership-benefits li:last-child {
  margin-bottom: 0 !important;
}

.club-empty-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  opacity: 0.85;
}

.club-forum-hero {
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, color-mix(in srgb, var(--club-accent, var(--color-primary)) 28%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    linear-gradient(145deg, #111827 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.club-forum-kicker {
  color: var(--club-accent, var(--color-primary));
}

.club-store-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Header cart (fan) */
.sportx-header-cart-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2em 0.45em;
  background: var(--color-primary);
  color: #0f172a;
}

/* Club forum — board + composer */
.sportx-forum-board {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(11, 18, 32, 0.4) 100%);
  overflow: hidden;
}

.sportx-forum-board-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.sportx-forum-row {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.sportx-forum-row:last-child {
  border-bottom: 0;
}

a.sportx-forum-row-link:hover .sportx-forum-row {
  background: rgba(255, 102, 0, 0.06);
}

.sportx-forum-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 102, 0, 0.35), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sportx-forum-composer {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 18, 32, 0.85);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.sportx-forum-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.sportx-forum-toolbar .btn-icon {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid transparent;
  background: transparent;
  pointer-events: none;
}

.sportx-forum-composer-body {
  padding: 1rem 1rem 1.1rem;
}

.sportx-forum-composer .form-control,
.sportx-forum-composer .form-control:focus {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sportx-forum-composer textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.sportx-forum-op-post {
  background: rgba(11, 18, 32, 0.5);
}

.club-forum-list-card {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a:hover .club-forum-list-card {
  border-color: rgba(255, 102, 0, 0.45) !important;
  transform: translateY(-2px);
}

.club-my-club-card {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a:hover .club-my-club-card {
  border-color: rgba(255, 102, 0, 0.4) !important;
  transform: translateY(-2px);
}

.club-store-qty-input {
  min-width: 2.25rem;
  max-width: 3rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.35);
}

/* ========== AUTH (login / register) — split hero + card ========== */
.sportx-auth-body {
  font-family: 'Plus Jakarta Sans', var(--font-family);
  color: #fff;
  background: #0b1220;
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.sportx-auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% -20%, rgba(255, 102, 0, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 10%, rgba(59, 130, 246, 0.12), transparent 45%),
    linear-gradient(165deg, #0b1220 0%, #111827 40%, #0f172a 100%);
}

.sportx-auth-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
  pointer-events: none;
}

.sportx-auth-body > .min-vh-100 {
  position: relative;
  z-index: 1;
}

.sportx-auth-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.sportx-auth-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
}

.sportx-auth-panel {
  background: linear-gradient(145deg, rgba(26, 32, 44, 0.95) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sportx-auth-panel--accent {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.2) 0%, rgba(15, 23, 42, 0.92) 55%, rgba(11, 18, 32, 0.98) 100%);
  border-color: rgba(255, 102, 0, 0.25);
}

.sportx-auth-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.sportx-auth-input,
.sportx-auth-input:focus {
  background: rgba(11, 18, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sportx-auth-input:focus {
  border-color: rgba(255, 102, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.sportx-auth-footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .sportx-auth-panel {
    min-height: 200px;
  }
}

/* Fan profile (tabbed settings) */
.sportx-profile .sportx-profile-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  gap: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.sportx-profile .sportx-profile-nav-link {
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 18, 32, 0.6);
  white-space: nowrap;
}

.sportx-profile .sportx-profile-nav-link:hover {
  color: #fff;
  border-color: rgba(255, 102, 0, 0.35);
}

.sportx-profile .sportx-profile-nav-link.active {
  color: #0f172a;
  background: #ff6600;
  border-color: #ff6600;
  font-weight: 600;
}

.sportx-profile .sportx-profile-progress {
  height: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
}

.sportx-profile .sportx-profile-select-tall {
  max-height: 220px;
}



.sportx-event-hero {
  position: relative;
}

/* Full cover visible — natural aspect ratio (no object-fit crop). */
.sportx-event-hero__media {
  position: relative;
  line-height: 0;
  background: #0b1220;
}

.sportx-event-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.sportx-event-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.15) 0%,
    rgba(11, 18, 32, 0.55) 45%,
    rgba(11, 18, 32, 0.92) 100%
  );
  pointer-events: none;
}

.sportx-event-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.sportx-event-hero__overlay > * {
  pointer-events: auto;
}

.sportx-event-prose {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.sportx-event-club-chip {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sportx-event-club-chip:hover {
  border-color: rgba(255, 102, 0, 0.45) !important;
  background: rgba(255, 102, 0, 0.06);
}

/* Event detail — sponsor carousel below hero */
.sportx-event-sponsors-carousel__row {
  min-height: 5.5rem;
}
.sportx-event-sponsors-carousel__item {
  flex: 0 1 auto;
  max-width: min(220px, 42vw);
}
.sportx-event-sponsors-carousel__logo {
  max-height: 4.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.sportx-event-sponsors-carousel__control {
  width: 2.25rem;
  opacity: 0.85;
}

.sportx-event-meta li {
  line-height: 1.35;
}

/* Clubs & matches/events: search sits left of sportx-matches-view-dropdown; compact width on small screens */
.sportx-clubs-toolbar {
  min-width: 0;
}

.sportx-clubs-search-input-group {
  width: 100%;
  max-width: min(100vw - 2rem, 16rem);
}

@media (min-width: 576px) {
  .sportx-clubs-search-input-group {
    max-width: 18rem;
  }
}

.sportx-clubs-search-input-group .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.55);
}

/* Sponsor form: modern checkbox cards for attachment scopes. */
.sponsor-scope-card {
  display: grid;
  gap: 0.375rem;
  max-height: 15.25rem;
  overflow: auto;
  padding: 0.5rem;
  border: 1px solid #334155;
  border-radius: 0.625rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.92));
}

.sponsor-scope-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sponsor-scope-item:hover {
  border-color: rgba(251, 146, 60, 0.65);
  background: rgba(251, 146, 60, 0.08);
}

.sponsor-scope-check {
  margin-top: 0;
  width: 1rem;
  height: 1rem;
}

.sponsor-scope-check:checked {
  background-color: #f97316;
  border-color: #f97316;
}

.sponsor-scope-item:has(.sponsor-scope-check:checked) {
  border-color: rgba(251, 146, 60, 0.95);
  background: linear-gradient(90deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.08));
}

.sponsor-scope-label {
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.2;
  word-break: break-word;
}

article.sportx-event-page {
  padding-top: 1.5rem !important;
}

/* Club hub — profile facts grid */
.club-profile-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  border-left: 3px solid var(--club-accent, var(--color-primary));
  padding-left: 1rem;
}

.club-profile-fact {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.club-profile-fact__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.club-profile-fact__value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.club-profile-fact__link {
  color: var(--club-accent, var(--color-primary));
  text-decoration: none;
}

.club-profile-fact__link:hover {
  color: #fff;
  text-decoration: underline;
}

.club-profile-description {
  line-height: 1.65;
  white-space: pre-line;
}

/* Club hub — player roster cards (4 per row on lg+) */
.club-player-card-link {
  transition: transform 0.2s ease;
}

.club-player-card-link:hover {
  transform: translateY(-4px);
}

.club-player-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.club-player-card-link:hover .club-player-card {
  border-color: color-mix(in srgb, var(--club-accent, var(--color-primary)) 45%, transparent) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.club-player-card__media {
  aspect-ratio: 3 / 4;
  background: rgba(15, 23, 42, 0.6);
}

.club-player-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.92) 100%);
  pointer-events: none;
}

.club-player-card__number {
  right: 10px;
  bottom: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  line-height: 1;
}

.club-player-card__featured {
  left: 10px;
  top: 10px;
  background: linear-gradient(135deg, var(--club-accent, var(--color-primary)), #ea580c);
  border: none;
}

/* Player profile page */
.club-player-show__photo-wrap {
  position: relative;
  min-height: 280px;
  background: rgba(15, 23, 42, 0.5);
}

@media (min-width: 768px) {
  .club-player-show__photo-wrap {
    min-height: 100%;
  }
}

.club-player-show__jersey {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  line-height: 1;
}

.club-player-show__featured {
  background: linear-gradient(135deg, var(--club-accent, var(--color-primary)), #ea580c);
  color: #fff;
  border: none;
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 1400px;
  }
}

/* ========== MOBILE FRONT — header, footer & page polish ========== */
.sportx-front-body .sportx-main-under-nav {
  max-width: 100%;
  overflow-x: clip;
}

.sportx-front-body .container,
.sportx-front-body .container-fluid {
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.sportx-front-body img:not(.sportx-logo),
.sportx-front-body video,
.sportx-front-body svg:not(.bi):not([class*="fa-"]) {
  max-width: 100%;
}

.sportx-front-body .table-responsive {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
  .sportx-country-dropdown-menu,
  .sportx-sport-dropdown-menu {
    max-width: min(100vw - 1.5rem, 22rem);
  }

  .sportx-header-mobile-user-menu,
  .sportx-header-mobile-account-menu {
    max-width: min(100vw - 1.5rem, 16rem);
  }

  .sportx-nav-offcanvas .dropdown-menu {
    max-width: 100%;
  }

  .sportx-featured-heading {
    font-size: clamp(1.125rem, 4.5vw, 1.35rem);
    line-height: 1.25;
  }

  .sportx-home-schedule-toolbar,
  .sportx-home-clubs-toolbar,
  .sportx-clubs-toolbar {
    gap: 0.75rem !important;
  }

  .sportx-clubs-toolbar .sportx-clubs-search-form {
    width: 100%;
    flex: 1 1 100%;
  }

  .sportx-clubs-search-input-group {
    max-width: 100%;
  }

  .sportx-footer-inner {
    text-align: center;
  }

  .sportx-footer-tagline {
    font-size: 0.8125rem;
  }

  .club-hub-layout--with-sponsors {
    grid-template-columns: minmax(0, 1fr);
  }

  .sportx-sponsors-rail {
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  .sportx-front-body {
    --sportx-header-height:110px;
  }
  .sportx-sponsors-rail__logo {
    width: 100%;
  }
  .sportx-logo {
    height: 64px;
    max-height: 64px;
  }

  .sportx-header-country .btn,
  .sportx-header-sport .btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.6875rem;
    gap: 0.25rem !important;
  }

  .sportx-header-mobile-bar .sportx-header-mobile-icon-btn {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
  }

  .sportx-header-mobile-bar .sportx-header-mobile-icon-btn > i {
    font-size: 0.95rem;
  }

  .sportx-hero-has-slides .sportx-hero-carousel .sportx-hero-slide-text-panel {
    padding: 1rem 0.85rem;
  }

  .sportx-hero-slide-container {
    padding-bottom: 1rem;
  }

  .sportx-hero-qr {
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .sportx-hero-qr img {
    width: 52px;
    height: 52px;
  }

  .sportx-footer {
    padding-top: 1rem !important;
    padding-bottom: 1.25rem !important;
  }

  .sportx-footer-copy {
    font-size: 0.8125rem;
  }

  .sportx-footer-tagline {
    display: none;
  }

  .sportx-card-chip {
    left: 8px;
    bottom: 8px;
    font-size: 0.625rem;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sportx-event-sponsors-carousel__item {
    max-width: min(180px, 38vw);
  }

  .modal-dialog {
    margin-left: 0.65rem;
    margin-right: 0.65rem;
  }
}

@media (max-width: 767.98px) {
  .sportx-home-schedule-toolbar > .d-flex:first-child,
  .sportx-home-clubs-toolbar > .d-flex:first-child,
  .sportx-clubs-toolbar > .d-flex:first-child {
    width: 100%;
    min-width: 0;
  }

  .sportx-matches-view-dropdown .dropdown-menu {
    max-width: min(100vw - 1.5rem, 18rem);
  }

  .club-hero__row {
    flex-wrap: wrap;
  }

  .club-hero__copy {
    flex: 1 1 0;
    min-width: 0;
  }

  .club-hero__actions {
    flex: 0 0 auto;
  }
}