* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section {
    margin-bottom: 60px;
}

/* Headers */
.header-1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.header-2 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #34495e;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.header-3 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #34495e;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.paragraph-1 {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    line-height: 1.8;
}

/* Featured Movies */
.featured-movies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.movie-slot {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.movie-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.movie-cover {
    width: 150px;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #ecf0f1;
}

.movie-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
}

.movie-year {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Scrolling Movies */
.scrolling-container {
    position: relative;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 20px;
}

.scrolling-movies {
    display: flex;
    gap: 25px;
    padding: 10px 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #bdc3c7 #ecf0f1;
    cursor: grab;
}

.scrolling-movies:active {
    cursor: grabbing;
}

/* Custom scrollbar for webkit browsers */
.scrolling-movies::-webkit-scrollbar {
    height: 8px;
}

.scrolling-movies::-webkit-scrollbar-track {
    background: #ecf0f1;
    border-radius: 4px;
}

.scrolling-movies::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 4px;
}

.scrolling-movies::-webkit-scrollbar-thumb:hover {
    background: #95a5a6;
}

.scrolling-movie-slot {
    flex: 0 0 auto;
    width: 180px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scrolling-movie-slot:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.scrolling-movie-cover {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    background-color: #ecf0f1;
}

.scrolling-movie-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scrolling-movie-year {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Loading and Error States */
.loading {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .header-1 {
        font-size: 2.2rem;
    }
    
    .header-2,
    .header-3 {
        font-size: 1.8rem;
    }
    
    .featured-movies {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .movie-cover {
        width: 120px;
        height: 180px;
    }
    
    .scrolling-movie-slot {
        width: 150px;
    }
    
    .scrolling-movie-cover {
        width: 100px;
        height: 150px;
    }
    
    .scrolling-container {
        padding: 15px;
    }
    
    .scrolling-movies {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header-1 {
        font-size: 1.8rem;
    }
    
    .header-2,
    .header-3 {
        font-size: 1.5rem;
    }
    
    .featured-movies {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .movie-slot {
        padding: 15px;
    }
    
    .movie-cover {
        width: 100px;
        height: 150px;
    }
    
    .scrolling-movie-slot {
        width: 130px;
    }
    
    .scrolling-movie-cover {
        width: 90px;
        height: 135px;
    }
}