<style>

html, body {
    overflow-x:hidden;
}

/*INDEX*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0f0f;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, #0f0f0f, #1c1c1c);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
}

.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

/* Content above video */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}


.btn {
    display: inline-block;
    padding: 14px 28px;
    margin: 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #00d4ff;
    color: #000;
}

.btn-secondary {
    border: 2px solid #00d4ff;
    color: #00d4ff;
}

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.plan {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.plan h3 {
    margin-bottom: 10px;
}

.plan-price {
    font-size: 32px;
    margin: 20px 0;
    color: #00d4ff;
}

.plan ul {
    list-style: none;
    margin-bottom: 20px;
}

.plan ul li {
    margin-bottom: 10px;
    color: #ccc;
}

.devices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.device {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 150px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
}

.testimonials {
    text-align: center;
}

.testimonial {
    margin-bottom: 30px;
    color: #ccc;
}

footer {
    background: #111;
    padding: 40px 0;
    text-align: center;
    color: #888;
}

footer a {
    color: #00d4ff;
    text-decoration: none;
    margin: 0 10px;
}
.channel-btn {
    width: 100%;
    background: #111;
    border: none;
    color: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
}

.channel-btn:hover {
    background: #00d4ff;
    color: #000;
}

/*END INDEX*/

body{
    margin:0;
    font-family:'Inter',sans-serif;
    background:#0f0f0f;
    color:#fff;
}

/* HEADER */

.logo img{height:80px;}
nav a{
    color:#fff;
    text-decoration:none;
    margin-left:25px;
    transition:.3s;
}
nav a:hover{color:#00d4ff;}

/* CONTAINER */
.livetv-container{
    padding:40px 40px 60px;
    max-width:1400px;
    margin:auto;
}

.page-title{
    text-align:center;
    font-size:32px;
    font-weight:700;
    margin-bottom:20px;
}

/* STATS */
.stats-row{
    display:flex;
    justify-content:center;
    gap:40px;
    margin-bottom:20px;
}
.stat-number{
    font-size:22px;
    font-weight:700;
    color:#00d4ff;
}
.stat-label{
    font-size:14px;
    color:#aaa;
}

.meta{
    text-align:center;
    font-size:13px;
    color:#777;
    margin-bottom:30px;
}

/* SEARCH AREA */
.search-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 15px; /* prevents edge touching */
    margin-bottom: 20px;
}

.search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 500px; /* control overall width */
}

.search-group input {
    flex: 1; /* fills available space */
    min-width: 0; /* prevents overflow bug */
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.search-group input:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.15);
}

.search-count {
    font-size: 14px;
    font-weight: 600;
    color: #2a5298;
    white-space: nowrap;
}


/* CATEGORY */
.category-box{
    background:#1a1a1a;
    border-radius:12px;
    margin-bottom:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.5);
}
.category-header{
    padding:18px 25px;
    background:#111;
    color:#00d4ff;
    cursor:pointer;
    font-weight:600;
    border-bottom:1px solid #222;
    transition:.3s;
}
.category-header:hover{
    background:#141414;
}
.category-content{
    display:none;
    padding:25px;
}
.category-content.active{
    display:block;
}

/* GRID */
.livetv-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:18px;
}
.livetv-card{
    background:#141414;
    border-radius:10px;
    transition:.3s;
    display:flex;
    flex-direction:column;
}
.livetv-card:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(0,212,255,.3);
}
.livetv-image-box{
    height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
}
.livetv-thumb{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
.livetv-body{
    padding:12px;
    text-align:center;
}
.livetv-name{
    font-weight:600;
    margin-bottom:5px;
}


@media(max-width:768px){
    .stats-row{flex-direction:column;align-items:center;}
}



/* HEADER */

.logo img {
    height:40px;
}

nav a {
    color:#fff;
    text-decoration:none;
    margin-left:25px;
    transition:0.3s;
}

nav a:hover {
    color:#00d4ff;
}

/* MAIN SECTION */
.topstreams-container {
    padding:40px 20px;
    display:flex;
    justify-content:center;
}

.topstreams-card {
    background:#1a1a1a;
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,0.6);
    padding:40px;
    width:100%;
    max-width:1200px;
}

.topstreams-title {
    font-size:32px;
    font-weight:700;
    text-align:center;
    margin-bottom:10px;
}

.topstreams-meta {
    font-size:14px;
    color:#888;
    text-align:center;
    margin-bottom:30px;
}

.topstreams-table {
    width:100%;
    border-collapse:collapse;
}

