/* ============================================================
   HOME PAGE STYLES
   ============================================================ */

/* ---- HERO (Diagonal Stripe + 3D Stage) ---- */
#hero {
  min-height: 125vh;
  min-height: 125svh;
  min-height: 125dvh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-align: left;
}

/* Bold Salmiya Club-style diagonal brand stripe, sitting behind the 3D stage */
.hero-diagonal-stripe {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-stripe);
  clip-path: polygon(42% 0%, 100% 0%, 100% 100%, 22% 100%);
  opacity: 0.55;
  pointer-events: none;
}
.hero-diagonal-stripe::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,30,0.1) 0%, rgba(7,17,30,0.55) 70%, rgba(7,17,30,0.85) 100%);
}

/* Hero banner carousel (replaces 3D stage) — full-bleed behind the
   side-positioned hero content on desktop/laptop; mobile keeps its
   own contained panel via the max-width:768px override below. */
.hero-banner-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  clip-path: none;
}
.hero-banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.hero-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-banner-slide picture,
.hero-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 17, 30, 0.55);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}
.hero-banner-nav:hover {
  background: rgba(14, 158, 171, 0.85);
  transform: translateY(-50%) scale(1.05);
}
/* Manual prev/next arrows removed on desktop too — autoplay + dots
   are enough, same as mobile. */
.hero-banner-nav {
  display: none;
}
.hero-banner-dots {
  position: absolute;
  top: calc(100vh - 80px);
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.hero-banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-banner-dot.is-active {
  background: var(--orange);
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(14,158,171,0.06) 0%, transparent 70%),
    linear-gradient(90deg, var(--dark) 0%, rgba(7,17,30,0.55) 32%, transparent 55%),
    linear-gradient(180deg, rgba(10,17,24,0.4) 0%, transparent 40%, var(--dark) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,158,171,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,158,171,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 2;
  pointer-events: none;
  animation: heroGridPan 30s linear infinite;
}
@keyframes heroGridPan {
  0% { transform: perspective(800px) rotateX(15deg) translateY(0); }
  100% { transform: perspective(800px) rotateX(15deg) translateY(80px); }
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  pointer-events: none; /* Let clicks/moves pass through to 3D canvas */
}

.hero-content-left {
  max-width: 580px;
  padding: 100px 0 60px;
}
/* No fade-in for the hero text — show it immediately/steadily instead
   of animating in with the rest of the page's scroll-reveal sections. */
.hero-content-left.reveal {
  opacity: 1;
  transform: none;
}
/* Desktop/laptop only: a quick dim-and-recover pulse timed to each
   banner change (JS toggles .is-dimmed), so the same content still
   settles with a bit of motion instead of sitting static. */
.hero-content-transition {
  transition: opacity 0.32s ease;
}
.hero-content-transition.is-dimmed {
  opacity: 0.15;
}
.hero-content-left a, .hero-content-left button {
  pointer-events: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: rgba(14, 158, 171, 0.12);
  border: 1px solid rgba(14, 158, 171, 0.35);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4EC9F4;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
  animation: pulse 2s infinite;
}

.hero-title-left {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  text-transform: none;
}
.hero-title-left .line-glow {
  display: block;
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.hero-subtitle-left {
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  line-height: 1.7;
  color: rgba(232, 234, 240, 0.85);
  margin-bottom: 22px;
  max-width: 520px;
}
.hero-subtitle-left strong {
  color: #ffffff;
  font-weight: 600;
}

/* Variety: Sports Chips with distinctive accent colors */
.hero-sports-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.sport-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sport-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.sport-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-badminton .chip-dot { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.chip-badminton:hover { border-color: rgba(14, 158, 171, 0.5); }
.chip-basketball .chip-dot { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.chip-basketball:hover { border-color: rgba(248, 157, 33, 0.5); }
.chip-volleyball .chip-dot { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.chip-volleyball:hover { border-color: rgba(236, 0, 139, 0.5); }

.hero-left-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-left-actions .btn {
  padding: 11px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
}
.hero-left-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  box-shadow: 0 8px 32px rgba(248, 157, 33, 0.4);
}
.hero-left-actions .btn-primary:hover {
  box-shadow: 0 16px 48px rgba(248, 157, 33, 0.5);
}
.hero-left-actions .btn-primary .btn-arrow {
  transition: transform 0.25s ease;
}
.hero-left-actions .btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  background: #ffffff;
  color: #07111e;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.22);
}

/* Casual Trust & Location highlight */
.hero-quick-highlights {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(232, 234, 240, 0.72);
}
.hero-quick-highlights .q-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-quick-highlights .q-icon {
  font-size: 0.85rem;
}
.hero-quick-highlights .q-sep {
  color: rgba(255, 255, 255, 0.3);
}

.hero-interaction-hint {
  display: inline-block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  cursor: pointer;
}
.scroll-indicator span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: var(--teal);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---- OVERVIEW SECTION (Where intro text is beautifully placed) ---- */
#overview-section {
  position: relative;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-stats-box {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  width: 100%;
  max-width: fit-content;
}
.hero-stats {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: space-between;
}
.hero-stat-item {
  position: relative;
  padding: 0 32px;
  text-align: left;
}
.hero-stat-item:first-child { padding-left: 0; }
.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
}
.hero-stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.hero-stat-item:nth-child(1) .hero-stat-number { color: var(--teal); }
.hero-stat-item:nth-child(2) .hero-stat-number { color: var(--orange); }
.hero-stat-item:nth-child(3) .hero-stat-number { color: var(--purple); }
.section-blue .hero-stat-item:nth-child(3) .hero-stat-number { color: #EC008B; }
.section-blue .hero-stat-item:nth-child(1) .hero-stat-number { color: var(--pink); }
.section-blue .hero-stat-label { color: rgba(255,255,255,0.85); }
#overview-section .hero-stat-item .hero-stat-number { color: #fff; }
.section-blue .hero-stat-item:not(:last-child)::after { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.4), transparent); }
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.overview-visual {
  position: relative;
}
.overview-image-box {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
}
.overview-image-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.overview-image-box:hover img {
  transform: scale(1.08);
}
.overview-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 17, 24, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--teal);
  border-radius: 14px;
  padding: 14px 20px;
  color: var(--white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.overview-image-box:hover .overview-badge-float {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.overview-image-box:hover .overview-badge-float strong {
  letter-spacing: 0.03em;
}
.overview-badge-float strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--teal);
  transition: letter-spacing 0.4s ease;
}
.overview-badge-float span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- SPORTS SECTION ---- */
#sports-section {
  padding: 100px 0;
  position: relative;
}
#sports-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.sport-card {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Bottom brand-color accent bar (Salmiya Club style) */
.sport-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  z-index: 3;
}
.sport-card.badminton-card::after { background: var(--teal); }
.sport-card.basketball-card::after { background: var(--orange); }
.sport-card.volleyball-card::after { background: var(--purple); }

