@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #181818;
    color: #fff;
    min-height: 100vh;
}

.marvel-header {
    background: linear-gradient(90deg, #e62429 0%, #181818 100%);
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    position: relative;
}

.marvel-logo {
    width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.marvel-title {
    font-size: 2.8rem;
    color: #fff;
    letter-spacing: 2px;
    margin: 0.5rem 0 0.2rem 0;
    text-shadow: 0 2px 8px #000a;
}

.marvel-tagline {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.navbar {
    background: #222;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px #000a;
    display: flex;
    justify-content: center;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.navbar-links li a.active, .navbar-links li a:hover {
    background: #e62429;
    color: #fff;
    box-shadow: 0 0 8px #e62429;
}

.about-section, .contact-section {
    max-width: 700px;
    margin: 2rem auto;
    background: #222;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 32px #000a;
}

.about-section h2, .contact-section h2 {
    color: #e62429;
    margin-bottom: 1rem;
}

.mcu-phases {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.mcu-phases h2 {
    color: #e62429;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.phases-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.phase h3 {
    color: #fff;
    background: #e62429;
    padding: 0.5rem 1rem;
    border-radius: 8px 8px 0 0;
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    background: #181818;
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
}

.movie-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 2px 16px #000a;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 1rem 0.5rem;
    border: 2px solid transparent;
}

.movie-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px #e6242977;
    border: 2px solid #e62429;
}

.movie-card img {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 8px #000a;
    background: #fff;
}

.movie-card span {
    font-size: 1rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
    margin-top: 0.2rem;
}

@media (max-width: 900px) {
    .phases-grid {
        gap: 1.5rem;
    }
    .movies-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .marvel-title {
        font-size: 1.5rem;
    }
    .about-section, .contact-section {
        padding: 1rem;
        margin: 1rem 0.5rem;
    }
    .mcu-phases {
        padding: 0.5rem;
    }
    .movies-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        padding: 0.5rem;
    }
    .movie-card img {
        width: 90px;
        height: 130px;
    }
}
