/* ===== Mobile-first ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  color: #c9d1d9;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Reminder Banner */
.top-reminder {
  background: linear-gradient(90deg, #ff6b6b, #ff4757);
  color: white;
  padding: 12px 15px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.top-reminder button {
  background: rgba(0,0,0,0.3);
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header */
.header {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,107,107,0.15);
}

.header .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff6b6b;
  text-shadow: 0 0 15px rgba(255,107,107,0.5);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.nav a {
  color: #c9d1d9;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ff6b6b;
}

/* Hero / Title */
.main-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 40px 0 30px;
  color: #ff6b6b;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255,107,107,0.4);
}

/* Matches Section */
.matches-section {
  margin: 40px 0;
}

.matches-section h2 {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 30px;
  color: white;
}

.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Match Card */
.match-card {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,107,107,0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.match-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(255,107,107,0.25);
  border-color: #ff6b6b;
}

.card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
}

.match-card:hover .card-image img {
  transform: scale(1.08);
}

.card-body {
  padding: 18px;
  text-align: center;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: white;
}

.card-category {
  font-size: 0.95rem;
  color: #8b949e;
  margin-bottom: 15px;
}

.watch-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff6b6b;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

.watch-button:hover {
  background: #ff4757;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,107,107,0.6);
}

/* Loading & Messages */
.loading-spinner, .no-data, .error-msg {
  text-align: center;
  padding: 80px 20px;
  font-size: 1.3rem;
  color: #8b949e;
}

.error-msg {
  color: #ff6b6b;
}

/* Footer */
.footer {
  background: rgba(13,17,23,0.95);
  padding: 50px 0 40px;
  margin-top: 80px;
  text-align: center;
  border-top: 1px solid rgba(255,107,107,0.1);
}

.footer p {
  font-size: 1.1rem;
  color: #8b949e;
}

.social a {
  color: #ff6b6b;
  margin: 0 15px;
  font-size: 1.4rem;
  transition: transform 0.3s;
}

.social a:hover {
  transform: scale(1.2);
}

/* Responsive Media Queries */
@media (min-width: 576px) {
  .matches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-title {
    font-size: 3rem;
  }

  .header .container {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .matches-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-title {
    font-size: 3.8rem;
  }

  .nav {
    gap: 30px;
  }

  .nav a {
    font-size: 1.1rem;
  }
}

@media (min-width: 1200px) {
  .matches-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}