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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #141414;
    color: white;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to bottom, #000, #141414);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #e50914; /* Netflix červená */
}

header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

main {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.movie-card {
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.5);
}

.movie-poster {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.movie-info {
    padding: 1rem;
}

.movie-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.movie-desc {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responzivní */
@media (max-width: 768px) {
    main {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
}
