/* Custom styles for professional look */
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #ec4899 !important; /* pink-600 */
    transition: color 0.3s;
}
.navbar-brand:hover {
    color: #db2777 !important; /* pink-700 */
}
.nav-link {
    font-weight: 500;
    color: #4b5563 !important; /* gray-600 */
    transition: color 0.3s, transform 0.2s;
}
.nav-link:hover {
    color: #ec4899 !important;
    transform: translateY(-2px);
}
.btn-signin {
    background: #ec4899;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background 0.3s, transform 0.2s;
}
.btn-signin:hover {
    background: #db2777;
    transform: translateY(-2px);
}






/* ====================================== Header ====================================== */

header {
  background-color: #ffffff;
}
header .channel-logo {
  margin-top: -10px;
  margin-bottom: -10px;
}
  /* ====================================== Home ====================================== */
.home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  overflow: hidden;
  padding: 5rem 1.5rem;
  background-color: #ff4d4d;
  background-image: url('banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  height: 100vh;
}

/* Overlay for better text visibility */
.home .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* subtle dark overlay */
  z-index: 1;
}

/* Container */
.home .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

@media(min-width:768px){
  .home .container {
    flex-direction: row;
  }
}

/* Left Content */
.home .left-content {
  width: 100%;
  text-align: center;
}
@media(min-width:768px){
  .home .left-content {
    width: 50%;
    text-align: left;
  }
}

/* Hero Title */
.home h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: rgb(35, 249, 24);
}
.home h1 span {
  /* background: linear-gradient(to right, #ff9a9e, #ff4d4d); */
  background: linear-gradient(to right, #ffffffc3, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Paragraph */
.home p {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.9);
}
@media(min-width:768px){
  .home p {
    font-size: 1.25rem;
  }
}

/* Buttons */
.home .buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media(min-width:768px){
  .home .buttons {
    justify-content: flex-start;
  }
}
.home .buttons a {
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.home .buttons a.primary {
  background: linear-gradient(to right, #ff6a6a, #ff1a1a);
  color: #fff;
  box-shadow: 0 5px 15px rgba(255,0,0,0.3);
}
.home .buttons a.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255,0,0,0.4);
}
.home .buttons a.secondary {
  border: 2px solid #ff1a1a;
  color: #ff1a1a;
  background: rgba(255,255,255,0.2);
}
.home .buttons a.secondary:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.05);
}

/* Right Content */
.home .right-content {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
@media(min-width:768px){
  .home .right-content {
    width: 50%;
    justify-content: flex-end;
    margin-bottom: 0;
  }
}
.home .hero-img {
  width: 300px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 2;
}

/* Blobs */
.home .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blob 8s infinite ease-in-out;
}
.home .blob.delay {
  animation-delay: 2s;
}

/* Blob Animation */
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1);}
  33% { transform: translate(30px,-30px) scale(1.1);}
  66% { transform: translate(-20px,20px) scale(0.9);}
}






  /* ===== Movie Card Hover Effects ===== */

  #moviesGrid .bg-white {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;

  }

  #moviesGrid .bg-white:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  #moviesGrid img {
    transition: transform 0.6s ease, filter 0.3s ease;
  }

  #moviesGrid .bg-white:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
  }

  #moviesGrid .p-4 {
    position: relative;
    z-index: 10;
    background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0.8));
  }

  #moviesGrid h4 {
    font-weight: 700;
    color: #111827; /* gray-900 */
  }

  #moviesGrid .text-pink-600 {
    font-weight: 700;
  }

  /* Hover Border Glow */
  #moviesGrid .bg-white::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: border-color 0.5s;
  }

  #moviesGrid .bg-white:hover::before {
    border-color: #ec4899; /* pink-500 */
  }

  /* Responsive button animation */
  #moviesGrid button {
    transition: all 0.3s ease;
  }

  #moviesGrid button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
  }
.movie-card {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 = 9/16 = 0.5625 */
    overflow: hidden;
    border-radius: 1rem;
}

.movie-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
