/* General body and container styling */
main {
    padding: 20px 5vw;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #ffcc00;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    padding-left: 8px;
    border-left: 5px solid #ffcc00;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    padding-bottom: 20px;
}

/* Reusing and adapting card styles from main-page.css */
.movie-grid .card {
    min-width: 220px;
    height: 340px;
    background: rgba(255,255,255,0.07);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: hidden;
    position: relative;
    border: 1.5px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
}

.movie-grid .card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(255,204,0,0.18), 0 2px 16px rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.13);
    z-index: 2;
}

.movie-grid .card .poster {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.movie-grid .card .rest_card {
    background: none;
    position: static;
    width: 100%;
    height: 30%;
    padding: 12px 16px 10px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 0 16px 16px;
}

.movie-grid .card .rest_card .cont {
    color: #fff;
    padding: 0;
}

.movie-grid .card .rest_card .cont h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffcc00;
    text-shadow: 0 1px 4px rgba(0,0,0,0.13);
}

.movie-grid .card .rest_card .cont .sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.movie-grid .card .rest_card .cont p {
    font-size: 0.60rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.movie-grid .card .rest_card .cont .sub h5 span {
    background: #ffcc00;
    color: #162530;
    padding: 2px 6px;
    margin: 0 5px 0 10px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.95rem;
}

.movie-grid .card .rest_card .cont .sub h5 i {
    margin-left: 3px;
    color: #ffcc00;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 14px;
    }
    .movie-grid .card {
        min-width: 170px;
        height: 260px;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 1.8rem;
    }
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .movie-grid .card {
        min-width: 140px;
        height: 210px;
        border-radius: 10px;
    }
    .movie-grid .card .poster {
        border-radius: 10px 10px 0 0;
    }
    .movie-grid .card .rest_card {
        padding: 6px 7px 5px 7px;
        border-radius: 0 0 10px 10px;
    }
    .movie-grid .card .rest_card .cont h4 {
        font-size: 0.85rem;
    }
    .movie-grid .card .rest_card .cont p {
        font-size: 0.7rem;
    }
    .movie-grid .card .rest_card .cont .sub h5 span {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
} 