/* 热门关卡卡片样式 */
.hot-guide-card {
    display: block;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.hot-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Hot Guides 标签 */
.hot-guide-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    z-index: 10;
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

/* 游戏截图区域 - 9:16 比例 */
.hot-guide-image {
    width: 100%;
    padding-top: 177.78%; /* 16/9 * 100% = 177.78% */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hot-guide-image > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hot-guide-image img {
    transition: transform 0.3s ease;
}

.hot-guide-card:hover .hot-guide-image img {
    transform: scale(1.05);
}

/* 关卡信息区域 */
.hot-guide-content {
    padding: 16px;
    background: white;
}

/* 关卡标题 */
.hot-guide-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    transition: color 0.2s ease;
}

.hot-guide-card:hover .hot-guide-title {
    color: #ec4899;
}

/* 关卡描述 */
.hot-guide-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}

/* 元数据（日期和浏览量） */
.hot-guide-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.hot-guide-date,
.hot-guide-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hot-guide-date i,
.hot-guide-views i {
    font-size: 11px;
}

/* 分页样式 */
.pagination-nav {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    background: white;
    border: none;
    border-right: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.pagination-item:last-child {
    border-right: none;
}

.pagination-item:hover:not(.pagination-item-active):not(.pagination-item-dots) {
    background: #fdf2f8;
    color: #ec4899;
}

/* 当前页 */
.pagination-item-active {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    font-weight: 600;
    cursor: default;
}

/* 省略号 */
.pagination-item-dots {
    cursor: default;
    pointer-events: none;
}

.pagination-item-dots:hover {
    background: white;
    color: #6b7280;
}

/* 下一页按钮 */
.pagination-item-next {
    min-width: 48px;
    padding: 0;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .hot-guide-title {
        font-size: 14px;
        min-height: 40px;
    }
    
    .hot-guide-description {
        font-size: 12px;
        min-height: 36px;
    }
    
    .hot-guide-content {
        padding: 12px;
    }
    
    .hot-guide-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
}


/* 加载动画 */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.hot-guide-card-skeleton {
    animation: shimmer 1.2s ease-in-out infinite;
    background: linear-gradient(to right, #f3f4f6 0%, #e5e7eb 20%, #f3f4f6 40%, #f3f4f6 100%);
    background-size: 800px 104px;
}
