/* ── Live Sports (admin-driven, premium) ── */

.live-sports-wrap {
  padding: 8px 0 0;
}

.live-casino-wrap {
  padding: 18px 0 6px;
}

.live-casino-wrap[hidden] {
  display: none;
}

.live-sports-wrap[hidden] {
  display: none;
}

.home-section-head,
.live-sports-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.home-section-title,
.live-sports-title {
  margin: 0;
  font-family: var(--font-display, var(--font));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
}

.home-section-live-pill,
.live-sports-live-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fecaca;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(127, 29, 29, 0.35));
  border: 1px solid rgba(248, 113, 113, 0.35);
  box-shadow:
    0 0 16px rgba(239, 68, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-section-live-dot,
.live-sports-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.85);
  animation: live-sports-pulse 1.4s ease-in-out infinite;
}

@keyframes live-sports-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  }
  50% {
    opacity: 0.85;
    transform: scale(0.92);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
  }
}

.live-sports-list {
  display: grid;
  gap: 14px;
  padding: 0 18px;
}

.live-sports-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px 15px 14px;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(239, 68, 68, 0.08), transparent 42%),
    linear-gradient(155deg, rgba(30, 64, 175, 0.72) 0%, rgba(15, 23, 42, 0.96) 52%, rgba(2, 6, 23, 0.99) 100%);
  border: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.live-sports-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 28%,
    transparent 72%,
    rgba(56, 189, 248, 0.04) 100%
  );
  pointer-events: none;
}

.live-sports-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.45), transparent);
  pointer-events: none;
}

.live-sports-card-accent {
  position: absolute;
  width: 96px;
  height: 96px;
  opacity: 0.28;
  pointer-events: none;
}

.live-sports-card-accent--tl {
  top: -20px;
  left: -20px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(185, 28, 28, 0.65) 4px,
    rgba(185, 28, 28, 0.65) 9px
  );
  mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 70%);
}

.live-sports-card-accent--br {
  right: -20px;
  bottom: -20px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(185, 28, 28, 0.5) 4px,
    rgba(185, 28, 28, 0.5) 9px
  );
  mask-image: radial-gradient(circle at 70% 70%, #000 0%, transparent 70%);
}

.live-sports-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  min-height: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.live-sports-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 11px;
  font-weight: 600;
}

.live-sports-sport-icon {
  flex-shrink: 0;
  color: rgba(125, 211, 252, 0.9);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.35));
}

.live-sports-league {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-sports-league:empty::before,
.live-sports-kickoff:empty::before,
.live-sports-team-name:empty::before,
.live-sports-odd-val:empty::before {
  content: "";
}

.live-sports-kickoff {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(226, 232, 240, 0.68);
  padding: 4px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.live-sports-match {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 4px 6px;
}

.live-sports-vs {
  align-self: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.55);
  padding: 5px 7px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.live-sports-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.live-sports-team-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.live-sports-team-logo--empty {
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(147, 197, 253, 0.18);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.live-sports-team-name {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  min-height: 15px;
}

.live-sports-market {
  position: relative;
  z-index: 1;
  padding-top: 4px;
}

.live-sports-market-label {
  display: block;
  margin-bottom: 9px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}

.live-sports-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.live-sports-odd {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: var(--text-primary);
  font-family: var(--font);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.live-sports-odd:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.live-sports-odd-key {
  font-size: 10px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.75);
  text-transform: lowercase;
}

.live-sports-odd-val {
  min-width: 24px;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.live-sports-odd-val:empty {
  opacity: 0.28;
}

.home-section--live-casino .home-section-grid {
  padding: 0 18px;
}

.fishing-wrap {
  padding: 12px 0 30px;
}

.fishing-wrap[hidden] {
  display: none;
}

.home-section--fishing .home-section-grid {
  padding: 0 18px;
}

.poker-wrap {
  padding: 12px 0 30px;
}

.poker-wrap[hidden] {
  display: none;
}

.home-section--poker .home-section-grid {
  padding: 0 18px;
}

.sports-wrap {
  padding: 12px 0 8px;
}

.sports-wrap[hidden] {
  display: none;
}

.home-section--sports .home-section-grid {
  padding: 0 18px;
}

/* ── Home promo poster (below sports) ── */
.home-poster-wrap {
  padding: 4px 16px 12px;
}

.home-poster-wrap[hidden] {
  display: none;
}

.home-poster-banner {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #0a1628;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.home-poster-banner:hover {
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(96, 165, 250, 0.08);
}

.home-poster-banner:active {
  transform: scale(0.985);
}

.home-poster-img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 22%;
}

.home-section-grid {
  --tile-unit: calc((100% - 24px) / 3);
  gap: 12px;
}