.sport-card-media {
  position: relative;
  height: 165px;
  overflow: hidden;
}
.sport-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.badminton-card .sport-card-media img {
  object-position: center 62%;
}
.sport-card:hover .sport-card-media img {
  transform: scale(1.08);
}
.sport-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,23,36,0.05) 0%, rgba(255,255,255,0.95) 100%);
}

.sport-card-body {
  padding: 18px 20px 22px;
  background: var(--white);
}

.sport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.sport-card.badminton-card:hover { box-shadow: 0 30px 60px rgba(14,158,171,0.35); }
.sport-card.basketball-card:hover { box-shadow: 0 30px 60px rgba(248,157,33,0.35); }
.sport-card.volleyball-card:hover { box-shadow: 0 30px 60px rgba(168,103,170,0.35); }

.sport-card h3 {
  font-size: 1.22rem;
  color: var(--blue);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sport-card.badminton-card h3 { color: var(--teal); }
.sport-card.basketball-card h3 { color: var(--orange); }
.sport-card.volleyball-card h3 { color: var(--purple); }
.sport-card p {
  font-size: 0.86rem;
  color: #4a5568;
  line-height: 1.65;
  margin-bottom: 16px;
}
.sport-readmore-btn { display: none; }
.sport-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.3s;
}
.sport-card-link.teal-link { color: var(--teal); }
.sport-card-link.orange-link { color: var(--orange); }
.sport-card-link.purple-link { color: var(--purple); }
.sport-card:hover .sport-card-link { gap: 14px; }

.sport-badge-card {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(12px);
  color: #fff;
}
.badge-c-badminton { background: rgba(14,158,171,0.85); box-shadow: 0 4px 14px var(--teal-glow); }
.badge-c-basketball { background: rgba(248,157,33,0.85); box-shadow: 0 4px 14px var(--orange-glow); }
.badge-c-volleyball { background: rgba(168,103,170,0.85); box-shadow: 0 4px 14px rgba(168,103,170,0.4); }

/* ---- BEYOND TECHNIQUE ---- */
#beyond-section {
  overflow-x: hidden;
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.beyond-visual {
  position: relative;
}

