body {
  margin: 0;
  background-color: #0e1621;
  color: white;
  font-family: 'Inter', sans-serif;
}

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;
}

header a:hover {
  background: #fff;
  color: #000;
}

h1 {
  text-align: center;
  font-size: 1.6rem;
  margin: 20px 0 5px;
}

.event-info {
  text-align: center;
  margin-bottom: 20px;
  color: #bbb;
}

.event-info img {
  height: 30px;
  vertical-align: middle;
  margin-right: 10px;
  background: #fff;
  border-radius: 5px;
}

.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: 0 6px;
  display: inline-block;
}

.link-selector a:hover {
  background: #ddd;
}

iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 6px;
}

@media (max-width: 768px) {
  iframe {
    height: 300px;
  }
}

.seo-box {
  background: #101010;
  padding: 25px 30px;
  border: 1px solid #333;
  border-radius: 12px;
  max-width: 900px;
  margin: 60px 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;
}

.seo-content p {
  margin: 10px 0 18px;
}

.seo-meta {
  color: #bbb;
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 25px;
  padding-top: 10px;
  border-top: 1px dashed #444;
}

.main-toolbar {
  background-color: #0a0a0a;
  border-bottom: 1px solid #222;
  padding: 10px 20px;
}

.toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toolbar-logo {
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.toolbar-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.toolbar-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.toolbar-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.2s;
}

.toolbar-links a:hover {
  background-color: #00ffd5;
  color: #000;
}

@media screen and (max-width: 768px) {
  .toolbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .toolbar-toggle {
    display: block;
  }

  .toolbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .toolbar-links.show {
    display: flex;
  }

  .toolbar-links a {
    width: 100%;
    padding: 10px 15px;
  }
}

.team-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #121212;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: auto;
  margin-top: 30px;
}

.home-team-logo,
.away-team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease-in-out;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
}

.home-team-logo img,
.away-team-logo img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.home-team-logo span,
.away-team-logo span {
  color: #bbb;
  font-size: 18px;
}

.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: 30px 0 10px;
}

.match-title div {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 50%;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .team-logos {
    flex-direction: column;
    padding: 15px;
    justify-content: center;
    align-items: center;
  }

  .home-team-logo,
  .away-team-logo {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .home-team-logo img,
  .away-team-logo img {
    width: 40px;
    height: 40px;
  }

  .match-title h1 {
    font-size: 10px;
    margin: 20px 0 10px;
  }
}

@media (max-width: 480px) {
  .home-team-logo img,
  .away-team-logo img {
    width: 35px;
    height: 35px;
  }
}

@media (min-width: 769px) {
  .team-logos {
    justify-content: space-between;
  }
}

.iframe-placeholder {
  height: 500px;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  color: #aaa;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #333;
  border-top: 5px solid #00e0ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.placeholder-logo {
	width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
}

.seo-box.match-article {
  line-height: 1.7;
  font-size: 16px;
  color: #eee;
}

.seo-box.match-article h2 {
  font-size: 24px;
  color: #ffcc00;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.seo-box.match-article a {
  color: #66ccff;
  text-decoration: underline;
}

.seo-box.match-article a:hover {
  color: #fff;
}

.seo-box.match-article-content img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}


@media (max-width: 768px) {
  .event-info {
    font-size: 12px;
    padding: 8px 10px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .event-info img {
    height: 20px;
    margin-right: 6px;
  }

  .event-info div {
    height: 2px;
    width: 40%;
  }
}
