/* 专辑页面样式 - 电影海报风格 */

/* CSS变量 */
:root {
    --primary-color: #22c55e;
    --primary-dark: #16a34a;
    --secondary-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* 外层包装器 */
.topics-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #fafafa;
}

/* 专辑容器 */
.topics-container {
    max-width: 650px;
    margin: 0 auto;
}

/* 页面头部 */
.topics-header {
    margin-bottom: 40px;
}

.topics-header-content {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    color: white;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.topics-header-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.topics-header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.topics-header-icon i {
    font-size: 32px;
    color: white;
}

.topics-header-text {
    flex: 1;
}

/* 统计数据样式 */
.topics-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.topics-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.topics-stat-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.topics-stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.topics-title {
    font-size: 28px;
    margin: 0 0 8px 0;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.topics-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 专辑列表 - 垂直布局 */
.topics-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 专辑卡片 - 电影海报风格 */
.topic-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    background: white;
    border: 1px solid var(--border-color);
}

.topic-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
    
}

/* 专辑封面 - 海报风格 */
.topic-cover {
    position: relative;
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.topic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.topic-card:hover .topic-cover img {
    transform: scale(1.05);
}

/* 遮罩层 */
.topics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition);
    opacity: 0;
}

.topic-card:hover .topics-overlay {
    opacity: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* 专辑信息 - 悬停时显示 */
.topics-info {
    color: white;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.topic-card:hover .topics-info {
    transform: translateY(0);
}

/* 专辑标题 */
.topics-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 专辑介绍 */
.topics-desc {
    font-size: 14px;
    margin: 0 0 15px 0;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topics-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.9;
}

.topics-views,
.topics-game-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topics-game-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.topics-game-count i {
    margin-right: 3px;
}

/* 播放图标 */
.topics-play-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.topic-card:hover .topics-play-icon {
    opacity: 1;
    transform: scale(1);
    background: rgba(255, 255, 255, 0.35);
}

.topics-play-icon i {
    color: white;
    font-size: 18px;
    margin-left: 2px;
}

/* 底部信息条 - 始终显示 */
.topic-bottom-info {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.topic-title-static {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.topic-card:hover .topic-title-static {
    color: var(--primary-color);
}

.topic-desc-static {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.topic-stats-static {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.topic-views-static {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topic-views-static i {
    color: var(--primary-color);
}

.topic-games-static {
    background: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 空状态 */
.topics-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.topics-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.topics-empty p {
    font-size: 16px;
    margin: 0;
}

/* 分页容器 */
.game-list-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.game-list-pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: #f0f7ff;
    color: #3b82f6;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.game-list-pagination-info {
    margin: 0 15px;
    color: var(--gray);
}

/* 分页按钮悬停和活跃状态 */
.game-list-pagination-btn:hover,
.game-list-pagination-btn:active,
.game-list-pagination-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.game-list-next-btn:hover,
.game-list-prev-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.game-list-next-btn .fa-angle-right {
    margin-left: 5px;
}

.game-list-prev-btn .fa-angle-left {
    margin-right: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    
    
    .topics-header-content {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .topics-header-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .topics-title {
        font-size: 24px;
    }
    
    .topic-cover {
        height: 200px;
    }
    
    .topics-card-title {
        font-size: 18px;
    }
    
    .topic-title-static {
        font-size: 16px;
    }
    
    .game-list-pagination-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .game-list-pagination-info {
        order: -1;
        margin: 0;
    }
    .topics-stats {
        gap: 15px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .topics-stat-number {
        font-size: 20px;
    }
    
    .topics-stat-label {
        font-size: 11px;
    }
}

