<style>
/* ================================
   MZWeekly Ad System
================================ */

/* Generic Ad Container */

.mz-ad {
  width: 100%;
  margin: 25px auto;
  text-align: center;
  position: relative;
}

/* Ad label */

.mz-ad-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}

/* Ad content box */

.mz-ad-content {
  background: #111;
  border: 1px solid #2a2a2a;
  padding: 8px;
  overflow: hidden;
}

/* Ad images */

.mz-ad-content img {
  width: 100%;
  height: 300;
  display: block;
}

/* ================================
   HERO BILLBOARD (970x250)
================================ */

.mz-hero-ad {
  max-width: 400px;
}

.mz-hero-ad .mz-ad-content {
  min-height: 250px;
}

/* ================================
   FEATURED SECTION AD
================================ */

.mz-featured-ad {
  max-width: 500px;
  margin: 30px auto;
}

.mz-featured-ad .mz-ad-content {
  min-height: 120px;
}

/* ================================
   SIDEBAR AD (300x600)
================================ */

.mz-sidebar-ad {
  width: 300px;
  position: sticky;
  top: 120px;
  float: right;
  margin: 20px;
}

.mz-sidebar-ad .mz-ad-content {
  min-height: 600px;
}

/* ================================
   MOBILE STICKY AD
================================ */

.mz-mobile-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 1px solid #333;
  padding: 6px;
  z-index: 9999;
  text-align: center;
}

.mz-mobile-ad img {
  max-width: 320px;
  height: auto;
}

/* Hide mobile ad on desktop */

@media (min-width: 768px) {
  .mz-mobile-ad {
    display: none;
  }
}

/* Hide sidebar on small screens */

@media (max-width: 900px) {
  .mz-sidebar-ad {
    display: none;
  }
}

.now-playing-container{
  display:flex;
  align-items:center;
  background:red;
  color: black;
  width:100%;
  overflow:hidden;
  border-top:2px solid #333;
  border-bottom:2px solid #333;
  border-left:2px solid #333;
  border-right:2px solid #333;
  font-family:Arial, Helvetica, sans-serif;
}

.np-label{
  background:black;
  color:#ffffff;
  padding:10px 15px;
  font-weight:bold;
}

.marquee{
  overflow:hidden;
  white-space:nowrap;
  width:100%;
  position:relative;
}

.marquee span{
  display:inline-block;
  padding-left:100%;
  animation:scrollText 15s linear infinite;
}

@keyframes scrollText{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-100%);
  }
}
.support-artist{
    background:#111;
    border:1px solid #333;
    padding:12px;
    margin-top:10px;
    font-size:13px;
    color:#ddd;
}

.support-artist a{
    color:#ef233c;
    text-decoration:none;
    font-weight:bold;
}

.support-artist a:hover{
    text-decoration:underline;
}
/* ===== GENERAL AD STYLING ===== */
.mz-ad {
  background: #1a1a1a;
  border: 1px solid #333;
  margin: 30px 0;
  padding: 20px;
  text-align: center;
  position: relative;
}

.mz-ad-label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: #e10600;
  color: white;
  font-size: 11px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.mz-ad-content {
  color: #bbb;
  font-size: 16px;
}

/* HERO */
.mz-hero-ad {
  min-height: 180px;
}

/* FEATURED AD */
.mz-featured-ad {
  border-left: 4px solid #e10600;
}

/* SIDEBAR */
.mz-sidebar-ad {
  position: sticky;
  top: 20px;
}

/* SPONSORED TILE */
.mz-sponsored-tile {
  background: #141414;
  border: 1px solid #444;
}

.mz-sponsored-badge {
  display: inline-block;
  font-size: 11px;
  background: #e10600;
  padding: 3px 6px;
  margin-bottom: 10px;
}


/* MOBILE STICKY */
.mz-mobile-ad {
  display: none;
}

@media (max-width: 768px) {
  .mz-mobile-ad {
    display: block;
    position: fixed;
    bottom: 0;
    width: 40%;
    background: #000; color: #ffff;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #333; height:150px;
    z-index: 9999;
  }
}


/*global*\
img, video, iframe {
  max-width: 100%;
  height: 300;
}

body {
  overflow-x: hidden;  
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/*Auto Hero*/
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-base-gif {
  z-index: 1;
  filter: brightness(55%);
}

