/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局移除所有链接下划线 */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* 强制确保布局正确 - 超级强制模式 */
* .main-content,
.main-content {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
}

* .content-left,
.content-left {
    grid-column: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
}

* .sidebar,
.sidebar {
    grid-column: 2 !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
}

/* 备用方案 - 浮动布局 */
.main-content::after {
    content: "";
    display: table;
    clear: both;
}

.content-left {
    float: left !important;
    width: calc(100% - 320px) !important;
}

.sidebar {
    float: right !important;
    width: 300px !important;
}

/* 确保桌面端正确显示 */
@media (min-width: 769px) {
    .main-content {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    
    .content-left {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .sidebar {
        width: 300px !important;
        flex-shrink: 0 !important;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 8px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 33px 0;
    position: relative;
}

.logo {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 18px;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #764ba2;
}

/* 主要内容 */
.main {
    padding: 10px 0;
}

/* 电影信息 */
.movie-info {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.movie-header {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.movie-poster-large {
    flex-shrink: 0;
}

.movie-poster-large img {
    width: 280px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-poster-large img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.movie-header-content {
    flex: 1;
    min-width: 0;
}

/* 立即播放按钮 */
.play-button-section {
    margin: 25px 0 20px 0;
}

.btn-play-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-play-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-play-now svg {
    width: 20px;
    height: 20px;
}

/* 简介样式调整 */
.movie-description {
    margin-top: 20px;
}

.movie-description h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 18px;
}

.desc-text {
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.desc-more-link {
    color: #667eea;
    text-decoration: none;
    margin-left: 8px;
    font-size: 14px;
}

.desc-more-link:hover {
    text-decoration: underline;
}

.desc-more-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.desc-more-link:hover .desc-more-arrow {
    transform: rotate(180deg);
}

.movie-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

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

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.rating-label {
    color: #666;
    font-weight: 500;
}

.rating-score {
    font-weight: bold;
    color: #e74c3c;
    font-size: 18px;
}

.rating-text {
    color: #666;
}

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

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.detail-label {
    color: #666;
    min-width: 60px;
    flex-shrink: 0;
}

.detail-value {
    color: #333;
    flex: 1;
}

.movie-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.movie-poster {
    flex-shrink: 0;
}

.movie-poster img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-poster img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.movie-details-info {
    flex: 1;
    min-width: 300px;
}

.movie-details-info > div {
    margin-bottom: 15px;
}

.movie-details-info strong {
    color: #333;
    margin-right: 10px;
}

.movie-description h3 {
    margin-bottom: 10px;
    color: #333;
}

.movie-description p {
    line-height: 1.8;
    color: #666;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    padding: 10px 28px;
    cursor: pointer;
    box-shadow: 0 4px 18px 0 rgba(102,126,234,0.15);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    outline: none;
    text-decoration: none;
    user-select: none;
}
.btn-play:hover, .btn-play:focus {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 24px 0 rgba(102,126,234,0.22);
    transform: translateY(-2px) scale(1.03);
}
.btn-play svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    vertical-align: middle;
}

/* 播放线路 */
.play-lines {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.play-lines h3 {
    margin-bottom: 15px;
    color: #333;
}

.line-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

.tab:hover {
    background-color: #667eea;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.play-option {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.play-option:hover {
    background-color: #218838;
}

/* 剧情介绍 */
.plot-introduction {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.plot-introduction h3 {
    margin-bottom: 15px;
    color: #333;
}

.plot-content p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.plot-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.plot-content li {
    margin-bottom: 5px;
}

/* 相关推荐 */
.related-recommendations {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-recommendations h3 {
    margin-bottom: 15px;
    color: #333;
}

.recommendation-links a {
    display: inline-block;
    margin-right: 15px;
    color: #667eea;
    text-decoration: none;
}

.recommendation-links a:hover {
    color: #764ba2;
}

/* 猜你喜欢 */
.you-might-like {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h3 {
    color: #333;
}

.more-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    color: #764ba2;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.movie-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 180px;
    min-width: 0;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.movie-poster-small img,
.poster-hover img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.movie-poster-small img:hover {
    transform: scale(1.05);
}

.movie-info-small {
    padding: 15px;
}

.movie-info-small h4 {
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
}

.movie-meta-small {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-small {
    color: #e74c3c;
    font-weight: bold;
}

.episodes {
    color: #666;
    font-size: 14px;
}

.cast-small {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* 最新电影 */
.latest-movies {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.latest-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
}

.latest-item {
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.latest-item:hover {
    background-color: #667eea;
    color: white;
}

/* 电影推荐 */
.movie-recommendations {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.recommendation-card {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: border-color 0.3s;
}

.recommendation-card:hover {
    border-color: #667eea;
}

.recommendation-card h4 {
    margin-bottom: 8px;
    color: #333;
}

.recommendation-card p {
    color: #666;
    font-size: 14px;
}

.recommendation-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.recommendation-card-link .recommendation-card {
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
}

.recommendation-card-link:hover .recommendation-card {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102,126,234,0.12);
    transform: translateY(-2px) scale(1.03);
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.partners {
    margin-bottom: 20px;
    text-align: center;
}

.partners span {
    margin-right: 10px;
}

.partners a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.partners a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        grid-template-columns: 1fr !important;
    }
    
    .content-left {
        width: 100% !important;
        order: 1 !important;
        grid-column: 1 !important;
        float: none !important;
    }
    
    .sidebar {
        width: 100% !important;
        order: 2 !important;
        grid-column: 1 !important;
        float: none !important;
        min-width: auto !important;
        max-width: none !important;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-top {
        padding: 22px 0;
    }
    
    .logo {
        position: static;
        gap: 8px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .movie-content {
        flex-direction: column;
    }
    
    .movie-poster img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .movie-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .line-tabs {
        flex-direction: column;
    }
    
    .play-options {
        flex-direction: column;
    }
    
    .play-option {
        text-align: center;
    }
    
    /* 确保手机端布局正确 */
    .category-groups {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-group {
        width: 100%;
        text-align: center;
    }
    
    .main-block {
        margin-bottom: 20px;
    }
    
    .movie-card {
        margin-bottom: 15px;
    }
    
    /* 手机端筛选区块样式 */
    .filter-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .filter-options {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* 手机端播放器样式 */
    .player-container {
        min-height: 400px !important;
    }
    .player-container video {
        min-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1px;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .movie-title {
        font-size: 24px;
    }
    
    .movie-poster img {
        height: 300px;
    }
    
    .movie-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-list {
        grid-template-columns: 1fr;
    }
    
    .btn-play {
        width: 100%;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.movie-info,
.play-lines,
.plot-introduction,
.related-recommendations,
.you-might-like,
.latest-movies,
.movie-recommendations,
.sidebar-section {
    animation: fadeIn 0.6s ease-out;
}

/* 加载优化 */
img {
    transition: opacity 0.3s;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

/* 主内容下方额外区块样式 */
.additional-content {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.content-block {
    margin-bottom: 50px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.block-header h2 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.block-header .more-link {
    color: #3498db;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.block-header .more-link:hover {
    color: #2980b9;
}

/* 热门推荐区块样式 */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.movie-poster {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

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

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.movie-meta {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0 0 8px 0;
}

.movie-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 最新更新区块样式 */
.update-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.update-item {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.update-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.update-poster {
    width: 180px !important;
    height: 220px !important;
    flex-shrink: 0;
}

.update-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-info {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.update-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.update-meta {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.update-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.update-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn-detail, .btn-play {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-detail {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-detail:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

.btn-play {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid transparent;
}

.btn-play:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .additional-content {
        padding: 30px 0;
    }
    
    .content-block {
        margin-bottom: 40px;
    }
    
    .block-header h2 {
        font-size: 20px;
    }
    
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .movie-poster {
        height: 250px;
    }
    
    .update-item {
        flex-direction: column;
    }
    
    .update-poster {
        width: 160px !important;
        height: 200px !important;
    }
    
    .update-info {
        padding: 15px;
    }
    
    .update-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-detail, .btn-play {
        text-align: center;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .movie-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .movie-poster {
        height: 200px;
    }
    
    .block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* SEO内容区域样式 */
.seo-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    margin: 20px 0;
    border-radius: 12px;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.seo-content h3 {
    color: #34495e;
    font-size: 20px;
    margin: 25px 0 15px 0;
    font-weight: 500;
}

.seo-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.seo-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.seo-content li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 15px;
}

.seo-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 移动端SEO样式优化 */
@media (max-width: 768px) {
    .seo-section {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .seo-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .seo-content h3 {
        font-size: 18px;
        margin: 20px 0 12px 0;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 14px;
    }
}

/* 主要内容布局 */
.main-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.content-left {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 右侧栏样式 */
.sidebar-section {
    background-color: white;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.clear-history {
    color: #e74c3c;
    text-decoration: none;
    font-size: 12px;
}

.clear-history:hover {
    color: #c0392b;
}

/* 播放记录 */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.history-item:hover {
    background-color: #f8f9fa;
}

.history-poster img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.history-poster img:hover {
    transform: scale(1.1);
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-info p {
    margin: 0 0 3px 0;
    font-size: 12px;
    color: #666;
}

.history-time {
    font-size: 11px;
    color: #999;
}

/* 热门推荐 */
.hot-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.hot-item:hover {
    background-color: #f8f9fa;
}

.hot-rank {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 为show.html和play.html的rank类添加样式 */
.rank {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 10px;
}

.hot-item:nth-child(1) .hot-rank {
    background: #e74c3c;
}

.hot-item:nth-child(2) .hot-rank {
    background: #f39c12;
}

.hot-item:nth-child(3) .hot-rank {
    background: #f1c40f;
}

/* 为show.html和play.html的前三名添加彩色样式 */
.hot-item:nth-child(1) .rank {
    background: #e74c3c;
}

.hot-item:nth-child(2) .rank {
    background: #f39c12;
}

.hot-item:nth-child(3) .rank {
    background: #f1c40f;
}

.hot-poster img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hot-poster img:hover {
    transform: scale(1.1);
}

.hot-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-info h4 {
    margin: 0;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.hot-info p {
    margin: 0;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* 最新更新 */
.update-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.update-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.update-item:hover {
    background-color: #f8f9fa;
}

.update-poster img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.update-poster img:hover {
    transform: scale(1.1);
}

.update-info {
    flex: 1;
    min-width: 0;
}

.update-info h4 {
    margin: 0 0 3px 0;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-info p {
    margin: 0 0 3px 0;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-time {
    font-size: 16px !important;
    color: #888;
    margin-bottom: 8px;
}

/* 分类导航 */
.category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-item {
    padding: 8px 12px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s;
}

.category-item:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    padding: 4px 8px;
    background-color: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 12px;
    font-size: 11px;
    transition: all 0.3s;
}

.tag-item:hover {
    background-color: #667eea;
    color: white;
    transform: scale(1.05);
}

/* 响应式设计 - 右侧栏 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        order: -1;
    }
    
    .sidebar-section {
        margin-bottom: 15px;
    }
    
    .category-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    
    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tag-cloud {
        gap: 4px;
    }
    
    .tag-item {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .sidebar-section {
        padding: 12px;
    }
    
    .category-list {
        grid-template-columns: 1fr;
    }
    
    .hot-item,
    .update-item,
    .history-item {
        padding: 6px;
    }
    
    .hot-poster img,
    .update-poster img {
        width: 100% !important;
        height: 100% !important;
    }
    
    .history-poster img {
        width: 50px;
        height: 67px;
    }
}

.poster-hover {
    position: relative;
    overflow: hidden;
}

.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 2;
}

.poster-hover:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

@media (max-width: 1024px) {
    .container {
        padding: 0 4px;
    }
    .main-content {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2px;
    }
    .main {
        padding: 6px 0;
    }
    .main-content {
        gap: 6px;
    }
    .movie-info,
    .play-lines,
    .plot-introduction,
    .related-recommendations,
    .you-might-like,
    .latest-movies,
    .movie-recommendations,
    .sidebar-section {
        padding: 8px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1px;
    }
    
    .logo-img {
        width: 36px;
        height: 36px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .main {
        padding: 2px 0;
    }
    .main-content {
        gap: 4px;
    }
    .movie-info,
    .play-lines,
    .plot-introduction,
    .related-recommendations,
    .you-might-like,
    .latest-movies,
    .movie-recommendations,
    .sidebar-section {
        padding: 4px;
        margin-bottom: 4px;
    }
}

@media (max-width: 1000px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .movie-poster-small img,
    .poster-hover img {
        height: 100px;
    }
}
@media (max-width: 400px) {
    .movie-grid {
        grid-template-columns: 1fr;
    }
    .movie-poster-small img,
    .poster-hover img {
        height: 80px;
    }
}

.related-box {
    background: #f2f2f2;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 18px 0 12px 0;
    display: flex;
    align-items: center;
    gap: 18px;
}
.related-title {
    color: #444;
    font-weight: bold;
    margin-right: 8px;
}
.related-link {
    color: #337ab7;
    text-decoration: none;
    font-size: 15px;
    margin-right: 10px;
    transition: color 0.2s;
}
.related-link:hover {
    color: #764ba2;
}

.abc-links {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}
.abc-link {
    color: #337ab7;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}
.abc-link:hover {
    color: #764ba2;
}

@media (max-width: 600px) {
    .related-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 8px 6px;
    }
    .abc-links {
        flex-direction: column;
        gap: 6px;
    }
}

.desc-more-link {
    color: #337ab7;
    text-decoration: none;
    font-size: 15px;
    margin-left: 4px;
    cursor: pointer;
    transition: color 0.2s;
    display: inline-block;
}
.desc-more-link:hover {
    color: #ff5ca8;
}
.desc-more-arrow {
    font-size: 13px;
    margin-left: 2px;
    vertical-align: middle;
}

.drawer-mask {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2000;
    transition: opacity 0.3s;
    opacity: 0;
}
.drawer {
    display: none;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 78vw;
    max-width: 320px;
    background: #fff;
    z-index: 2100;
    box-shadow: 2px 0 16px rgba(0,0,0,0.12);
    transform: translateX(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
}
.drawer.open {
    display: block;
    transform: translateX(0);
}
.drawer-mask.open {
    display: block;
    opacity: 1;
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 8px 18px;
    border-bottom: 1px solid #eee;
}
.drawer-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.drawer-close {
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.drawer-close:hover {
    color: #ff5ca8;
}
.drawer-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
}
.drawer-link {
    display: block;
    padding: 18px 24px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s, color 0.2s;
}
.drawer-link:hover {
    background: #f7f7fa;
    color: #ff5ca8;
}
@media (max-width: 900px) {
    .drawer {
        width: 90vw;
        max-width: 360px;
    }
}
@media (max-width: 768px) {
    .nav {
        display: none !important;
    }
    .drawer {
        display: block;
    }
}
@media (min-width: 769px) {
    .drawer,
    .drawer-mask {
        display: none !important;
    }
} 

.category-groups {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 32px 0 24px 0;
  justify-content: space-between;
}
.category-group {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  padding: 10px 24px;
  gap: 10px;
  color: #fff;
  margin-bottom: 8px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 所有分类按钮使用统一的紫蓝渐变色 */
.category-group:nth-child(1),
.category-group:nth-child(2),
.category-group:nth-child(3),
.category-group:nth-child(4) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-group:nth-child(1):hover,
.category-group:nth-child(2):hover,
.category-group:nth-child(3):hover,
.category-group:nth-child(4):hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.cat-icon {
  font-size: 22px;
  margin-right: 6px;
}
.cat-title {
  font-weight: bold;
  margin-right: 10px;
  font-size: 16px;
}
.cat-link {
  color: #fff;
  opacity: 0.85;
  margin: 0 8px;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  position: relative;
}
.cat-link:not(:last-child)::after {
  content: '|';
  color: #888;
  margin-left: 8px;
}
.cat-link:hover {
  color: #ffe066;
  opacity: 1;
}

/* 筛选区块样式 */
.filter-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

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

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid #e0e0e0;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
@media (max-width: 900px) {
  .category-groups {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
  }
  .category-group {
    min-width: 0;
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
  }
  .cat-icon {
    font-size: 18px;
    margin-right: 4px;
  }
  .cat-title {
    font-size: 14px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .category-groups {
    gap: 6px;
  }
  .category-group {
    padding: 6px 8px;
    font-size: 13px;
  }
  .cat-icon {
    font-size: 16px;
    margin-right: 3px;
  }
  .cat-title {
    font-size: 13px;
  }
}

/* List页面样式 */
.page-header {
    margin: 20px 0;
}

.page-header h2 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

.filter-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    color: #333;
    font-weight: bold;
    margin-right: 15px;
    min-width: 60px;
    display: inline-block;
}

.filter-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    padding: 6px 12px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.filter-tag:hover {
    background: #667eea;
    color: white;
}

.filter-tag.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.movie-list-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-count {
    color: #666;
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-link {
    padding: 8px 12px;
    color: #667eea;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-link.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.page-dots {
    color: #999;
    padding: 8px 4px;
}

/* 响应式 - List页面 */
@media (max-width: 768px) {
    .filter-section {
        padding: 15px;
    }
    
    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-label {
        min-width: auto;
    }
    
    .filter-tags {
        justify-content: flex-start;
    }
    
    .movie-list-section {
        padding: 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .page-link {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Play页面样式 */
.player-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.player-header {
    margin-bottom: 20px;
}

.player-header h2 {
    color: #333;
    font-size: 28px;
    margin: 0 0 10px 0;
}

.player-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.player-meta span {
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.player-meta .rating {
    background: #e74c3c;
    color: white;
}

/* 视频播放器 */
.video-player {
    margin-bottom: 20px;
}

/* 大屏幕播放器尺寸 */
@media (min-width: 1000px) {
    .player-container {
        min-height: 750px !important;
    }
    .player-container video {
        min-height: 750px !important;
    }
}

@media (min-width: 1200px) {
    .player-container {
        min-height: 800px !important;
    }
    .player-container video {
        min-height: 800px !important;
    }
}

@media (min-width: 1600px) {
    .player-container {
        min-height: 900px !important;
    }
    .player-container video {
        min-height: 900px !important;
    }
}

@media (min-width: 1600px) {
    .player-container video {
        min-height: 900px !important;
    }
}

@media (min-width: 1800px) {
    .player-container {
        min-height: 1000px !important;
    }
    .player-container video {
        min-height: 1000px !important;
    }
}

.player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    min-height: 700px !important;
}

.player-container video {
    width: 100% !important;
    height: auto !important;
    min-height: 700px !important;
    display: block !important;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 播放控制 */
.player-controls {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.control-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 播放线路 */
.line-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.line-group h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.line-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.line-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.line-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.line-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 选集 */
.episode-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.episode-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.episode-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.episode-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 设置 */
.settings-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.setting-item label {
    min-width: 80px;
    color: #333;
    font-weight: 500;
}

.setting-select {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
}

.volume-slider {
    flex: 1;
    max-width: 200px;
}

/* 电影信息区域 */
.movie-info-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.movie-details h3 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.movie-details p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

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

.meta-row {
    display: flex;
    align-items: flex-start;
}

.meta-label {
    min-width: 80px;
    color: #333;
    font-weight: 500;
}

.meta-value {
    color: #666;
    flex: 1;
}

/* 相关推荐 */
.related-movies {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-movies h3 {
    color: #333;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.recommendation-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.recommendation-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.recommendation-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.recommendation-card-link {
    text-decoration: none;
    color: inherit;
}

/* 播放记录 */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.history-item:hover {
    background: #e9ecef;
}

.history-poster {
    width: 60px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.history-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.history-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

.history-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.history-time {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}

.clear-history {
    color: #e74c3c;
    text-decoration: none;
    font-size: 12px;
}

.clear-history:hover {
    color: #c0392b;
}

/* 观看提醒 */
.notice-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notice-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

.notice-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 响应式 - Play页面 */
@media (max-width: 768px) {
    .player-section {
        padding: 15px;
    }
    
    .player-header h2 {
        font-size: 24px;
    }
    
    .player-meta {
        gap: 8px;
    }
    
    .player-meta span {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .player-container {
        min-height: 400px !important;
    }
    .player-container video {
        min-height: 400px !important;
    }
    
    .control-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .line-buttons,
    .episode-list {
        gap: 5px;
    }
    
    .line-btn,
    .episode-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .setting-item label {
        min-width: auto;
    }
    
    .movie-meta-info {
        gap: 8px;
    }
    
    .meta-row {
        flex-direction: column;
        gap: 3px;
    }
    
    .meta-label {
        min-width: auto;
        font-size: 14px;
    }
    
    .meta-value {
        font-size: 14px;
    }
    
    /* 电影详情页移动端样式 */
    .movie-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .movie-poster-large img {
        width: 220px;
        height: 314px;
    }
    
    .btn-play-now {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .movie-description {
        margin-top: 15px;
    }
    
    .movie-description h3 {
        font-size: 16px;
    }
    
    .desc-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .recommendation-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
  }
} 