* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oxanium', cursive
}

body {
    background: #000;
    color: #eaeaea;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

header {
    background: #111;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 999
}

.header-inner {
    max-width: 1450px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

header .logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;

}

.filters {
    background: #111;
    border-bottom: 1px solid #222;
}

.filters-inner {
    max-width: 1450px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto
}

.filters button {
    background: #222;
    color: #ccc;
    border: 1px solid #333;
    padding: 7px 18px;
    border-radius: 30px;
    margin-top: 5px;
    white-space: nowrap
}

.filters button.active {
    background: white;
    color: #000;
    font-weight: 700
}

.main-content {
    flex: 1
}

.site-container {
    max-width: 1450px;
    margin: auto;
    padding: 20px
}

.search-wrap {
    background: #111;
    margin-bottom: 18px;
}

.search-box input {
    background: #111;
    color: white;
    border-radius: 10px;
    width: 100%;
    padding: 12px 18px 12px 44px;
    border: none;
    outline: none;
    font-size: 15px;
}

.search-box {
    border-radius: 5px;
    position: relative;
    width: 100%
}

.search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #777
}

.ad {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 8px
}

.ad-728 {
    height: 90px;
    margin-bottom: 18px
}

.ad-300 {
    height: 250px
}

.match {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 10px;
    transition: .25s;
    cursor: pointer
}

.match:hover {
    transform: scale(1.02);
}

.match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.league {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: white;
    ;
}

.league img {
    width: 22px
}

.time {
    font-size: 12px;
    color: #aaa;
}

.teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-weight: 600
}

.team img {
    width: 40px
}

.vs {
    background: white;
    color: #000;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px
}

.match-info {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #aaa
}

.sidebar-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px
}

.sidebar-box h5 {
    color: white;
    margin-bottom: 10px
}

footer {
    background: #111;
    border-top: 1px solid #222;
    padding: 16px;
    text-align: center;
    color: #777;
    font-size: 13px
}

@media(max-width:768px) {
    .logo {
        font-size: 22px
    }

    .team img {
        width: 34px
    }

    .vs {
        font-size: 12px
    }
}

.site-name {
    color: white;
    font-weight: 600;
    margin-bottom: 6px;

}

button#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

body.light-theme {
    background: #ffffff;
    color: #111111;
}


body.light-theme header {
    background: #f4f4f4;
    border-bottom: 1px solid #ccc;
    color: #111;
}


body.light-theme .logo {
    color: #111111;
}


body.light-theme .filters {
    background: #f8f8f8;
    border-bottom: 1px solid #ccc;
}


body.light-theme .filters button {
    background: #e0e0e0;
    color: #111;
    border: 1px solid #ccc;
}


body.light-theme .search-wrap {
    background: transparent;
}


body.light-theme .search-box svg {
    color: #111;
}


body.light-theme .search-box input {
    background: #f0f0f0;
    color: #111;
    border-radius: 10px;
    padding: 12px 18px 12px 44px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}


body.light-theme .ad {
    border: 1px dashed #ccc;
    background: #eaeaea;
    color: #111;
}


body.light-theme .match {
    background: #f9f9f9;
    border: 1px solid #ccc;
    color: #111;
}


body.light-theme .league {
    color: #111;
}

body.light-theme .time {
    color: #555;
}

body.light-theme .vs {
    background: #111;
    color: #fff;
}


body.light-theme .match-info {
    color: #555;
}


body.light-theme .sidebar-box {
    background: #f9f9f9;
    border: 1px solid #ccc;
    color: #111;
}


body.light-theme .sidebar-box h5 {
    color: #111;
}


body.light-theme .site-name {
    color: #111;
}


body.light-theme footer {
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    color: #111;
}

.ad-728 {
    height: 90px;
    width: 100%;
}

.ad-468 {
    height: 60px;
    width: 100%;
}

.ad-300 {
    height: 300px;
    width: 100%;
}

.ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
    padding: 0;
    text-align: center;
    border-radius: 8px;
    background: #000;
    color: #666;
    border: 1px dashed #333;
}

body.light-theme .ad {
    background: #eaeaea;
    color: #111;
    border: 1px dashed #ccc;
}

.ad-728 {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.ad-468 {
    width: 100%;
    max-width: 468px;
    height: 60px;
}

.ad iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

.ad-600 {
    width: 100%;
    max-width: 468px;
    height: 600px;
}

.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  z-index: 9999;
}

#leftAd { left: 10px; }
#rightAd { right: 10px; }


body.light-theme .ad {
  background: #eaeaea;
  color: #111;
  border: 1px dashed #ccc;
}

.ad-320 {
  width: 100%;
  max-width: 300px;
  height: 250px;
}

.ad iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.ad-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.ad-close img {
  width: 100%;
  height: 100%;
}


.footer-ad {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 728px;
    height: 90px;
    background: #000;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,.6);
}

.footer-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg,#ff0000,#ff7a00);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .footer-ad {
        width: 100%;       
        height: auto;     
        padding: 5px 0;    
        border-radius: 0;  
    }

    .footer-ad iframe {
        width: 100%;       
        height: 90px;     
    }

    .footer-ad .footer-close {
        top: 4px;
        right: 4px;
    }
}