.topstreams-table thead {
    background:#111;
    border-bottom:2px solid #00d4ff;
}

.topstreams-table th {
    padding:14px;
    text-align:left;
    font-size:14px;
    color:#00d4ff;
    text-transform:uppercase;
    letter-spacing:1px;
}

.topstreams-table td {
    padding:16px 14px;
    border-bottom:1px solid #222;
    vertical-align:middle;
}

.topstreams-table tbody tr {
    transition:0.3s;
}

.topstreams-table tbody tr:hover {
    background:#141414;
    transform:scale(1.01);
    box-shadow:0 0 20px rgba(0,212,255,0.2);
}

.stream-rank {
    font-weight:bold;
    color:#00d4ff;
}

.stream-name {
    font-weight:600;
}

.stream-clients {
    font-weight:bold;
    color:#00ff99;
}

.stream-icon {
    width:60px;
    height:60px;
    object-fit:contain;
    border-radius:8px;
    display:block;
    margin:0 auto;
    background:#000;
    padding:5px;
}

@media (max-width:768px){
    .topstreams-table th:nth-child(2),
    .topstreams-table td:nth-child(2){
        display:none;
    }
}



/* HEADER */
header{
    padding:20px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#111;
    border-bottom:1px solid #222;
}
.logo img{height:40px;}
nav a{
    color:#fff;
    text-decoration:none;
    margin-left:25px;
    transition:.3s;
}
nav a:hover{color:#00d4ff;}


/* SEARCH AREA */
.search-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 15px; /* prevents edge touching */
    margin-bottom: 20px;
}

.search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 500px; /* control overall width */
}

.search-group input {
    flex: 1; /* fills available space */
    min-width: 0; /* prevents overflow bug */
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.search-group input:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42,82,152,0.15);
}

.search-count {
    font-size: 14px;
    font-weight: 600;
    color: #2a5298;
    white-space: nowrap;
}



.stats-row { display:flex; justify-content:center; gap:30px; margin:15px 0; }
.stat-number { font-size:24px; font-weight:700; color:#2a5298; }
.stat-label { font-size:14px; color:#666; }
.cat-count { font-size:13px; margin-left:6px; opacity:0.85; }


.category-header:hover{
    background:#141414;
}
.category-content{
    display:none;
    padding:25px;
}
.category-content.active{
    display:block;
}

.movie-container{
    padding:40px 40px 60px;
    max-width:1400px;
    margin:auto;
}

.movie-card {
    background:#141414;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
    display:flex;
    flex-direction:column;
    text-align:center;
    color:#fff;
}

.movie-card:hover {
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(0,212,255,.3);
}

.movie-thumb{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

.pagination {
    grid-column:1/-1;
    text-align:center;
    margin-top:20px;
}

.pagination button {
    background:#2a5298;
    color:#fff;
    border:none;
    padding:6px 12px;
    margin:0 8px;
    border-radius:4px;
    cursor:pointer;
}

#page-loader {
    position:fixed;
    inset:0;
    background:#0f0f0f;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.loader-spinner {
    width:60px;
    height:60px;
    border:6px solid #eee;
    border-top:6px solid #2a5298;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

/* Hidden by default */
.movie-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* When category is opened */
.movie-grid.active {
    display: grid;
}

@keyframes spin { to { transform:rotate(360deg); } }

@media (max-width: 480px) {

    .search-group {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .search-count {
        text-align: center;
    }

    .movie-thumb {
        height: 170px;
    }
}
/* FOOTER */
footer{
    background:#111;
    padding:40px 0;
    text-align:center;
    color:#888;
    margin-top:60px;
}
footer a{
    color:#00d4ff;
    text-decoration:none;
    margin:0 10px;
}
footer a:hover{text-decoration:underline;}

@media(max-width:768px){
    .stats-row{flex-direction:column;align-items:center;}
}

/* ===============================
   SERIES LIST (DARK THEME MATCH)
================================= */

.series-container{
    padding:40px 40px 60px;
    max-width:1400px;
    margin:auto;
}

/* CATEGORY BLOCK */
.category-block{
    background:#1a1a1a;
    border-radius:12px;
    margin-bottom:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.5);
}

.category-title{
    padding:18px 25px;
    background:#111;
    color:#00d4ff;
    cursor:pointer;
    font-weight:600;
    border-bottom:1px solid #222;
    transition:.3s;
}

.category-title:hover{
    background:#141414;
}

.cat-count{
    margin-left:6px;
    font-size:13px;
    opacity:.8;
}

/* GRID */
.series-grid{
    display:none;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:18px;
    padding:25px;
}

.series-grid.hidden{
    display:none;
}

.series-grid.active{
    display:grid;
}

/* CARD */
.series-card{
    background:#141414;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
    display:flex;
    flex-direction:column;
    text-align:center;
}

.series-card:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(0,212,255,.3);
}

/* IMAGE */
.series-thumb{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

/* TITLE */
.series-card div{
    padding:12px;
    font-weight:600;
}

/* PAGINATION */
.pagination{
    grid-column:1/-1;
    text-align:center;
    margin-top:20px;
}

.pagination button{
    background:#00d4ff;
    color:#000;
    border:none;
    padding:8px 14px;
    margin:0 6px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.pagination button:hover{
    background:#00aacc;
}

/* ===============================
   MOVIE MOBILE FIX
================================= */
@media(max-width:768px){
    .series-thumb{
        height:200px;
    }
}

@media (max-width:768px){

    .movie-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:12px;
        padding:12px;
    }

    .movie-thumb{
        height:200px;
    }
}

@media (max-width:430px){

    .movie-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
        padding:10px;
    }

    .movie-thumb{
        height:170px;
    }
}

/* ===============================
   GLOBAL MOBILE FIX
================================= */

@media (max-width:768px){

    header{
        padding:15px 20px;
        flex-direction:column;
        gap:10px;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    nav a{
        margin:0;
        font-size:14px;
    }

    .livetv-container,
    .series-container{
        padding:80px 15px 30px;
    }

    .page-title{
        font-size:24px;
    }

    .stats-row{
        flex-direction:column;
        gap:10px;
    }
}

/* ===============================
   SERIES RESPONSIVE FIX
================================= */

@media (max-width:768px){

    .series-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:12px;
        padding:12px;
    }

    .series-thumb{
        height:200px;
    }
}

@media (max-width:430px){

    .series-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
        padding:10px;
    }

    .series-thumb{
        height:170px;
    }
}


.devices {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 40px;
    text-align: center;
}

.device {
    background: #454545;
    padding: 30px 15px;
    border-radius: 12px;
    transition: 0.3s ease;
    cursor: pointer;
}

.device i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #00c3ff; /* match your theme accent */
}

