
@media (max-width:1499px) {
	.gen-appstore-logo, .gen-playstore-logo { height: 38px; }
}

/* small devices */
@media (max-width: 991px) {
  h1 { font-size: clamp(1.6rem, 1.2rem + 2.6vw, 2.1rem); }
  h2 { font-size: clamp(1.3rem, 1rem + 2vw, 1.8rem); }
}

@media (max-width: 991px) {
  .text-center-md { text-align: center !important; }
  .text-start-md { text-align: left !important; }
  .text-end-md   { text-align: right !important; }
  .hide-md       { display: none !important; }
  .show-md       { display: block !important; }


  .stack-md { display: flex; flex-direction: column !important; gap: 12px; }
  .card-2{
    margin-top:20px ;
  }
  .card-4{
   margin-top:20px ; 
  }
  .card-7{
    margin-top:20px;
  }
}

@media (max-width: 767px) {
  .text-center-sm { text-align: center !important; }
  .hide-sm { display: none !important; }
  .show-sm { display: block !important; }
}

/*nav spacing mobile */
@media (max-width: 991px) {
  .banner-section { margin-top: 60px !important; }
  #gen-header .navbar-brand img { max-height: 38px; }
  .nav-actions .pro-btn.small, .nav-actions .enroll-btn.small { padding: .5rem .8rem; }
}

/* Footer small */
@media (max-width: 991px) {
  #gen-footer .widget { margin-bottom: 22px; }
}

/* Images  */
img { max-width: 100%; height: auto; }

/*  scroll on mobile */
html, body { overflow-x: hidden; }

/* Mobile collapse nav  */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #141414;
    padding: 10px 12px 14px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
  }
  #gen-main-menu li a { display:block; padding: 10px 12px; font-size: 1rem; }
  .mobile-nav-actions a { width: 100%; }
}

/* Slider and hero padding on smaller screens */
@media (max-width: 767px) {
  .gen-front-image img { max-width: 100%; height: auto; }
  .gen-movie-contain-style-2 { padding-top: 0.25rem !important; padding-bottom: 1rem !important; }
}

/* Back-to-top: fixed, bottom-right on all screens */
#back-to-top { position: fixed; right: 18px; bottom: 22px; z-index: 9999; }
#back-to-top .top { 
  display: grid; place-items: center; width: 52px; height: 52px; 
  border-radius: 50%; background: linear-gradient(135deg, #e50916, #9b000a); 
  color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.35); 
}
@media (max-width: 575px) {
  #back-to-top { right: 14px; bottom: 18px; }
  #back-to-top .top { width: 46px; height: 46px; }
}

/* ===== Mobile “app shell” tweaks (phones only) ===== */
@media (max-width: 767.98px) {
  /* Give space so fixed bottom nav never covers content */
  body {
    padding-bottom: 74px;
  }

  /* Fixed, blurred bottom navigation bar */
  .app-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11000;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .app-bottom-nav-inner {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 18px 10px;
    gap: 4px;
  }
  .app-bottom-nav-link {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(248, 248, 248, 0.82);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 500;
  }

  .app-bottom-nav-link .icon {
    font-size: 1.2rem;
    line-height: 1;
  }

  .app-bottom-nav-link .label {
    letter-spacing: 0.02em;
  }

  .app-bottom-nav-link.active {
    color: #ffffff;
  }

  .app-bottom-nav-link.active .icon {
    color: #e50916;
  }

  .app-bottom-nav-link:active {
    transform: translateY(1px);
  }

  /* Lift back-to-top above the bottom nav */
  #back-to-top {
    bottom: 86px;
    right: 16px;
  }
  #back-to-top .top {
    bottom: 76px;
    right: 16px;
  }

  /* Home hero: card-style slide on mobile */
  .banner-section {
    margin-top: 72px !important;
  }

  .banner-section .gen-banner-movies {
    height: auto;
    padding: 0 12px 14px;
  }

  .banner-section .owl-carousel .item {
    border-radius: 18px;
    overflow: hidden;
  }

  .banner-section .gen-movie-contain-style-2 {
    padding: 1.25rem 1rem 1.4rem !important;
    border-radius: 18px;
    background:
      radial-gradient(120% 160% at 0% 0%, rgba(229, 9, 22, 0.25), transparent 55%),
      radial-gradient(90% 140% at 100% 100%, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.92));
  }

  .banner-section .gen-front-image {
    margin-bottom: 1rem;
  }

  .banner-section .gen-front-image img {
    max-height: 220px;
    border-radius: 12px;
  }

  .banner-section .gen-tag-line {
    margin-bottom: 0.35rem;
  }

  .banner-section h3 {
    font-size: 1.1rem;
  }

  .banner-section p {
    font-size: 0.9rem;
  }

  /* Tighten generic section padding a bit for “app” feel */
  .gen-section-padding-2 {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  /* Recent Video & similar sections: full-width mobile cards */
  .gen-section-padding-2 .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  .gen-section-padding-2 .row.g-4 > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .udx-card {
    border-radius: 14px;
  }
}
