  /* Import Google Font - Inter */
        @import url('https://fonts.googleapis.com/css2?family=Creepster&family=Inter:wght@400;700&display=swap');

        body {
            font-family: 'Inter', Arial, sans-serif; /* Changed font to Inter */
            margin: 0;
            padding: 0;
            background-color: #1a1a2e; /* Dark background */
            color: #e0e0e0; /* Light text */
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            background-color: #0f044c; /* Darker blue */
            color: #e0e0e0;
            padding: 1rem 0;
            border-bottom: 3px solid #735bf2; /* Accent color */
        }
        /* Style for individual blog post titles */
.blog-post-title {
    font-family: 'Creepster', cursive;
    color: #ffd700; /* Keeping your gold accent color for consistency */
    text-align: center; /* This will center the title on the page */
    margin-bottom: 20px; /* Adds space below the title */
}

        header h1 {
            margin: 0;
            float: left;
            color: #ffd700; /* Gold for title */
        }

        header nav {
            float: right;
            margin-top: 10px;
        }

        header nav ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        header nav ul li {
            display: inline;
            margin-left: 20px;
        }

        header nav ul li a {
            color: #e0e0e0;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        header nav ul li a:hover {
            color: #ffd700; /* Gold on hover */
        }

        header .container::after {
            content: "";
            display: table;
            clear: both;
        }

        .hero {
            background: #0f044c;
            color: #e0e0e0;
            text-align: center;
            padding: 100px 20px;
            margin-bottom: 20px;
        }

       .hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffd700;
    font-family: 'Creepster', cursive; /* Add this line! */
}

        .hero p {
            font-size: 1.2em;
            margin-bottom: 30px;
        }

        .btn {
            display: inline-block;
            background-color: #735bf2;
            color: #fff;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        .btn:hover {
            background-color: #5d48cc;
        }

        .section-padded {
            padding: 40px 0;
            background-color: #2a2a4a;
            margin-bottom: 20px;
            border-radius: 8px;
        }

        .section-padded h2 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.5em;
            color: #ffd700;
        }

        .movie-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            justify-content: center;
        }

        .movie-card {
            background-color: #0f044c;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            text-align: center;
            padding-bottom: 15px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative; /* For play button positioning and details text */
        }

        .movie-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
        }

        .movie-card-media {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #000; /* Fallback for no image/video */
            border-bottom: 2px solid #735bf2;
        }

        .movie-card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: opacity 0.3s ease;
        }
        
        .movie-card-media iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(115, 91, 242, 0.9);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            font-size: 2.5em;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        }

        .play-button:hover {
            background-color: #ffd700;
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .movie-card h3 {
            font-size: 1.2em;
            margin: 10px 10px 5px;
            color: #e0e0e0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .movie-card p {
            font-size: 0.9em;
            color: #b0b0b0;
            margin: 0 10px;
        }

        .movie-card a.card-link { /* Specific class for the link wrapping content */
            text-decoration: none;
            color: inherit;
            display: block; /* Ensure the anchor fills its container */
            cursor: pointer; /* Indicate it's clickable */
            position: relative; /* For positioning details-text */
            padding-bottom: 25px; /* Make space for details text */
        }
        
        /* New styles for "View Details" text */
        .details-text {
            position: absolute;
            bottom: 0px; /* Position at the bottom of the card content */
            left: 0;
            right: 0;
            background-color: rgba(115, 91, 242, 0.8); /* Semi-transparent background */
            color: #fff;
            padding: 5px 0;
            font-size: 0.85em;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            opacity: 0; /* Initially hidden */
            transition: opacity 0.3s ease;
            pointer-events: none; /* Allows clicks to pass through to the parent link */
        }

        .movie-card:hover .details-text {
            opacity: 1; /* Fade in on hover */
        }

        /* Pagination styles */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }

        .pagination button {
            background-color: #735bf2;
            color: #fff;
            padding: 10px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s ease;
        }

        .pagination button:hover:not(:disabled) {
            background-color: #5d48cc;
        }

        .pagination button:disabled {
            background-color: #4a4a6b;
            cursor: not-allowed;
        }

        .pagination span {
            align-self: center;
            font-size: 1.1em;
        }

        /* Search bar styling */
        .search-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px; /* Space between input and buttons */
            margin-bottom: 30px;
            flex-wrap: wrap; /* Allow wrapping on small screens */
        }

        .search-controls input[type="text"] {
            flex-grow: 1; /* Allow input to grow */
            max-width: 500px;
            padding: 12px 15px;
            border: 2px solid #735bf2;
            border-radius: 25px;
            background-color: #0f044c;
            color: #e0e0e0;
            font-size: 1.1em;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .search-controls input[type="text"]::placeholder {
            color: #b0b0b0;
        }

        .search-controls input[type="text"]:focus {
            border-color: #ffd700;
            box-shadow: 0 0 8px rgba(115, 91, 242, 0.5);
        }

        .search-controls button {
            background-color: #735bf2;
            color: #fff;
            padding: 12px 20px;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .search-controls button:hover {
            background-color: #5d48cc;
            transform: translateY(-2px);
        }

        /* Genre Buttons Styling */
        .genre-buttons-container {
            text-align: center;
            margin-bottom: 20px;
            padding: 10px 0;
            background-color: #2a2a4a;
            border-radius: 8px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
        }

        .genre-buttons-container button {
            background-color: #4a4a6b;
            color: #e0e0e0;
            padding: 8px 15px;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9em;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .genre-buttons-container button:hover {
            background-color: #5d4a6b;
            transform: translateY(-1px);
        }

        .genre-buttons-container button.active-genre-button {
            background-color: #735bf2;
            color: #fff;
            font-weight: bold;
        }

        footer {
            background-color: #0f044c;
            color: #e0e0e0;
            text-align: center;
            padding: 1rem 0;
            margin-top: 20px;
            border-top: 3px solid #735bf2;
        }

        footer p {
            margin: 0;
            font-size: 0.9em;
        }

        footer a {
            color: #ffd700;
            text-decoration: none;
            transition: text-decoration 0.3s ease;
        }

        footer a:hover {
            text-decoration: underline;
        }

        /* Responsive adjustments for overall layout */
        @media (max-width: 768px) {
            header h1,
            header nav {
                float: none;
                text-align: center;
            }

            header nav ul li {
                margin: 0 10px;
            }

            .hero h2 {
                font-size: 2.5em;
            }

            .movie-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }

            .search-controls {
                flex-direction: column; /* Stack items vertically */
                align-items: stretch;
            }

            .search-controls input[type="text"],
            .search-controls button {
                width: 100%; /* Full width on small screens */
                max-width: none;
            }

            .genre-buttons-container {
                justify-content: center; /* Center buttons when they wrap */
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 60px 15px;
            }

            .hero h2 {
                font-size: 2em;
            }

            .section-padded h2 {
                font-size: 2em;
            }

            .movie-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

            .movie-card img {
                height: 250px;
            }
        }