
@media (min-width: 992px) {
#main #main-header .logo {
    position: absolute;
    left: 40%;
    top: 10%;
}
}

/* ================= PLAYER ================= */

.video-wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;

  /* Desktop / default */
  aspect-ratio: 16 / 9;
  max-height: 105vh;
}


/* ================= TABLET ================= */

@media (max-width: 992px){

  .video-wrapper{
    aspect-ratio: 16 / 9;
  }

}

/* ================= MOBILE ================= */

@media (max-width:600px){

  .video-wrapper{
    aspect-ratio: 9 / 12;
    max-width: 420px;
    margin:auto;
  }

}

.video-wrapper:fullscreen {
  width: 100vw;
  height: 100vh;
}

.video-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  --zoom: 1;
  --aspect-scale: 1;
}
#videoInner {
  transition:
    transform 0.35s ease,
    opacity 0.2s ease;
  will-change: transform;
}

#videoInner.rotating {
  opacity: 0;
}

.video-inner.vertical {
  top: 50%;
  left: 50%;
  width: 100vh;
  height: 100vw;
  transform:
    translate(-50%, -50%)
    rotate(90deg)
    scale(calc(var(--zoom) * var(--aspect-scale)));
  transform-origin: center center;
}

.video-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tap overlay */
.tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: transparent;
  pointer-events: none;
  display: none;
}

.video-wrapper:fullscreen .tap-overlay {
  display: block;
}

/* ================= MOBILE ================= */


.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-only {
    display: inline-block;
  }
}

/* ================= FULLSCREEN BUTTONS ================= */
.aspect-btn,
.exit,
.skip-btn {
  position: fixed;
  z-index: 99999;
  padding: 10px 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  background: rgba(0,0,0,.75);
  color: #fff;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  transform:
    rotate(90deg)
}
:fullscreen .aspect-btn,
:fullscreen .exit,
:fullscreen .skip-btn {
  display: block;
}

:fullscreen .aspect-btn.show,
:fullscreen .exit.show,
:fullscreen .skip-btn.show {
  opacity: 1;
}

.aspect-btn { 
    bottom: 16px;
    right: 40%;
}

.exit { 
    top: 16px;
    right: 40%;
}

@media (max-width: 1024px) {
  .skip-btn { bottom: 10%; left: 15%; }
}

@media (min-width: 1025px) {
  .aspect-btn,
  .exit {
    display: none !important;
  }
  .skip-btn { top: 50%; right: 15%; }
}

/* ===== CONTROLS ===== */
.video-controls {
  padding: 16px;
  display: flex;
  gap: 12px;
  z-index: 4;
  margin: 0 auto;
}


.btn {
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn.play {
  background: #ffffff;
  color: #000;
}

.btn.watchlist {
  background: rgba(109,109,110,0.7);
  color: #ffffff;
}

.btn.rotate {
  background: #1E90FF;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .video-wrapper.playing .video-controls,
  .video-wrapper.playing .video-thumbnail {
    display: none;
  }
}

/* ===== THUMBNAIL ===== */
.video-thumbnail {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 2;
  cursor: pointer;
}

.video-thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.3),
    rgba(0,0,0,0)
  );
}

/* Center play button */
.thumbnail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 64px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .thumbnail-play {
    width: 72px;
    height: 72px;
    font-size: 48px;
  }
}

/* ===== CONTENT ===== */
.content {
  margin: 0 auto;
  padding: 0px 22px 20px;
}

.content p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #d1d1d1;
}

.content p:first-child {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.content strong {
  color: #ffffff;
}

#main-header.hidden {
  opacity: 0;
  pointer-events: none;
}


.top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
}


#show-more, #show-less{
  margin-top: 20px;
  background: #f58c91;
  border: none;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

#show-more:hover,
#show-less:hover{
  background: #f0525a;
  transform: translateY(-2px);
}

#show-more-content{
  display: none;
}

#show-more-content p{
  margin: 8px 0;
  color: rgba(255,255,255,0.85);
}


/* Mobile improvement for the top section */
@media (max-width: 768px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
  }
  .badge{
    font-size: 11px;
  }

}

