* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
}


.logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

.search-box {
    width: 100%;
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #333;
    margin-bottom: -10px;
}

.search-box svg.icon {
    width: 20px;
    height: 20px;
    stroke: #fff;
    margin-right: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 16px;
    outline: none;
}
.matches-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background-color: #222;
    border-radius: 8px;
    padding: 25px;
    padding-bottom: 40px;
}

.main-content {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.match-box {
    background-color: #333;
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 5px;
    width: 100%;
    max-width: 1500px;
    position: relative;
    text-align: center;
    transition: 0.3s;
    margin-bottom: -20px;
    cursor: pointer;
}

.match-box:hover {
    background-color: #444;
}

.match-header {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #444;
    padding: 5px 15px;
    border-radius: 50px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1000;
    white-space: nowrap;
    display: inline-block;
    text-align: left;
    margin: 0;
}

.teams {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    gap: 30px;
    margin-bottom: 5px;
}

.teams img {
    height: 70px;
    width: 70px;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    object-fit: cover;
}

.match-date,
.match-time {
    margin-bottom: 5px;
    font-size: 16px;
    color: #ccc;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.match-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #ccc;
    margin-left: -20px;
}

/* Updated: smaller font size */
.date-container,
.time-container {
    display: flex;
    align-items: center;
    font-size: 15px;
}

/* Updated: smaller SVG icon */
.match-info svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    vertical-align: middle;
    margin-right: 4px;
        display: none;

}

.sidebar {
    flex: 1;
    padding: 20px;
    border-radius:8px;
    max-width: 250px;
    background-color: #222;
    margin-left: -30px;
}

.sidebar h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ff4081;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 12px;
}

.sidebar a {
    color: #ddd;
    text-decoration: none;
    font-size: 16px;
}

.sidebar a:hover {
    color: #fff;
    text-decoration: underline;
}


@media (max-width: 768px) {
    body {
        font-size: 14px;
        /* thoda chhota font mobile pe */
    }

    .site-header {
        padding: 15px 20px;
    }

    .streams-nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .streams-nav a {
        font-size: 13px;
    }

    .container {
        flex-direction: column;
        padding: 0 10px;
        margin: 20px auto;
        gap: 20px;
    }

    .main-content {
        flex: unset;
        width: 100%;
        padding: 0 10px;
    }

    .matches-container {
        max-width: 100%;
        padding: 20px 15px;
        border-radius: 10px;
    }

    .sidebar {
        max-width: 100%;
        min-width: unset;
        border-left: none;
        border-top: 2px solid #222;
        padding: 15px 10px;
        border-radius: 0 0 10px 10px;
        margin-top: 20px;
    }

    .sidebar h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .sidebar a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .mobile-ad {
        display: block;
        width: 100vw;
        /* Use viewport width */
        max-width: 100vw;
        /* Limit max width */
        overflow: hidden;
        margin: 20px 0;
        text-align: center;
        box-sizing: border-box;
    }

    .mobile-ad iframe {
        width: 100% !important;
        height: 90px !important;
        border: none;
        display: block;
        max-width: 100vw !important;
        box-sizing: border-box;
    }
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .logo {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .streams-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-left: 0;
        margin-top: 5px;
    }

    .streams-nav a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        padding: 15px;
        margin-top: 20px;
        border-left: none;
        border-top: 2px solid #222;
        border-radius: 0;
    }

    .sidebar h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .sidebar a {
        font-size: 14px;
    }

    .sidebar li {
        margin-bottom: 10px;
    }
}


@media (min-width: 1025px) {
    .sidebar {
        position: sticky;
        top: 20px;
    }
}

@media (max-width: 1200px) {
    .match-box {
        padding: 25px;
        max-width: 100%;
    }

    .teams span {
        font-size: 18px;
    }

    .teams img {
        width: 55px;
        height: 55px;
    }

    .match-info {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .match-header {
        top: 15px;
        left: 15px;
        font-size: 16px;
        padding: 4px 12px;
    }

    .match-box {
        padding: 20px;
        border-radius: 8px;
    }

    .teams {
        flex-wrap: wrap;
        gap: 20px;
        font-size: 18px;
    }

    .teams img {
        width: 55px;
        height: 55px;
    }

    .match-info {
        flex-direction: column;
        gap: 8px;
    }

    .date-container,
    .time-container {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .match-header {
        top: 10px;
        left: 10px;
        font-size: 14px;
        padding: 4px 10px;
    }

    .match-box {
        padding: 18px;
    }

    .teams {
        flex-direction: column;
        gap: 15px;
        font-size: 17px;
        text-align: center;
    }

    .teams img {
        width: 50px;
        height: 50px;
    }

    .match-info {
        flex-direction: column;
        gap: 6px;
        margin-left: 0;
    }

    .date-container,
    .time-container {
        font-size: 13px;
    }

    .match-info svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .match-box {
        padding: 15px;
        border-radius: 6px;
    }

    .match-header {
        top: 8px;
        left: 8px;
        font-size: 12px;
        padding: 3px 8px;
    }

    .teams span {
        font-size: 15px;
    }

    .teams img {
        width: 45px;
        height: 45px;
    }

    .match-info {
        gap: 5px;
    }

    .date-container,
    .time-container {
        font-size: 12px;
    }

    .match-info svg {
        width: 16px;
        height: 16px;
    }
}