* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0f0f1a;
    --secondary: #1a1a2e;
    --accent: #ff2e63;
    --accent-dark: #d12050;
    --text: #ffffff;
    --text-secondary: #b8b8d1;
    --highlight: #00adb5;
}

body {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 导航栏样式 */
header {
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo>img {
    height: 50px;
    vertical-align: middle;
}

.logo h1 {
    font-size: 28px;
    background: linear-gradient(45deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 37px;
    padding: 8px 10px 8px 30px;
    width: 250px;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 46, 99, 0.3);
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 46, 99, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
}

/* 轮播图样式 */
.hero {
    padding: 40px 0 60px;
    position: relative;
}

.hero-slider {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(5px);
    max-width: 600px;
    padding: 25px;
    border-radius: 10px;
}

.slide-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.slide-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
}

.metadata {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.rating {
    color: gold;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* 分类浏览区域 */
.section-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.section-hd h2 {
    font-size: 24px;
    position: relative;
    color: var(--accent)
}

/* .section-hd h2::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--accent);
} */
.view-all {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.view-all:hover {
    transform: translateX(5px);
}

.categories {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 5px 0 15px;
}

.category {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category:hover, .category.active {
    background: var(--accent);
}

/* 电影网格 */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.vcard {
    background: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.vcard:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.vcard-img>a,
.top-poster {
    display: flex;
    aspect-ratio: 0.65;
    width: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.vcard-img img,
.top-poster img {
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.vcard-info {
    padding: 8px;
}

.vcard-title {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vcard-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 5px;
}

.vcard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    height: 13px;
    overflow: hidden;
}

.vcard-tag {
    background: rgba(255, 46, 99, 0.15);
    color: var(--accent);
    font-size: 10px;
    padding: 0 2px;
    border-radius: 4px;
}

.vcard-rating {
    color: gold;
}

.vcard-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
    /* font-weight: 600; */
    font-size: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 19px;
    line-height: 1.5;
}

/* 排行榜区域 */
.top-rated {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.top-movies, .coming-soon {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.top-movies h2, .coming-soon h2 {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font-size: 22px;
}

.top-list {
    /* display: flex; */
    flex-direction: column;
    gap: 15px;
    animation: fadeIn 0.5s ease;
}

.top-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rank {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    width: 40px;
    text-align: center;
}

.top-poster {
    width: 60px;
    /* height: 80px; */
    border-radius: 5px;
    overflow: hidden;
}

.top-info {
    flex: 1;
}

.top-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.top-title a {
    color: #fff;
    text-decoration: none;
}

.top-meta {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.top-badge {
    background: var(--accent);
    color: white;
    padding: 2px 5px;
    margin-left: 5px;
    border-radius: 5px;
    font-weight: normal;
    font-size: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 订阅区域 */
.subscribe {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    /* border-radius: 15px 15px 0 0; */
    padding: 50px;
    text-align: center;
    /* margin-bottom: 20px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.subscribe::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 46, 99, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.subscribe-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.subscribe h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.subscribe p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.subscribe-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.subscribe-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-box button {
    padding: 15px 35px;
    border-radius: 0 50px 50px 0;
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-box button:hover {
    background: var(--accent-dark);
}

/* 页面标题 */
.page-header {
    padding: 40px 0 30px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff2e63, #00adb5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 顶部筛选区域 */
.filter-box {
    background: var(--filter-bg);
    border-radius: 15px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    cursor: pointer;
}

.filter-title {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-title i {
    color: var(--accent);
    font-size: 22px;
}

.toggle-icon {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.filter-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 5px;
}

.fil-item {
    margin-bottom: 15px;
}

.fil-item-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fil-item-title i {
    font-size: 16px;
}

.fil-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fil-option {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 5px 13px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fil-option:hover {
    background: rgba(255, 46, 99, 0.2);
    border-color: var(--accent);
}

.fil-option.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.3);
}

.filter-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

/* 当前筛选标签 */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.active-filter {
    background: var(--accent);
    color: white;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.3);
}

.active-filter i {
    cursor: pointer;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.active-filter i:hover {
    transform: scale(1.2);
}

.clear-all {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-all:hover {
    background: rgba(255, 46, 99, 0.2);
    color: var(--accent);
}

.page-tit {
    padding: 10px 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent);
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-item:hover {
    background: rgba(255, 46, 99, 0.3);
}

.page-item.active {
    background: var(--accent);
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.4);
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 页脚 */
footer {
    background: rgba(10, 10, 20, 0.9);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 15px;
}

.tab-nav {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 20px;
    /* text-align: center; */
    /*justify-content: center;*/
    align-items: center;
    font-size: 14px;
}

.tab-nav>em {
    /*font-size: 16px;*/
    font-style: normal;
    opacity: 0.7;
    cursor: pointer;
}

.tab-nav>em.active {
    opacity: 1;
    font-size: 18px;
    font-weight: bold;
    color: #ff2e63;
}

/* 详情页主要内容 */
.detail {
    /* padding: 15px 0 0; */
}

.d-hero {
    display: flex;
    gap: 20px;
    /* margin-bottom: 20px; */
    position: relative;
}

.d-poster {
    /* flex: 0 0 350px; */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    padding-bottom: 45px;
    max-width: 350px;
    min-width: 200px;
}

.d-poster img {
    width: 100%;
    display: block;
}

.d-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.d-title {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.d-subtitle {
    margin-bottom: 10px;
    font-size: 28px;
    opacity: 0.9;
}

.d-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 16px;
}

.d-meta em {
    font-style: normal;
}

.d-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    /* background: rgba(0, 0, 0, 0.5); */
    /* padding: 5px 15px; */
    border-radius: 30px;
}

.d-rating .stars {
    color: gold;
}

.d-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 46, 99, 0.2);
    border: 1px solid var(--accent);
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 14px;
}

.d-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.action-btn {
    padding: 12px 25px;
    /* border-radius: 8px; */
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.action-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.4);
}

.action-btn.play {
    background: var(--accent);
}

.d-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    background: rgba(26, 26, 46, 0.7);
    border-radius: 15px;
    padding: 20px 25px;
    /* margin-bottom: 40px; */
}

.stat-item h4 {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    max-height: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.d-intro {

}
.d-intro-hd {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    color: var(--accent);
    padding: 15px 0px;
    position: relative;
    font-size: 24px;
    font-weight: 500;
}
.d-intro-hd::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
}
.d-intro-bd {
    font-size: 16px;
    line-height: 1.8;
    text-indent: 28px;
}
.d-intro-bd p {
    margin-bottom: 20px;
}
/* 内容标签页 */
.tabs {
    /* display: flex; */
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.2);*/
    margin-bottom: 10px;
}
.tab-header {
    padding: 10px 0;
}
.tab {
    padding: 15px 30px;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    font-weight: 500;
}

.tab.active {
    color: var(--accent);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
}
.tab-content {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}
.tab-content a {
    border: 1px solid #dddddd38;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 14px;
}
.tab-content a.active {
    color: #ff2e63;
    border-color: #ff2e63;
}

.tab-content.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagenav a,
.pagenav {
    color: #ffffff9c;
    text-decoration: none;
    font-size: 12px;
}

.pagenav {
    padding: 10px;
    z-index: 2;
    position: relative;
}

.pagenav .fa-map-marker {
    margin-right: 5px;
}

/* 剧情简介 */
.synopsis {
    font-size: 16px;
    line-height: 1.8;
    /* margin-bottom: 40px; */
}

.synopsis p {
    margin-bottom: 20px;
}

/* 演职员表 */
.cast-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.1);
}

.cast-scroll::-webkit-scrollbar {
    height: 8px;
}

.cast-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.cast-scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.cast-member {
    flex: 0 0 160px;
    text-align: center;
}

.cast-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--accent);
}

.cast-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.cast-role {
    color: var(--text-secondary);
    font-size: 16px;
}

/* 剧照展示 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 36px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.background-effect {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 600px;
    background: radial-gradient(circle at 20% 30%, rgba(255, 46, 99, 0.15), transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(0, 173, 181, 0.15), transparent 30%);
    z-index: 1;
    filter: blur(30px);
}

#playerCnt {
    position: relative;
    height: 500px;
    border-left: 1px solid #9e9e9e70;
}
.player-box {
    position: relative;
    padding-left: 25%;
    /*display: flex;*/
    border: 1px solid #9e9e9e70;
    border-radius: 5px;
    overflow: hidden;
}
.img-wraper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 25%;
}
.img-wraper img {
    height: 100%;
}
.link-db {
    font-size: 12px;
    border-bottom: 1px solid var(--text-secondary);
    padding: 2px 0;
}
/* 响应式设计 */
@media (max-width: 1100px) {
    .hero-slider {
        height: 400px;
    }

    .top-rated {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .d-hero {
        flex-direction: column;
        gap: 10px;
    }

    .d-poster {
        margin: 0 auto;
    }

    .d-title {
        text-align: center;
        font-size: 42px;
    }

    .d-subtitle {
        text-align: center;
        font-size: 16px;
    }

    .d-meta {
        justify-content: center;
    }

    .d-tags {
        justify-content: center;
    }

    .d-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #playerCnt {
        height: 200px;
    }
    .header-content {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 2.5%;
    }

    .search-box input {
        width: 170px;
    }

    .search-box input:focus {
        width: 170px;
    }

    .hero-slider {
        height: 350px;
    }

    .slide-content {
        padding: 15px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .subscribe {
        padding: 30px 20px;
    }

    .subscribe-box {
        flex-direction: column;
        gap: 15px;
    }

    .subscribe-box input,
    .subscribe-box button {
        border-radius: 50px;
        width: 100%;
    }

    .filter-body {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 32px;
    }

    .d-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }

    .hero-slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 18px;
    }

    .section-hd h2 {
        font-size: 14px;
    }

    .section-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .d-title {
        font-size: 26px;
        margin-bottom: 5px;
    }
    .d-intro-hd {
        font-size: 18px;
    }
    .d-intro-bd {
        font-size: 14px;
    }
    .d-meta {
        /* flex-direction: column; */
        align-items: center;
        /* gap: 10px; */
    }

    .d-meta em {
        display: none;
    }

    .d-actions {
        flex-wrap: wrap;
    }

    .d-stats {
        grid-template-columns: 1fr;
    }
}