.beyond-3d-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s ease;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.4), -4px -4px 20px rgba(0,181,184,0.05);
}
.beyond-3d-box:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }
.section-alt .beyond-3d-box, .section-blue .beyond-3d-box {
  background: rgba(7, 17, 30, 0.34);
  border-color: rgba(255, 255, 255, 0.24);
}
.section-alt .beyond-highlight, .section-blue .beyond-highlight { border-bottom-color: rgba(255,255,255,0.25); }

.beyond-highlight {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.benefit-list { display: flex; flex-direction: column; gap: 12px; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.benefit-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(14,158,171,0.28);
  border: 1px solid rgba(14,158,171,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-item span { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

.beyond-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  border-radius: 50%;
  bottom: -60px; right: -60px;
  pointer-events: none;
}

/* ---- WHY TRAIN ---- */

/* .why-grid / .why-card live in the global css/style.css now, since
   the "Why Train" card grid is used on the service pages too, which
   don't load this home-only stylesheet. */

/* Desktop/tablet: the 5 "Why Train" cards scroll horizontally by the
   visitor's own mouse/trackpad drag instead of auto-advancing (home
   page only, scoped to #whyGrid so it doesn't touch the static
   .why-grid used on the service pages). Below 769px the auto-sliding
   swipe carousel (js/main.js) takes over instead. */
@media (min-width: 769px) {
  #whyGrid.why-hscroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }
  #whyGrid.why-hscroll .why-card {
    flex: 0 0 clamp(240px, 24vw, 320px);
    scroll-snap-align: start;
  }
  /* Faint scrollbar (Chromium/Safari) — present so the row reads as
     scrollable, but subtle enough not to compete with the cards. */
  #whyGrid.why-hscroll::-webkit-scrollbar {
    height: 6px;
  }
  #whyGrid.why-hscroll::-webkit-scrollbar-track {
    background: transparent;
  }
  #whyGrid.why-hscroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
  }
  #whyGrid.why-hscroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
  }
}

/* ---- SPORT FINDER ---- */
#sport-finder {
  padding: 100px 0;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.finder-card {
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.finder-card.f-badminton { background: linear-gradient(135deg, rgba(0,181,184,0.12), rgba(79,195,247,0.06)); border: 1px solid rgba(0,181,184,0.2); }
.finder-card.f-basketball { background: linear-gradient(135deg, rgba(247,148,29,0.12), rgba(255,107,53,0.06)); border: 1px solid rgba(247,148,29,0.2); }
.finder-card.f-volleyball { background: linear-gradient(135deg, rgba(123,94,167,0.12), rgba(233,30,140,0.06)); border: 1px solid rgba(123,94,167,0.2); }
.finder-card:hover { transform: translateY(-8px); }

.finder-emoji { font-size: 3rem; margin-bottom: 16px; display: block; }
.finder-card h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.finder-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ---- CTA SECTION (home page id; .cta-box/.cta-text/.cta-actions component now lives in style.css since it's shared across pages) ---- */
#cta-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* ---- JOURNEY/PROGRESS ---- */
#journey-section { padding: 100px 0; }
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.journey-text p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.85; margin-bottom: 16px; }
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journey-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 36px;
}
.journey-step:last-child { padding-bottom: 0; }
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-dot.teal { background: linear-gradient(135deg, var(--teal), var(--blue)); color: #ffffff; }
.step-dot.orange { background: linear-gradient(135deg, var(--orange), var(--pink)); color: var(--white); }
.step-dot.purple { background: linear-gradient(135deg, var(--purple), var(--pink)); color: var(--white); }
.step-dot.blue { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #ffffff; }

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--glass-border), transparent);
  margin-top: 8px;
}
.step-content { padding-top: 8px; }
.step-content h4 { font-size: 1rem; color: var(--white); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.step-content p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   HOME-PAGE-SPECIFIC "ALT" SECTION OVERRIDES
   (Core .section-alt / .wave-divider / .faq-section system now
   lives in the global css/style.css so every page can use it.)
   ============================================================ */
/* Only #overview-section and #sports-section actually have a wave-divider
   (on their top edge), so only their top padding needs the extra room to
   clear the curve — their bottom edge, and every other alt/blue section
   below (which has no wave-divider at all), stay at the normal 100px
   section spacing. Without this, consecutive sections were each keeping
   the full 150/160px "wave clearance" padding on edges with no wave to
   clear, stacking into a ~300px blank gap between sections. */
#overview-section.section-blue,
#sports-section.section-alt {
  padding-bottom: 100px;
}
#beyond-section.section-blue,
#video-feature-section.section-blue,
#journey-section.section-alt,
#why-section.section-blue,
#sport-finder.section-alt,
#community-section.section-blue,
#cta-section.section-alt {
  padding: 100px 0;
}
/* No top wave on the home FAQ (flat straight edge instead) — tighten the
   top padding accordingly since there's no curve to clear. */
