/* ЁЯФ╣ Basic Reset */
* {
    margin: 1;
    padding: 1;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa; /* рж╣рж╛рж▓ржХрж╛ ржЧрзНрж░рзЗ ржмрзНржпрж╛ржХржЧрзНрж░рж╛ржЙржирзНржб */
    color: #333; /* ржбрж╛рж░рзНржХ ржЧрзНрж░рзЗ ржЯрзЗржХрзНрж╕ржЯ */
    line-height: 1.6;
}

container {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left; /* рж╕ржм ржЯрзЗржХрзНрж╕ржЯ left side ржП рж╢рзЛ ржХрж░ржмрзЗ */
}

/* ЁЯФ╣ Movie Header */
/* 🔹 Desktop Layout (Default) */
.movie-header {
  display: flex;
  align-items: center; /* Thumbnail & Info এক লাইনে থাকবে */
  gap: 20px;
}

.movie-thumbnail {
  width: 150px;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* 🔹 Movie Information */
.movie-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.movie-imdb {
  color: #ff9800;
  font-weight: bold;
}

.movie-genres, 
.movie-director, 
.movie-cast, 
.movie-quality, 
.movie-language, 
.movie-source {
  margin: 5px 0;
}

/* 🔹 Links */
.genre-link,
.director-link,
.cast-link,
.quality-link,
.language-link,
.source-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.genre-link:hover,
.director-link:hover,
.cast-link:hover,
.quality-link:hover,
.language-link:hover,
.source-link:hover {
  text-decoration: underline;
}

/* 🔹 Mobile Responsive Design */
@media (max-width: 768px) {
  .movie-header {
    flex-direction: column; /* Thumbnail & Info একসাথে না থেকে আলাদা Column এ থাকবে */
    align-items: center; /* Center এ থাকবে সবকিছু */
    text-align: left;
  }

  .movie-thumbnail {
    width: 100px; /* মোবাইলে Thumbnail ছোট হবে */
    height: 150px;
  }

  .movie-title {
    font-size: 16px; /* মোবাইলে টাইটেল ছোট হবে */
  }

  .movie-info p {
    font-size: 12px; /* মোবাইলে টেক্সট সাইজ ছোট হবে */
  }

  .movie-genres, 
  .movie-director, 
  .movie-cast, 
  .movie-quality, 
  .movie-language, 
  .movie-source {
    margin: 3px 0;
  }
}


/* ✅ Movie Description Section */
.movie-description h3 {
    color: #e74c3c; /* লাল রঙের হেডিং */
    font-size: 16px;
    background-color: #85fffd;
}

.movie-description p {
    color: #333; /* গাঢ় কালো রঙ */
    font-size: 13px;
    line-height: 1.6;
    background: #f0f0f0;
    font-weight: bold;
}

/* ✅ Movie Story Section */
.movie-story h3 {
    color: #2980b9; /* নীল রঙের হেডিং */
    font-size: 16px;
}

.movie-story p {
    color: #333; /* গাঢ় কালো রঙ */
    font-size: 16px;
    line-height: 1.1;
    font-weight: bold;
    background-color: #f2f2f2;
}



/* ЁЯФ╣ Download Button */
.download-links {
    text-align: left; /* Download ржмрж╛ржЯржи ржмрж╛ржо ржкрж╛рж╢рзЗ */
    margin: 20px 0;
}

.download-btn {
  display: block;
  background: #0077cc;
  color: #fff;
  padding: 10px 20px;
  border-radius: 1px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s ease;
}

.download-btn:hover {
    background: #005fa3;
}

/* ЁЯФ╣ Tags Section */
.tags {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    text-align: left; /* ржЯрзНржпрж╛ржЧ ржмрж╛ржо ржкрж╛рж╢рзЗ */
}

/*--------- Related Movies--------- */
.related-movies {
    margin-top: 15px; /* গ্যাপ কমানো হয়েছে */
    padding: 2px;
    background: #f8f9fa;
    border-radius: 6px;
}

.related-movies h2 {
    text-align: center;
    margin-bottom: 8px; /* শিরোনামের নিচের গ্যাপ কমানো হয়েছে */
    font-size: 16px;
}

.related-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 2px; /* গ্যাপ আরও কমানো */
}

/* Desktop View (Default) */
.related-item {
    width: 130px; /* আইটেম সাইজ ছোট করা */
    text-align: center;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    
}

.related-item:hover {
    transform: scale(1.03);
}

.related-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid #007bff;
}

.related-item p {
    padding: 1px;
    font-size: 12px; /* ফন্ট সাইজ ছোট করা */
    font-weight: bold;
    color: #333;
}

/* 🎯 Mobile Responsive Styles */
@media screen and (max-width: 600px) {
    .related-list {
        justify-content: space-between; /* মোবাইলে জায়গা সমানভাবে নেবে */
    }

    .related-item {
        width: 48%; /* মোবাইলে ২ কলামে দেখাবে */
    }

    .related-item img {
        width: 100%;        /* মোবাইলের জন্য ছবির উচ্চতা কমানো */
        height: 180px;
        object-fit: cover;
    }

    .related-item p {
        font-size: 10px; /* মোবাইলে ফন্ট সাইজ ছোট */
    }
}

/* 🎯 General Mobile Optimization */
@media (max-width: 768px) {
    .movie-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .movie-thumbnail {
        width: 100px;
        height: 180px;
    }

    .movie-info h1 {
        font-size: 16px;
    }

    .movie-info p {
        font-size: 12px;
        background: white;
    }

    .dwn-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    .related-list {
        justify-content: flex-start;
    }
}

/* 🚀 লিংক আন্ডারলাইন সরানো */
a {
    text-decoration: none;
}

/* QNA Section */

.movie-faq {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    background: #007bff;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 11px;
    border-radius: 5px;
}

.faq-answer {
    display: none;
    padding: 10px;
    background: white;
    border-left: 3px solid #007bff;
    margin-top: 5px;
}



