/*---Full Body ---*/

body {
    font-family: Arial, sans-serif;
    padding: 0;
    background-color: #f8f9fa;
}

h1 {
      display: block;
  font-size: 14px;
  margin-block-start: 2px;
  margin-block-end: 2px;
  margin-inline-start: 5px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

p {
    
    margin: 0px;
    padding: 0px;
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 12px;
    color: #696969;
    background-color: #FFFFFF;
}
/*---New Section ----*/

.story {
    margin: 2px;
    padding: 4px;
    border: 1px dotted #f4f4f4;
    font-size: 12px;
}
.site-header {
    text-align: center;
    background-color: #b3f4f5;
    padding: 20px;
    border-bottom: 2px solid #ddd;
}

.site-title {
    font-size: 17px; /* সাধারণ সাইজ */
    font-weight: bold;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* ✅ Movie List Container → GRID */
.movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;                  /* কার্ডের মাঝে স্পেস */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ✅ Individual Movie Card */
.movie-item {
    display: flex;
    flex-direction: column;     /* ছবি উপরে, তথ্য নিচে */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* hover effect */
.movie-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* ✅ Movie Thumbnail */
.movie-thumbnail {
    width: 100%;
    height: 300px;              /* চাইলে height পরিবর্তন করুন */
    object-fit: cover;          /* ছবি crop হবে সুন্দরভাবে */
    display: block;
}

/* ✅ Movie Information */
.movie-info {
    padding: 12px;
}

/* Title */
.movie-info h3,
.movie-info .movie-title {
    font-size: 16px;
    margin: 0 0 6px 0;
    color: #0073e6;             /* Dark Blue */
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* meta text */
.movie-info p {
    font-size: 14px;
    margin: 4px 0;
}

/* custom colors */
.movie-info p span.imdb {
    color: #e63946; /* Red */
    font-weight: bold;
}
.movie-info p span.genre {
    color: #2a9d8f; /* Green */
    font-weight: bold;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .movie-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .movie-thumbnail {
        height: 220px;
    }
    .movie-info h3,
    .movie-info .movie-title {
        font-size: 14px;
        white-space: normal;
    }
    .movie-info p {
        font-size: 12px;
    }
}

/* Category Section Style */


/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    max-width: auto;
}

.category-list li {
    background: #fff;
    margin: auto;
    padding: 10px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Category Links */
.category-list li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*-------Pagingnation--------*/
.pagination {
    text-align: center;
    margin: 20px 0;
}
.pagination a { 
    padding: 3px 5px;
    margin: 1px;
    background: #0044ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.pagination a.active {
    background: #333;
    font-weight: bold;
}
.pagination a:hover {
    background: #ff6347;
}

