/* Language Switcher - Professional & Clean */

.language-switcher {
  position: relative;
  display: inline-block;
}

.lang-current-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  font-family: 'Proxima Nova', sans-serif;
}

.lang-current-btn:hover {
  color: var(--accent-blue-hover);
}

.lang-flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.lang-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}


.lang-flag-img-dropdown {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-tertiary);
  border: 1px solid var(--white-12);
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--black-50);
  min-width: 130px;
  overflow: hidden;
  z-index: 1000;
  animation: langDropdownFadeIn 0.15s ease-out;
}

@keyframes langDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--white-90);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Proxima Nova', sans-serif;
  text-align: left;
}

.lang-option:hover {
  background: var(--white-10);
}

.lang-option.active {
  color: var(--accent-blue);
}

.lang-option:not(:last-child) {
  border-bottom: 1px solid var(--white-8);
}

.lang-name {
  font-size: 13px;
  color: var(--white-90);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .lang-current-btn {
    padding: 3px 4px;
    gap: 3px;
  }

  .lang-flag-img {
    width: 16px;
    height: 12px;
  }

  .lang-code {
    display: none; /* Hide code on mobile, just show flag */
  }

  .lang-dropdown {
    min-width: 120px;
  }

  .lang-flag-img-dropdown {
    width: 16px;
    height: 12px;
  }
}


/* Wrapper для Landing Page */
.landing-page-wrapper {
  display: flex;
  flex-direction: column;
  /* min-height убран - не нужен лишний скролл когда мало контента */
  background-color: var(--bg-primary);
}

.landing-page-wrapper .lp-page {
  flex-grow: 1;
}

.lp-bets-page {
  color: #ced4db;
  font-family: 'Proxima Nova', sans-serif;
  padding: 10px;
}

/* .lp-country-flag moved to LivePage.css */

/* League group container for proper sticky behavior */
.lp-league-group {
  /* Container for each league - allows sticky headers to push each other */
}

/* LandingUpcomingPage specific top values */
.landing-page-wrapper .lp-league-header {
  top: 66px;
}

@media (max-width: 768px) {
  .landing-page-wrapper .lp-league-header {
    top: 102px;
  }
}


.lp-header {
  display: flex;
  flex-direction: column;
  padding: 10px 15px;
  position: sticky;
  top: 36px;
  z-index: 999;
  background-color: #000;
  transition: padding 0.2s ease, gap 0.2s ease;
  will-change: transform;
  transform: translateZ(0);
  border-bottom: 1px solid #171717;
}

.morebets-load-more-button {
  border: none;
  border-radius: 4px;
  font-family: Proxima Nova Cond,sans-serif;
  background-color: #1e62d0;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 0 1px #000;  cursor: pointer;
  font-weight: 700;
  padding: 5px 20px;
  transition: background-color .3s ease;
}

.lp-header * {
  transition: font-size 0.2s ease, color 0.2s ease, margin 0.2s ease;
}


.lp-header--compact {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 14px;
}

.lp-header--compact img {
  width: 16px !important;
  height: 16px !important;
}

.lp-header--compact .lp-league-info {
  flex-direction: row;
  align-items: end;
  gap: 6px;
}

.lp-header--compact .lp-sport-name {
  font-size: 14px;
}

.lp-header--compact .lp-league-name {
  font-size: 14px;
  color: #a0a0a5;
}