/* Bullet list styling */
.creditList {
    /* max-width: 500px; */
    margin: 20px auto;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.5;
    list-style-type: disc;
}
.creditList li {
  padding: 5px 0;
  color: #d1d1d1;
}

/* Button container */
  .ott-web-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color:rgba(109,109,110,0.7);
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }

  /* Hover effect */
  .ott-web-btn:hover {
    background-color: rgba(109,109,110,0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
  }

  /* ott-web logo container */
  .ott-web-btn .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  /* Play triangle inside the logo */
  .ott-web-btn .logo svg {
    width: 16px;
    height: 16px;
    fill: #FF0000;
  }
  
.ottw-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.ottw-item{
    margin:8px 0;
}

.ottw-label{
    font-weight:bold;
}

.views-wrapper{
    display:flex;
    width:45%;
}
.views-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	border-radius: 12px;
	background: linear-gradient(135deg, #003c9f, #030528);
	/* border: 1px solid rgba(255,255,255,0.08); */
	/* box-shadow: 0 5px 18px rgba(0,0,0,0.35); */
	/* color: #fff; */
	/* font-family: 'Poppins',sans-serif; */
	/* overflow: hidden; */
	/* position: relative; */
}

/* Shine Effect */
.views-badge::before{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
    animation:shine 3s infinite;
    z-index: -1;
}

@keyframes shine {
    100% {
        left: 120%;
    }
}

.views-icon{
    font-size:28px;
    animation:pulse 1.5s infinite;
}

.views-text{
    font-size:16px;
    color:#d0d0d0;
}

.views-count{
    font-size:28px;
    font-weight:700;
    color:#ff4d4d;
    margin-left:6px;
}

/* Desktop View */
@media (min-width:768px){

    .views-badge{
        padding:12px 20px;
        border-radius:12px;
    }

    .views-icon{
        font-size:32px;
    }

    .views-text{
        font-size:18px;
    }

    .views-count{
        font-size:32px;
    }
}

/* Mobile View */
@media (max-width:767px){
    .top-controls{
        flex-direction:row;
        justify-content:space-between;
        width:100%;
    }

    .views-wrapper{
        display:flex;
        justify-content:center;
        width:100%;
        justify-content:center;
        align-items:center;
    }
    .views-badge{
        justify-content:center;
        padding:12px 20px;
        border-radius:14px;
    }
    
    
    .badges{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-wrap:wrap;
        gap:8px;
    }

    .views-icon{
        font-size:28px;
    }

    .views-text{
        font-size:16px;
    }

    .views-count{
        font-size:28px;
    }
}

@keyframes pulse{
    0%{transform:scale(1);}
    50%{transform:scale(1.18);}
    100%{transform:scale(1);}
}

@keyframes shine{
    100%{
        left:120%;
    }
}



.video-controls{
    display:flex;
    flex-direction:column;
    gap:14px;
}

/* TOP BUTTON ROW */
.top-controls{
    display:flex;
    gap:12px;
    align-items:center;
}

/* Desktop → everything in ONE line */
@media (min-width:768px){

    .video-controls{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .top-controls{
        flex-direction:row;
    }

}



.tags {
    margin: 15px 0;
}

.tag {
    display: inline-block;
    margin: 3px;
    padding: 5px 10px;
    background: #eee;
    color: #555;
    border-radius: 4px;
    font-size: 13px;
}

/* Breadcrumbs */
        .breadcrumbs {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 20px;
        }

        .breadcrumbs a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
        }

        .breadcrumbs a:hover {
            color: var(--primary-color);
        }

        .breadcrumb-separator {
            margin: 0 10px;
        }
        
        .cast {
            margin-bottom: 15px;
        }
        
        .cast-heading {
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            padding-bottom: 8px;
        }
        
        .sub-cast-heading {
            font-size: 15px;
            font-weight: 800;
            color: #ffffff;
            padding-bottom: 8px;
        }

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}



.cast-card {
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: px solid rgba(255,255,255,0.16);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}


.cast-name {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}
.cast-role {
    letter-spacing: 0.5px;
    line-height: 20px;
    color: #b5b5b5;
    font-size: 13px;
    margin-top: 4px;
}

