/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

/* 封面模板样式 */
.cover-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo-section {
    text-align: center;
    padding: 60px 0 40px;
}

.logo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3b82f6, #60a5fa);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.tagline {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 50px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.recent-movies {
    margin-top: 40px;
}

.recent-movies h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #e2e8f0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.recent-movies h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.movie-item {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.movie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.movie-logo {
    width: 100px;
    height: 140px;
    margin-right: 25px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

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

.movie-info {
    flex: 1;
}

.movie-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.movie-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
}

/* 列表模板样式 */
.list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.series-header {
    text-align: center;
    padding: 50px 0 30px;
}

.series-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e2e8f0;
    position: relative;
    display: inline-block;
}

.series-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.series-poster {
    width: 220px;
    height: 300px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

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

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

.episode-list {
    margin-top: 50px;
}

.episode-item {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.episode-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.episode-number {
    background: linear-gradient(145deg, #3b82f6, #60a5fa);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.episode-info {
    flex: 1;
}

.episode-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #f1f5f9;
    font-weight: 500;
}

.episode-desc {
    color: #94a3b8;
    font-size: 14px;
}

/* 文章模板样式 */
.article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
}

.article-header {
    text-align: center;
    padding: 50px 0 40px;
}

.article-movie-title {
    font-size: 42px;
    margin-bottom: 25px;
    color: #e2e8f0;
    position: relative;
    padding-bottom: 15px;
}

.article-movie-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.article-poster {
    width: 280px;
    height: 380px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

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

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

.article-content {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.8;
    color: #e2e8f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.article-content p {
    margin-bottom: 25px;
}

.article-content h3 {
    font-size: 26px;
    margin: 35px 0 20px;
    color: #f1f5f9;
    position: relative;
    padding-left: 15px;
}

.article-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa);
    border-radius: 3px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-circle {
        width: 120px;
        height: 120px;
        font-size: 36px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .movie-item {
        flex-direction: column;
        text-align: center;
    }
    
    .movie-logo {
        margin-right: 0;
        margin-bottom: 20px;
        width: 130px;
        height: 180px;
    }
    
    .movie-title {
        font-size: 20px;
    }
    
    .series-title,
    .article-movie-title {
        font-size: 28px;
    }
    
    .article-content {
        padding: 25px;
        font-size: 16px;
    }
    
    .episode-item {
        flex-direction: column;
        text-align: center;
    }
    
    .episode-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .cover-container,
    .list-container,
    .article-container {
        padding: 15px;
    }
    
    .logo-section {
        padding: 40px 0 30px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
        font-size: 28px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .series-poster,
    .article-poster {
        width: 180px;
        height: 250px;
    }
    
    .movie-logo {
        width: 110px;
        height: 150px;
    }
    
    .movie-title {
        font-size: 18px;
    }
    
    .article-movie-title {
        font-size: 24px;
    }
    
    .article-content {
        padding: 20px;
        font-size: 15px;
    }
}

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

.movie-item,
.episode-item,
.article-content {
    animation: fadeIn 0.5s ease-out;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #60a5fa;
}

a:hover {
    color: #3b82f6;
    transition: color 0.3s ease;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(145deg, #3b82f6, #60a5fa);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Logo脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.logo-circle {
    animation: pulse 2.5s infinite;
}