body {
    overflow-y: scroll!important;
}

.search-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    margin-top: 80px;
}

@media (min-width: 1920px) {
    .search-container {
        max-width: 1600px;
    }
}

@media (min-width: 1200px) and (max-width: 1919px) {
    .search-container {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .search-container {
        max-width: 960px;
    }
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    height: 50px;
    padding: 0 20px;
    font-size: 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search-button {
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.search-stats {
    margin-bottom: 2rem;
    padding-left: 1rem;
    margin-top: 3rem;
}

.search-stats h1 {
    font-size: 2rem;
    font-weight: bolder;
    color: #fff;
}

.search-stats-detail {
    display: flex;
    font-size: 1rem;
    gap: 20px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.search-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tabs-left {
    display: flex;
    gap: 20px;
}

.tabs-right {
    display: flex;
    gap: 10px;
}

.tab-item {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: #fff;
    border-bottom-color: #ff4d4d;
}


/* 影片列表样式 */

.movie-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.movie-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.movie-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.movie-cover {
    width: 230px;
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 4px;
    overflow: hidden;
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.movie-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.movie-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.movie-title .code {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.movie-title .title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.movie-meta span {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.movie-actors,
.movie-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.actor-tag,
.keyword-tag {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}


/* 女优列表样式 */

.actor-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.actor-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.actor-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.actor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.actor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actor-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.actor-name .name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.actor-name .famous {
    color: #ffd700;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.actor-name .hot {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.actor-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.actor-movies {
    color: rgba(255, 255, 255, 0.5);
}


/* 分页样式 */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.page-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.page-item.active {
    background-color: #ff4d4d;
    color: #fff;
}

.page-prev,
.page-next {
    font-size: 0.8rem;
    width: 36px;
    padding: 0;
}

.page-prev i,
.page-next i {
    line-height: 36px;
}

.page-ellipsis {
    color: rgba(255, 255, 255, 0.4);
    padding: 0 5px;
}

.custom-select {
    position: relative;
    display: inline-block;
    min-width: 120px;
    margin-left: 10px;
}

.select-selected {
    height: 1.8rem;
    padding: 0 15px;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 0, 0, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select.active .select-selected {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 199;
    margin-top: 5px;
    padding: 5px 0;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
}

.select-hide {
    display: none;
}

.select-items li {
    padding: 8px 15px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
}

.select-items li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.select-items li.selected {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.select-items li.selected:hover {
    background-color: rgba(255, 255, 255, 0.15);
}


/* 视图切换按钮 */

.view-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    gap: 10px;
}

.view-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background-color: #f5f5f5;
}

.view-btn.active {
    background-color: var(--main-color);
    color: white;
    border-color: var(--main-color);
}


/* 列表视图样式 */

.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-view .movie-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.list-view .movie-item:last-child {
    margin-bottom: 0;
}

.list-view .movie-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.list-view .movie-cover {
    width: 230px;
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 4px;
    overflow: hidden;
}

.list-view .movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.list-view .movie-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-view .movie-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-view .movie-title .code {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.list-view .movie-title .title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.list-view .movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-view .movie-meta span {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}


/* 网格视图样式 */

.grid-view {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.movie-card {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 40, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.movie-card-cover {
    position: relative;
    padding-top: 66.67%;
}

.movie-card-cover a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.movie-card-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: white;
    z-index: 100;
}

.movie-card:hover .movie-card-overlay {
    opacity: 1;
}

.movie-card-score {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 1.2em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.movie-card-score::before {
    content: '★';
    color: #ffd700;
    font-size: 0.9em;
    margin-right: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.movie-card-views {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.movie-card-views::before {
    content: '👁';
    font-size: 1em;
}

.movie-card-info {
    padding-top: 0.5em;
    padding-left: 0.6em;
    padding-right: 0.6em;
    padding-bottom: 0.5em;
    background-color: rgb(0, 0, 0, 0.005);
    /* background: linear-gradient(to bottom, rgba(33, 37, 41, 30.95) 0%, rgba(0, 0, 0, 0.98) 100%); */
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.movie-card-title {
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.movie-card-title .code {
    color: #ffae00;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.movie-card-title .title {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 2.8em;
}

.movie-card-meta {
    display: flex;
    gap: 4px;
    font-size: 0.75em;
}

.movie-card-meta span {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.movie-card-meta .online-date {
    color: rgba(255, 255, 255, 0.5);
    background: none;
    padding: 0;
    font-size: 0.75em;
}

.movie-card-actors {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
    align-items: center;
    justify-content: space-between;
}

.movie-card-actors .actor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.movie-card-actors .actor-tag {
    font-size: 0.75em;
    padding: 1px 5px;
    background: rgba(255, 77, 77, 0.2);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.8);
}

.movie-card-online-date {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
    white-space: nowrap;
}


/* 网格视图样式 */

.grid-view .movie-card-title {
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-view .movie-card-title .code {
    color: #ffae00;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.grid-view .movie-card-meta {
    display: flex;
    gap: 4px;
    font-size: 0.75em;
}

.grid-view .movie-card-meta span {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.grid-view .movie-card-title .title {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 2.8em;
}


/* 女优网格视图样式 */

.actor-results.grid-view {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 35px;
    padding: 40px 0;
}

.actor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.actor-card:hover {
    cursor: pointer;
}

.actor-card-avatar {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.actor-card-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.actor-card:hover .actor-card-avatar {
    transform: scale(1.05);
}

.actor-card:hover .actor-card-avatar img {
    transform: scale(1.1) rotate(2deg);
}

.actor-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.8) 85%, rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    color: white;
}

.actor-card-score {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.9em;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.actor-card-score::before {
    content: '★';
    color: #ffd700;
    font-size: 0.9em;
    margin-right: 2px;
}

.actor-card-views {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.actor-card-name {
    text-align: center;
    width: 100%;
}

.actor-card-name .name {
    color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actor-card-name .name i {
    color: #ffd700;
    margin-right: 4px;
    font-size: 0.9em;
}


/* 女优列表视图样式优化 */

.actor-results.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.actor-results.list-view .actor-item {
    margin-bottom: 20px;
}

.actor-results.list-view .actor-item:last-child {
    margin-bottom: 0;
}


/* 影片网格视图样式 */

.movie-results.grid-view {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px 0;
}


/* 响应式布局 */

@media (min-width: 1920px) {
    .movie-results.grid-view {
        grid-template-columns: repeat(5, 1fr);
    }
    .actor-results.grid-view {
        grid-template-columns: repeat(6, 1fr);
        gap: 3.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1919px) {
    .movie-results.grid-view {
        grid-template-columns: repeat(4, 1fr);
    }
    .actor-results.grid-view {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .movie-results.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
    .actor-results.grid-view {
        grid-template-columns: repeat(3, 1fr);
    }
}