/*
Theme Name: MoviesFlix Professional
Theme URI: https://themoviesflix.fun
Description: Professional movie download website theme - 100% dashboard editable
Version: 1.0
Author: Your Name
License: GPL v2 or later
Text Domain: moviesflix
*/

* {margin:0;padding:0;box-sizing:border-box;}

body {
    font-family: Arial, sans-serif;
    background: #0c0c0c;
    color: #ffffff;
    line-height: 1.6;
}

a {color: #ffffff; text-decoration: none; transition: 0.3s;}
a:hover {color: #e50914;}
img {max-width: 100%; height: auto; display: block;}
.container {max-width: 1400px; margin: 0 auto; padding: 0 20px;}

/* Header */
.site-header {
    background: #000000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.8);
    border-bottom: 2px solid #1a1a1a;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #e50914, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.main-navigation li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
}

.main-navigation li a:hover {
    background: #e50914;
    color: #ffffff;
}

.header-search-form {display: flex; gap: 10px;}

.header-search-form input[type="search"] {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background: #1a1a1a;
    color: #ffffff;
    width: 250px;
}

.header-search-form button {
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    background: #e50914;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

/* Main Content */
.main-content {min-height: 70vh; padding: 40px 0;}
.page-header {margin-bottom: 40px; padding-bottom: 20px; border-bottom: 3px solid #e50914;}
.page-title {font-size: 36px; font-weight: 700; text-transform: uppercase;}

/* Movies Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.movie-item {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.movie-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.6);
}

.movie-poster {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
    background: #0c0c0c;
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(229, 9, 20, 0.9);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.movie-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.movie-info {padding: 15px;}
.movie-title {font-size: 16px; font-weight: 600; margin-bottom: 8px;}
.movie-meta {display: flex; justify-content: space-between; font-size: 13px; color: #999;}

/* Single Movie */
.single-movie-container {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.movie-detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px;
}

.movie-poster-large {border-radius: 10px; overflow: hidden;}
.movie-info-section h1 {font-size: 42px; margin-bottom: 15px;}

.movie-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.movie-meta-info span {
    background: #2a2a2a;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.movie-description {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    line-height: 1.8;
    color: #ccc;
}

.movie-details-box {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.movie-details-box h3 {color: #e50914; margin-bottom: 15px;}
.movie-details-box p {margin: 12px 0; color: #ccc;}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #1a1a1a, #0c0c0c);
    padding: 50px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid #2a2a2a;
}

.download-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #e50914;
    text-transform: uppercase;
}

.download-buttons-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background: #000000;
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 3px solid #e50914;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {color: #e50914; margin-bottom: 20px;}
.footer-widget ul {list-style: none;}
.footer-widget ul li {margin: 10px 0;}
.footer-widget ul li a {color: #999;}
.footer-widget ul li a:hover {color: #e50914;}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0;
}

.pagination a, .pagination span {
    padding: 12px 18px;
    background: #1a1a1a;
    border-radius: 5px;
    font-weight: 600;
}

.pagination a:hover, .pagination .current {
    background: #e50914;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {flex-direction: column;}
    .main-navigation ul {flex-direction: column; width: 100%;}
    .movie-detail-grid {grid-template-columns: 1fr;}
    .movies-grid {grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));}
}