@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700&display=swap');

:root{
    --red:#AA0024;
    --black:#000000;
    --white:#ffffff;
    --light-color:#131313;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
}


*{
    font-family: 'roboto', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bolder;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .2s linear;
}
body{
    background-color:var(--black);
}

html{
    font-size: 65%;
    overflow-x: hidden;
    scroll-padding-top:5.5rem;
}

section{
    padding: 2rem 9%;
}




/* Full screen splash */
.loading-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;

  background: linear-gradient(to bottom, #a3001e 0%, #4d000d 60%, #000 100%);
  z-index: 9999;

  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}

/* Center logo PERFECTLY */
.loading-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 220px;
  animation: logoFade 2.5s ease-in-out forwards;
}

/* Spinner bottom center */
.loading-spinner {
  position: absolute;
  left: 50%;
  bottom: env(safe-area-inset-bottom, 40px);
  transform: translateX(-50%);

  width: 28px;
  height: 28px;
  bottom: 28px;

  border: 4px solid #fff;
  border-top: 4px solid #aa0024;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes logoFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .loading-logo {
    width: 160px;
  }
}










/* Header wrapper */
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

/* Navbar visible under header */
.top-navbar {
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    background: var(--light-color);
    z-index: 1001;
}

/* Horizontal scrolling */
.nav-scroll {
    position: relative;
    z-index: 9999;
    pointer-events: auto;
    display: flex;
    gap: 25px;
    padding: 12px 15px;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-scroll a {
    position: relative;
    pointer-events: auto;
    padding-bottom: 6px;
    color: #fff;
    flex-shrink: 0;
    text-decoration: none;
}

/* underline hidden by default */
.nav-scroll a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;               /* 👈 FULL TEXT WIDTH */
    height: 3px;
    background: var(--red);
    border-radius: 3px;
    transform: scaleX(0);      /* hidden */
    transform-origin: left;
    transition: transform 0.25s ease;
}

/* active underline */
.nav-scroll a.active::after {
    transform: scaleX(1);      /* visible */
}

/* Bottom scrollbar */
.nav-scroll::-webkit-scrollbar {
    height: 0px;
}

/* Nav links */
.nav-scroll a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Icons */
.icons {
    position: absolute;
}

.icons.left { left: 15px; }
.icons.right { right: 15px; }

header .icons i,
header .icons a{
    cursor: pointer;
    font-size: 1.7rem;
    color: #fff;
}

header .icons #menu-bars{
    display: left;
    margin-left: 0px;
}


.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58px; /* increased height */
  background: var(--light-color);
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  box-shadow: 0 -3px 15px rgba(0,0,0,0.6);
  z-index: 999;
}

.nav-item {
  flex: 1;
  text-align: center;
  color: #aaa;
  padding-bottom: 10px;
  font-size: 11px;
}

.nav-item span {
  display: block;
  font-size: 22px;
}

.nav-item.active {
  color: var(--red);
}

/* ✅ Center Logo FIX */
.center-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.6px;
}

.center-logo img {
  width: 40px;
  height: 40px;
}











.copyright{
    display: flex;
    justify-content: space-between;
    padding: 20px;   
}

.copyright .logo{
    color: var(--red);
    font-size: 2.1rem;
    font-weight: bolder;
}

.copyright p{
    font-size: 0.9rem;
    color: var(--red);
    font-size:2rem;
}

.tvimage{
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}



.video-wrapper {
  width: 100%;
  max-width: 100%;
}

.video-container {
  width: 100%;
  margin-top: 12px;
  max-width: 100%;
  height: 56.25vw;       /* 16:9 ratio */
  max-height: 260px;
  background: black;
  position: relative;
  overflow: hidden;
}


#liveVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill the container without black bars */
  background: black;
}

/* channel buttons */
.ch-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0);
  color: white;
  font-size: 18px;
  z-index: 20;
  opacity: 1;
  transition: opacity 0.3s;
}

.ch-btn.prev { left: 10px; }
.ch-btn.next { right: 10px; }

.ch-btn.hide {
  opacity: 0;
  pointer-events: none;
}



/* skip button */
#skipBtn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 20;
}

/* Skip button */
#skipBtn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  z-index: 10;
}






/* Fullscreen / expand button */
.expand-btn {
  position: absolute;
  bottom: 10px;
  right: 0px;/* left corner */
  width: 30px;
  height: 15px;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}





