* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #1c1c1e;
  color: #fff;
}

/* Navbar styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(17, 17, 17, 0.85); /* translucent black */
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: background 0.4s, box-shadow 0.4s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.navbar.scrolled {
  background: #111;
  box-shadow: 0 5px 15px rgba(255, 68, 113, 0.3);
}
  .logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* space between image and text */
    font-family: Arial, sans-serif;
  }
  .logo-container img {
    width: 60px;  /* adjust size as needed */
    height: 60px; /* keep aspect ratio or set fixed */
    border-radius: 50%; /* makes the image round if it's square */
    object-fit: cover;
  }
  .movies-text {
    font-size: 28px;
    font-weight: bold;
    color: #ff4471;
  }

.menu {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}

.menu li {
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}
.menu li:hover {
  color: #ff4471;
  transform: translateY(-3px) scale(1.05);
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}
.menu a:hover {
  color: #f24e61;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Main Content */
.main-content {
  padding: 120px 60px;
}

.main-content h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

/* Movie card layout */
.movie-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.movie-card {
  background: #2a2a2c;
  border-radius: 12px;
  overflow: hidden;
  width: calc(20% - 20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.movie-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 68, 113, 0.5);
}

.movie-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.4s ease-in-out;
  display: block;
}

/* Color hover overlay */
.movie-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 0, 150, 0.3), rgba(0, 204, 255, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
}

.movie-card:hover::before {
  opacity: 1;
}

.movie-info {
  padding: 12px;
  z-index: 2;
  position: relative;
  background-color: #2a2a2c;
}

.movie-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.movie-genre {
  font-size: 13px;
  color: #ffb0c1;
  margin-bottom: 5px;
}

.movie-rating {
  color: #ff4471;
  font-weight: bold;
  font-size: 14px;
}

/* Responsive Layout */

@media (max-width: 768px) {
  .movie-card {
    width: calc(50% - 12px);
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    justify-content: center;
    padding: 10px 0;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* about section */
.about-header {
  text-align: center;
  padding: 100px 20px 20px;
}
.about-header h1 {
  font-size: 48px;
  color: #ff2e63;
}
.about-header p {
  font-size: 20px;
  color: #ccc;
}

.about-content {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #eee;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 50px 40px;
}

.feature-card {
  background-color: #292929;
  padding: 25px;
  border-radius: 15px;
  transition: 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 46, 99, 0.1);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 46, 99, 0.4);
  background-color: #333;
}
.feature-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ff2e63;
}
.feature-card h3 {
  margin-bottom: 10px;
  color: #ff2e63;
}

.fade-in {
  animation: fadeInUp 1s ease both;
}
.slide-in {
  animation: slideInTop 1s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Catalog section */
.catalog-section {
  padding: 100px;
}

.catalog-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.catalog-title span {
  color: #f24e61;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* THREE COLUMNS */
  gap: 2rem;
}

.catalog-card {
  background: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.img-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.catalog-card:hover .img-container img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  transition: background 0.3s;
}
.catalog-card:hover .overlay {
  background: rgba(0,0,0,0.2);
}

.catalog-info {
  padding: 1rem;
}
.catalog-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.tags {
  color: #f24e61;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.desc {
  font-size: 0.95rem;
  color: #ccc;
}

/* Responsive layout for tablets and mobiles */
@media screen and (max-width: 992px) {
    .catalog-title {
    padding: 100px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* pricing Header */
.pricing-header {
  text-align: center;
  padding: 100px 1rem;
  background: linear-gradient(to right, #191919, #0d0d0d);
  border-bottom: 2px solid #f24e61;
}
.pricing-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.pricing-header p {
  color: #aaa;
  font-size: 1.1rem;
}

/* Section */
.pricing-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
}

/* Cards */
.pricing-card {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.pricing-card:hover {
  transform: scale(1.05);
  border-color: #f24e61;
  box-shadow: 0 0 20px rgba(242, 78, 97, 0.5);
}

/* Featured (middle) */
.featured {
  background: linear-gradient(to bottom, #262626, #1a1a1a);
  border: 2px solid #f24e61;
}

/* Text styles */
.plan-title {
  font-size: 1.6rem;
  color: #f24e61;
  margin-bottom: 1rem;
}
.plan-price {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Features */
.plan-features {
  list-style: none;
  text-align: left;
  color: #ccc;
  margin-bottom: 2rem;
}
.plan-features li {
  margin-bottom: 0.6rem;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #f24e61, #ff7185);
  border: none;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: linear-gradient(to right, #ff7185, #f24e61);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-section {
    flex-direction: column;
    align-items: center;
  }
}

.features-section {
  padding: 4rem 2rem;
  background: #181818;
  text-align: center;
}

.features-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.features-subtitle {
  color: #aaa;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-box {
  background: #222;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  color: #ddd;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid #2e2e2e;
  position: relative;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(242, 78, 97, 0.2);
  border-color: #f24e61;
}

.icon {
  background: #f24e61;
  color: #fff;
  font-size: 1.5rem;
  display: inline-block;
  padding: 12px;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.feature-box:hover .icon {
  background: #ff7185;
}

.feature-box h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: #bbb;
  line-height: 1.5;
}

/* Contact Section */
.contact-section {
  padding: 100px 20px;
  background: #1a1a1a;
}

.contact-container {
  max-width: 700px;
  margin: auto;
  background: #222;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 46, 99, 0.2);
  animation: slideUp 1s ease;
}

.contact-container h2 {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.contact-container p {
  text-align: center;
  color: #ccc;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #444;
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #ff416c, #ff4b2b);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 46, 99, 0.4);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #1f1f1f;
  color: #888;
  font-size: 0.9rem;
}

/* Animation */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .contact-container {
    padding: 20px;
  }
}

.subscribe-btn {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 65, 108, 0.4);
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 65, 108, 0.6);
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
}


/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.5s ease;
}

.modal-content {
  background: #1f1f1f;
  margin: 10% auto;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 65, 108, 0.3);
  position: relative;
  animation: slideUp 0.5s ease;
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ff2e63;
}

.modal-content input {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  background: #333;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.modal-content input:focus {
  outline: none;
  background: #444;
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.3);
}

.modal-content button {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-content button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 65, 108, 0.6);
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  color: #bbb;
  cursor: pointer;
  transition: 0.3s ease;
}

.close:hover {
  color: #fff;
}

.success-msg {
  color: #4fff4b;
  font-weight: 600;
  margin-top: 15px;
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Stylish Loader */
    #loader {
      position: fixed;
      width: 100%;
      height: 100%;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 2s ease;
    }

    .loader-wrapper {
      position: relative;
      width: 100px;
      height: 100px;
    }

    .loader-ring {
      position: absolute;
      top: 0;
      left: 0;
      width: 100px;
      height: 100px;
      border: 5px solid #ddd;
      border-top: 5px solid #e7089d7b;
      border-radius: 50%;
      animation: spin 3s linear infinite;
    }

    .loader-logo {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Hide loader after load */
    body.loaded #loader {
      opacity: 0;
      pointer-events: none;
    }