html, body {
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movies-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.movies-row {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 10px 0;
}

.movies-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 20px;
    min-width: 1200px; /* Ensures minimum width for 6 columns */
    margin: 0 auto;
}

.tv-show-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-width: 180px; /* Ensures minimum card width */
}

.tv-show-card:hover {
    transform: translateY(-5px);
}

.tv-show-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: contain;
    cursor: pointer;
}

.tv-show-info {
    padding: 15px;
}

.tv-show-title {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
}

.tv-show-rating {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.tv-show-date {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.tv-show-genres {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.tv-show-languages {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.tv-show-ott {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.loading {
    text-align: center;
    padding: 20px;
    display: none;
    width: 100%;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

#loginRequired {
    text-align: center;
    margin: 20px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

#loginRequired .btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #757575;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

#loginRequired .btn img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.rating-value {
    font-size: 2em;
    font-weight: bold;
    vertical-align: middle;
}

/* Remove all media queries since we want consistent 6-column layout */
@media screen and (max-width: 1800px) {
    .movies-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (max-width: 1400px) {
    .movies-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (max-width: 1000px) {
    .movies-grid {
        grid-template-columns: repeat(6, 1fr);
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
        padding: 10px;
    }
    .container {
        padding: 10px;
    }
}

/* Filters */
.filters-container {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.filters-container i {
    font-size: 1.3em;
}

.filters-container select {
    padding: 5px 10px;
}

/* No Results Message */
#noResultsMsg {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafbfc;
    color: #888;
    font-size: 1.2em;
    margin: 40px 0;
}

#noResultsMsg span {
    text-align: center;
    width: 100%;
}

#noResultsMsg i {
    color: #e74c3c;
    font-size: 4em;
    margin-top: 24px;
} 