.device span {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.device:hover {
    transform: translateY(-8px);
    background: #1a1a1a;
}

@media (max-width: 992px) {
    .devices {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .devices {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .device {
        padding: 20px 10px;
    }

    .device i {
        font-size: 30px;
    }
}

.devices {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.device {
    display: flex;
    align-items: center;   /* vertical alignment */
    gap: 12px;
    font-size: 18px;
}

.device i {
    font-size: 22px;
    line-height: 1;        /* remove extra baseline space */
    display: flex;
    align-items: center;
}

/*Log In*/
/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #111;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

//* Dropdown container */
/* NAV should stay horizontal */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Dropdown wrapper */
.dropdown {
    position: relative;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;           /* open aligned to right */
    top: 100%;
    background: #111;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 1000;

    /* 🔥 IMPORTANT FIX */
    flex-direction: column;  /* stack items vertically */
}

/* Make sure submenu links are block */
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    white-space: nowrap;     /* prevent text wrapping weirdness */
    color: #fff;
    text-decoration: none;
}

/* Hover effect */
.dropdown-content a:hover {
    background: #222;
}

/* Show dropdown */
.dropdown:hover .dropdown-content {
    display: flex;   /* use flex column instead of block */
}

/* LIVE SPORT */
.sports-container {
    padding: 60px 20px;
    max-width: 1400px;
    margin: auto;
}

.sports-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

/* FILTER */
.filter-bar {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 18px;
    margin: 5px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
}

.filter-btn:hover { border-color: #e50914; }

.filter-btn.active {
    background: #e50914;
    border-color: #e50914;
}

/* GRID */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.sport-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #222;
    transition: 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-5px);
    border-color: #e50914;
}

/* TOP */
.card-top {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.channel-icon {
    width: 50%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CLICKABLE CATEGORY */
.sport-category {
    font-size: 12px;
    color: #00c3ff;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.sport-category:hover {
    color: #e50914;
    text-decoration: underline;
}

.original-time {
    font-size: 13px;
    color: #bbb;
}

/* BOTTOM */
.sport-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.local-time {
    font-size: 13px;
    color: #00c3ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.live { background: #e50914; }
.upcoming { background: #444; }

@media(max-width: 600px) {
    .card-top {
        flex-direction: column;
    }
    .channel-icon,
    .card-info {
        width: 100%;
    }
}
/* END LIVE SPORT*/
</style>