.mods-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mods-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mods-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.mods-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mod-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.mod-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}

.mod-content {
    padding: 0rem 1.25rem 0.75rem;
}

.mod-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.mod-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.85em;
    margin-top: -0.3rem;
}

.mod-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.download-btn, .like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-btn:hover, .like-btn:hover {
    background: #eee;
    color: #333;
}

.download-btn i, .like-btn i {
    color: #888;
}

.play-btn {
    flex: 1;
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    background: #2196F3;
    border: none;
    cursor: pointer;
}

.play-btn:hover {
    background: #1976D2;
}

@media (max-width: 768px) {
    .mods-container {
        padding: 1rem;
    }

    .mods-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .mod-thumbnail {
        height: 140px;
    }

    .mod-content {
        padding: 0rem 1rem 0.75rem;
    }

    .mod-title {
        font-size: 1.1rem;
        margin-bottom: 0.375rem;
    }

    .mod-description {
        font-size: 0.8rem;
        height: 2.5em;
    }

    .mod-actions {
        padding-top: 0.5rem;
        gap: 0.375rem;
    }

    .download-btn, .like-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .play-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mods-grid {
        grid-template-columns: 1fr;
    }

    .mod-thumbnail {
        height: 180px;
    }

    .mod-actions {
        flex-wrap: wrap;
    }

    .download-btn, .like-btn {
        flex: 1;
        justify-content: center;
    }

    .play-btn {
        width: 100%;
        order: -1;
        margin-bottom: 0.5rem;
    }
}

/* 删除旧的 mod-stats 和 mod-buttons 样式 */
.mod-stats, .mod-buttons {
    display: none;
} 