/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&family=Roboto:wght@400;700&display=swap');

/* Global Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #2e2f33;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* Header & Navigation */
header {
  background: #0a0a0a;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

header a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  transition: 0.2s;
}

header a:hover {
  background: #fff;
  color: #000;
}

/* Container & Layout */
.container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 30px;
  flex-wrap: wrap;
}

.main {
  flex: 3;
  min-width: 0;
}

.sidebar {
  flex: 1;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
}

.sidebar h3 {
  font-size: 1.2rem;
  margin-top: 0;
  color: #4ecdc4;
}

.sidebar p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

/* Headings */
h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  padding: 10px 0;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
}

h2 {
  font-size: 1.4rem;
  margin: 30px 0 10px;
  border-bottom: 1px solid #aaa;
  padding-bottom: 5px;
  color: #4ecdc4;
  position: relative;
  padding-left: 28px;
}

h2::before {
  /*content: '📅';*/
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
}

/* Cards (Event/League Strips) */
.card {
  background-color: #1e4e5f;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: white;
  transition: background 0.3s ease, transform 0.2s ease;
  animation: fadeInIndex 0.6s ease-in-out;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.card img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 5px;
  background: transparent;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: bold;
  font-size: 1rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #ddd;
}

.card:hover {
  background-color: #2a6b7e;
  transform: scale(1.01);
}

.btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  background: #ddd;
}

.btn-bookmark {
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
  display: block;
}

.btn-bookmark:hover {
  background: linear-gradient(to right, #ff4b2b, #ff416c);
}

/* Animations */
@keyframes fadeInIndex {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Watch / Streaming Player View */
.player-container {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 15px;
}

.player-box {
  background: #1a2533;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.link-selector {
  text-align: center;
  margin-bottom: 15px;
}

.link-selector a {
  background: #fff;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin: 4px 6px;
  display: inline-block;
  transition: 0.2s;
}

.link-selector a.active,
.link-selector a:hover {
  background: #00e0ff;
  color: #000;
}

iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 6px;
  background: #000;
}

.team-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #121212;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 30px auto 20px;
}

.home-team-logo,
.away-team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
}

.home-team-logo img,
.away-team-logo img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.home-team-logo span,
.away-team-logo span {
  color: #111;
  font-size: 16px;
  font-weight: 700;
  margin-left: 10px;
}

.placeholder-logo {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
}

.match-title h1 {
  color: #fff;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  border: none;
  padding: 0;
}

.seo-box {
  background: #101010;
  padding: 25px 30px;
  border: 1px solid #333;
  border-radius: 12px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.seo-content {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.7;
}

.seo-content h2 {
  color: #fff;
  font-size: 1.3rem;
  margin: 28px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #00e0ff;
  border-bottom: none;
}

.seo-content h2::before {
  content: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 0 10px;
  }
  .team-logos {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  .card-left {
    gap: 12px;
  }
  iframe {
    height: 300px;
  }
}