body {
  background-color: #0a0c10;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, sans-serif;
}

.glass-card {
  background: rgba(20, 23, 30, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.theme-mg:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 10px 40px -10px rgba(245, 166, 35, 0.2);
}
.theme-kaiyun {
  background: linear-gradient(
    145deg,
    rgba(20, 23, 30, 0.8) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
}
.theme-kaiyun:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2);
}
.theme-leyu {
  background: linear-gradient(
    145deg,
    rgba(20, 23, 30, 0.8) 0%,
    rgba(6, 182, 212, 0.05) 100%
  );
}
.theme-leyu:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 40px -10px rgba(6, 182, 212, 0.2);
}
.theme-hth {
  background: linear-gradient(
    145deg,
    rgba(20, 23, 30, 0.8) 0%,
    rgba(217, 119, 6, 0.05) 100%
  );
}
.theme-hth:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 10px 40px -10px rgba(217, 119, 6, 0.2);
}
.theme-jiuyou {
  background: linear-gradient(
    145deg,
    rgba(20, 23, 30, 0.8) 0%,
    rgba(168, 85, 247, 0.05) 100%
  );
}
.theme-jiuyou:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, #f5a623 0%, #d48700 100%);
  color: #111;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f5a623 100%);
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
}

.vip-tag {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bg-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(245, 166, 35, 0.1);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
.live-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse-red 2s infinite;
}

@keyframes border-glow {
  0% {
    border-color: rgba(245, 166, 35, 0.3);
  }
  50% {
    border-color: rgba(245, 166, 35, 1);
  }
  100% {
    border-color: rgba(245, 166, 35, 0.3);
  }
}
.modal-vip-btn {
  animation: border-glow 2s infinite;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.promo-track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}
.promo-card {
  position: relative;
  min-width: 78%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 220px;
  cursor: pointer;
  scroll-snap-align: center;
  background: #111318;
  transition: transform 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.promo-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.promo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 11, 16, 0.15) 0%,
    rgba(9, 11, 16, 0.82) 65%,
    rgba(9, 11, 16, 0.96) 100%
  );
}
.promo-card__content {
  position: relative;
  z-index: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
}
.promo-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 16, 0.55);
  margin-bottom: auto;
}
.promo-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.promo-card__subtitle {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.92);
  margin-top: 0.45rem;
}
.promo-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}
.promo-card__tag {
  font-size: 0.75rem;
  color: #fbbf24;
  font-weight: 700;
}
.promo-card__cta {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 700;
}

@media (min-width: 768px) {
  .promo-card {
    min-width: 0;
    min-height: 260px;
  }
  .promo-card__content {
    min-height: 260px;
  }
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.04) 8%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.04) 33%
  );
  background-size: 200% 100%;
  animation: promo-shimmer 1.5s linear infinite;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.promo-card.is-ready::before {
  opacity: 0;
}
.promo-card__bg {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.promo-card.is-ready .promo-card__bg {
  opacity: 1;
}
@keyframes promo-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.promo-track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0 0.1rem 0.35rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.promo-track::-webkit-scrollbar {
  display: none;
}
.promo-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.promo-card {
  scroll-snap-align: center;
  flex: 0 0 82%;
}
.promo-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.promo-indicator {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  transition: all 0.28s ease;
}
.promo-indicator.is-active {
  width: 22px;
  background: linear-gradient(90deg, #f5a623, #fbbf24);
}
@media (min-width: 640px) and (max-width: 767px) {
  .promo-card {
    flex-basis: 58%;
  }
}
@media (min-width: 768px) {
  .promo-indicators {
    display: none;
  }
}

.league-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
}

.match-hot-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  padding: 0.18rem 0.45rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #ef4444 100%);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.28);
}

.league-default {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
}
.league-serie-a {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}
.league-eredi {
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.35);
}
.league-bundesliga {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}
.league-ligue1 {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.35);
}
.league-laliga {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}
.league-valorant {
  background: rgba(236, 72, 153, 0.14);
  color: #f9a8d4;
  border-color: rgba(236, 72, 153, 0.35);
}
.league-cct {
  background: rgba(20, 184, 166, 0.14);
  color: #99f6e4;
  border-color: rgba(20, 184, 166, 0.35);
}
