/* 全局样式 */
body {
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 导航栏样式 */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* 搜索框样式 */
.search-box .form-control {
    border-radius: 50px;
    padding-left: 1rem;
}

.search-box .btn {
    border-radius: 50px;
    width: 46px;
    padding: 0.375rem;
}

/* 分类标签样式 */
.category-tags .badge {
    padding: 0.5rem 1rem;
    font-weight: normal;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.category-tags .badge:hover {
    background-color: #007bff !important;
    color: white !important;
}

/* 影片卡片样式 */
.movie-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: all 0.3s ease;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.movie-card h5 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 分页样式 */
.pagination .page-link {
    border-radius: 50px;
    margin: 0 3px;
    border: none;
    color: #6c757d;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: white;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .movie-card h5 {
        font-size: 0.85rem;
    }
    
    .movie-card .small {
        font-size: 0.75rem;
    }
} 