.hero-article-img {
  z-index: 2;
  transition: opacity 0.6s ease;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/*MasqModern*/
.news-ticker {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 35s linear infinite;
}

.ticker-track span {
  display: inline-block;
  margin-right: 50px;
  font-size: 14px;
  font-weight: 600;
}

@keyframes scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.top-info-bar {
    width: 500;
    background: #000;
    color: #fff;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    border-bottom: 1px solid #222;
    gap: 14px;
}

.ti-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ti-badge,
.ti-brand {
    padding: 6px 12px;
    background: #111;
    border-radius: 6px;
    color: #ef233c;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ti-badge:hover,
.ti-brand:hover {
    background: #1a1a1a;
}

.ti-right {
    display: flex;
    gap: 10px;
}

.ti-btn {
    background: red;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.ti-btn:hover {
    background: black;
}

/* */
@media (max-width: 600px) {
    .top-info-bar {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        overflow-x: hidden;
        padding: 12px;
    }

    .ti-left, 
    .ti-right {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ti-badge,
    .ti-brand {
        flex: 1 1 auto;
        text-align: left;
        max-width: 100%;
    }

    .ti-btn {
        flex: 1 1 auto;
        text-align: center;
        max-width: 100%;
    }
}

.footer {
  background:#111;
  color: #fff;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
}


/* SUPER-TINY FOOTER */
.mz-footer {
  background: #ffff;
  color: black;
  padding: 10px 8px;          /* very small padding */
  margin-top: 15px;
  text-align: center;
  width: 100%;
  font-size: 12px;            /* smaller text*/
}

/* CONTENT WRAPPER */
.footer-section {
  max-width: 600px;           /* narrower */
  margin: 0 auto;
}

/* HEADINGS SMALL + TIGHT */
.mz-footer h5,
.mz-footer h2 {
  font-size: 13px;
  margin: 4px 0;              /* very small spacing */
}

/* PARAGRAPHS SMALL + TIGHT */
.mz-footer p {
  font-size: 12px;
  line-height: 1.2;           /* tight line spacing */
  margin: 4px 0;
}

/* LINKS */
.mz-footer a {
  font-size: 12px;
}

/* SOCIAL ICONS — VERY SMALL */
.social-row {
  display: flex;
  justify-content: center;
  gap: 6px;                   /* tiny gap */
  margin: 6px 0;
  flex-wrap: wrap;
}

.social-row img {
  width: 22px;                /* tiny icons */
  height: 22px;
}

/* DEVELOPER CREDIT SMALL */
.developed_by p5 {
  font-size: 11px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .mz-footer {
    padding: 8px 6px;
  }

  .footer-section {
    max-width: 100%;
  }
}

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: black;
  color: #222;
  line-height: 1.6; border: 5px black; overflow-x: hidden; background-image: url("/images/uMlazi.jpg"); background-size: contain; background-repeat: no-repeat; background-attachment: fixed; background-position: center;}

/* NAVIGATION WRAPPER */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  padding: 10px 15px;
  color: #fff;
  flex-wrap: wrap; /* mobile */
}

/* LOGO */
.logo {
  font-size: 1.2rem;
  font-weight: bold;
  flex: 1 1 100%;
}

.navbar img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 8px auto;
}

/* NAVIGATION */
nav {
  width: 100%;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nav-links li {
  flex: 1 1 auto;
  text-align: center;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 0.95rem;
  background: #ffff;
  padding: 8px 14px;
  border-radius: 6px;
  display: block;
}

/* HOVER EFFECT */
.nav-links a:hover {
  background: red;
}

/* ----- MOBILE FIX (prevents overflow) ----- */
@media (max-width: 600px) {
  .nav-links {
    gap: 6px;
  }

  .nav-links li {
    flex: 1 1 45%; /* two per row on small screens */
  }

  .navbar img {
    max-width: 130px;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-content {
  background: linear-gradient(135deg, #111, #000);
  padding: 20px;
  border-radius: 14px;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.hero-content h1 {
  font-size: 28px;
  margin: 10px 0;
}

.hero-content p {
  opacity: 0.8;
}
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: black;
  color: red;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: red;
}
.hero-feature {
  position: relative;
  z-index: 20;
}

/* SECTION WRAPPER */
.weekly-feed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
}

/* HERO FEATURE */
.hero-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  margin: 30px 0;
  align-items: stretch;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 14px;
  background: black;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* VIDEO SECTION */
.video-container-0 {
    position: relative;
    width: 60%;
    padding-bottom: 33.75%; /* 16:9 aspect ratio */
    height: 0;
}

.video-container-0 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: auto; /* iframe */
}

/* TEXT SECTION */
.hero-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 20; /* button */
}

/* TAG */
.tag {
    display: inline-block;
    background: #0077ff;
    color: #ffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tag.week {
    background: #ff0066;
}

/* TITLE */
.hero-content h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

/* DESCRIPTION */
.hero-content p {
    font-size: 1.1rem;
    color: #ffff;
    line-height: 1.5;
}

/* BUTTON — FULLY CLICKABLE */
.cta {
    padding: 12px 26px;
    background: black;
    color: #ffff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s ease;
    pointer-events: auto; /* ensures the button receives the click */
}

.cta:hover {
    background: #0057c8;
}

/* MOBILE STYLING */
@media (max-width: 900px) {
    .hero-feature {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .video-container {
        width: 100%;
        padding-bottom: 56.25%;
    }

    .hero-content {
        width: 100%;
        align-items: center;
    }
}

/* GRID */
.cards-container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 20px;
}
.card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* CARD STYLE */
.card {
    background: #ffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.card h3 {
    margin: 10px 0;
    font-size: 1.3rem;
}

.card p {
    opacity: 0.8;
    font-size: 0.95rem;
}
/* History Corner specific */
.card.week {
  background: white;
  border-color: #ccc;
}

.card.week h3 {
  font-size: 1.6rem;
  color: red;
  margin-bottom: 8px;
}

.card.week p {
  color: #ffff;
  margin-bottom: 10px;
}

.card.week .btn {
  background: #ef233c;
  color: #ffff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
}


/* TAGS */
.tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    color: #ffff;
}

/* CATEGORY COLORS */
.tag.podcast, .card.podcast { background: #ffff; }
.tag.laugh,   .card cinema  { background: solid red; background-image: url("/images/forestG.gif"); background-size: 100% 100%; background-repeat: no-repeat; background-attachment: fixed; background-position: center; }
.tag.watch,   .card.watch   { background: black;  background-image: url("/images/cape.jpg");}
.tag.week,    .card.week    { background: #111827; color: #fff; }

.category-strip {
  position: sticky;
  top: 0;
  background: #000;
  z-index: 999;
}

/* SMALL BUTTON */
.small-btn {
    margin-top: 15px;
    background: #fff;
    border: 2px solid #000;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.small-btn:hover {
    background: #000;
    color: #fff;
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
        left: 20px;
        bottom: 20px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-feature img {
        height: 280px;
    }
}

.hero-feature .video-container-0 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 video ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px; /* optional */
}

.hero-feature .video-container-0 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500;
}
.app-section {
  display: none;
}

.app-section.active {
  display: block;
}

/* fade */
.app-section {
  opacity: 0;
  transition: 0.4s;
}

.app-section.active {
  opacity: 1;
}


.app-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.app-nav button {
  padding: 10px 18px;
  border-radius: 30px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* hover */
.app-nav button:hover {
  background: linear-gradient(135deg, red, #8B0000);
  transform: translateY(-2px);
}

/* active */
.app-nav button.active {
  background: linear-gradient(135deg, red, #8B0000);
  box-shadow: 0 0 15px red, 0 0 30px rgba(255,0,0,0.5);
}
#film-section {
  background-color: #ffffff;
}

#ent-section {
  background-color: #ffffff;
}

#learning-section {background: linear-gradient(135deg,  black, #ffffff, #0b0b0b, #1a0000, black)
}

.podcast-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
    background: red;
    border-radius: 16px; 
}

