:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  background:
    radial-gradient(circle at top right, rgba(139, 21, 56, 0.22), transparent 24rem),
    radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.12), transparent 28rem),
    #0f0f14;
}

* {
  font-family: "Cairo", sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #12121a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8b1538, #d4af37);
  border-radius: 999px;
}

.status-live,
.status-halftime,
.status-finished,
.status-upcoming {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.status-live {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.26);
}

.status-halftime {
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.26);
}

.status-finished {
  background: rgba(100, 116, 139, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.26);
}

.status-upcoming {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.26);
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse-live 1.6s infinite;
}

.match-card:hover .watch-overlay {
  opacity: 1;
}

.watch-overlay {
  opacity: 0;
  transition: opacity 180ms ease;
}

.card-glow {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

@keyframes pulse-live {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