/* --- OTT Component Container (Theme Matched) --- */
.ott-movie-card {
    background: linear-gradient(135deg, rgba(1, 45, 83, 0.5) 0%, rgba(0, 4, 40, 0.75) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e5e5e5;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin: 20px auto; /* Centered nicely */
}

/* --- OTT Tags --- */
.ott-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.ott-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: #f3f4f6;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.ott-tag:hover {
    background-color: rgba(0, 162, 255, 0.25);
    border-color: rgba(0, 162, 255, 0.5);
    color: #ffffff;
}

/* --- Multi-Column Grid for Crew --- */
.ott-crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ott-crew-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

 .ott-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #93c5fd; /* Soft cool-blue accent matching background */
    font-weight: 700;
}

.ott-name {
    line-height: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

</style>

  <style>



/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}

.maturity-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 35px;
    background: #181818;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .7);
    animation: modalIn .2s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #292929;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

.maturity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #292929;
    font-size: 32px;
}

.rating-label {
    display: inline-block;
    padding: 7px 14px;
    background: #e50914;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}

.maturity-modal h2 {
    margin: 18px 0 10px;
    font-size: 24px;
    color: #fff;
}

.description {
    color: #aaa;
    line-height: 1.6;
    font-size: 14px;
}

.age-notice {
    margin: 20px 0;
    padding: 12px;
    border-radius: 8px;
    background: #242424;
    color: #fff;
    font-size: 14px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    text-align: left;
    color: #ddd;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #e50914;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.modal-actions button {
    flex: 1;
    padding: 13px;
    border: 0;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

.cancel-btn {
    background: #333;
    color: #fff;
}

.cancel-btn:hover {
    background: #444;
}

.continue-btn {
    background: #e50914;
    color: #fff;
}

.continue-btn:hover:not(:disabled) {
    background: #f40612;
}

.continue-btn:disabled {
    background: #444;
    color: #777;
    cursor: not-allowed;
}

.notice {
    margin: 20px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}



@media (max-width: 600px) {
    .maturity-modal { padding: 28px 20px; }
}


.synopsis {
    font-size: 16px;
    color: #d4d4d8;
    margin: 28px 0;
    line-height: 1.7;
    padding-left: 16px;
    border-left: 3px solid #ff334b;
}
.header-container {
    padding-right: 6px;
    border-radius: 13px;
    background: linear-gradient(
        to right,
        #001d36,
        #00031d
    );
}

 .menuHeaderLeft{
    transform: translateX(5%);
}
          
          
.menuHeaderback{
    transform: translateX(20%);
}




/* Modal Overlay Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}

.maturity-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 35px;
    background: #181818;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .7);
    animation: modalIn .2s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #292929;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

.maturity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #292929;
    font-size: 32px;
}

.rating-label {
    display: inline-block;
    padding: 7px 14px;
    background: #e50914;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}

.maturity-modal h2 {
    margin: 18px 0 10px;
    font-size: 24px;
    color: #fff;
}

.description {
    color: #aaa;
    line-height: 1.6;
    font-size: 14px;
}

.age-notice {
    margin: 20px 0;
    padding: 12px;
    border-radius: 8px;
    background: #242424;
    color: #fff;
    font-size: 14px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0;
    text-align: left;
    color: #ddd;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #e50914;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.modal-actions button {
    flex: 1;
    padding: 13px;
    border: 0;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

.cancel-btn {
    background: #333;
    color: #fff;
}

.cancel-btn:hover {
    background: #444;
}

.continue-btn {
    background: #e50914;
    color: #fff;
}

.continue-btn:hover:not(:disabled) {
    background: #f40612;
}

.continue-btn:disabled {
    background: #444;
    color: #777;
    cursor: not-allowed;
}

.notice {
    margin: 20px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}



@media (max-width: 600px) {
    .maturity-modal { padding: 28px 20px; }
}

.synopsis {
    font-size: 16px;
    color: #d4d4d8;
    margin: 28px 0;
    line-height: 1.7;
    padding-left: 16px;
    border-left: 3px solid #ff334b;
}
.header-container {
    padding-right: 6px;
    border-radius: 13px;
    background: linear-gradient(
        to right,
        #001d36,
        #00031d
    );
}

 .menuHeaderLeft{
    transform: translateX(20%);
}
          
          
.menuHeaderback{
    transform: translateX(40%);
}