/* Player box */
.pcast-player {
    width: 100%;
    background: black;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Controls */
.pcast-player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.pcast-player-controls button {
    background: #ef233c;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s ease;
}

.pcast-player-controls button:hover {
    background: #d90429;
}

.pcast-time {
    font-weight: 600;
}

/* Progress Bar */
.pcast-progress {
    flex: 1;
    height: 8px;
}
.section-title {
    background: red; text-align: center;
}

/* Download link */
.pcast-download {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: #ef233c;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
    .pcast-player-controls {
        flex-direction: column;
        align-items: stretch;
    }
}
/* desktop */
@media (min-width: 992px) {
    .pcast-player {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* landscape */
@media (orientation: landscape) and (max-height: 400px) {
  .card.podcast {
    max-width: 450px;
  }

  .pcast-player {
    padding: 14px;
  }

  .pcast-player-controls button {
    padding: 6px 10px;
    font-size: 12px;
  }
}
/* Base – mobile full width */
.card.podcast {
  width: 100%;
  margin: 0 auto;
}

/* Desktop shrink */
@media (min-width: 992px) {
  .card.podcast {
    max-width: 500px;
    margin: 40px auto;
  }

  .pcast-player {
    padding: 18px;
  }
}



/*filmanddocumtries*\

.cinema {
  padding: 30px;
    background: #0f0f0f;
    color: #ffffff;
}

.cinema-title {
  font-size: 35px;
  margin-bottom: 5px; background:#ffffff;
  color: black;
}

.cinema-tagline {
  margin-bottom: 20px; background:black;
  color: #ffffff;
}

.cinema-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px; background: red;
}

@media (max-width: 600px) {
  .player-box {
    max-width: 100%;
    height: 600px;   /*  MOBILE SIZE */
  }
}


.sub-heading {
  background: black;
  border: 1px solid white;
  padding: 12px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

/* button */
.sub-btn {
  background: linear-gradient(135deg, red, #8B0000);
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 8px;
}

/* scrolling text */
.sub-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.sub-marquee span {
  display: inline-block;
  padding-left: 100%;
  color: red;
  animation: scrollLeft 20s linear infinite;
  font-size: 14px;
}

/* animation */
@keyframes scrollLeft {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.film-heading {
  background: black;
  border: 1px solid white;
  padding: 12px;
  border-radius: 10px;
  overflow: hidden;
}

/* scrolling text */
.sub-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.sub-marquee span {
  display: inline-block;
  padding-left: 100%;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  animation: scrollFilm 18s linear infinite;
}

/* animation */
@keyframes scrollFilm {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}


/* =========================
   HORIZONTAL CATEGORY BAR
========================= */

.category-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 12px 18px;
  margin-top: 20px;

  border-bottom: 1px solid rgba(255,255,255,0.1);

  scroll-behavior: smooth;
}

/* desktop */
@media (min-width: 768px) {
  .category-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .category-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
  }
}


.category-scroll {
  position: sticky;
  top: 0;
  z-index: 50;

  background: #0f0f0f;
}
/* button styling */
.category-chip {
  flex: 0 0 auto;        /* stacking */
  white-space: nowrap;

  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;

  background: red;
  color: black;

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0px;

  cursor: pointer;
  transition: 0.25s ease;

  scroll-snap-align: start;
}
.category-scroll {
  scroll-behavior: smooth;
}

/* hover */
.category-chip:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  color: white;
}

/* active */
.category-chip.active {
  background: white;
  color: black;
  border: 1px solid white;
  transform: scale(1.05);
}

.player-frame {
  width: 100%;
  max-width: 500px;        /* hard desktop limit */
  aspect-ratio: 16 / 9;    /* height */
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* */
  background: black;
}

.player {
  max-width: 100%; 
}

.player video {
  width: 100%;
  max-height: 70vh;          /* */
  object-fit: contain;       /* */
  background: black;
  border-radius: 12px;
}
.player.floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.player-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 10px;
  padding: 10px 12px;

  color: white;
  z-index: 10;
  position: relative; /* IMPORTANT */
}

