/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0a0a0a;
  color: white;
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* ===== HEADER ===== */
.main-header {
  background: #c8102e;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 0 15px rgba(200,16,46,0.5);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 55px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* ===== LIVE STREAM ===== */
.live-section {
  padding: 40px 20px;
}

.live-box {
  width: 100%;
  max-width: 900px;
  margin: auto;
  background: #111;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 20px #0033ff88;
}

#streamFrame {
  width: 100%;
  height: 480px;
  border-radius: 10px;
  background: black;
}

.stream-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.stream-buttons button {
  padding: 12px 20px;
  font-size: 16px;
  background: #38003c;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.stream-buttons button:hover {
  background: #5d0070;
}

.error-msg {
  margin-top: 15px;
  text-align: center;
  color: #ff5555;
  font-size: 17px;
}

/* ===== MATCHES SECTION ===== */
.matches-section {
  padding: 40px 20px;
}

.match-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.match-card {
  background: #111;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(200,16,46,0.4);
  transition: 0.3s;
}

.match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.match-title {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #c8102e;
}

.match-info {
  text-align: center;
  font-size: 16px;
  opacity: 0.9;
}

/* ===== STANDINGS ===== */
.standings-section {
  padding: 40px 20px;
}

.standings-table {
  width: 95%;
  max-width: 900px;
  margin: auto;
  border-collapse: collapse;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.standings-table th, .standings-table td {
  padding: 15px;
  border-bottom: 1px solid #333;
  text-align: center;
}

.standings-table th {
  background: #c8102e;
  font-size: 18px;
}

/* ===== FOOTER ===== */
footer {
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  background: #111;
  color: #888;
}
