/**
 * 电影详情页样式
 * 版本: 5.1
 */

.filmdad-movie-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 面包屑导航 */
.movie-breadcrumb {
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9em;
}

.breadcrumb-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb-content .separator {
    color: #bdc3c7;
    margin: 0 2px;
}

.breadcrumb-content .current {
    color: #7f8c8d;
    font-weight: 500;
}

/* 布局 */
.movie-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

/* 电影头部 */
.movie-hero {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.movie-poster-section {
    flex: 0 0 300px;
}

.main-poster {
    position: relative;
    margin-bottom: 15px;
    cursor: pointer;
}

.featured-poster {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.featured-poster:hover {
    transform: scale(1.02);
}

.rating-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 8px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

.no-poster {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.poster-placeholder {
    text-align: center;
    color: #6c757d;
}

.poster-placeholder .icon {
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
}

/* 社交分享 */
.social-share-section {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
}

.share-label {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.social-share-icons {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: all 0.3s;
    flex-shrink: 0;
}

.share-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.share-icon svg {
    width: 14px;
    height: 14px;
}

.facebook { background: #3b5998; color: white; }
.twitter { background: #1da1f2; color: white; }
.linkedin { background: #0077b5; color: white; }
.pinterest { background: #bd081c; color: white; }
.instagram { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); color: white; }
.tumblr { background: #35465d; color: white; }
.reddit { background: #ff4500; color: white; }

/* 海报缩略图 */
.poster-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
    transform: scale(1.05);
    border-color: #3498db;
}

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

.thumbnail-more {
    width: 60px;
    height: 60px;
    background: #e9ecef;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
}

/* 电影信息 */
.movie-info-primary {
    flex: 1;
}

.movie-title {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-weight: 700;
}

.movie-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.meta-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.meta-label {
    font-size: 0.85em;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.meta-value {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95em;
}

.movie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.discuss-btn {
    background: #3498db;
    color: white;
}

.imdb-btn {
    background: #f39c12;
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 内容区域 */
.movie-content-sections {
    margin-bottom: 40px;
}

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

.rating-section-main {
    background: white;
    border-left: 4px solid #3498db;
    padding: 15px 20px !important;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.compact-rating {
    font-size: 0.9em;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3em;
    margin: 0 0 15px 0;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.section-content {
    line-height: 1.6;
    color: #495057;
}

.plot-content {
    font-size: 1.1em;
    line-height: 1.8;
}

.cast-content {
    white-space: pre-line;
}

/* 剧照画廊 */
.gallery-count, .posts-count {
    font-size: 0.7em;
    color: #6c757d;
    font-weight: normal;
    margin-left: 8px;
}

.movie-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-load-more-container, .posts-load-more-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.load-more-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.load-more-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #2573a7);
}

.load-more-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-count {
    font-size: 0.85em;
    opacity: 0.9;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 侧边栏 */
.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2em;
    margin: 0 0 15px 0;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

/* 电影信息卡片 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #6c757d;
    font-size: 0.9em;
    font-weight: 500;
    flex: 0 0 80px;
}

.info-value {
    font-weight: 500;
    color: #2c3e50;
    text-align: right;
    flex: 1;
    font-size: 0.9em;
}

.creator-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.creator-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.rating-display-mini {
    align-items: center;
    gap: 5px;
}

.rating-stars-mini {
    font-size: 0.8em;
    letter-spacing: 1px;
}

.no-rating {
    color: #95a5a6;
    font-style: italic;
    font-size: 0.9em;
}

/* 相关电影 */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-movie {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
    border: 1px solid #e9ecef;
    position: relative;
}

.related-movie:hover {
    background: #f8f9fa;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.related-poster {
    flex: 0 0 60px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.related-poster.no-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
}

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

.related-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.95em;
    line-height: 1.3;
}

.related-info h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.related-info h4 a:hover {
    color: #3498db;
}

.related-meta {
    display: flex;
    gap: 8px;
    font-size: 0.8em;
    color: #6c757d;
    margin-bottom: 5px;
}

.relevance-badge {
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    background: #e3f2fd;
    color: #1976d2;
    display: inline-block;
    font-weight: 500;
}

.fallback-notice {
    font-size: 0.85em;
    color: #6c757d;
    text-align: center;
    margin-bottom: 10px;
    padding: 8px;
    background: #fff3cd;
    border-radius: 5px;
    border: 1px solid #ffeaa7;
}

.no-movies {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* 相关讨论 */
.related-discussions .widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.sort-indicator {
    font-size: 0.7em;
    opacity: 0.7;
    margin-left: 5px;
    cursor: help;
}

.discussions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.discussion-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discussion-item:hover {
    background: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.discussion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #3498db;
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.discussion-item:hover::before {
    opacity: 1;
}

.discussion-header {
    margin-bottom: 10px;
    position: relative;
}

.discussion-title {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.discussion-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.65em;
    font-weight: 600;
    display: block;
}

.discussion-title a:hover {
    color: #3498db;
}

.discussion-forum {
    margin-top: 5px;
}

.forum-badge {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.forum-badge:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    transform: translateY(-1px);
    color: #1565c0;
}

.discussion-preview {
    margin-bottom: 10px;
}

.preview-text {
    font-size: 0.85em;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discussion-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8em;
}

.meta-stats {
    display: flex;
    gap: 12px;
}

.meta-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    transition: color 0.3s;
}

.meta-stats .replies:hover { color: #3498db; }
.meta-stats .views:hover { color: #9b59b6; }
.meta-stats .likes:hover { color: #e74c3c; }

.meta-stats .icon {
    font-size: 0.9em;
}

.last-activity {
    font-size: 0.75em;
    color: #95a5a6;
    background: #ecf0f1;
    padding: 2px 6px;
    border-radius: 4px;
}

.discussion-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8em;
    color: #495057;
    padding-top: 8px;
    border-top: 1px dashed #e9ecef;
}

.author-avatar {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
    color: #2c3e50;
}

.discussions-footer {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.view-all-discussions {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-all-discussions:hover {
    color: #2980b9;
    text-decoration: underline;
    transform: translateX(2px);
}

.no-discussions {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.no-discussions-icon {
    font-size: 3em;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-discussions p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.discussion-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.start-discussion-btn,
.view-comments-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.start-discussion-btn {
    background: #3498db;
    color: white;
}

.start-discussion-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
    color: white;
}

.view-comments-btn {
    background: #95a5a6;
    color: white;
}

.view-comments-btn:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
    color: white;
}

/* 角标样式 */
.corner-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.freshness-badge {
    display: block;
    padding: 4px 8px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 10px 0 10px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
    transform: translate(0, 0);
    transition: all 0.3s ease;
}

.discussion-item:hover .freshness-badge {
    transform: translate(2px, -2px);
    box-shadow: -3px 3px 8px rgba(0,0,0,0.15);
}

.freshness-badge.new {
    background: linear-gradient(30deg, #ff6b6b00, #8724ee);
    color: white;
    animation: pulse 2s infinite;
}

.freshness-badge.recent {
    background: linear-gradient(30deg, #dfd5da00, #e52e46);
    color: white;
}

.freshness-badge.weekly {
    background: linear-gradient(30deg, #fd79a8, #e88800);
    color: white;
}

@keyframes pulse {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(0, 0) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* 电影搜索小部件 */
.movie-search-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
}

.movie-search-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulseSearch 6s ease-in-out infinite;
}

@keyframes pulseSearch {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.search-container {
    position: relative;
    z-index: 2;
}

.movie-search-form {
    margin-bottom: 15px;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.search-field {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 0.95em;
    background: transparent;
    outline: none;
    color: #2c3e50;
}

.search-field::placeholder {
    color: #a0a0a0;
}

.search-submit {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    padding: 12px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.9em;
}

.search-submit:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateX(1px);
}

.search-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.search-text {
    display: inline;
}

.search-suggestions {
    margin-top: 12px;
}

.suggestion-label {
    font-size: 0.8em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.suggestion-tag {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.suggestion-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* 相关文章 */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.post-thumbnail {
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.related-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-thumbnail.no-thumbnail {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder {
    text-align: center;
    color: #6c757d;
}

.thumbnail-placeholder .icon {
    font-size: 2.5em;
    opacity: 0.5;
}

.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-title {
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-size: 1.1em;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #3498db;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.8em;
    color: #6c757d;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-meta .icon {
    font-size: 0.9em;
}

/* 相关文章摘要样式 - 优化部分 */
.post-excerpt {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.875em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
    word-wrap: break-word;
    flex: 1;
}

.post-categories {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    text-decoration: none;
    transition: all 0.3s;
}

.category-tag:hover {
    background: #bbdefb;
    color: #1565c0;
    text-decoration: none;
}

.post-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s;
}

.read-more-btn:hover {
    color: #2980b9;
    gap: 8px;
}

.read-more-btn .arrow {
    transition: transform 0.3s;
}

.read-more-btn:hover .arrow {
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .movie-single-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .movie-hero {
        flex-direction: column;
        gap: 20px;
    }
    
    .movie-poster-section {
        flex: none;
        width: 100%;
    }
    
    .movie-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .meta-item {
        padding: 10px;
        text-align: center;
        min-height: 70px;
        justify-content: center;
        background: white;
        border: 1px solid #e9ecef;
    }
    
    .meta-item.full-width {
        grid-column: 1 / -1;
        min-height: auto;
    }
    
    .meta-label {
        font-size: 0.8em;
        margin-bottom: 3px;
    }
    
    .meta-value {
        font-size: 0.9em;
        font-weight: 600;
    }
    
    .movie-title {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .share-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .share-label {
        text-align: center;
    }
    
    .social-share-icons {
        justify-content: center;
        gap: 4px;
    }
    
    .share-icon {
        width: 28px;
        height: 28px;
    }
    
    .share-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .movie-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item img {
        height: 120px;
    }
    
    .movie-actions {
        justify-content: center;
    }
    
    .content-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .rating-section-main {
        padding: 12px 15px !important;
        margin: 15px 0;
    }
    
    .rating-badge {
        top: 6px;
        right: 6px;
        padding: 4px 6px;
        font-size: 0.7em;
    }
    
    .discussion-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .discussion-item {
        padding: 12px;
    }
    
    .meta-stats {
        gap: 8px;
    }
    
    .discussion-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .start-discussion-btn,
    .view-comments-btn {
        width: 100%;
        text-align: center;
    }
    
    .freshness-badge {
        font-size: 0.65em;
        padding: 3px 6px;
    }
    
    .movie-search-widget {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .search-field {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    .search-submit {
        padding: 10px 12px;
        font-size: 0.85em;
    }
    
    .search-text {
        display: none;
    }
    
    .suggestion-tags {
        gap: 4px;
    }
    
    .suggestion-tag {
        font-size: 0.7em;
        padding: 3px 6px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-thumbnail {
        height: 160px;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .post-title {
        font-size: 1em;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    /* 移动端相关文章摘要优化 */
    .post-excerpt {
        -webkit-line-clamp: 2;
        max-height: 3em;
        font-size: 0.85em;
    }
    
    .related-post-card {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .movie-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .meta-item {
        min-height: 60px;
    }
    
    .movie-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-share-icons {
        gap: 3px;
    }
    
    .share-icon {
        width: 26px;
        height: 26px;
    }
    
    .share-icon svg {
        width: 11px;
        height: 11px;
    }
    
    .breadcrumb-content {
        font-size: 0.8em;
    }
    
    .movie-title {
        font-size: 1.6em;
    }
    
    .movie-search-widget {
        padding: 12px;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-field {
        border-radius: 6px 6px 0 0;
    }
    
    .search-submit {
        border-radius: 0 0 6px 6px;
        justify-content: center;
    }
    
    .related-posts-grid {
        gap: 12px;
    }
    
    .post-thumbnail {
        height: 140px;
    }
    
    /* 小屏幕相关文章摘要优化 */
    .post-excerpt {
        -webkit-line-clamp: 2;
        max-height: 3em;
    }
    
    .related-post-card {
        min-height: 320px;
    }
    
    /* 剧照小图激活状态 */
.thumbnail.active {
    border-color: #3498db;
    transform: scale(1.05);
    box-shadow: 0 0 0 2px #3498db;
}

/* 主海报图片过渡效果 */
.featured-poster {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.featured-poster:hover {
    transform: scale(1.02);
}

/* 确保海报链接样式正确 */
.main-poster a {
    display: block;
    position: relative;
}

.main-poster a::after {
    content: '🔍 点击查看大图';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-poster a:hover::after {
    opacity: 1;
}
}