* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #222;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
}

.header-wrap {
    max-width: 1550px;
    margin: 0 auto;
    background: #000;
    border-left: 1px solid #222;
    border-right: 1px solid #222;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
}

.roja-header {
    background: #000;
    padding: 3px 20px;
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 15px;
}

.header-ref {
    height: 70px;
    border-radius: 6px;
}

.header-title {
    font-size: 50px;
    font-weight: 900;
    color: #fff;
    font-family: Impact;
}

.header-bottom-bar {
    background: #000;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 15px;
    font-weight: 600;
    border-top: 1px solid #222;
}

.header-bottom-bar a {
    color: #fff;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-bottom-bar a:hover {
    border-bottom: 2px solid #ff0000;
}

.grid-wrap {
    max-width: 1500px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    padding: 0 15px;
}

.card-box {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.25s;
    cursor: pointer;
}

.card-box:hover {
    transform: scale(1.04);
    background-color: #111;
}

.card-logo {
    padding: 22px 0 12px;
    text-align: center;
}

.card-logo img {
    width: 110px;
    border-radius: 10px;
}

.card-league {
    background: #000;
    text-align: center;
    padding: 12px;
    font-size: 19px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.7px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    color: white;
}

.watch-btn {
    background: #d80000;
    padding: 14px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    color: white;
}

.watch-btn:hover {
    background: #ff0000;
}

.article-wrapper {
    max-width: 1220px;
    margin: 40px auto;
    padding: 30px 25px;
    border-radius: 12px;
    line-height: 1.8;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: -30px;
}

.article-wrapper h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
    color: #cc0000;
    letter-spacing: 0.5px;
}

.article-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #cc0000;
}

.article-wrapper p {
    margin-bottom: 20px;
}

.schedule-box {
    background: #181818;
    border-radius: 8px;
    padding: 0;
    overflow-x: hidden;
    border: 1px solid #111;
}

.schedule-head {
    background: #000;
    color: #fff;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 600;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
}

.schedule-table th {
    background: #000;
    padding: 15px 12px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    box-sizing: border-box;
    text-align: start;
}

.schedule-table td {
    padding: 10px 12px;
    font-size: 15px;
    box-sizing: border-box;
}

.schedule-table tr:hover {
    background: #222;
}

.time-badge {
    font-weight: 600;
    color: #fff;
    background: #333;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.live-badge {
    font-weight: 600;
    color: #fff;
    background: #dc2626;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.watch-btn1 {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.watch-btn1:hover {
    color: #fff;
    transform: translateY(-2px);
}

.watch-live {
    background: #dc2626 !important;
    font-weight: 600;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.container {
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #444;
    font-size: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    background-color: #333;
    border: 1px solid #0d6efd;
    padding: 5px 12px;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.25s ease;
}

.btn:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-2px);
}

table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    vertical-align: top;
    border-top: 1px solid #333;
}

th {
    font-weight: 600;
    background-color: #f4f4f4;
    border-bottom: 1px solid #333;
}

table tr {
    background-color: #000;
    color: white;
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 75%;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.badge-primary {
    background-color: #333;
}

.badge-danger {
    background-color: #dc3545;
}

/* Loader */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive spacing (similar to Bootstrap spacing) */
.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.site-footer {
    background-color: #000;
    color: white;
    padding: 1rem 1rem;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-title {
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.footer-copy {
    margin: 0;
    color: white;
}

.footer-tagline {
    margin: 0;
    color: white;
}

.match-heading2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-top: 25px;
    color: #e7e7e7;
}

.section-title2 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 18px;
    margin-top: 25px;
    border-bottom: 1px solid #333;
    letter-spacing: 0.5px;
}

.stream-box {
    width: 100%;
    max-width: 850px;
    background: #0f0f0f;
    border-radius: 8px;
    padding: 18px 28px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #1b1b1b;
    text-decoration: none !important;
    color: #fff;
    transition: 0.25s ease;
    margin-top: 20px;
    margin-bottom: -20px;
}

.stream-box:hover {
    background: #1a1a1a;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #15d14a;
    box-shadow: 0 0 10px #15d14a;
    flex-shrink: 0;
}

.stream-name {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stream-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sectionok {
    max-width: 1470px;
    margin: 40px auto;
    padding: 40px;
    background: #000;
    border-radius: 10px;
}

.sectionok h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 24px;
    font-weight: bold;
}

.sectionok h3 {
    color: #fff;
    font-size: 26px;
    margin-top: 35px;
    margin-bottom: 16px;
}

.sectionok p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 22px;
}