.lp-fixture-time {
  text-align: start;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-fixture-star {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  margin-right: 7px;
}

@media (hover: hover) {
  .lp-fixture-star:hover {
    transform: scale(1.15);
  }
}

.lp-page {
  color: #E5E5EA;
  font-family: 'Proxima Nova', sans-serif;
  background-color: var(--bg-primary);
}

.lp-bets-header {
  padding-bottom: 12px;
}

.lp-bets-header h2 {
  font-size: 22px;
  margin: 0;
}

.hdp {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #3478f6;
}

.lp-fixture .value {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #E5E5EA;
}

.lp-fixture {
  background: linear-gradient(90deg, #333338 0%, #3d3d44 100%);
  border-radius: 0;
  margin: 0 0 10px 0;
  overflow: hidden;
}

/* Remove margin from fixture that is followed by a league header */
.lp-fixture:has(+ .lp-league-header) {
  margin-bottom: 0;
}

/* Also remove margin from the very last fixture */
.lp-fixture:last-child {
  margin-bottom: 0;
}

/* ========== ODDS HEADER ========== */
.lp-odds-header {
  display: grid;
  grid-gap: 0;
  gap: 0;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Proxima Nova', sans-serif;
  font-size: 9px;
  line-height: 1;
  text-align: center;
  padding: 8px 0 8px 12px;
  background: linear-gradient(to bottom, #1c1c1e, #2a2a2c);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(100, 100, 100, 0.3);
}

/* Sport-specific gradients */
.lp-odds-header[data-sport="1"] { background: linear-gradient(135deg, #1a3f1f, #28542c); }
.lp-odds-header[data-sport="2"] { background: linear-gradient(135deg, #513517, #634523); }
.lp-odds-header[data-sport="3"] { background: linear-gradient(135deg, #3e1f0d, #5a2d1a); }
.lp-odds-header[data-sport="4"] { background: linear-gradient(135deg, #3F4853, #56595C); }
.lp-odds-header[data-sport="5"] { background: linear-gradient(135deg, #1B222B, #222C37); }
.lp-odds-header[data-sport="6"] { background: linear-gradient(135deg, #0E2A5A, #1E4A82); }
.lp-odds-header[data-sport="7"] { background: linear-gradient(135deg, #512A0D, #81512D); }
.lp-odds-header[data-sport="8"] { background: linear-gradient(135deg, rgb(20, 33, 61), rgb(31, 54, 92)); }
.lp-odds-header[data-sport="9"] { background: linear-gradient(135deg, #4A0E14, #7A1E24); }
.lp-odds-header[data-sport="10"] { background: linear-gradient(135deg, rgb(50, 121, 255), rgb(14, 37, 78)); }
.lp-odds-header[data-sport="11"] { background: linear-gradient(135deg, #7F2F00, #B84E14); }
.lp-odds-header[data-sport="12"] { background: linear-gradient(135deg, #1B222B, #222C37); }
.lp-odds-header[data-sport="18"] { background: linear-gradient(135deg, #1a3f1f, #28542c); }
.lp-odds-header[data-sport="19"] { background: linear-gradient(135deg, #0E2A5A, #1E4A82); }
.lp-odds-header[data-sport="23"] { background: linear-gradient(135deg, #7F2F00, #B84E14); }
.lp-odds-header[data-sport="29"] { background: linear-gradient(135deg, #1a3f1f, #28542c); }

.lp-odds-header.layout-3 {
  grid-template-columns: 3fr 1fr 1fr 1fr;
}

.lp-odds-header.layout-2 {
  grid-template-columns: 3fr 1fr 1fr;
}

.lp-odds-header.layout-1 {
  grid-template-columns: 1fr 1fr;
}

/* ========== ODDS ROWS ========== */
.lp-odds-row {
  display: grid;
  grid-gap: 0;
  gap: 0;
  min-height: 40px;
  align-items: center;
  padding: 0 0 0 10px;
  background: linear-gradient(90deg, #333338 0%, #3d3d44 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.lp-odds-row:last-of-type {
  border-bottom: none;
}

.lp-odds-row.layout-3 {
  grid-template-columns: 3fr 1fr 1fr 1fr;
}

.lp-odds-row.layout-2 {
  grid-template-columns: 3fr 1fr 1fr;
}

.lp-odds-row.layout-1 {
  grid-template-columns: 4fr 1fr;
}

.lp-team-name {
  flex-grow: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  display: inline-block;
  color: #e5e5ea;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 13px;
  font-weight: 600;
  max-width: 100%;
}

/* ========== FIXTURE FOOTER ========== */
.lp-fixture-footer {
  color: var(--text-secondary);
  display: flex;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 11px;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  background: linear-gradient(90deg, #333338 0%, #3d3d44 100%);
}

.lp-more-bets {
  font-family: Proxima Nova Cond,sans-serif;
  background-color: #3478f62e;
  border: 0 solid #3478f626;
  border-radius: 2px;
  color: #73a4ff;
  font-weight: 500;
  padding: 1px 7px;
  width: fit-content;
  cursor: pointer;
}

.lp-more-bets:hover {
  color: #a5c4fc;
}

.lp-skeleton-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}



@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}



.lp-league-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-sport-name {
  font-weight: bold;
  color: #E5E5EA;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

.lp-league-name {
  font-size: 14px;
  font-family: 'Proxima Nova Cond', sans-serif;
  color: #a0a0a5;
}

.odds-title {
  color: #d7e2f7;
  font-family: Proxima Nova,sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}



.lp-no-odds-grid-inner {
  display: contents; /* Используется для сохранения структуры grid, но без обёртки */
}

.lp-no-odds-teams {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.lp-no-odds-teams .lp-team-name {
  text-align: left;
  font-weight: 600;
  color: #E5E5EA;
  font-size: 15px;
}

.lp-no-odds-button {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-no-odds-button .lp-bet-button {
  width: 100%;
  height: 64px;
  font-size: 16px;
  font-weight: 600;
  background-color: transparent;
  border: 2px solid #3478f6;
  border-radius: 8px;
  color: #FFFFFF;
}


.lp-no-odds-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.lp-fixture-footer-line {
  flex-grow: 1;
  height: 1px;
  background-color: #444;
  margin-right: 12px;
}

.lp-footer-line-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 6px;
}

.lp-no-odds-grid {
  grid-gap: 8px;
  align-items: center;
  display: grid;
  gap: 8px;
  margin: 15px 0;
  grid-template-columns: 2fr 1fr;
}

.lp-no-odds-grid .lp-team-names {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.lp-no-odds-grid .lp-big-button {
  background-color: #2c2c2e;
  border: 1px solid #3a3a3c;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  height: 100%;
  text-align: center;
}

.lp-no-odds-grid .lp-big-button:hover {
  background-color: #444;
}

/* ========== BET BUTTONS - Flat design ========== */
.lp-bet-button {
  align-items: center;
  font-family: 'Proxima Nova', sans-serif;
  background: rgba(56, 56, 61, 1);
  border: none;
  border-radius: 0;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 700;
  height: 38px;
  line-height: 13px;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: background 0.15s ease;
}

/* Hover - desktop only */
@media (min-width: 1024px) {
  .lp-bet-button:hover {
    background: rgba(75, 75, 82, 1);
  }

  .lp-bet-button.active:hover {
    background: rgba(100, 100, 110, 1);
  }
}

.lp-bet-button.active {
  background: rgba(90, 90, 100, 1);
  border: none;
  min-height: 38px;
  height: 38px;
}

.lp-bet-button.active .hdp,
.lp-bet-button.active .value {
  color: var(--text-secondary);
}

/* Handicap label - blue */
.hdp {
  color: #60a5fa;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Proxima Nova', sans-serif;
}

/* Odds value - white */
.lp-fixture .value {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.lp-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(50% + 6px);   /* на 3px в каждую сторону */
  height: calc(50% + 6px);  /* по вертикали тоже чуть больше */
  background: rgba(255, 255, 255, 0.198);
  opacity: 0.9;
  border-radius: 4px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 300ms ease-out;
  z-index: 1000;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

.currently-suspended {
  display: flex;
  align-items: end;
  font-weight: 500;
  color: #7c7c7c; /* можешь поменять */
  font-size: 14px; /* подгони под стиль */
  margin-top: 4px; /* если надо чуть отступить от кнопок */
}

.lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.lock-icon svg {
  width: 16px;
  height: 16px;
  fill: #aaa; /* цвет замка */
}

.lock-text {
  display: flex;
  align-items: center;
}

/* ============================================
   FLASH АНИМАЦИИ - Подсветка коэффициента
   ============================================ */

/* Анимация роста (зеленый) */
.lp-bet-button.flash-up,
.lp-bet-button.active.flash-up {
  animation: glowGreen 1.5s ease-out forwards;
}

/* Анимация падения (красный) */
.lp-bet-button.flash-down,
.lp-bet-button.active.flash-down {
  animation: glowRed 1.5s ease-out forwards;
}

/* Подсветка зеленым (рост) */
@keyframes glowGreen {
  0%, 50% {
    color: #22c55e;
    font-weight: 700;
  }
  100% {
    color: #E5E5EA;
    font-weight: 600;
  }
}

/* Подсветка красным (падение) */
@keyframes glowRed {
  0%, 50% {
    color: #ef4444;
    font-weight: 700;
  }
  100% {
    color: #E5E5EA;
    font-weight: 600;
  }
}


.lp-team {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-right: 5px;
  overflow: hidden;
}

.lp-team-icon-and-name {
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  gap: 10px;
  min-width: 0;
}

/* Two-line layout for Tennis/MMA with participant info */
.lp-team-icon-and-name.has-participant-info {
  align-items: center;
}

.lp-team-icon-and-name.has-participant-info .lp-team-name-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  flex: 1 1;
}

.lp-team-icon-and-name.has-participant-info .lp-team-name {
  line-height: 1.3;
}

.lp-team-icon-and-name.has-participant-info .participant-info {
  margin-top: 0;
}

/* Default: name column takes remaining space */
.lp-team-name-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1;
  overflow: hidden;
}

.lp-icon-reversed-home::after {
  bottom: -19px;
  color: #f09b51;
  font-family: sans-serif;
  content: "@";
  font-size: 12px;
  font-weight: bold;
  left: 3px;
  pointer-events: none;
  position: absolute;
}

.lp-team-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1px;
}

.lp-team-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background-size: contain;
  display: block;
}

.lp-placeholder-team {
  align-items: center;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 5px;
  justify-content: space-between;
  min-width: 160px;
}

.lp-placeholder-main {
  font-weight: bold;
  color: rgb(196, 205, 210);
}

.lp-placeholder-sub {
  background-color: #3478f621;
  border: 1px solid #3478f67d;
  border-radius: 10px;
  color: #3478f6;
  font-size: 10px;
  font-weight: 700;
  padding: 0 7px;
  width: fit-content;
}

.lp-team-icon-and-name {
  width: 100%;
}

/* .lp-league-header moved to LivePage.css */
/* Удалено: старый код который блокировал изменение цвета */


.lp-fixture-tag {
  background-color: #1e3a8a;
  border: 1px solid #3478f67d;
  border-radius: 2px;
  color: #fff;
  font-size: 11px;
  margin-left: 6px;
  padding: 0 4px;
  text-transform: uppercase;
}

.lp-fixture-tag--gameorder {
  background-color: #8a1e1e;
  border: 1px solid #a82b2bba;
  border-radius: 2px;
  color: #fff;
  font-size: 11px;
  margin-left: 6px;
  padding: 0 4px;
  text-transform: uppercase;
}

.lp-fixture-clock {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0 5px;
  text-transform: uppercase;
}

.lp-fixture-clock, .lp-fixture-clock-date {
  color: rgb(255, 255, 255);
  font-size: 11px;
  padding: 0 5px;
  text-transform: uppercase;
}

.lp-fixture-clock-date {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0 5px;
  text-transform: uppercase;
}
/* ========== DESKTOP STYLES ========== */
@media (min-width: 1024px) {
  .lp-fixture {
    border-radius: 8px;
  }
}
/* ═══════════════════════════════════════════════════════════
   Landing Page
   ═══════════════════════════════════════════════════════════ */

.landing-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 80px;
}

/* ─── Hero Buttons (Casino + Sport) ─── */
.landing-hero-buttons {
  display: flex;
  gap: 12px;
  padding: 12px 10px;
}

.landing-hero-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 7px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.landing-hero-btn:active {
  transform: scale(0.97);
}
@media (hover: hover) {
  .landing-hero-btn:hover { opacity: 0.9; }
}

.landing-hero-btn-img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.landing-hero-btn-casino {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.landing-hero-btn-sport {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

/* ─── Top Leagues (2 rows, horizontal scroll) ─── */
.landing-top-leagues {
  padding: 8px 0 3px;
  background-color: var(--bg-primary);
}
.landing-top-leagues-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  padding: 0 10px;
  max-height: 104px; /* 2 rows: ~48px each + 8px gap */
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.landing-top-leagues-scroll::-webkit-scrollbar {
  display: none;
}
.landing-top-leagues .mobile-top-league-card {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  align-items: flex-start !important;
  width: 115px;
  min-width: 115px !important;
  padding: 8px 10px !important;
  border-radius: 7px !important;
  background: var(--gradient-top-league);
  text-decoration: none;
  flex-shrink: 0;
}
.landing-top-leagues .mobile-top-league-card:active {
  opacity: 0.7;
}
.landing-top-leagues .mobile-top-league-icon {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 0 !important;
}
.landing-top-leagues .landing-league-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  align-items: flex-start;
}
.landing-top-leagues .mobile-top-league-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}
.landing-top-leagues .landing-league-sport {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
  line-height: 1.2;
}

/* ─── Top Events Section ─── */
.landing-top-events {
  padding: 8px 0;
}

.landing-section-title {
  font-family: 'Proxima Nova Cond', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 10px 4px;
  margin: 0;
}

/* ─── Sport Section ─── */
.landing-sport-section {
  margin-bottom: 8px;
}

.landing-sport-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 6px;
}

.landing-sport-icon {
  flex-shrink: 0;
  color: var(--accent-blue);
  color: var(--sport-icon-color, var(--accent-blue));
  display: flex;
  align-items: center;
}
.landing-sport-icon svg {
  color: inherit;
}

.landing-sport-name {
  font-family: 'Proxima Nova Cond', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ─── Horizontal Scroll Container ─── */
.landing-sport-scroll {
  display: flex;
  gap: 12px;
  padding: 6px 20px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.landing-sport-scroll::-webkit-scrollbar {
  display: none;
}

/* ─── Event Card ─── */
.landing-event-card {
  flex-shrink: 0;
  width: 340px;
  min-height: 150px;
  background: var(--gradient-fixture);
  border-radius: 10px;
  padding: 10px 14px 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  scroll-snap-align: start;
}
.landing-event-card:active {
  transform: scale(0.98);
}
@media (hover: hover) {
  .landing-event-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
}

/* Mobile: almost full width */
@media (max-width: 768px) {
  .landing-event-card {
    width: calc(100vw - 68px);
    min-width: 280px;
  }
}

/* ─── Card: League Header ─── */
.landing-card-league {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.landing-card-league-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

.landing-card-league-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  font-family: 'Proxima Nova Cond', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1;
}

.landing-card-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  background: var(--color-live, #ef4444);
  flex-shrink: 0;
  animation: landing-pulse 1.5s ease-in-out infinite;
}

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

/* ─── Card: Body (Teams + Score) ─── */
.landing-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.landing-card-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1 1;
  min-width: 0;
}

.landing-card-team-icon {
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--white-10);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Team name + red card inline */
.landing-card-team-name-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
}

.landing-card-team-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Proxima Nova Cond', sans-serif;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.landing-card-red {
  background: #ef4444;
  background: var(--color-live, #ef4444);
  color: #fff;
  font-size: 9px;
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Card: Center (Score or Time) ─── */
.landing-card-center {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 80px;
  min-height: 60px;
}

.landing-card-score {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--text-primary);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
}

.landing-card-score-val {
  min-width: 22px;
  text-align: center;
}

.landing-card-score-sep {
  width: 12px;
  text-align: center;
  opacity: 0.5;
}

.landing-card-time {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 1.2;
}
.landing-card-date {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ─── Card: Live Status (copied from ms-match-status in MatchStatsModal) ─── */
.landing-card-status {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 16px;
  white-space: nowrap;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.landing-card-status-live {
  color: #ef4444;
  color: var(--red, #ef4444);
}

/* Force ALL children of live status to inherit styles */
.landing-card-status-live span,
.landing-card-status-live .landing-timer,
.landing-card-status-live .card-timer,
.landing-card-status-live .basketball-timer,
.landing-card-status-live .hockey-timer,
.landing-card-status-live .basketball-timer *,
.landing-card-status-live .hockey-timer *,
.landing-card-status-live .card-timer * {
  color: #ef4444 !important;
  color: var(--red, #ef4444) !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 16px;
  white-space: nowrap;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ─── Card: Odds ─── */
.landing-card-odds {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.landing-card-odd {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  background: var(--white-05, rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  border: 1px solid var(--white-10, rgba(255,255,255,0.1));
  border-radius: 8px;
  padding: 6px 4px;
  transition: background 0.15s;
}
@media (hover: hover) {
  .landing-card-odd:hover {
    background: rgba(255,255,255,0.1);
    background: var(--white-10, rgba(255,255,255,0.1));
  }
}

.landing-card-odd-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.landing-card-odd-val {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ─── Empty State ─── */
.landing-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
  font-size: 14px;
}

/* ─── Desktop adjustments ─── */
@media (min-width: 769px) {
  .landing-hero-buttons {
    padding: 12px 10px;
    gap: 12px;
  }
  .landing-hero-btn {
    padding: 6px;
    border-radius: 7px;
  }
  .landing-event-card {
    width: 320px;
  }
  .landing-sport-scroll {
    padding: 6px 20px 12px;
    scroll-padding-left: 20px;
  }
  .landing-section-title {
    padding: 12px 20px 4px;
  }
  .landing-sport-header {
    padding: 10px 20px 6px;
  }
  .landing-top-leagues-scroll {
    padding: 0 10px;
  }
}

