/* ========================================================= */
/*                     GLOBAL LAYOUT                         */
/* ========================================================= */

body {
  background: radial-gradient(circle at top, #151C2F 0, #050814 45%, #000000 100%);
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: #4fd1c5;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #9decf5;
  text-decoration: none;
}

/* ========================================================= */
/*                          NAVBAR                           */
/* ========================================================= */

.navbar-custom {
  background: rgba(5, 10, 30, 0.98);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  z-index: 9999;
}

.navbar-custom .navbar-brand {
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  text-transform: uppercase;
}

.navbar-custom .navbar-brand span {
  color: #4fd1c5;
}

.navbar-custom .navbar-nav .nav-link {
  color: #e2e8f0;
  font-size: .95rem;
  margin: 0 .5rem;
  transition: .2s ease;
}

.navbar-custom .nav-link:hover {
  color: #fff;
}

.navbar-custom .nav-link.active {
  color: #4fd1c5;
}

/* Dropdown */
.dropdown-menu {
  background-color: #050814;
  border: 1px solid rgba(148,163,184,0.4);
  border-radius: .75rem;
}

.dropdown-item {
  color: #e2e8f0;
  font-size: .9rem;
}

.dropdown-item:hover {
  background: rgba(148,163,184,0.12);
  color: #fff;
}

/* ========================================================= */
/*                          CARDS                            */
/* ========================================================= */

.live-card {
  background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,118,110,0.25));
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: 0 20px 40px rgba(15,23,42,0.65);
}

.live-card:hover {
  border-color: #4fd1c5;
  transform: translateY(-3px);
}

.live-home-copy {
  background: rgba(15,23,42,0.95);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(148,163,184,0.5);
}

/* ========================================================= */
/*                          FOOTER                           */
/* ========================================================= */

footer {
  background: #020617;
  color: #94a3b8;
  font-size: .85rem;
  padding: 1rem;
  border-top: 1px solid rgba(148,163,184,0.35);
}

footer a:hover {
  color: #fff;
}

/* ========================================================= */
/*                  MATCH LIST PAGE STYLING                  */
/* ========================================================= */

.matches-section {
  max-width: 900px;
  margin: 1.5rem auto;
}

.matches-table {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
}

.matches-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;      /* ← FIX */
}

.match-row {
  display: grid;
  grid-template-columns: 70px 40px 1fr;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: .25s ease;
}

.match-row:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.match-time {
  font-weight: 600;
  color: #4fd1c5;
}

.match-logo img {
  display: block;
  width: 32px;
  height: auto;
}

.match-teams {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.match-league {
  font-size: .85rem;
  color: #cbd5e1;
}

@media (max-width: 650px) {
  .match-row {
    grid-template-columns: 55px 35px 1fr;
    padding: 0.8rem;
  }
}

/* ========================================================= */
/*                    MATCH PAGE (FAKE PLAYER)               */
/* ========================================================= */

.match-wrapper {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: rgba(10,15,30,0.65);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.45);
  text-align: center;
}

.match-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.match-date-time {
  font-size: 1.05rem;
  color: #4fd1c5;
  margin-bottom: 1.5rem;
}

/* Fake Player */
.fake-player-box {
  width: 100%;
  height: 420px;
  border-radius: 1rem;
  background: radial-gradient(circle at top, #0b1220 0, #050814 60%, #000 100%);
  border: 1px solid rgba(79,209,197,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s ease;
}

.fake-player-box:hover {
  transform: scale(1.01);
  border-color: #4fd1c5;
}

.fake-player-box svg {
  width: 65px;
  fill: #cbd5e1;
  opacity: .9;
}

.fake-player-box:hover svg {
  fill: #fff;
  opacity: 1;
}

.match-disclaimer {
  margin-top: 1rem;
  font-size: .85rem;
  color: #94a3b8;
}

.match-back {
  margin-top: 1.2rem;
  display: inline-block;
  font-size: 0.95rem;
  color: #4fd1c5;
}

.match-back:hover {
  color: #9decf5;
}

/* Mobile */
@media (max-width: 600px) {
  .match-wrapper { padding: 1.4rem; }
  .match-title { font-size: 1rem; }
  .fake-player-box { height: 240px; }
}

