/*
Theme Name: CineSites
Theme URI: https://yourdomain.com
Author: Your Name
Author URI: https://yourdomain.com
Description: The #1 directory of legal free movie websites. SEO-optimized, fast, and conversion-focused.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinesites
*/

/* =Reset & Base
-------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f9f9f9;
}

a {
    text-decoration: none;
    color: #e74c3c;
    transition: color 0.3s;
}

a:hover {
    color: #c0392b;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* =Buttons
-------------------------------------------------------------- */
.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c0392b;
}

.btn-green {
    background: #27ae60;
}

.btn-green:hover {
    background: #229954;
}

.btn-blue {
    background: #3498db;
}

.btn-blue:hover {
    background: #2980b9;
}

/* =Hero Section
-------------------------------------------------------------- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1920x600?text=Best+Free+Movie+Websites') center/cover;
    color: white;
    text-align: center;
    padding: 140px 20px 100px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* =Section Headers
-------------------------------------------------------------- */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 60px 0 40px;
    color: #111;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e74c3c;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* =Movie Sites Grid
-------------------------------------------------------------- */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.movie-card img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.movie-card h3 {
    font-size: 1.3rem;
    margin: 20px 15px 10px;
    font-weight: 600;
    color: #222;
}

.movie-card .btn {
    display: block;
    margin: 0 15px 25px;
    text-align: center;
}

/* =How It Works
-------------------------------------------------------------- */
.how-it-works {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.how-step {
    flex: 1 1 300px;
    background: #f8f8f8;
    padding: 40px 30px;
    border-radius: 16px;
    margin: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.how-step:hover {
    transform: scale(1.03);
}

.step-number {
    background: #e74c3c;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 24px;
    font-weight: bold;
}

/* =Categories
-------------------------------------------------------------- */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

.category-item {
    flex: 1 1 200px;
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* =Trust Section
-------------------------------------------------------------- */
.trust-section {
    background: #111;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.trust-item {
    margin: 15px 0;
    font-size: 1.2rem;
}

/* =Footer
-------------------------------------------------------------- */
.site-footer {
    background: #000;
    color: #ccc;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    font-weight: 500;
}

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

.copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #999;
}

/* =Responsive
-------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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