* {
  box-sizing: border-box;
}
body,
html {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: #222;
  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: #b91c1c !important;
  font-weight: 700;
  font-size: 28px;
}
.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
}
.nav-link:hover {
  text-decoration: underline;
}
.main-wrapper {
  flex: 1;
  padding-top: 45px;
}
.container-main {
  max-width: 1250px;
}
.page-date {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 10px;
}
.page-date::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #999, transparent);
}
.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: #333;
  border-radius: 7px;
  padding: 20px;
  margin-bottom: 7px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  color: #fff;
}
.match-card:hover {
  background: #444;
}
.match-card {
  position: relative;
  overflow: hidden;
}
.match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #fff;
}
.league-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #fff;
  padding: 6px 14px 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 1px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}
.league-badge img {
  width: 15px;
}
.match-date {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 12px;
  color: #fff;
  margin-top: 7px;
  font-weight: 400;
}
.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;
  color: #fff;
}
.team img {
  width: 26px;
  height: 26px;
}
.vs {
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.match-info {
  text-align: right;
  color: #fff;
}
.match-time {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  margin-top: 7px;
}
.countdown {
  font-size: 12px;
  margin-top: 3px;
}
.sidebar {
  position: sticky;
  top: 100px;
}
.et-card {
  background: #000;
  border-radius: 7px;
  padding: 18px;
  margin-bottom: 14px;
}
.et-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}
.et-time {
  font-size: 36px;
  font-weight: 800;
  margin: 6px 0;
  color: #fff;
}
.et-date {
  font-size: 14px;
  color: #fff;
}
.et-footer {
  font-size: 12px;
  color: #fff;
}
.et-match-time {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: 1px solid #444;
  background: #333;
  padding: 6px 10px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.et-match-time svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: #b91c1c;
}
.search-box {
  width: 100%;
  position: relative;
  margin-bottom: 16px;
  color: #fff;
}
.search-box input {
  width: 100%;
  background: #333;
  border: 1px solid #444;
  color: #fff;
  padding: 12px 12px 12px 42px;
  border-radius: 4px;
  font-size: 14px;
  outline: 0;
  transition: 0.25s;
}
.search-box input::placeholder {
  color: #fff;
}
.search-box input:focus {
  border-color: #fff;
}
.search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #fff;
}
.sidebar-discord {
  width: 100%;
  overflow: hidden;
  margin-bottom: 18px;
}
.no-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px dashed #444;
  color: #fff;
  padding: 40px 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
  font-weight: 600;
}
.no-matches svg {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  fill: #fff;
}
.no-matches h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}
.no-matches .query-text {
  color: #fff;
}
.no-matches p {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}
.no-league {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px dashed #444;
  color: #fff;
  padding: 40px 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}
.no-league svg {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  fill: #fff;
}
.no-league h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}
.no-league .query-text {
  color: #fff;
}
.no-league p {
  font-size: 14px;
  color: #fff;
  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;
  }
}
.container7 {
  background-color: #000;
  max-width: 900px;
  margin: 20px auto;
  padding: 30px 25px;
  border-radius: 7px;
  color: #fff;
  box-sizing: border-box;
}
h2 {
  margin-top: 30px;
  color: #b91c1c;
}
p {
  color: #ccc;
}
.box {
  border: 1px solid #222;
  padding: 15px;
  border-radius: 7px;
  background: #161616;
  transition: 0.3s;
}
.box:hover {
  transform: translateY(-5px);
  border-color: #444;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #161616;
  border-radius: 10px;
  overflow: hidden;
}
th {
  background: #1f1f1f;
  padding: 12px;
  text-align: left;
}
td {
  padding: 12px;
  border-top: 1px solid #222;
}
tr:hover {
  background: #222;
}
.faq-item {
  border-bottom: 1px solid #222;
  cursor: pointer;
  padding: 15px;
}
.faq-question {
  font-weight: 700;
}
.faq-answer {
  display: none;
  margin-top: 10px;
  color: #aaa;
}
.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  padding: 5px;
}
.left-ad {
  left: 10px;
}
.right-ad {
  right: 10px;
}
.close-ad {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-size: 16px;
  line-height: 25px;
}
@media only screen and (max-width: 768px) {
  .side-ad {
    position: relative;
    top: 0;
    transform: none;
    margin: 10px auto;
    display: block;
  }
  .left-ad,
  .right-ad {
    left: auto;
    right: auto;
  }
}
#footerAdWrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  transition: transform 0.4s ease;
}
.footerAdInner {
  max-width: 728px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footerClose {
  position: absolute;
  right: 10px;
  top: 6px;
  width: 28px;
  height: 28px;
  background: #e50914;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}
@media (max-width: 768px) {
  #footerAdWrap {
    padding: 8px 0;
  }
  .footerAdInner {
    max-width: 100%;
  }
  .footerAdInner iframe {
    width: 100% !important;
    height: 90px !important;
  }
  .footerClose {
    right: 6px;
    top: -12px;
    width: 26px;
    height: 26px;
    font-size: 18px;
  }
}
.stream-banner {
  padding: 20px;
  border-radius: 7px;
  background-color: #b91c1c;
  max-width: 900px;
  margin: 0 auto;
}
.stream-banner h1 {
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  color: white;
}
.stream-banner p {
  color: white;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 600;
}
.site-footer {
  background: #000;
  border-top: 1px solid #333;
  color: #e5e7eb;
  text-align: center;
  padding: 25px 20px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 15px;
  font-family: "Segoe UI", Arial, sans-serif;
}
.site-footer .footer-content {
  max-width: 900px;
  margin: auto;
}
.footer-site-name {
  margin: 8px 0;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.footer-site-name a {
  color: inherit;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}
.footer-site-name a:hover {
  text-decoration: underline;
}
.footer-disclaimer {
  margin: 12px 0;
  font-weight: 500;
  color: #d1d5db;
  text-align: left;
}
.footer-links {
  margin-top: 15px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}
.footer-links a:hover {
  text-decoration: underline;
}
.discord-card {
  width: 100%;
  background: #000;
  border-radius: 12px;
  padding: 12px 18px;
  margin: 0 0 20px 0;
  overflow: hidden;
}

.discord-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  width: 100%;
}

.discord-icon {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.discord-text {
  font-size: 52px;
  font-weight: 700;
  color: #5865f2;
  line-height: 1;
  margin: 0;
  padding: 0;
}