#home-faq { padding-top: 80px; }
.section-alt .journey-text p,
.section-alt .step-content p,
.section-alt .finder-card p { color: rgba(255, 255, 255, 0.92) !important; }
.section-alt .benefit-item span,
.section-blue .benefit-item span { color: rgba(255, 255, 255, 0.92); }
.section-alt .step-content h4 { color: #ffffff; }
.section-alt .step-dot { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45); }
.section-alt .step-line { background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent); }

.section-alt .finder-card {
  background: rgba(7, 17, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.section-alt .finder-card h3 { color: #ffffff; }
.section-alt .finder-card .sport-card-link { color: #ffffff; }
.section-alt .finder-card .sport-card-link:hover { color: var(--orange); }

@media (max-width: 768px) {
  #overview-section.section-blue,
  #sports-section.section-alt {
    padding-bottom: 70px;
  }
  #beyond-section.section-blue,
  #video-feature-section.section-blue,
  #journey-section.section-alt,
  #why-section.section-blue,
  #sport-finder.section-alt,
  #community-section.section-blue,
  #cta-section.section-alt {
    padding: 70px 0;
  }
}

/* RESPONSIVE HOME */
@media (max-width: 1024px) {
  .sports-grid { grid-template-columns: 1fr 1fr; }
  .finder-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .hero-orbs { display: none; }
  .hero-diagonal-stripe { clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 8% 100%); opacity: 0.45; }
}
@media (max-width: 768px) {
  /* ============================================================
     HERO: banner image + centered text/CTA overlaid directly on top
     of it, the same layered treatment as desktop, instead of the
     text sitting in its own block below the image.
     ============================================================ */
  #hero {
    min-height: 0;
    height: auto;
    display: block;
    text-align: center;
    position: relative;
    padding: 0;
  }

  /* The diagonal brand stripe and grid pattern stay off on the small
     stacked layout, but the overlay is kept (redone below as a
     top/bottom scrim) so the centered text stays readable over
     whichever banner photo is showing. */
  .hero-diagonal-stripe,
  .hero-grid {
    display: none;
  }
  .hero-overlay {
    display: block;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(7,17,30,0.65) 0%, rgba(7,17,30,0.28) 28%, rgba(7,17,30,0.42) 62%, rgba(7,17,30,0.88) 100%);
  }

  /* Normal full-width banner row instead of a small floating portrait
     card — sits edge-to-edge like a regular banner strip (reference:
     futureskillpark.com mobile hero), no rounded card/shadow look, no
     gap below it since the text now sits on top of it. z-index reset
     to auto so it doesn't trap the dots inside its own stacking
     context, under the overlay/text painted above it. */
  .hero-banner-carousel {
    position: relative;
    z-index: auto;
    display: block;
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: 1080 / 1512;
    height: auto;
    margin: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    clip-path: none;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
  }
  /* Manual prev/next arrows removed on mobile — autoplay + dots are
     enough; swipe/tap real estate stays clear on the small banner. */
  .hero-banner-nav {
    display: none;
  }
  .hero-banner-dots {
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    z-index: 5;
  }
  .hero-banner-dot {
    opacity: 0.7;
  }

  /* Text/CTA block laid directly over the banner image, centered
     both ways — matches the desktop overlay treatment instead of
     flowing in its own panel below the image. */
  .hero-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: max(100px, calc(84px + env(safe-area-inset-top, 0px))) 20px 48px;
    box-sizing: border-box;
    pointer-events: none;
  }

  .hero-content-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 380px;
    padding: 0;
    margin: 0 auto;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    padding: 6px 16px;
    margin: 0 auto 12px;
  }

  .hero-title-left {
    font-size: clamp(1.85rem, 6.2vw, 2.45rem);
    line-height: 1.2;
    margin: 0 auto 14px;
    text-align: center;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  }
  .hero-title-left .line-glow {
    display: inline-block;
  }

  .hero-subtitle-left {
    font-size: clamp(0.9rem, 2.9vw, 1.02rem);
    line-height: 1.65;
    margin: 0 auto 2px;
    max-width: 380px;
    text-align: center;
    color: rgba(232, 234, 240, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  }

  /* Plain inline "Read More" text link (not a pill button) sitting
     tight against the truncated subtitle's last line — mobile/iPhone
     only, desktop never shows this toggle at all. */
  .hero-readmore-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0 auto 18px;
    padding: 2px 4px;
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 700;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* .btn's generic ::after hover wash (a white 10%-opacity overlay,
     see css/style.css) isn't needed on this plain text link. */
  .hero-readmore-toggle::after {
    display: none;
  }
  /* iOS Safari keeps :hover "stuck" after a tap, which would otherwise
     pull in .btn-outline-white:hover's white pill background here.
     Pin this link back to its plain teal-text style in every state. */
  .hero-readmore-toggle:hover,
  .hero-readmore-toggle:focus,
  .hero-readmore-toggle:active,
  .hero-readmore-toggle.active {
    background: none;
    color: var(--teal);
    border-color: transparent;
    outline: none;
    box-shadow: none;
    transform: none;
  }
  .hero-readmore-toggle .readmore-arrow {
    display: none;
  }

  .hero-left-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 360px;
  }
  .hero-left-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
    padding: 12px 22px;
    font-size: 0.85rem;
    border-radius: 50px;
    font-weight: 700;
  }
  /* Only "Join Academy" on mobile/iPhone — "Explore 3 Sports" is
     hidden here (still shown on desktop), and the remaining button
     is centered and sized to its content instead of stretching wide. */
  .hero-left-actions .btn-primary {
    display: none;
  }
  .hero-left-actions .btn-outline-white {
    background: var(--orange);
    border-color: var(--orange);
    color: #ffffff;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    max-width: 190px;
    padding: 12px 18px;
  }

  .hero-quick-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.78rem;
    gap: 8px;
    margin: 0 auto;
    color: rgba(232, 234, 240, 0.85);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  }
}