.player-controls button {
  padding: 8px 14px;
  background: #111;
  color: red;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.playlist-item img {
  width: 200px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
/* =========================
   CINEMA PLAYLIST RAILS
========================= */

.playlist-wrapper {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* each category row */
.playlist-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* category title */
.rail-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding-left: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* horizontal scroll container */
.rail-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail-scroll::-webkit-scrollbar {
  display: none;
}

/* video cards */
.rail-card {
  flex: 0 0 auto;
  width: 180px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.rail-card:hover {
  transform: scale(1.05);
}

/* thumbnail */
.rail-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

/* title under thumb */
.rail-card strong {
  display: block;
  font-size: 12px;
  color: white;
  margin-top: 6px;
}

.rail-card p {
  font-size: 10px;
  color: #aaa;
  margin: 0;
}

/* mobile tuning */
@media (max-width: 600px) {
  .rail-card {
    width: 140px;
  }

.rail-card img {
    height: 85px;
  }
}
.thumb-grid img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}


*// artsandenter //*

/* Main Video Containers */
.vid-container,
.vid-container-1 {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px auto; height: 300;
}
/* Responsive 16:9 ratio */
.vid-container iframe,
.vid-container-1 iframe {
    width: 100%;
    height: 300;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: 12px;
}

/* ============================= */
/* PLAYLIST */
/* ============================= */

.vid-list-container-1,
.vid-list-container {
  flex: 1;
  max-height: auto;
  overflow-y: auto; background: red;
padding:10px;
border-radius:10px;
}

#vid-list-1,
#vid-list {
  padding: 0;
  margin: 0;
}

#vid-list-1 li,
#vid-list li {
  list-style: none;
  margin-bottom: 10px;
}

#vid-list-1 li a,
#vid-list li a {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  text-decoration: none;
  color: white;
}

