.pagination {
    text-align: left; /* Align pagination to the left */
    margin-top: 20px;
}

.pagination a, 
.pagination span {
    color: yellow; /* Default pagination text color */
    font-size: 18px; /* Adjust font size */
    font-weight: bold; /* Make text bold */
    margin: 0 5px; /* Add spacing between numbers */
    text-decoration: none; /* Remove underline */
}

.pagination .current {
    color: white; /* Make the selected page number white */
}

.pagination a:hover {
    text-decoration: underline; /* Underline on hover */
}
















.site-title {
    font-size: 24px; /* Increase font size */
    font-weight: bold; /* Make it bold */
    color: #ffcc00; /* Bright color (change as needed) */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a shadow for a stylish effect */
    text-decoration: none; /* Remove underline */
    display: inline-block;
    padding: 5px 10px;
    border-radius: 6px;
    background: linear-gradient(45deg, #ff5733, #ffcc00); /* Gradient background */
    transition: 0.3s ease-in-out;
}

.site-title:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    background: linear-gradient(45deg, #ffcc00, #ff5733); /* Reverse gradient on hover */
}





/* MAIN Page Home Page Ensure movie grid is responsive and evenly spaced */


.movie-grid-container {
    max-width: 85%; /* Adds margin from screen ends */
    margin: 0 auto;
}
.movie-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Flexible grid */
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}



/* Movie Card Styling */
.movie-card {
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Scale card on hover */
.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Movie Poster */
.movie-poster {
    width: 100%; /* Ensure full width */
    height: 330px; /* Fixed height */
    object-fit: cover; /* Prevent distortion */
    border-radius: 12px 12px 0 0;
}

/* Movie Info Box */
.movie-info {
    padding: 12px;
    text-align: center;
    text-decoration: none
}

/* Movie Title */
.movie-title {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-decoration: none;
}
.movie-title a {
    text-decoration: none; /* Ensure no underline */
    
}

/* Movie Metadata */
.movie-meta {
    font-size: 14px;
    color: #bbb;
}

/* Rating Badge */
.rating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 150, 0, 0.8);
    color: #fff;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
}







/*//General Styles for single-movie.php */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.movie-hero {
    position: relative;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.movie-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1));
}

.movie-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    padding: 20px;
}

/* Movie Poster */
.movie-poster img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