/* ============================================================
   TABLET & MOBILE SECTION CENTERING (Max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .overview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .overview-content .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .overview-content .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .overview-visual {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  #overview-section .hero-stats-box {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats-box {
    margin: 24px auto 0;
    max-width: min(100%, 320px);
    padding: 16px 14px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    justify-content: center;
    align-items: center;
  }
  .hero-stat-item {
    text-align: center;
    padding: 0;
    min-width: 0;
  }
  .hero-stat-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .hero-stat-item:not(:last-child)::after { display: none; }
  .hero-stat-number {
    font-size: 1.7rem;
    justify-content: center;
  }
  .hero-stat-label {
    font-size: 0.68rem;
  }

  .beyond-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .beyond-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .beyond-text .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .beyond-readmore-toggle {
    margin-left: auto;
    margin-right: auto;
  }
  .beyond-visual {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  /* The desktop 3D tilt (rotateY/rotateX) has no hover to justify it on
     touch screens, and it visibly skews the checklist rows/tick marks
     out of a straight column the further down the card they sit. */
  .beyond-3d-box,
  .beyond-3d-box:hover {
    transform: none;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .journey-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .journey-text .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .journey-steps {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============================================================
   MOBILE CLEAN STACKED CARDS (Max 768px / iPhone 13-17)
   Clean, centered, touch-friendly layout matching iberrtech.com
   ============================================================ */
@media (max-width: 768px) {
  /* Side-by-side swipe slider instead of a stacked list, so the
     3 sport cards peek at each other and invite a horizontal swipe. */
  .sports-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    max-width: 100%;
    margin: 0;
    padding: 4px 4px 10px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sports-grid::-webkit-scrollbar { display: none; }
  .sport-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 18px;
    overflow: hidden;
    flex: 0 0 76%;
    max-width: 280px;
    scroll-snap-align: center;
    margin: 0;
  }
  .sport-card-media {
    width: 100%;
  }
  .sport-card-body {
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .sport-card-body h3 {
    text-align: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
  }
  .sport-card-body p {
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 auto 14px;
    max-width: 380px;
  }

  /* Truncate the description to 3 lines with an inline Read More
     that expands in place — no popup. */
  .sport-desc-wrap {
    width: 100%;
  }
  .sport-desc-wrap .sport-desc-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
  .sport-desc-wrap.expanded .sport-desc-text {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
  }
  .sport-readmore-btn {
    margin: 0 auto 12px;
  }
  .sport-card .sport-readmore-btn.btn-outline-white {
    background: rgba(7, 17, 30, 0.04);
    border: 1.5px solid rgba(7, 17, 30, 0.14);
    color: var(--blue);
  }
  .sport-card .sport-readmore-btn.btn-outline-white:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
  }
  .badminton-card .sport-readmore-btn.btn-outline-white { color: var(--teal); border-color: rgba(14, 158, 171, 0.35); }
  .basketball-card .sport-readmore-btn.btn-outline-white { color: var(--orange); border-color: rgba(248, 157, 33, 0.4); }
  .volleyball-card .sport-readmore-btn.btn-outline-white { color: var(--purple); border-color: rgba(168, 103, 170, 0.4); }

  .sport-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 0;
    font-weight: 700;
  }

  /* Side-by-side swipe slider instead of a stacked list, matching
     the sports-grid pattern. */
  .finder-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    max-width: 100%;
    margin: 0;
    padding: 4px 4px 10px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .finder-grid::-webkit-scrollbar { display: none; }
  .finder-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 20px;
    border-radius: 18px;
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: center;
    margin: 0;
  }
  .finder-emoji {
    font-size: 2.6rem;
    margin: 0 auto 12px;
    display: block;
  }
  .finder-card h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .finder-card p {
    text-align: center;
    margin: 0 auto 16px;
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .finder-card .sport-card-link {
    margin: 0 auto;
    justify-content: center;
  }

  /* Video Feature section */
  .video-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    max-width: 500px;
    margin: 0 auto;
  }
  .video-feature-media {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
  }
  .video-feature-player {
    width: 100%;
    border-radius: 20px;
  }
  .video-feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .video-feature-text .section-tag {
    margin-left: auto;
    margin-right: auto;
  }

  /* Journey section step items centered */
  .journey-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-bottom: 28px;
  }
  .step-indicator {
    align-items: center;
  }
  .step-line {
    display: none;
  }
  .step-content {
    text-align: center;
    padding: 0;
  }
  .step-content h4 {
    text-align: center;
  }
  .step-content p {
    text-align: center;
  }

  /* Why Train Section — compact 2-up grid (card1/card2, card3/card4,
     card5 alone, centered, on its own row), icon + heading only, no
     description text. */
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 14px;
  }
  .why-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px;
    border-radius: 16px;
  }
  .why-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 7px);
  }
  .why-icon {
    margin: 0 auto 8px;
    font-size: 1.7rem;
  }
  .why-card h3 {
    text-align: center;
    margin-bottom: 0;
    font-size: 0.82rem;
  }
  .why-card p {
    display: none;
  }

  /* Community Gallery Section */
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 20px;
  }
  .gallery-item {
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
  }

  /* CTA Section */
  .cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
  }
  .cta-text {
    text-align: center;
  }
  .cta-text .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-text h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.3rem);
  }
  .cta-text p {
    text-align: center;
    margin: 0 auto;
    max-width: 440px;
  }
  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Shrink the "Inside a Real Training Session" video further on
   phones (iPhone 13-17 widths etc.) — the 280px cap from style.css's
   tablet breakpoint still reads large at a 9:16 aspect ratio on a
   narrow screen. */
