:root {
  --cinema-top: #3b1f11;
  --cinema-bottom: #0b0b0b;
  --pill-border: rgba(255,255,255,0.15);
  --glass: rgba(255,255,255,0.06);
  --accent: #e11d1d;
  --cyan: rgba(14, 165, 233, 0.9);
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--cinema-bottom);
  color: #fff;
  overflow-x: hidden;
}

/* Top gradient overlay */
body::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  bottom: 95Px;
  width: 100%;
  height: 50vh;
  background: linear-gradient(180deg, var(--cinema-top) 0%, #c87f4f 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Hero outline */
.hero-outline {
  box-shadow: 0 6px 18px rgba(0,0,0,0.7);
  border-radius: 10px;
  border: 2px solid rgba(6,182,212,0.14);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.6));
  transform: translateY(20px);
  opacity: 0;
  animation: fadeSlideUp 1s forwards 0.2s;
}

/* Pills */
.top-pill {
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--pill-border);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
  cursor: pointer;
}
.top-pill:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

/* Center N logo */
.center-n {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform: translateY(-26px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  background: transparent;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.center-n:hover {
  transform: translateY(-30px) scale(1.05);
}

/* Profile squares */
.profile-square {
  width:40px;
  height:40px;
  border-radius:8px;
  background:linear-gradient(180deg,#ff3b3b,#cf1a1a);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform 0.3s ease;
}
.profile-square:hover {
  transform: scale(1.1);
}

/* Buttons */
.play-btn, .mylist-btn {
  border-radius:10px;
  padding:14px 20px;
  display:flex;
  align-items:center;
  font-weight:600;

  gap:12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  transition: all 0.3s ease;
  cursor: pointer;
}
.play-btn {
  background: white;
  color: #111;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
/* Desktop ke liye */
@media (min-width: 1024px) {
  .play-btn {
    padding: 16px 26px;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
    transform: scale(1);
  }

  .play-btn:hover {
    background: #e50914; /* Netflix-style hover */
    color: white;
    transform: scale(1.05);
  }
}
.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}
.mylist-btn {
  background: rgba(30,30,30,0.86);
  color:white;
  gap:5px;
}
.mylist-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}


/* Hero image */
.hero-image {
  width: 100%;
  height: 430px;
  max-height: 640px;
  object-fit: cover;
  display:block;
  transform: scale(1);
}
@media(min-width:768px){
  .hero-image { height: 52vw; }
}

/* N logo in small */
.n-logo img {
  width:100px;
  height:44px;
  border-radius:8px;
  object-fit:contain;
}

/* Animations */
@keyframes fadeSlideUp {
  0% { opacity:0; transform: translateY(20px); }
  100% { opacity:1; transform: translateY(0); }
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Bottom nav */
footer div.active svg path,
footer div.active svg rect,
footer div.active svg circle {
  stroke: var(--accent);
}
footer div.active span {
  color: var(--accent);
}
.bottom-bar a:hover svg path,
.bottom-bar a:hover svg rect,
.bottom-bar a:hover svg circle {
  stroke: var(--accent);
  transition: stroke 0.3s;
}
.bottom-bar a:hover span {
  color: var(--accent);
  transition: color 0.3s;
}

/* Small profile image */
.my-image {
  width: 25px;
  height: 25px;
  object-fit: cover;
  border-radius: 10%;
  border: 3px solid #ff0000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.my-image:hover {
  transform: scale(1.05);
}

/* Genre row */
.genre-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d1d5db;
  
  font-size: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.genre-dot {
  width: 4px;
  height: 4px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
}

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Full-screen search overlay */
#search-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10vh;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 50;
}
#search-box.active {
  transform: translateY(0);
  opacity: 1;
}
#search-box input {
  width: 90%;
  max-width: 600px;
  background: transparent;
  border: 2px solid white;
  border-radius: 9999px;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  outline: none;
}
#search-box input::placeholder {
  color: #ccc;
}
#search-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}
#search-close svg {
  width: 28px;
  height: 28px;
  stroke: white;
}
#search-results {
  margin-top: 2rem;
  width: 90%;
  max-width: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow-y: auto;
  max-height: 60vh;
}
#search-results li {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background 0.2s;
}
#search-results li:hover {
  background: rgba(255,255,255,0.1);
}
#search-results li:last-child {
  border-bottom: none;
}