/* Movie Info */
.movie-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.movie-meta {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.movie-rating {
    font-size: 18px;
    margin: 10px 0;
}

.movie-tagline {
    font-style: italic;
    opacity: 0.9;
}

/* Movie Overview */
.movie-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.movie-overview h2,
.movie-cast h2,
.movie-trailer h2,
.movie-screenshots h2 {
    font-size: 24px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Cast Grid */
.cast-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.cast-card {
    width: 150px;
    background: #222;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
}

.cast-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.actor-name {
    font-weight: bold;
    margin-top: 8px;
}

.character-name {
    font-size: 14px;
    opacity: 0.7;
}

/* Trailer Section */
.movie-trailer iframe {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

/* Screenshot Grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.screenshot-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .movie-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .movie-poster img {
        width: 200px;
    }

    .cast-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cast-card {
        width: 120px;
    }
}

/* Movie Details Box */
.movie-container {
    max-width: 900px;
    margin: 20px auto;
    background: rgba(30, 30, 30, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: none;
}
.movie-title a {
    text-decoration: none; /* Ensure no underline */
    
}

.movie-intro, .movie-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    text-align: center; /*to align left the content of Intro part of sinle movie page */
}

.movie-container p strong {
    color: #fff;
}

.movie-container a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
}

.movie-container a:hover {
    text-decoration: underline;
}

/* General Box Style */
.movie-box {
    max-width: 900px;
    margin: 20px auto;
    background: rgba(35, 35, 35, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Headings */
.movie-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 15px;
    text-align: center;
}

/* Paragraph Styling */
.movie-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    text-align: center;
}

/* Bold Text */
.movie-box p strong {
    color: #fff;
}

/* Movie Links */
.movie-box a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
}

.movie-box a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-box p {
    text-align: left;
    padding: 5px 10px;
    border-left: 4px solid #ffcc00;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}






/* Table design in single-movie page*/


.movie-details-box {
    max-width: 900px;
    margin: 20px auto;
    background: rgba(30, 30, 30, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.movie-details {
    width: 100%;
    border-collapse: collapse;
}

.movie-details th, .movie-details td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.movie-details th {
    text-align: left;
    font-weight: bold;
    color: #ffd700;
}

.movie-details td {
    color: #fff;
}


.movie-details a.movie-link {
    color: #ffcc00;
    text-decoration: none;
    font-weight: 600;
}

.movie-details a.movie-link:hover {
    text-decoration: underline;
}


/* Movie Review */

.movie-review-container {
    max-width: 900px;
    margin: 20px auto;
    background: rgba(30, 30, 30, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


    .movie-title {
        color: #ffcc00;
        font-size: 20px;
        font-weight: bold;
        text-decoration: none; /* Remove underline */
    }
    .movie-title a {
    text-decoration: none; /* Ensure no underline */
   }

    .highlight {
        color: #ffcc00;
        font-weight: bold;
    }

    .movie-meta a {
        color:#ffcc00;
        text-decoration: none;
        font-weight: bold;
    }

    .movie-meta a:hover {
        text-decoration: underline;
    }

    .icon {
        font-size: 18px;
        margin-right: 5px;
    }

    .rating {
        color: #FFD700;
        font-size: 20px;
    }

    .final-verdict {
        font-weight: bold;
        font-size: 20px;
        color: #ffcc00;
        margin-top: 15px;
    }






.movie-review-container {
    max-width: 900px;
    margin: 20px auto;
    background: rgba(30, 30, 30, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}





/* Header Styling */
/* Search Box Styling */
.search-box {
    width: 80%;  /* Increase width */
    max-width: 600px;  /* Keep it responsive */
    margin: 20px auto; /* Center it */
}

.search-box form {
    display: flex;
    align-items: center;
    background: #222; /* Dark grey background */
    padding: 8px;
    border-radius: 30px; /* Rounder edges */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1); /* Light glow */
    width: 100%;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 30px;
}

.search-box button {
    background: #ff9800;
    border: none;
    color: #fff;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
    margin-left: -40px; /* Fix alignment */
}

.search-box button:hover {
    background: #e68900;
}

.search-results {
    position: absolute;
    background: #333;
    color: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: yellow;
    text-decoration: none;
    background: #222;
    border-bottom: 1px solid #444;
}

.search-result-item img {
    width: 50px;
    height: 75px;
    margin-right: 10px;
    border-radius: 3px;
}

.search-result-item:hover {
    background: #444;
}




/* Genre & Language Buttons */
.genre-list, .language-list {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 15px;
}

.genre-list a, .language-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    background: #333;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.genre-list a:hover, .language-list a:hover {
    background: #ff9800;
}

/* Latest Movies Section */
.latest-movies {
    padding: 20px;
}



.footer-disclaimer {
    background-color: #1e1e1e; /* Dark footer background */
    color: #ddd; /* Light text for readability */
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    padding: 15px 20px;
    margin-top: 20px;
}

.footer-disclaimer p {
    margin-bottom: 10px;
}

.footer-disclaimer strong {
    color: #ffffff; /* White for emphasis */
}

.footer-links {
    text-align: center;
    margin-top: 20px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* for Movies reviews done by people*/

.review-container {
    
     max-width: 900px;
    margin: 20px auto;
    background: rgba(30, 30, 30, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    
    /*background: #222; */
    /*padding: 20px;*/
    /*margin: 20px 0;*/
    /*border-radius: 12px;*/
    /*box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);*/
    /*text-align: center;*/
}

.review-heading {
    font-size: 22px;
    font-weight: bold;
    color: #FFC107; /* Yellow like Movie Rating title */
    margin-bottom: 15px;
}

.movie-reviews {
    margin-top: 10px;
    text-align: left;
}

.review-card {
    background: #333; /* Slightly lighter than container for contrast */
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-author {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.review-date {
    font-size: 12px;
    color: #ccc;
}

.review-rating {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 5px;
    font-size: 14px;
}

.review-text {
    margin-top: 10px;
    color: #ddd;
}

.read-more {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}
.read-more:hover {
    text-decoration: underline;
}

.no-reviews {
    color: #bbb;
    text-align: center;
    font-size: 16px;
}





/* Streaming Links List for netflix, amazon etc  in index.php . This is the only CSS for content that was written below list of movies in index.php*/
.streaming-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Individual Streaming Platform Links */
.streaming-links li {
    display: inline-block;
}
.streaming-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #222;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}












/*for advertisement banner*/
.header-affiliate-banner {
  text-align: center;
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.header-affiliate-banner img {
  max-width: 100%;
  height: auto;
}