#vid-list-1 li a:hover,
#vid-list li a:hover {
  background: red;
}

.vid-thumb-1 img,
.vid-thumb img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.desc {
  font-size: 11px;
  color: #ffff;
}

.playlist-ad a {
  display: block;
  background: linear-gradient(135deg, red, red);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
}

.playlist-ad a:hover {
  background: linear-gradient(135deg, red, red);
}

.playlist-ad strong {
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
}

.video-search{

margin:10px 0;

}

.video-search input{

padding:6px;
border-radius:4px;
border: 5px black;

}

.video-search button{

padding:6px 10px;
border: 6px black;
background:#c00;
color:black;
cursor:pointer;

}



.cinema-label{
color:red;
font-size:12px;
margin:5px 0;
text-align:center;
}
.cinema-modes button:hover{
background:solid red;
}

.flags{
display:flex;
gap:10px;
overflow-x:auto;   /* */
padding:10px 5px;
scrollbar-width:none; /*/
}

.flags::-webkit-scrollbar{
display:none; /* Chrome */
}

.flags img{
flex:0 0 auto; /*  */
width:35px;
cursor:pointer;
transition:0.3s;
}

.flags img:hover{
transform:scale(1.2);
}



.cinema {background: linear-gradient(135deg, #0b0b0b, #1a0000, black, black, black, black, #ffffff, #0b0b0b, #1a0000, black);
    color: #ffffffff; text-align: center;
}

.cinema-title {
  font-size: 35px;
  margin-bottom: 5px; background:#ffffff;
  color: black; 
}

.cinema-tagline {
  margin-bottom: 20px; background:black;
  color: #ffffff;
}

.cinema-layout {
  display: grid-flex;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}


#cinema-list li{
list-style:none;
margin-bottom:10px;
}

#cinema-list li a{
display:flex;
align-items:center;
gap:12px;
padding:10px;
border-radius:10px;
background: black;
backdrop-filter: blur(6px);
transition:0.3s;
cursor:pointer;
}

#cinema-list li a:hover{
background: linear-gradient(135deg, green);
transform:scale(1.02);
}

/* thumbnail */
.cinema-thumb img{
width:70px;
height:50px;
object-fit:cover;
border-radius:6px;
}

/* title */
.cinema-desc{
font-size:11px;
color: #fffff;
font-weight:500;
}
.flags img.active{
border:2px solid red;
transform:scale(1.2);
}
.flags img.active{
border:2px solid red;
border-radius:6px;
transform:scale(1.1);
}
.playlist-item{
display:flex;
gap:10px;
padding:10px;
cursor:pointer;
border-radius:8px;
background:rgba(255,255,255,0.1);
transition:0.3s;
}

.playlist-item:hover{
background:black;
transform:scale(1.02);
}

#cinema-list li.active {
  border: 2px black;
  box-shadow: 0 0 10px #00ffcc;
  transform: scale(1.02);
}
#cinema-list {
  max-height: 400px;   /* height */
  overflow-y: auto;    /* vertical scroll */
  overflow-x: hidden;
  padding-right: 5px;  /* space for scrollbar */
}
.playlist-item {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: black;
  cursor: pointer;
}

/* video thumbnail */
.video-thumb {
  width: 80px;
  border-radius: 6px;
}

/* floating mini flag */
.mini-flag {
  position: absolute;
  top: 5px;
  left: 5px;
}

.mini-flag img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid #fff;
}

#player-wrapper {
  width: 100%;
  transition: all 0.3s ease; min-height: 360px;
}

