* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0%;
  padding: 0%;
  background: #0f1621;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: #000;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.navbar-brand {
  color: white !important;
  font-weight: 700;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 14px
}

.main-wrapper {
  flex: 1;
  padding-top: 30px;
}

.container-main {
  max-width: 1350px
}

.page-date {
  color: #ffffff;
  font-weight: 600;
  margin: 10px 0 14px;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #ffffff;
}

.league-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 20px;
}

.league-title img {
  width: 36px
}

.match-card {
  background: #1b4251;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 7px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.match-card:hover {
  background-color: #235d72;
}

.match-card {
  position: relative;
  overflow: hidden;
}

.match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.league-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #235d72;
  color: white;
  padding: 6px 14px 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;

}

.league-badge img {
  width: 14px
}

.match-date {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 12px;
  color: #aaa;
  margin-top: 7px;
  color: white;
  font-weight: 300;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 150px;
  align-items: center;
}

.team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.team img {
  width: 26px;
  height: 26px
}

.vs {
  text-align: center;
  color: #aaa;
  font-size: 13px
}

.match-info {
  text-align: right;
  color: white;
}

.match-time {
  font-size: 13px;
  color: white;
  font-weight: 600;
  margin-top: 7px;
}

.countdown {
  font-size: 12px;
  margin-top: 3px;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.et-card {
  background: #000;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
}

.et-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: white;
}

.et-time {
  font-size: 36px;
  font-weight: 800;
  margin: 6px 0;
}

.et-date {
  font-size: 14px;
  color: #aaa
}

.et-footer {
  font-size: 12px;
  color: white;
}

.article-card {
  background: #000;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 14px;
}

.article-card h5 {
  font-size: 15px;
  font-weight: 700;
}

.article-card p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
}

.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 30px;
}

.site-footer .footer-content p {
  margin: 5px 0;
  font-weight: 600;
}

.site-footer strong {
  font-size: 16px;
  color: white;
  font-weight: 600;
}

.search-box {
  width: 100%;
  position: relative;
  margin-bottom: 16px;
}

.search-box input {
  width: 100%;
  background: #121826;
  border: 1px solid #1f2a3a;
  color: #ffffff;
  padding: 12px 12px 12px 42px;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: 0.25s;
}

.search-box input::placeholder {
  color: #8fa4b8;
}

.search-box input:focus {
  border-color: #00e5ff;
}

.search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.sidebar-discord {
  width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}

.discord-top-img a {
  display: block;
}

.discord-top-img img {
  width: 100%;
  display: block;
  transition: all 0.35s ease;
}

.discord-top-img:hover img {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.discord-content {
  padding: 14px;
  text-align: center;
}

.discord-content h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-align: start;
}

.discord-content p {
  font-size: 13px;
  color: #f2dede;
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: start;
}

.discord-btn {
  display: block;
  width: 100%;
  background: #5865F2;
  color: #ffffff;
  padding: 9px 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
}

.discord-btn:hover {
  background: #6d7bff;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.6);
}

.no-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1f2a;
  color: #e3e3e3;
  padding: 40px 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;

}

.no-matches svg {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  fill: #e3e3e3;
}

.no-matches h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.no-matches .query-text {
  color: #00e5ff;
}

.no-matches p {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.5;
}

.no-league {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1f2a;
  color: #e3e3e3;
  padding: 40px 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.no-league svg {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  fill: #e3e3e3;
}

.no-league h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.no-league .query-text {
  color: #00e5ff;
}

.no-league p {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .match-card {
    padding: 14px;
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .match-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 8px;
  }

  .league-badge {
    padding: 4px 10px;
    font-size: 10px;
    border-bottom-right-radius: 12px;
  }

  .league-badge img {
    width: 12px;
    height: 12px;
  }

  .match-date {
    top: 6px;
    right: 12px;
    font-size: 10px;
  }

  .match-row {
    grid-template-columns: 1fr 40px 1fr 100px;
    gap: 5px;
  }

  .team {
    font-size: 13px;
  }

  .team img {
    width: 22px;
    height: 22px;
  }

  .vs {
    font-size: 12px;
  }

  .match-info {
    text-align: right;
    font-size: 12px;
  }

  .match-time {
    font-size: 12px;
    margin-top: 4px;
  }

  .countdown {
    font-size: 11px;
    margin-top: 2px;
  }

  .live-badge {
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 12px;
    margin-top: 3px;
  }

  .live-dot {
    width: 6px;
    height: 6px;
  }
}

.ad-container {
  width: 100%;
  overflow: hidden;
  text-align: start;
}

.ad-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 90px !important;
  border: 0;
  margin-bottom: 10px;
}

@media (min-width: 769px) {
  .ad-container {
    display: flex;
    justify-content: start;
  }

  .ad-container iframe {
    width: 728px !important;
    height: 90px !important;
  }
}

.fixed-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  justify-content: center;
  z-index: 9999;
}

.fixed-ad iframe {
  width: 100% !important;
  height: 90px !important;
  border: 0;
}

@media (min-width: 769px) {
  .fixed-ad iframe {
    width: 728px !important;
    height: 90px !important;
  }
}

.close-ad {
  position: absolute;
  top: -15px;
  right: 10px;
  border-radius: 30%;
  cursor: pointer;
  z-index: 10000;
}

.close-ad img {
  width: 22px;
  height: 22px;
}

.sidebar-ad {
  width: 500px;
  max-width: 100%;
  margin-bottom: 20px;

  background-color: #000;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

.ad-160x300 {
  height: 300px;
  display: flex;
  justify-content: start;
}

.ad-160x300 iframe {
  width: 300px !important;
  height: 250px !important;
  border: 0;
}

@media (max-width: 768px) {
  .sidebar-ad {
    margin: 0 auto 20px;
  }
}
.stream-banner {
  background: #000;
    color: #ffffff;
    padding: 12px 15px;
    text-align: start;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    line-height: 1.5;
}

.stream-banner a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.stream-banner a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.note-text {
    font-size: 13px;
    opacity: 0.95;
}

.bookmark-btn {
    margin-top: 8px;
    background: #ffffff;
    color: #cc0000;
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
}

.bookmark-btn:hover {
    background: #f2f2f2;
}

 .backlinks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

 .backlinks-container  a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    font-weight: 600;
    margin-top: 5px;
}

 .backlinks-container  a:hover {
    color: #63b3ed;
    text-decoration: underline;
}

  .container7 {
            max-width: 900px;
            margin: 20px auto;
        }


        article h2 {
            color: white;
            margin-bottom: 15px;
        }

        article p {
            margin-bottom: 15px;
        }

        article a {
            color: white;
            text-decoration: none;
        }

        article a:hover {
            text-decoration: underline;
        }