/* Glassmorphism for logos */
.logo-bg {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo-bg:hover {
  transform: scale(1.2);
  box-shadow: 0 20px 40px rgba(0,255,255,0.3);
  z-index: 10;
}

/* Telegram modern card */
.telegram-card {
  background: rgba(0, 198, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,198,255,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.telegram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,198,255,0.5);
}

/* Smooth fade-in animation */
.fade-slide {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 10px 5px;
  }

  .row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
  }

  .row::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean look */
  }

  .card {
    flex: 0 0 auto;
    width: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1); /* soft outline */
  }

  .card img {
    width: 100%;
    height: 10px;
    object-fit: cover;
    border-radius: 8px;
  }

  .card:hover {
    transform: scale(1.07);
    border-color: #e50914;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6); /* glowing red outline */
  }

  .tag {
    position: absolute;
    bottom: 45px;
    left: 20px;
    background-color: #e50914;
    color: #fff;
    padding: 3px 7px;
    font-size: 0.7rem;
    border-radius: 3px;
    font-weight: 600;
  }
  
    .scrollbar-hide::-webkit-scrollbar {
      display: none;
    }

    /* Netflix-style hover overlay */
    .movie-card {
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      outline: 40px;
    }

    .movie-card:hover {
      transform: scale(1.08);
      z-index: 10;
      box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    }

    .movie-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .movie-card:hover .movie-overlay {
      opacity: 1;
    }

    .play-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .movie-card:hover .play-icon {
      opacity: 1;
    }

    .play-icon svg {
      width: 40px;
      height: 40px;
      fill: white;
    }
    /* hide scrollbar */
    .scrollbar-hide::-webkit-scrollbar { display: none; }
    .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
/* Logo container style */
.logo-bg {
  background: rgba(20, 20, 20, 0.7); /* semi-dark background */
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* Hover effect */
.logo-bg:hover {
  transform: scale(1.1);
  background: rgba(30, 30, 30, 0.85);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Image inside logo box */
.logo-bg img {
  width: 790px;       /* You can adjust logo size */
  height: 4800px;
  object-fit: contain; /* maintain aspect ratio */
  transition: transform 0.3s ease;
}

/* Optional: image zoom on hover */
.logo-bg:hover img {
  transform: scale(1.1);
}
 .recently {
      position: absolute;
      bottom: 5px;
      left: 15px;
      background-color: red;
      color: #fff;
      font-weight: 600;
      font-size: 0.9rem;
      padding: 4px 10px;
      border-radius: 6px;
      z-index: 2;
    }
    .movie-card {
  position: relative;
  border: 2px solid #e50914; /* Netflix red outline */
  border-radius: 1.5rem;
}
/* WRAPPER */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 0 0 0;
  position: relative;
}

/* HEADER */
.header {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  margin-left: 18px;
  margin-bottom: 100px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

/* SCROLL AREA */
.stage {
  display: flex;
  margin-left: -45px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  padding-left: 20px;
  scrollbar-width: none;
  gap: 15px;
}
.stage::-webkit-scrollbar {
  display: none;
}

/* MOVIE ITEM */
.item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 370px;
  height: 380px;
  transition: transform 0.3s ease;
}
.item:hover {
  transform: scale(1.04);
}

/* BIG NUMBER */
.big-number {
  position: absolute;
  font-size: 420px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 10px rgba(255, 255, 255, 0.25);
  line-height: 0.8;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.8;
  user-select: none;
  transition: 0.3s ease;
}
.item:hover .big-number {
  -webkit-text-stroke: 10px rgba(255, 0, 0, 0.5);
}

/* POSTER */
.poster-wrap {
  width: 250px;
  height: 370px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}
.poster-wrap:hover img {
  transform: scale(1.08);
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 10;
  left: 0;
  transition: transform 0.3s ease;
}

/* TITLE BELOW IMAGE */
.poster-title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 10px 0;
  z-index: 3;
}

/* RED LABEL */
.label {
  position: relative;
  background: red;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 6px 0;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 3;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .item {
    min-width: 200px;
    height: 250px;
  }
  .big-number {
    font-size: 200px;
    left: -15px;
    margin-top: 33px;
    font-weight: 800px;
    -webkit-text-stroke: 4px rgba(255, 255, 255, 0.25);
  }
.poster-wrap {
  width: 100%;
  height: 80%;
  margin-top: 5px;
margin-left: 65px;
  margin-right: 4px;
  outline: 2px solid red;
  -moz-outline-radius: 40px;
  box-shadow: 0 0 1px black; /* glowing red edge */
}
  .poster-title {
    font-size: 11px;
    padding: 5px 0;
  }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, #ff3b3b, #ff7a00);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