/* floating mode */
#player-wrapper.floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 170px;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  border-radius: 10px;
  overflow: hidden;
  background: black;
}

.now-playing-container {
  overflow: hidden;
  white-space: nowrap;
}

.cinema #nowPlaying {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 15s linear infinite; color: black;
}

@keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.ent-heading {
  background: black;
  border: 1px solid red;
  padding: 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255,0,0,0.4);
}

.sub-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.sub-marquee span {
  display: inline-block;
  padding-left: 100%;
  color: red;
  font-weight: 700;
  letter-spacing: 1px;
  animation: scrollEnt 16s linear infinite;
}

/* animation */
@keyframes scrollEnt {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
/* horizontal scroll container */
.mode-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}

.mode-scroll::-webkit-scrollbar {
  display: none;
}

/* cards */
.mode-card {
  min-width: 220px;   /* key for mobile scroll */
  flex: 0 0 auto;
  background: black;
  padding: 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  scroll-snap-align: start; color: white;
}

.mode-card:hover {
  transform: translateY(-6px);
  background: red;
}

/* active state */
.mode-card.active {
  border: 2px solid red;
  background: linear-gradient(135deg, #330000, black);
  box-shadow: 
    0 0 10px red,
    0 0 25px red,
    0 0 40px rgba(255,0,0,0.8);
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .mode-scroll {
    overflow-x: hidden;
    flex-wrap: wrap;
  }

  .mode-card {
    flex: 1 1 calc(33.33% - 16px);
    min-width: unset;
  }
}
@keyframes redGlow {
  0% { box-shadow: 0 0 10px red; }
  50% { box-shadow: 0 0 30px red; }
  100% { box-shadow: 0 0 10px red; }
}

.mode-card.active {
  animation: redGlow 1.5s infinite;
}
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* base button */
.card-actions button {
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #111, #1a1a1a);
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* hover */
.card-actions button:hover {
  background: linear-gradient(135deg, #ff0000, #990000);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(255,0,0,0.4);
}

/* active click feel */
.card-actions button:active {
  transform: scale(0.95);
}

/* optional highlight styles */
.btn-trending {
  background: linear-gradient(135deg, #ff3b3b, #990000);
}

.btn-mix {
  background: linear-gradient(135deg, #ff6600, #cc0000);
}

.btn-surprise {
  background: linear-gradient(135deg, #cc0000, #330000);
}


#genre-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 5px;
  margin: 15px 0;
  scrollbar-width: none;
}

#genre-container::-webkit-scrollbar {
  display: none;
}

#genre-container {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

#genre-container button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 12px;
  text-transform: uppercase;
}

#genre-container button:hover {
  background: red;
  transform: scale(1.05);
}

#genre-container button.active {
  background: red;
  border-color: red;
  box-shadow: 0 0 10px red;
}


/* queue + shuffle buttons */
.btn-queue,
.btn-shuffle {
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

/* queue */
.btn-queue {
  background: linear-gradient(135deg, #222, #000);
}

.btn-queue:hover {
  background: linear-gradient(135deg, #00c853, #006400);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,200,83,0.4);
}

/* shuffle */
.btn-shuffle {
  background: linear-gradient(135deg, #111, #1a1a1a);
}

.btn-shuffle:hover {
  background: linear-gradient(135deg, #ff0000, #660000);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255,0,0,0.4);
}


/* click */
.btn-queue:active,
.btn-shuffle:active {
  transform: scale(0.95);
}

.app-section {
  display: none;
}

.app-section.active {
  display: block;
}

.learning-layout {
  padding: 30px;
}

.learning-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 10px; color: #fffff;
}

.learning-subtitle {
  font-size: 18px;
  margin-bottom: 20px;
}

.learning-marquee {
  background: #111;
  color: white;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
}

.learning-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 30px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.learning-grid::-webkit-scrollbar {
  height: 6px;
}

.learning-grid::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
}

.learning-card {
  min-width: 280px;
  flex: 0 0 auto;
  background: #f8f8f8;
  border-radius: 18px;
  padding: 25px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #eee;
}

.learning-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.learning-player iframe {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  margin-bottom: 30px;
}

.learning-playlist {
  background: #fafafa;
  padding: 20px;
  border-radius: 18px;
}

.learning-playlist ol {
  padding-left: 20px;
}

.learning-playlist li {
  padding: 10px 0;
  cursor: pointer;
}




.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 15px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-banner button {
  margin-left: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.ad-banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}


.support-artist {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.support-artist a {
  display: inline-block;
  margin-top: 10px;
  color: red;
  font-weight: bold;
}


/* ======================
PODCAST BUTTONS
====================== */

.podcast-actions{
  display:flex;
  gap:10px;
  margin-top:15px;
  flex-wrap:wrap;
}

.podcast-actions button{
  background: linear-gradient(135deg, #8B0000, #ff0000);
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
  letter-spacing:0.5px;
  transition:0.3s;
  box-shadow: 0 0 10px rgba(255,0,0,0.3);
}

/* hover */
.podcast-actions button:hover{
  background: linear-gradient(135deg, #ff0000, #cc0000);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 20px rgba(255,0,0,0.6);
}

/* click */
.podcast-actions button:active{
  transform: scale(0.95);
}

/* dark tag */
.podcast-tag{
  display:inline-block;
  background:black;
  color:red;
  padding:6px 12px;
  border-radius:6px;
  font-weight:bold;
  letter-spacing:1px;
  border:1px solid red;
  margin-bottom:8px;
}
.podcast-banner{
  border:1px solid rgba(255,0,0,0.3);
  padding:12px;
  border-radius:10px;
  background: rgba(0,0,0,0.8);
  box-shadow: 0 0 20px rgba(255,0,0,0.2);
}



/* ============================================ */
/* LIVE GRID - FIXED & MOBILE RESPONSIVE */
/* ============================================ */

.live-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   */
  gap: 12px;
  margin-top: 20px;
  padding: 0;
}

/* Tablet - 3 columns */
@media (min-width: 600px) {
  .live-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* Desktop - 4 columns */
@media (min-width: 900px) {
  .live-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Large desktop - 5 columns */
@media (min-width: 1200px) {
  .live-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.live-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.live-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.live-card:active {
  transform: scale(0.98);
}

/* Image container */
.live-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 aspect ratio */
  overflow: hidden;
  background: #1a1a1a;
}

.live-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play overlay */
.play-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Play icon */
.play-overlay::before {
  content: "▶";
  font-size: 10px;
}

.live-card:hover .play-overlay {
  background: rgba(230, 126, 34, 0.9);  /* Orange on hover */
  transform: scale(1.05);
}

/* Title */
.live-card h3 {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Larger screens - bigger text */
@media (min-width: 600px) {
  .live-card h3 {
    font-size: 14px;
    padding: 12px;
  }
  
  .play-overlay {
    bottom: 12px;
    left: 12px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* LIVE badge for the card */
.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Empty state */
.live-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #888;
  font-size: 14px;
}

/* Loading skeleton */
.live-card.skeleton {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background: #1a1a1a; }
  50% { background: #222; }
  100% { background: #1a1a1a; }
}


.history-message{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);

  font-size: 10px;           /* VERY SMALL */
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;

  background: rgba(0,0,0,0.7);
  padding: 6px 12px;
  border-radius: 20px;

  opacity: 0;
  pointer-events: none;

  transition: all 1s ease;
}

/* visible state */
.history-message.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



.streak-bar {
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
      padding: 8px 16px;
      border-radius: 30px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      color: #ffd700;
    }
    .streak-fire {
      font-size: 18px;
    }
    .continue-reading {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #e63946;
      color: white;
      padding: 10px 18px;
      border-radius: 40px;
      font-size: 13px;
      font-weight: bold;
      cursor: pointer;
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
      display: none;
      gap: 8px;
      align-items: center;
    }
    .weekly-poll {
      background: #f5f0e6;
      border-left: 4px solid #e63946;
      padding: 10px 14px;
      margin: 14px 0;
      border-radius: 6px;
    }
    .poll-option {
      display: block;
      margin: 8px 0;
      cursor: pointer;
      padding: 8px;
      background: white;
      border-radius: 6px;
      transition: 0.2s;
    }
    .poll-option:hover { background: #e0e0e0; }
    .whatsapp-subscribe {
      background: #25D366;
      color: white;
      padding: 8px 16px;
      border-radius: 30px;
      text-decoration: none;
      font-size: 13px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .recent-activity {
      font-size: 12px;
      color: #666;
      padding: 8px;
      background: #f9f9f9;
      border-radius: 8px;
      margin: 10px 0;
    }
</style>