* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 70px;
}

/* Navbar Styles */
.navbar {
    background-color: #1f1f1f;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 100%;
    margin: 0 ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    margin-right: 20px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a.active {
    color: #fff;
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #c41e3a;
    border-radius: 2px;
}

.nav-menu li a:hover {
    color: #c41e3a;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.search-btn,
.notification-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px;
}

.search-btn:hover,
.notification-btn:hover {
    color: #c41e3a;
}

.signin-btn {
    background: linear-gradient(180deg, #E50916 0%, #780108 100%);
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(229, 9, 22, 0.25);
}

.signin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(229, 9, 22, 0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #1f1f1f;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo span {
        font-size: 24px;
    }

    .logo img {
        height: 35px;
    }

    .signin-btn {
        padding: 10px 25px;
        font-size: 12px;
    }

    .search-btn,
    .notification-btn {
        font-size: 18px;
    }

    .nav-right {
        gap: 15px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 12px 15px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo img {
        height: 30px;
    }

    .signin-btn {
        padding: 8px 20px;
        font-size: 11px;
    }

    .nav-right {
        gap: 10px;
    }

    .search-btn,
    .notification-btn {
        font-size: 16px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    background-image: url('../images/Home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3) 70%, transparent 100%); */
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    /* background: linear-gradient(to top, #1a1a1a 0%, transparent 100%); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 10px;
    margin-left: 0;
    padding-left: 72px;
}

.popular-tag {
    display: inline-block;
    color: #7a7a7a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 60px;
    font-weight: 7  00;
    margin: 0;
    line-height: 1.15;
    color: #fff;
    max-width: 750px;
}

.hero-subtitle {
    font-size: 60px;
    font-weight: 400;
    margin: 0 0 25px 0;
    line-height: 1.15;
    color: #fff;
    max-width: 850px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.rating-label {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.stars {
    display: flex;
    gap: 5px;
    color: #ff0000;
    font-size: 16px;
}

.rating-year {
    font-size: 14px;
    color: #ff0000;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.watch-now-btn {
    background: linear-gradient(180deg, #E50916 0%, #780108 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(229, 9, 22, 0.25);
}

.watch-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(229, 9, 22, 0.35);
}

.watch-trailer-btn {
    background: black;
    color: #fff;
    border: 2px solid black;
    padding: 15px 35px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.watch-trailer-btn:hover {
    background: #fff;
    color: #1a1a1a;
}

/* Responsive Hero Section */
@media screen and (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 0 30px;
        margin-left: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 30px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .watch-now-btn,
    .watch-trailer-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .watch-now-btn,
    .watch-trailer-btn {
        padding: 12px 30px;
        font-size: 13px;
    }
}

/* Movie Details Section */
.movie-details {
    background-color: #1a1a1a;
    padding: 80px 60px;
    min-height: 85vh;
    padding-bottom: 0;
}

.details-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.movie-poster {
    flex-shrink: 0;
    width: 500px;
    position: relative;
}

.movie-poster img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.watch-now-btn-poster {
    width: 100%;
    background: linear-gradient(180deg, #E50916 0%, #780108 100%);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(229, 9, 22, 0.25);
}

.watch-now-btn-poster:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(229, 9, 22, 0.35);
}

.watch-trailer-btn-poster {
    width: 100%;
    background: #3a3a3a;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
    letter-spacing: 1.5px;
}

.watch-trailer-btn-poster:hover {
    background: #4a4a4a;
}

.movie-info {
    flex: 1;
    color: #fff;
}

.movie-title {
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: #333;
    margin: 30px 0;
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.stars-detail {
    display: flex;
    gap: 5px;
    color: #ffa500;
    font-size: 18px;
}

.meta-text {
    font-size: 16px;
    color: #ccc;
}

.meta-divider {
    color: #666;
    font-size: 16px;
}

.details-cast-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.details-section h3,
.cast-section h3,
.storyline-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.details-section h3::after,
.cast-section h3::after,
.storyline-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(180deg, #E50916 0%, #780108 100%);
    border-radius: 2px;
}

.details-section p,
.cast-section p {
    font-size: 16px;
    color: #ccc;
    margin: 14px 0;
    line-height: 1.6;
}

.details-section strong {
    color: #fff;
    font-weight: 600;
}

.storyline-section p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.8;
    margin: 0;
}

.movie-details::after {
    content: '';
    display: block;
    width: 90%;
    height: 1px;
    background: #333;
    margin: 60px auto 0;
}

/* Trailer Section */
.trailer-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.section-header i {
    color: #c41e3a;
    font-size: 28px;
}

.section-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(180deg, #E50916 0%, #780108 100%);
    border-radius: 2px;
}

.trailer-container {
    max-width: 80%;
    margin: 0 auto;
}

.trailer-video {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.trailer-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}

.trailer-video:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.trailer-video img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.trailer-video:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: #E50916;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 
        0 0 0 0 rgba(220, 20, 60, 0.7),
        0 0 0 20px rgba(220, 20, 60, 0.5),
        0 0 0 40px rgba(220, 20, 60, 0.3),
        0 0 0 60px rgba(220, 20, 60, 0.15);
    animation: pulse-rings 2s ease-out infinite;
}

@keyframes pulse-rings {
    0% {
        box-shadow: 
            0 0 0 0 rgba(220, 20, 60, 0.7),
            0 0 0 20px rgba(220, 20, 60, 0.5),
            0 0 0 40px rgba(220, 20, 60, 0.3),
            0 0 0 60px rgba(220, 20, 60, 0.15);
    }
    50% {
        box-shadow: 
            0 0 0 10px rgba(220, 20, 60, 0.6),
            0 0 0 30px rgba(220, 20, 60, 0.4),
            0 0 0 50px rgba(220, 20, 60, 0.2),
            0 0 0 70px rgba(220, 20, 60, 0.1);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(220, 20, 60, 0.7),
            0 0 0 20px rgba(220, 20, 60, 0.5),
            0 0 0 40px rgba(220, 20, 60, 0.3),
            0 0 0 60px rgba(220, 20, 60, 0.15);
    }
}

.play-overlay i {
    color: #fff;
    font-size: 36px;
    margin-left: 5px;
}

.trailer-video:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ff1744;
}

/* Coming Soon Section */
.coming-soon-section {
    background-color: #1a1a1a;
    padding: 30px 60px 20px;
}

/* Responsive Trailer & Coming Soon */
@media screen and (max-width: 1024px) {
    .trailer-container {
        max-width: 85%;
    }
}

@media screen and (max-width: 768px) {
    .trailer-container {
        max-width: 95%;
    }
}

@media screen and (max-width: 768px) {
    .trailer-section,
    .coming-soon-section {
        padding: 60px 30px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header i {
        font-size: 24px;
    }

    .section-icon {
        width: 24px;
        height: 24px;
    }

    .play-overlay {
        width: 60px;
        height: 60px;
    }

    .play-overlay i {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .trailer-section,
    .coming-soon-section {
        padding: 40px 20px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-header i {
        font-size: 20px;
    }
}

/* Footer */
.footer {
    background-color: black;
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #333;
    margin: 40px 0;
}

.footer-newsletter {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.footer-newsletter h2 {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
}

.footer-newsletter p {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.email-input {
    flex: 1;
    max-width: 400px;
    padding: 16px 25px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input::placeholder {
    color: #666;
}

.email-input:focus {
    border-color: #555;
}

.subscribe-btn {
    padding: 16px 40px;
    background: linear-gradient(180deg, #E50916 0%, #780108 100%);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(229, 9, 22, 0.25);
}

.subscribe-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(229, 9, 22, 0.35);
}

.footer-social {
    text-align: center;
    margin-bottom: 40px;
}

.follow-text {
    font-size: 14px;
    color: #999;
    margin: 0 0 20px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: #E50916;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #E50916;
    color: #fff;
    border-color: #E50916;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
    margin: 0;
}
/* Footer Contact */
.footer-contact {
    text-align: center;
    max-width: 700px;
    margin: 40px auto;
}

.footer-contact h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact ul li {
    font-size: 14px;
    color: #ccc;
    margin: 6px 0;
    line-height: 1.6;
}

.footer-contact strong {
    color: #fff;
    font-weight: 600;
}

.footer-contact a {
    text-decoration: none;
    color: #E50916;
    font-weight: 500;
}

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


/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 30px 20px;
    }

    .footer-newsletter h2 {
        font-size: 26px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        max-width: 100%;
        width: 100%;
    }

    .subscribe-btn {
        width: 100%;
    }

    .footer-logo span {
        font-size: 28px;
    }

    .footer-logo img {
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 20px 15px;
    }

    .footer-newsletter h2 {
        font-size: 22px;
    }

    .footer-newsletter p {
        font-size: 13px;
    }

    .footer-logo span {
        font-size: 24px;
    }

    .footer-logo img {
        height: 35px;
    }

    .social-icons {
        gap: 5px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Responsive Movie Details */
@media screen and (max-width: 1024px) {
    .details-container {
        gap: 40px;
    }

    .movie-poster {
        width: 320px;
    }

    .details-cast-wrapper {
        gap: 50px;
    }
}

@media screen and (max-width: 768px) {
    .movie-details {
        padding: 60px 30px;
    }

    .details-container {
        flex-direction: column;
        align-items: center;
    }

    .movie-poster {
        width: 100%;
        max-width: 380px;
    }

    .movie-title {
        font-size: 28px;
    }

    .details-cast-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .movie-details {
        padding: 40px 20px;
    }

    .movie-title {
        font-size: 24px;
    }

    .details-section h3,
    .cast-section h3,
    .storyline-section h3 {
        font-size: 18px;
    }

    .details-section p,
    .cast-section p,
    .storyline-section p {
        font-size: 14px;
    }
}

