/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ef4444;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.sign-in-btn {
    background: linear-gradient(to right, #f59e0b, #ef4444);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

/* Movie Page */
.movie-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://image.tmdb.org/t/p/w1280/7u3pxc0K1wx32IleAkLv78MKgrw.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 20px 40px;
    text-align: center;
}

.movie-poster {
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    margin: -100px auto 20px;
    background: white;
    padding: 4px;
}

.movie-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.movie-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.platform-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.platform-tag {
    background: #ef4444;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.section {
    padding: 60px 20px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: #1a2a6c;
    text-align: center;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cast-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid #eee;
}

.similar-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.similar-movie-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.similar-movie-item img:hover {
    transform: scale(1.05);
}

.cta-box {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.cta-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1a2a6c;
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .movie-title {
        font-size: 1.8rem;
    }
    .movie-meta {
        flex-direction: column;
        gap: 8px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}