@media (max-width: 480px) {
  .video-feature-media {
    max-width: 200px;
  }
}

/* ---- LIVE & UPCOMING / COACHES ---- */
.live-upcoming-section {
  padding: 92px 0 104px !important;
  background: linear-gradient(135deg, #07111e 0%, #102b40 55%, #07111e 100%) !important;
  border-top: 1px solid rgba(78, 201, 244, 0.35);
  border-bottom: 1px solid rgba(248, 157, 33, 0.35);
}
.live-upcoming-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}
.live-upcoming-heading .section-tag { color: var(--blue-sky); }
.live-upcoming-heading .section-tag::before { background: var(--blue-sky); }
.live-upcoming-heading .section-title { margin-bottom: 14px; }
.live-upcoming-heading .section-title span { color: var(--orange); }
.live-upcoming-heading .section-desc { margin: 0 auto; color: rgba(232, 234, 240, 0.76); }
.tournament-board-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding: 28px;
  background: rgba(7, 17, 30, 0.72);
  border: 1px solid rgba(78, 201, 244, 0.24);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}
.tournament-board-wrapper .row { display: contents !important; }
.tournament-image-col { width: 100%; min-width: 0 !important; }
.image-hover-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  height: 390px;
  margin: 0 auto;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.tournament-register-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.image-hover-container picture {
  display: block;
  width: 100%;
  height: 100%;
}
.tournament-poster-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s ease;
}
.image-hover-container:hover .tournament-poster-img { transform: scale(1.035); }
.tournament-status {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 7px 13px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(236, 0, 139, 0.35);
}
.hover-hint {
  position: absolute;
  inset: auto 0 0;
  padding: 10px;
  color: #fff;
  background: rgba(7, 17, 30, 0.82);
  font-size: 0.8rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-hover-container:hover .hover-hint { opacity: 1; }
.tournament-info-col { display: none; min-width: 0 !important; color: #fff; }
.tournament-info-col .section-tag {
  padding: 6px 12px;
  color: var(--orange) !important;
  background: rgba(248, 157, 33, 0.1);
  border-radius: 4px;
}
.tournament-info-col .section-title { margin: 16px 0 12px; font-size: clamp(2rem, 4vw, 3rem) !important; }
.tournament-info-col .section-title span { color: var(--orange) !important; }
.tournament-lead { margin-bottom: 22px !important; color: rgba(232, 234, 240, 0.78) !important; font-size: 1.05rem !important; }
.tournament-facts {
  margin-bottom: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
}
.tournament-facts p { margin: 0 0 8px !important; color: rgba(255, 255, 255, 0.88); font-size: 0.94rem !important; }
.tournament-facts p:last-child { margin-bottom: 0 !important; }
.tournament-deadline { color: #ffd166 !important; margin-bottom: 18px !important; }
.tournament-categories { margin-bottom: 22px; }
.tournament-categories > strong { display: block; margin-bottom: 9px; color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; }
.tournament-categories > div { display: flex; flex-wrap: wrap; gap: 8px; }
.tournament-categories span { padding: 6px 11px; color: rgba(255,255,255,0.84); background: rgba(255,255,255,0.08); border-radius: 999px; font-size: 0.78rem; }
.tournament-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tournament-actions .btn { padding: 12px 19px !important; font-size: 0.78rem !important; }
.tournament-support { padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.12); }
.tournament-support > p { margin-bottom: 8px !important; color: var(--text-muted) !important; font-size: 0.86rem !important; }
.tournament-support > div { display: flex; flex-wrap: wrap; gap: 10px 16px; color: rgba(255,255,255,0.78); font-size: 0.82rem; }

#coaches-section {
  padding: 108px 0 118px !important;
  background: linear-gradient(145deg, #102b40 0%, #07111e 60%, #24152b 100%) !important;
  border: 0 !important;
}
#coaches-section .section-tag { color: var(--blue-sky) !important; background: transparent !important; }
#coaches-section .section-tag::before { background: var(--blue-sky); }
#coaches-section .section-title span { color: var(--orange) !important; }
#coaches-section .section-desc { color: rgba(232, 234, 240, 0.78) !important; }
#coaches-section .coaches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; }
#coaches-section .coach-card {
  background: rgba(7, 17, 30, 0.72) !important;
  border: 1px solid rgba(78, 201, 244, 0.22) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28) !important;
}
#coaches-section .coach-card:nth-child(2) { border-color: rgba(248, 157, 33, 0.3) !important; }
#coaches-section .coach-card:hover { transform: translateY(-8px); border-color: var(--teal) !important; box-shadow: 0 22px 48px rgba(14,158,171,0.25) !important; }
#coaches-section .coach-card:nth-child(2):hover { border-color: var(--orange) !important; box-shadow: 0 22px 48px rgba(248,157,33,0.22) !important; }
#coaches-section .coach-img-wrapper { height: 190px !important; background: #f4f6f8 !important; }
#coaches-section .coach-img-wrapper img { object-fit: contain !important; object-position: center center !important; }
#coaches-section .coach-img-wrapper > div { background: var(--teal) !important; }
#coaches-section .coach-card:nth-child(2) .coach-img-wrapper > div { background: var(--orange) !important; }
#coaches-section .coach-body { padding: 26px !important; }
#coaches-section .coach-body h3 { color: #fff !important; }
#coaches-section .coach-body p { color: rgba(232,234,240,0.78) !important; }
#coaches-section .coach-body > div:first-child > p { color: var(--blue-sky) !important; }
#coaches-section .coach-card:nth-child(2) .coach-body > div:first-child > p { color: var(--orange) !important; }
#coaches-section .coach-body span { background: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.84) !important; }
#coaches-section .coach-description { text-align: left; }
#coaches-section .coach-readmore-toggle { margin: 0 0 15px; }