@media (max-width: 768px) {
    .header-wrap {
        max-width: 100%;
        padding: 0 10px;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .roja-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 5px 10px;
    }

    .header-ref {
        height: 50px;
        border-radius: 4px;
    }

    .header-title {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.2;
        word-break: break-word;
    }

    .header-bottom-bar {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
        font-size: 14px;
        overflow-x: auto;
    }

    .header-bottom-bar a {
        font-size: 14px;
        padding-bottom: 3px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .grid-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
        margin: 20px auto;
    }

    .card-box {
        border-radius: 8px;
        overflow: hidden;
        transition: 0.25s;
        cursor: pointer;
    }

    .card-logo {
        padding: 15px 0 10px;
    }

    .card-logo img {
        width: 90px;
    }

    .card-league {
        font-size: 16px;
        padding: 10px;
        letter-spacing: 0.5px;
    }

    .watch-btn {
        font-size: 15px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .sectionok {
        max-width: 100%;
        margin: 20px 10px;
        padding: 20px;
        border-radius: 8px;
    }

    .sectionok h2 {
        font-size: 26px;
        margin-bottom: 16px;
        text-align: center;
    }

    .sectionok h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .sectionok p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .sectionok {
        padding: 15px;
        margin: 15px 5px;
    }

    .sectionok h2 {
        font-size: 22px;
    }

    .sectionok h3 {
        font-size: 18px;
    }

    .sectionok p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .schedule-box {
        padding: 0;
        overflow-x: auto;
        border-radius: 8px;
        margin: 10px 0;
        border: 1px solid #111;
        background: #181818;
    }

    .schedule-head {
        font-size: 18px;
        padding: 12px 15px;
        text-align: center;
        background: #000;
        color: #fff;
        font-weight: 600;
        border-bottom: 1px solid #222;
    }

    .schedule-table {
        width: 100%;
        border-collapse: collapse;
    }

    /* Hide table header */
    .schedule-table thead,
    .schedule-table tr:first-child {
        display: none;
    }

    /* Table rows stacked */
    .schedule-table tr {
        display: flex;
        flex-direction: column;
        background: #000;
        margin-bottom: 12px;
        border-radius: 8px;
        padding: 10px 0;
        border: 1px solid #222;
    }

    /* Table cells styling */
    .schedule-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 15px;
        font-size: 15px;
        border-bottom: 1px solid #222;
        color: #fff;
    }

    /* Remove last border */
    .schedule-table td:last-child {
        border-bottom: none;
    }

    /* Hide Event column */
    .schedule-table td:nth-child(2) {
        display: none;
    }

    /* Add labels for mobile readability */
    .schedule-table td:first-child::before {
        content: "Time:";
        font-weight: 600;
        color: #999;
        margin-right: 8px;
    }

    .schedule-table td:nth-child(2)::before {
        content: "Teams:";
        font-weight: 600;
        color: #999;
        margin-right: 8px;
    }

    .schedule-table td:last-child::before {
        content: "Watch:";
        font-weight: 600;
        color: #999;
        margin-right: 8px;
    }

    /* Watch Button */
    .watch-btn1 {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #d80000;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        padding: 6px 10px;
        border-radius: 6px;
        text-decoration: none;
        transition: 0.25s;
        flex-shrink: 0;
    }

    .watch-btn1.watch-live {
        background: #ff0000 !important;
    }

    .watch-btn1:hover {
        transform: translateY(-2px);
        background: #ff0000;
    }
}