#playerArea {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: auto;

  aspect-ratio: 16 / 9;
  background: black;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* When fullscreen */
:fullscreen #playerArea,
:-webkit-full-screen #playerArea {
  width: 100vw;
  height: 100vh;

  /* Maintain 16:9 inside portrait screens */
  aspect-ratio: 16 / 9;
}

/* Inner video / iframe */
#playerArea video,
#playerArea iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}





















.card {
  background: var(--light-color);
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 17px;
  margin-top: -4px;
  padding-bottom: 1px;
}

.card h2 {
  color: #fff;
  font-size: 25px;
  margin: 0 0 10px;
}

.card .time {
  font-size: 14px;
  color: #fff;
  margin-bottom: 15px;
}

.badge {
  background: #AA0024;
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-right: 8px;
}

.desc {
  font-size: 11px;
  margin: 15px 0px;
  color: #fff;
}















/* ===== Footer Base ===== */
.footer {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #111;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: #c00;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #900;
}

.app-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.app-links img {
  height: 50px;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
  font-size: 14px;
  color: #555;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-bottom img {
  height: 35px;
}








/* ===== Responsive Media Queries ===== */

/* Small devices (phones <600px) */
@media (max-width: 599px) {
  .footer {
    padding: 20px 10px;
  }

  .footer h3 {
    font-size: 16px;
  }

  .social-icons a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .app-links img {
    height: 40px;
  }

  .footer-bottom {
    font-size: 12px;
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets 600px–1024px) */
@media (min-width: 600px) and (max-width: 1024px) {
  .footer {
    padding: 30px 40px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .app-links img {
    height: 45px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* Large devices (desktop >1024px) */
@media (min-width: 1025px) {
  .footer {
    padding: 40px 60px;
  }

  .footer h3 {
    font-size: 20px;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .app-links img {
    height: 55px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}









.home{
    padding: 0px;

.swiper-slide {
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.swiper-slide-active {
  transform: scale(1) !important;
  opacity: 1 !important;
  z-index: 2;
  box-shadow: 0 8px 20px #151522(0, 0, 0);
  border-radius: 20px;
  }
}

/* ===== Default (Large screens - desktop) ===== */
.home {
    padding: 0;
}

.home .box {
    min-height: 550px;
    min-width: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px 20px 10px 10px;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    position: relative;
}


/* ===== Medium Screens (Tablets, 768px – 1024px) ===== */
@media (max-width: 1024px) {
    .home .box {
        min-height: 390px;
        min-width: 355px;
        padding: 15px;
    }


/* ===== Small Screens (Mobiles, up to 767px) ===== */
@media (max-width: 767px) {
    .home .box {
      margin-top: 25px;
        min-height: 200px;
        min-width: 335px;
        margin-bottom: 5px;
    }
  }
}













/* ===== Default (Large screens - Desktop) ===== */
.anime {
    padding: 5rem 3rem;
    padding-top: 15px;
    padding-bottom: 0;
}

.anime .box {
    width: 190px;
    height: 100px;
    margin-top: 10px;
    background-color: #ffffff;
    border-radius: 10px;
}



/* ===== Medium Screens (Tablets, 768px – 1024px) ===== */
@media (max-width: 1024px) {
    .anime {
        padding: 3rem 2rem;
    }
    .anime .box {
        width: 145px;
        height: 90px;
    }
     .swiper-wrapper {
        display: flex;
        gap: 80px;   /* space between boxes */
    }
    .tvimage{
        display: flex;
        justify-content: center;
        height: 100%;
        width: 100%;
    }
    .heading{
    text-align: left;
    color: var(--white);
    font-size: 1.4rem;
    }
}

/* ===== Small Screens (Mobiles, up to 767px) ===== */
@media (max-width: 767px) {
  .anime {
    padding: 1rem 1rem;
  }

  .anime .box {
    width: 120px;
    height: 75px;
  }

  /* remove gap override */
  .swiper-wrapper {
    gap: 0 !important;
  }

  .image-gap {
    display: flex;
    gap: 0px;
  }

  .tvimage {
    display:flex;
    justify-content: center;
    height: 100%;
    width: 100%;
  }
}




















/* Make header fixed on top */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--red);
    z-index: 1002; /* above all content */
}

/* Push page content down so it doesn't hide under fixed header */
body {
    padding-top: 50px; /* adjust according to your header height */
}








@media(max-width: 768px){
    header .icons #menu-bars{
        display: inline-block;
        cursor: pointer;
        z-index: 1003;
    }

    header .navbar{
        position: absolute;
        top: 70px;       /* just below header */
        right: 1rem;     /* stick to right side */
        width: 180px;
        padding: 0.8rem;
        border-radius: 2px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);

        /* hidden by default */
        opacity: 0;
        transform: translateY(-15px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 1001;
    }

    header .navbar.active{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    header .navbar a{
        display: block;
        padding: 0.7rem 1rem;
        margin: 0.4rem 0;
        font-size: 1rem;
        color: #fff;
        border-radius: 8px;

        /* animation */
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    header .navbar.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .user-info {
        color: #fff;
        font-size: 10px;
        margin-bottom: 8px;
        padding: 8px;
        background: rgba(0,0,0,0.2);
        border-radius: 5px;
        display: none; /* hidden until login */
    }

    .btn-subscribe, .btn-login {
        display: block;
        padding: 10px;
        margin-top: 8px;
        text-align: center;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
    }

    .btn-subscribe {
        background: #fff;
        color: #b3002d;
    }

    .btn-login {
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
    }

    /* stagger animation */
    header .navbar.active a:nth-child(1){ transition-delay: 0.1s; }
    header .navbar.active a:nth-child(2){ transition-delay: 0.2s; }
    header .navbar.active a:nth-child(3){ transition-delay: 0.3s; }
    header .navbar.active a:nth-child(4){ transition-delay: 0.4s; }
    header .navbar.active a:nth-child(5){ transition-delay: 0.5s; }
    header .navbar.active a:nth-child(6){ transition-delay: 0.6s; }
    header .navbar.active a:nth-child(7){ transition-delay: 0.7s; }
    header .navbar.active a:nth-child(8){ transition-delay: 0.8s; }

    /* optional: remove dark full overlay */
    .overlay {
        display: none;
    }
}

















/* Header wrapper */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--light-color);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1002;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Logo always sticks left */
header .logo img {
    height: 40px;
    display: block;
}

/* Navbar inline on desktop */
@media(min-width: 769px) {
    header .navbar {
        display: flex;
        align-items: center;
        gap: 3.5rem;
        background: none;
        position: static;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none;
        padding: 0;
    }

    header .navbar a {
        color: #fff;
        background: none;
        margin: 15;
    }

    .nav-buttons {
        display: flex;
        gap: 2.5rem;
        margin-left: 15rem;
    }

    #menu-bars {
        display: none; /* hide hamburger */
    }
    /* Logo always sticks left */
    header .logo img {
    height: 40px;
    display: block;
    }
}

/* Mobile dropdown */
@media(max-width: 768px) {
    header .navbar {
        position: absolute;
        top: 60px;
        left: 1rem;
        width: 230px;
        background: var(--light-color);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 1 4px 12px rgba(68, 1, 1, 0.945);
        flex-direction: column;

        opacity: 0;
        transform: translateY(-15px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    header .navbar.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-buttons {
        flex-direction: column;
        margin-top: 1rem;
    }
}

/* Buttons styling */
.nav-buttons a {
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: 0.2s ease;
}
.btn-subscribe { background:#AA0024; color:#fff;  border:1px solid #fff;}
.btn-subscribe:hover { background:#fff; color: #AA0024; }
.btn-login { background:#AA0024; color:#fff; border:1px solid #fff; }
.btn-login:hover { background:#fff; color:#AA0024; }







.footer-links a {
  color: #AA0024;
  cursor: pointer;
}

.modal {
  display: none; 
  position: fixed;
  padding-top: 75px;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  overflow: auto;
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px 25px;
  border-radius: 8px;
  max-width: 700px;
  position: relative;
  line-height: 1.6;
}

/* Title styling */
.modal-content h2 {
  text-align: left;   /* center the title */
  font-size: 22px;      /* bigger than body text */
  font-weight: bold;
  margin: 0 0 15px 0;   /* space below title */
  border-bottom: 2px solid #AA0024; /* optional underline */
  padding-bottom: 8px;
}

/* Paragraph styling */
.modal-content p {
  text-align: justify;
  margin-bottom: 15px;
  font-size: 10px;
}


/* Close button */
.close {
  position: absolute;
  right: 25px;
  top: 14px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}









