* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0%;
    padding: 0%;
    background: #24282d;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: #0b0d11;
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

.navbar-brand {
    color: white !important;
    font-weight: 600;
}

.nav-link {
    color: white !important;
    font-weight: 400;
    font-size: 14px
}

.nav-link:hover {
    text-decoration: underline;
}

.main-wrapper {
    flex: 1;
    padding-top: 30px;
}

.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, white, 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: #4a5f63;
    border-radius: 2px;
    padding: 20px;
    margin-bottom: 7px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    color: white;
}

.match-card:hover {
    background: #52686d;
}

.match-card {
    position: relative;
    overflow: hidden;
}

.match-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: white;
}

.league-badge {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0b0d11;
    color: white;
    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: white;
    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: white;
}

.team img {
    width: 26px;
    height: 26px
}

.vs {
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 16px
}

.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: #0b0d11;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 14px;
}

.et-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: white;
    font-weight: 600;
}

.et-time {
    font-size: 36px;
    font-weight: 800;
    margin: 6px 0;
    color: white;
}

.et-date {
    font-size: 14px;
    color: white;
}

.et-footer {
    font-size: 12px;
    color: white;
}

.et-match-time {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border: 1px solid #52686d;
    background: rgba(74, 95, 99, 0.85);
    padding: 6px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.et-match-time svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: #fff;
}

.article-card {
    background: #000;
    border-radius: 10px;
    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;
}

.search-box {
    width: 100%;
    position: relative;
    margin-bottom: 16px;
    color: white;
}

.search-box input {
    width: 100%;
    background: #0b0d11;
    border: 1px solid #1f2937;
    color: white;
    padding: 12px 12px 12px 42px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: 0.25s;
}

.search-box input::placeholder {
    color: white;
}

.search-box input:focus {
    border-color: white;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: white;
}

.sidebar-discord {
    width: 100%;
    overflow: hidden;
    margin-bottom: 18px;
}

.no-matches {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0b0d11;
    color: white;
    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: white;
}

.no-matches .query-text {
    color: white;
}

.no-matches p {
    font-size: 14px;
    line-height: 1.5;
    color: white;
}

.no-league {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0b0d11;
    color: white;
    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: white;
}

.no-league p {
    font-size: 14px;
    color: white;
    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 {
    max-width: 900px;
    margin: 20px auto;
}

article {
    background: #0b0d11;
    padding: 25px 20px;
    border-radius: 4px;
    color: white;
    line-height: 1.6;
}

article h1 {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.8rem;
}

article h2,
h1 {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.5rem;
}

article p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: white;
}

article a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

article a:hover {
    text-decoration: underline;
    color: black;
}

.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;
    }
}

.stream-banner {
    background: #0b0d11;
    color: #e5e7eb;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stream-banner a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.stream-banner a:hover {
    text-decoration: underline;
}

.note-text {
    font-size: 13px;
    color: #d1d5db;
}

.bookmark-btn {
    align-self: flex-start;
    margin-top: 4px;
    background: #ffffff;
    color: #000;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bookmark-btn:hover {
    background: #f2f2f2;
}

.hero-article {
    max-width: 1260px;
    margin: 10px auto;
    padding: 25px;
    text-align: start;
    color: #000;
    margin-bottom: -20px;
}

.hero-article h1 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: 18px;
    text-align: start;
}

.hero-article p {
    font-size: 16px;
    line-height: 1.7;
    color: white;
    margin-bottom: 14px;
    text-align: start;
}

#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: bold;
    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;
    }
}

.site-footer {
    background: #0b0d11;
    border-top: 1px solid #2a2f38;
    color: #e5e7eb;
    text-align: center;
    padding: 18px 14px;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.site-footer .footer-content {
    max-width: 900px;
    margin: auto;
}

.site-footer .footer-content p {
    margin: 6px 0;
    font-weight: 500;
    color: #d1d5db;
}

.site-footer strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.site-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .related-sites {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
}