/* Editorial coach feature directly follows the three-sports section. */
.creative-coaches-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0 116px !important;
  background: linear-gradient(135deg, var(--teal) 0%, var(--orange) 100%);
  color: #fff;
}
#coaches-section.creative-coaches-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--orange) 100%) !important;
}
.creative-coaches-section::before {
  display: none;
}
.creative-coaches-intro,
.creative-coaches-grid { position: relative; z-index: 1; }
.creative-coaches-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto 46px;
}
.creative-coaches-intro .section-tag { color: #8ee8ed; }
.creative-coaches-intro .section-tag::before { background: #8ee8ed; }
.creative-coaches-intro .section-title { margin: 10px 0 0; color: #fff; }
.creative-coaches-intro .section-title span { color: #ffb347; }
.creative-coaches-intro > p {
  max-width: 360px;
  margin: 0 0 6px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}
.creative-coaches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1060px;
  margin: 0 auto;
}
.creative-coach-card {
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  min-height: 330px;
  overflow: hidden;
  background: rgba(7, 17, 30, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 45px rgba(3, 12, 24, 0.3);
}
.creative-coach-card-teal { border-top: 5px solid #008f91; }
.creative-coach-card-orange { border-top: 5px solid #d66a2b; }
.creative-coach-card-purple { border-top: 5px solid #A867AA; }
.creative-coach-card-blue { border-top: 5px solid #4581C2; }
.creative-coach-image { position: relative; min-height: 330px; background: #ddd3ce; }
.creative-coach-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.creative-coach-sport {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  color: #fff;
  background: #008f91;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.creative-coach-card-orange .creative-coach-sport { background: #d66a2b; }
.creative-coach-card-purple .creative-coach-sport { background: #A867AA; }
.creative-coach-card-blue .creative-coach-sport { background: #4581C2; }
.creative-coach-content { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 26px 24px; }
.creative-coach-number { color: #7b7c82; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; }
.creative-coach-content h3 { margin: 12px 0 8px; color: #fff; font-family: 'Oswald', sans-serif; font-size: 1.55rem; }
.creative-coach-lead { margin: 0 0 14px; color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.55; }
.creative-coach-lead strong { color: #8ee8ed; font-weight: 600; }
#coaches-section .creative-coach-copy { display: block; color: rgba(255,255,255,0.76); font-size: 0.82rem; line-height: 1.6; text-align: left; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
#coaches-section .creative-coach-extra { display: none; }
#coaches-section .creative-coach-extra.expanded { display: block; }
#coaches-section .creative-coach-toggle { display: inline-flex; margin: 14px 0 0; padding: 8px 14px; border: 1px solid var(--orange); color: var(--orange); background: transparent; font-size: 0.72rem; }
.creative-coach-copy p { margin: 0; }
.creative-coach-toggle { display: inline-flex; margin: auto 0 0; padding: 8px 14px; border: 1px solid #9e2748; color: #9e2748; background: transparent; font-size: 0.72rem; }
.creative-coach-toggle:hover, .creative-coach-toggle:focus-visible, .creative-coach-toggle.active { color: #fff; background: #9e2748; border-color: #9e2748; }

@media (max-width: 768px) {
  .live-upcoming-section { padding: 72px 0 78px !important; }
  .live-upcoming-heading { margin-bottom: 28px; }
  .tournament-board-wrapper { grid-template-columns: 1fr; gap: 28px; padding: 16px; border-radius: 18px; }
  .image-hover-container { height: auto; max-width: 430px; }
  .image-hover-container picture { height: auto; }
  .tournament-poster-img { height: auto; max-height: 610px; }
  .tournament-register-hint {
    opacity: 0.78 !important;
    padding: 12px 10px;
    background: rgba(7, 17, 30, 0.62);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  #coaches-section { padding: 54px 0 62px !important; }
  #coaches-section .text-center { margin-bottom: 28px !important; }
  #coaches-section .section-title { font-size: 1.85rem !important; }
  #coaches-section .coaches-grid { grid-template-columns: 1fr !important; max-width: 360px; gap: 16px !important; }
  #coaches-section .coach-img-wrapper { height: 140px !important; }
  #coaches-section .coach-body { padding: 17px !important; }
  #coaches-section .coach-body h3 { font-size: 1.3rem !important; }
  #coaches-section .coach-body > div:first-child > p { margin-bottom: 10px !important; }
  #coaches-section .coach-description { -webkit-line-clamp: 3; line-clamp: 3; }
  #coaches-section .coach-readmore-toggle { margin: 0 auto 12px; }
  .creative-coaches-section { padding: 68px 0 76px !important; }
  .creative-coaches-section::before { display: none; }
  .creative-coaches-intro { display: block; margin-bottom: 28px; }
  .creative-coaches-intro .section-title { font-size: 2rem; }
  .creative-coaches-intro > p { margin-top: 14px; max-width: 330px; font-size: 0.9rem; }
  /* Side-by-side swipe slider instead of a stacked list, matching
     the sports-grid/finder-grid pattern. */
  .creative-coaches-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    max-width: 100%;
    margin: 0;
    padding: 4px 4px 10px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .creative-coaches-grid::-webkit-scrollbar { display: none; }
  .creative-coach-card { grid-template-columns: 38% 1fr; min-height: 250px; flex: 0 0 86%; max-width: 340px; scroll-snap-align: center; margin: 0; }
  .creative-coach-image { min-height: 250px; }
  .creative-coach-content { padding: 21px 16px 17px; }
  .creative-coach-content h3 { margin: 8px 0 6px; font-size: 1.3rem; }
  .creative-coach-lead { font-size: 0.8rem; margin-bottom: 9px; }
  .creative-coach-copy { font-size: 0.76rem; }
  .creative-coach-sport { top: 9px; left: 9px; padding: 5px 7px; font-size: 0.58rem; }
}
